dolibarr/htdocs/theme/eldy/style.css.php

5724 lines
161 KiB
PHP
Raw Normal View History

2006-06-05 20:26:46 +02:00
<?php
/* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
2012-02-06 17:44:37 +01:00
* Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2007-2017 Regis Houssin <regis.houssin@capnetworks.com>
2012-02-06 17:44:37 +01:00
* Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
2006-06-05 20:26:46 +02:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
2006-06-05 20:26:46 +02:00
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
2017-12-22 21:29:09 +01:00
* MERCHANTABILITY or FI8TNESS FOR A PARTICULAR PURPOSE. See the
2006-06-05 20:26:46 +02:00
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
2011-08-01 01:19:04 +02:00
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2006-06-05 20:26:46 +02:00
*/
/**
* \file htdocs/theme/eldy/style.css.php
2011-08-17 16:29:14 +02:00
* \brief File for CSS style sheet Eldy
*/
2006-06-05 20:26:46 +02:00
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
2010-03-13 17:27:11 +01:00
//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
2010-03-13 17:27:11 +01:00
if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK',1);
if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL',1);
2012-01-15 23:48:25 +01:00
if (! defined('NOLOGIN')) define('NOLOGIN',1); // File must be accessed by logon page so without login
//if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
2010-03-13 17:27:11 +01:00
if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1);
if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
// Colors
2018-06-23 15:10:44 +02:00
$colorbackhmenu1='60,70,100'; // topmenu
2017-12-10 15:24:47 +01:00
$colorbackvmenu1='248,248,248'; // vmenu
2018-03-01 02:37:18 +01:00
$colortopbordertitle1='200,200,200'; // top border of title
2018-03-01 23:51:06 +01:00
$colorbacktitle1='220,220,223'; // title of tables,list
$colorbacktabcard1='255,255,255'; // card
$colorbacktabactive='234,234,234';
$colorbacklineimpair1='255,255,255'; // line impair
$colorbacklineimpair2='255,255,255'; // line impair
2018-06-04 12:55:55 +02:00
$colorbacklinepair1='250,250,250'; // line pair
$colorbacklinepair2='250,250,250'; // line pair
$colorbacklinepairhover='238,246,252'; // line pair
$colorbacklinebreak='214,218,220'; // line break
$colorbackbody='255,255,255';
$colortexttitlenotab='100,60,20';
$colortexttitle='0,0,0';
$colortext='0,0,0';
$colortextlink='0,0,100';
2018-04-14 21:07:20 +02:00
$fontsize='0.85em';
$fontsizesmaller='0.75em';
if (defined('THEME_ONLY_CONSTANT')) return;
2017-06-01 19:07:51 +02:00
session_cache_limiter(false);
require_once '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
2006-06-05 20:26:46 +02:00
2012-01-15 23:48:25 +01:00
// Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
2017-07-31 11:56:20 +02:00
if (empty($user->id) && ! empty($_SESSION['dol_login'])) $user->fetch('',$_SESSION['dol_login'],'',1);
2012-01-15 23:48:25 +01:00
// Define css type
top_httphead('text/css');
// Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate');
else header('Cache-Control: no-cache');
2017-05-16 13:27:32 +02: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
$langs->load("main",0,1);
2010-10-27 16:15:30 +02:00
$right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
$left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
2010-04-14 22:21:47 +02:00
2013-03-02 14:43:36 +01:00
$path=''; // This value may be used in future for external module to overwrite theme
$theme='eldy'; // Value of theme
if (! empty($conf->global->MAIN_OVERWRITE_THEME_RES)) { $path='/'.$conf->global->MAIN_OVERWRITE_THEME_RES; $theme=$conf->global->MAIN_OVERWRITE_THEME_RES; }
2011-08-17 16:29:14 +02:00
// Define image path files and other constants
2015-12-05 19:20:39 +01:00
$fontlist='roboto,arial,tahoma,verdana,helvetica'; //$fontlist='helvetica, verdana, arial, sans-serif';
//$fontlist='"open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;';
$img_head='';
2013-03-02 14:43:36 +01:00
$img_button=dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png',1);
$dol_hide_topmenu=$conf->dol_hide_topmenu;
2013-06-05 16:12:07 +02:00
$dol_hide_leftmenu=$conf->dol_hide_leftmenu;
$dol_optimize_smallscreen=$conf->dol_optimize_smallscreen;
$dol_no_mouse_hover=$conf->dol_no_mouse_hover;
//$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
//$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
//var_dump($user->conf->THEME_ELDY_RGB);
$useboldtitle=(isset($conf->global->THEME_ELDY_USEBOLDTITLE)?$conf->global->THEME_ELDY_USEBOLDTITLE:0);
2018-03-01 02:37:18 +01:00
$borderwidth=1;
2015-10-02 11:58:19 +02:00
// Case of option always editable
if (! isset($conf->global->THEME_ELDY_BACKBODY)) $conf->global->THEME_ELDY_BACKBODY=$colorbackbody;
2016-04-22 13:38:44 +02:00
if (! isset($conf->global->THEME_ELDY_TOPMENU_BACK1)) $conf->global->THEME_ELDY_TOPMENU_BACK1=$colorbackhmenu1;
2017-10-06 18:29:18 +02:00
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_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-10-02 11:58:19 +02:00
// Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
if (empty($conf->global->THEME_ELDY_ENABLE_PERSONALIZED))
{
$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';
2018-06-13 22:57:41 +02:00
$conf->global->THEME_ELDY_FONT_SIZE1='0.86em';
2018-04-14 21:07:20 +02:00
$conf->global->THEME_ELDY_FONT_SIZE2='0.75em';
}
// Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
$colorbackhmenu1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPMENU_BACK1)?$colorbackhmenu1:$conf->global->THEME_ELDY_TOPMENU_BACK1) :(empty($user->conf->THEME_ELDY_TOPMENU_BACK1)?$colorbackhmenu1:$user->conf->THEME_ELDY_TOPMENU_BACK1);
$colorbackvmenu1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_VERMENU_BACK1)?$colorbackvmenu1:$conf->global->THEME_ELDY_VERMENU_BACK1) :(empty($user->conf->THEME_ELDY_VERMENU_BACK1)?$colorbackvmenu1:$user->conf->THEME_ELDY_VERMENU_BACK1);
2016-05-24 15:59:56 +02:00
$colortopbordertitle1=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPBORDER_TITLE1)?$colortopbordertitle1:$conf->global->THEME_ELDY_TOPBORDER_TITLE1) :(empty($user->conf->THEME_ELDY_TOPBORDER_TITLE1)?$colortopbordertitle1:$user->conf->THEME_ELDY_TOPBORDER_TITLE1);
$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) ?$colortexttitle:$conf->global->THEME_ELDY_TEXTTITLE) :(empty($user->conf->THEME_ELDY_TEXTTITLE)?$colortexttitle:$user->conf->THEME_ELDY_TEXTTITLE);
$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) ?$colortextlink:$conf->global->THEME_ELDY_TEXTLINK) :(empty($user->conf->THEME_ELDY_TEXTLINK)?$colortextlink:$user->conf->THEME_ELDY_TEXTLINK);
2012-02-06 16:16:42 +01:00
$fontsize =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE1) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE1) :(empty($user->conf->THEME_ELDY_FONT_SIZE1)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE1);
$fontsizesmaller =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE2) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE2) :(empty($user->conf->THEME_ELDY_FONT_SIZE2)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE2);
2017-03-31 14:21:51 +02:00
// Hover color
$colorbacklinepairhover=((! isset($conf->global->THEME_ELDY_USE_HOVER) || (string) $conf->global->THEME_ELDY_USE_HOVER === '0')?'':($conf->global->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$conf->global->THEME_ELDY_USE_HOVER));
if (! empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED))
{
$colorbacklinepairhover=((! isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '0')?'':($user->conf->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$user->conf->THEME_ELDY_USE_HOVER));
}
2016-05-24 15:59:56 +02:00
//$colortopbordertitle1=$colorbackhmenu1;
2016-05-22 14:31:34 +02:00
// Set text color to black or white
2017-05-11 11:50:21 +02: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);
2017-01-27 13:22:36 +01:00
if ($tmpval <= 460) $colortextbackhmenu='FFFFFF';
else $colortextbackhmenu='000000';
2017-05-11 11:50:21 +02: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);
2017-01-27 13:22:36 +01:00
if ($tmpval <= 460) { $colortextbackvmenu='FFFFFF'; }
else { $colortextbackvmenu='000000'; }
2017-05-11 11:50:21 +02:00
$colorbacktitle1=join(',',colorStringToArray($colorbacktitle1)); // Normalize value to 'x,y,z'
$tmppart=explode(',',$colorbacktitle1);
if ($colortexttitle == '')
{
$tmpval=(! empty($tmppart[0]) ? $tmppart[0] : 0)+(! empty($tmppart[1]) ? $tmppart[1] : 0)+(! empty($tmppart[2]) ? $tmppart[2] : 0);
if ($tmpval <= 460) { $colortexttitle='FFFFFF'; $colorshadowtitle='888888'; }
else { $colortexttitle='000000'; $colorshadowtitle='FFFFFF'; }
}
2017-11-16 12:09:34 +01:00
else $colorshadowtitle='888888';
2017-05-11 11:50:21 +02: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);
2017-01-27 13:22:36 +01:00
if ($tmpval <= 460) { $colortextbacktab='FFFFFF'; }
else { $colortextbacktab='111111'; }
// Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
$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));
if ($colorbacklinepairhover != '') $colorbacklinepairhover=join(',',colorStringToArray($colorbacklinepairhover));
$colorbackbody=join(',',colorStringToArray($colorbackbody));
$colortexttitlenotab=join(',',colorStringToArray($colortexttitlenotab));
$colortexttitle=join(',',colorStringToArray($colortexttitle));
2015-10-03 10:00:06 +02:00
$colortext=join(',',colorStringToArray($colortext));
$colortextlink=join(',',colorStringToArray($colortextlink));
2015-12-04 12:12:12 +01:00
$nbtopmenuentries=$menumanager->showmenu('topnb');
2018-04-14 21:07:20 +02:00
$minwidthtmenu=66; /* minimum width for one top menu entry */
2018-06-23 14:39:24 +02:00
$heightmenu=48; /* height of top menu, part with image */
$heightmenu2=49; /* height of top menu, part with login */
2018-04-14 21:07:20 +02:00
$disableimages = 0;
$maxwidthloginblock = 130;
if (! empty($conf->global->THEME_TOPMENU_DISABLE_IMAGE)) { $disableimages = 1; $maxwidthloginblock = 180; $minwidthtmenu=0; }
print '/*'."\n";
print 'colorbackbody='.$colorbackbody."\n";
print 'colorbackvmenu1='.$colorbackvmenu1."\n";
print 'colorbackhmenu1='.$colorbackhmenu1."\n";
print 'colorbacktitle1='.$colorbacktitle1."\n";
print 'colorbacklineimpair1='.$colorbacklineimpair1."\n";
print 'colorbacklineimpair2='.$colorbacklineimpair2."\n";
print 'colorbacklinepair1='.$colorbacklinepair1."\n";
print 'colorbacklinepair2='.$colorbacklinepair2."\n";
print 'colorbacklinepairhover='.$colorbacklinepairhover."\n";
print '$colortexttitlenotab='.$colortexttitlenotab."\n";
print '$colortexttitle='.$colortexttitle."\n";
print '$colortext='.$colortext."\n";
print '$colortextlink='.$colortextlink."\n";
print '$colortextbackhmenu='.$colortextbackhmenu."\n";
print '$colortextbackvmenu='.$colortextbackvmenu."\n";
print 'dol_hide_topmenu='.$dol_hide_topmenu."\n";
print 'dol_hide_leftmenu='.$dol_hide_leftmenu."\n";
print 'dol_optimize_smallscreen='.$dol_optimize_smallscreen."\n";
print 'dol_no_mouse_hover='.$dol_no_mouse_hover."\n";
print 'dol_screenwidth='.$_SESSION['dol_screenwidth']."\n";
print 'dol_screenheight='.$_SESSION['dol_screenheight']."\n";
2015-11-25 17:11:08 +01:00
print 'fontsize='.$fontsize."\n";
2015-12-04 12:12:12 +01:00
print 'nbtopmenuentries='.$nbtopmenuentries."\n";
print '*/'."\n";
2006-06-05 20:26:46 +02:00
?>
/* ============================================================================== */
2013-04-21 17:56:29 +02:00
/* Default styles */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2006-06-05 20:26:46 +02:00
body {
2017-05-16 13:27:32 +02:00
<?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
background-color: #FFFFFF;
<?php } else { ?>
background: rgb(<?php print $colorbackbody; ?>);
<?php } ?>
color: rgb(<?php echo $colortext; ?>);
2018-04-14 21:07:20 +02:00
font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
line-height: 1.4;
2013-06-19 15:52:06 +02:00
font-family: <?php print $fontlist ?>;
2006-06-05 20:26:46 +02:00
margin-top: 0;
margin-bottom: 0;
margin-right: 0;
margin-left: 0;
2010-10-27 16:15:30 +02:00
<?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
2006-06-05 20:26:46 +02:00
}
2018-04-15 20:09:09 +02:00
.thumbstat, a.tab { font-weight: bold !important; }
th a { font-weight: <?php echo ($useboldtitle?'bold':'normal'); ?> !important; }
a.tab { font-weight: bold !important; }
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; ?>); }
a.commonlink { color: rgb(<?php print $colortextlink; ?>) !important; text-decoration: none; }
th.liste_titre a div div:hover, th.liste_titre_sel a div div:hover { text-decoration: underline; }
2016-11-05 03:27:56 +01:00
input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
2017-12-10 15:24:47 +01:00
background-color: #FFF;
}
select.vmenusearchselectcombo {
background-color: unset;
2016-11-05 03:27:56 +01:00
}
2017-01-15 23:32:14 +01:00
input.select2-input {
border-bottom: none ! important;
}
.select2-choice {
border: none;
2017-03-11 12:04:28 +01:00
border-bottom: solid 1px rgba(0,0,0,.2) !important; /* required to avoid to lose bottom line when focus is lost on select2. */
}
2013-06-19 15:52:06 +02: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], .liste_titre select[name=month],
.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-05-25 11:08:05 +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],
.liste_titre input[name=search_day_date_when], .liste_titre input[name=search_month_date_when], .liste_titre input[name=search_year_date_when],
2018-05-25 11:08:05 +02: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]
{
2017-03-04 12:18:34 +01:00
margin-right: 4px;
}
2017-03-31 14:21:51 +02:00
input[type=submit] {
margin-left: 5px;
}
2017-03-27 22:44:50 +02:00
input, input.flat, form.flat select, select, select.flat, .dataTables_length label select {
border: none;
2017-03-27 22:44:50 +02:00
}
input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
font-family: <?php print $fontlist ?>;
2017-03-01 18:12:06 +01:00
outline: none;
2006-06-05 20:26:46 +02:00
margin: 0px 0px 0px 0px;
border<?php echo empty($conf->global->THEME_HIDE_BORDER_ON_INPUT)?'-bottom':''; ?>: solid 1px rgba(0,0,0,.2);
2006-06-05 20:26:46 +02:00
}
2017-03-27 22:44:50 +02:00
2017-03-01 18:12:06 +01:00
input {
2018-03-07 14:13:55 +01:00
line-height: 1.3em;
padding: 5px;
2017-03-14 13:49:04 +01:00
padding-left: 5px;
2017-03-01 18:12:06 +01:00
}
2017-03-14 13:49:04 +01:00
select {
2018-03-07 14:13:55 +01:00
padding: 5px;
2017-03-14 13:49:04 +01:00
padding-left: 2px;
}
input, select {
2017-01-15 23:32:14 +01:00
margin-left:0px;
margin-bottom:1px;
margin-top:1px;
}
2017-03-11 12:04:28 +01:00
/* Focus definitions must be after standard definition */
textarea:focus, button:focus {
/* v6 box-shadow: 0 0 4px #8091BF; */
border: 1px solid #aaa !important;
}
input:focus, select:focus {
border-bottom: 1px solid #666;
}
textarea.cke_source:focus
{
box-shadow: none;
}
select {
/* padding: 4px 4px 2px 1px; */
}
2017-01-15 23:32:14 +01:00
textarea {
2017-03-04 17:49:44 +01:00
border-radius: 0;
2017-03-11 12:04:28 +01:00
border-top:solid 1px rgba(0,0,0,.2);
border-left:solid 1px rgba(0,0,0,.2);
border-right:solid 1px rgba(0,0,0,.2);
border-bottom:solid 1px rgba(0,0,0,.2);
2014-12-07 23:51:36 +01:00
padding:4px;
margin-left:0px;
2012-04-28 16:40:15 +02:00
margin-bottom:1px;
margin-top:1px;
}
input.removedassigned {
padding: 2px !important;
vertical-align: text-bottom;
margin-bottom: -3px;
}
2016-01-21 14:53:12 +01:00
input.smallpadd { /* Used for timesheet input */
2015-12-04 15:37:28 +01:00
padding-left: 0px !important;
padding-right: 0px !important;
}
2016-04-07 13:06:22 +02:00
input.buttongen {
vertical-align: middle;
}
input.buttonpayment {
2018-01-08 13:21:04 +01:00
min-width: 320px;
margin-bottom: 15px;
background-image: none;
2017-09-01 19:30:56 +02:00
line-height: 24px;
2017-09-11 03:38:39 +02:00
padding: 8px;
2017-09-20 15:29:47 +02:00
background: none;
2018-03-04 12:11:28 +01:00
padding-left: 38px;
text-align: <?php echo $left; ?>;
2018-01-30 10:47:06 +01:00
border: 1px solid #ddd;
2017-11-07 19:46:28 +01:00
background-color: #eee;
2018-01-08 13:21:04 +01:00
white-space: normal;
2018-03-04 12:11:28 +01:00
box-shadow: 1px 1px 8px #bbb;
2017-09-01 19:30:56 +02:00
}
input.buttonpaymentcb {
background-image: url(<?php echo dol_buildpath($path.'/theme/common/credit_card.png',1) ?>);
background-size: 26px;
background-repeat: no-repeat;
2018-03-04 12:11:28 +01:00
background-position: 5px 11px;
2017-09-01 19:30:56 +02:00
}
input.buttonpaymentcheque {
background-image: url(<?php echo dol_buildpath($path.'/theme/common/cheque.png',1) ?>);
2017-09-01 19:30:56 +02:00
background-size: 24px;
background-repeat: no-repeat;
2018-03-04 12:11:28 +01:00
background-position: 5px 8px;
2017-09-01 19:30:56 +02:00
}
input.buttonpaymentpaypal {
background-image: url(<?php echo dol_buildpath($path.'/paypal/img/object_paypal.png',1) ?>);
background-repeat: no-repeat;
2017-09-20 15:29:47 +02:00
background-position: 8px 11px;
}
input.buttonpaymentpaybox {
background-image: url(<?php echo dol_buildpath($path.'/paybox/img/object_paybox.png',1) ?>);
background-repeat: no-repeat;
2017-09-20 15:29:47 +02:00
background-position: 8px 11px;
}
input.buttonpaymentstripe {
background-image: url(<?php echo dol_buildpath($path.'/stripe/img/object_stripe.png',1) ?>);
background-repeat: no-repeat;
2017-09-20 15:29:47 +02:00
background-position: 8px 11px;
}
/* Used by timesheets */
2016-01-21 14:53:12 +01:00
span.timesheetalreadyrecorded input {
border: none;
border-bottom: solid 1px rgba(0,0,0,0.4);
margin-right: 1px !important;
2016-01-21 14:53:12 +01:00
}
td.weekend {
background-color: #eee;
}
td.onholidaymorning, td.onholidayafternoon {
background-color: #fdf6f2;
}
td.onholidayallday {
background-color: #f4eede;
}
td.leftborder, td.hide0 {
border-left: 1px solid #ccc;
}
td.leftborder, td.hide6 {
border-right: 1px solid #ccc;
}
2018-04-07 17:14:23 +02:00
td.rightborder {
border-right: 1px solid #ccc;
}
2017-11-10 18:27:03 +01:00
td.actionbuttons a {
padding-left: 6px;
}
2011-10-31 15:23:18 +01:00
select.flat, form.flat select {
font-weight: normal;
2017-12-01 12:01:17 +01:00
font-size: unset;
2011-10-31 15:23:18 +01:00
}
2017-04-04 11:56:19 +02:00
.optionblue {
2017-10-21 19:05:24 +02:00
color: rgb(<?php echo $colortextlink; ?>);
2017-04-04 11:56:19 +02:00
}
.select2-results .select2-highlighted.optionblue {
color: #FFF !important;
}
2016-05-30 01:30:28 +02:00
.optiongrey, .opacitymedium {
opacity: 0.5;
}
2016-03-30 16:07:48 +02:00
.opacityhigh {
opacity: 0.2;
}
.opacitytransp {
opacity: 0;
}
select:invalid {
color: gray;
}
input:disabled {
2011-08-13 02:47:59 +02:00
background:#ddd;
2011-02-02 01:08:38 +01:00
}
2013-06-19 14:03:54 +02:00
2012-05-09 14:50:28 +02:00
input.liste_titre {
box-shadow: none !important;
}
input.removedfile {
padding: 0px !important;
border: 0px !important;
vertical-align: text-bottom;
}
2011-02-02 01:08:38 +01:00
textarea:disabled {
2011-08-13 02:47:59 +02:00
background:#ddd;
2011-02-02 01:08:38 +01:00
}
2016-10-30 12:39:51 +01:00
input[type=file ] { background-color: transparent; border-top: none; border-left: none; border-right: none; box-shadow: none; }
2013-03-01 19:39:54 +01:00
input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
2013-07-01 21:52:09 +02:00
input[type=radio] { background-color: transparent; border: none; box-shadow: none; }
input[type=image] { background-color: transparent; border: none; box-shadow: none; }
2013-06-23 12:43:06 +02:00
input:-webkit-autofill {
2017-01-06 15:51:08 +01:00
background-color: #FDFFF0 !important;
2013-06-23 12:43:06 +02:00
background-image:none !important;
2017-01-06 15:51:08 +01:00
-webkit-box-shadow: 0 0 0 50px #FDFFF0 inset;
2013-06-23 12:43:06 +02:00
}
2013-06-26 14:38:56 +02:00
::-webkit-input-placeholder { color:#ccc; }
input:-moz-placeholder { color:#ccc; }
2017-11-17 14:57:14 +01:00
input[name=price], input[name=weight], input[name=volume], input[name=surface], input[name=sizeheight], select[name=incoterm_id] { margin-right: 6px; }
2017-03-11 12:04:28 +01:00
input[name=surface] { margin-right: 4px; }
2016-04-22 11:11:08 +02:00
fieldset { border: 1px solid #AAAAAA !important; }
.legendforfieldsetstep { padding-bottom: 10px; }
2017-11-24 14:23:25 +01:00
input#onlinepaymenturl, input#directdownloadlink {
opacity: 0.7;
}
2013-06-19 15:52:06 +02:00
2017-03-23 13:19:00 +01:00
hr { border: 0; border-top: 1px solid #ccc; }
.button, .buttonDelete, input[name="sbmtConnexion"] {
2017-10-08 14:51:10 +02:00
margin-bottom: 0;
margin-top: 0;
margin-left: 5px;
margin-right: 5px;
2010-05-13 02:32:01 +02:00
font-family: <?php print $fontlist ?>;
border-color: #c5c5c5;
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
display: inline-block;
padding: 3px 14px;
text-align: center;
cursor: pointer;
text-decoration: none !important;
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: 1px solid #bbbbbb;
border-bottom-color: #a2a2a2;
2016-09-21 00:29:19 +02:00
-webkit-border-radius: 2px;
border-radius: 2px;
2006-06-05 20:26:46 +02:00
}
.button:focus, .buttonDelete:focus {
2017-10-08 14:51:10 +02:00
-webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
box-shadow: 0px 0px 5px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
2011-08-13 02:47:59 +02:00
}
.button:hover, .buttonDelete:hover {
2017-09-13 17:10:04 +02:00
/* warning: having a larger shadow has side effect when button is completely on left of a table */
-webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
}
.button:disabled, .buttonDelete:disabled {
opacity: 0.4;
box-shadow: none;
-webkit-box-shadow: none;
cursor: auto;
}
.buttonRefused {
pointer-events: none;
2015-03-13 14:24:32 +01:00
cursor: default;
opacity: 0.4;
box-shadow: none;
-webkit-box-shadow: none;
}
form {
2013-04-21 17:56:29 +02:00
padding:0px;
margin:0px;
}
2017-05-20 20:59:54 +02:00
form#addproduct {
padding-top: 6px;
}
2011-03-09 00:48:31 +01:00
div.float
{
float:<?php print $left; ?>;
}
div.floatright
{
float:<?php print $right; ?>;
}
.inline-block
{
display:inline-block;
}
2011-11-14 18:37:04 +01:00
th .button {
-webkit-box-shadow: none !important;
box-shadow: none !important;
-webkit-border-radius:0px !important;
2011-12-16 20:06:16 +01:00
border-radius:0px !important;
2011-11-14 18:37:04 +01:00
}
2015-06-30 13:14:19 +02:00
.maxwidthsearch { /* Max width of column with the search picto */
width: 54px;
}
.valigntop {
vertical-align: top;
}
2012-03-25 22:47:37 +02:00
.valignmiddle {
vertical-align: middle;
}
2016-02-10 17:45:26 +01:00
.valignbottom {
vertical-align: bottom;
}
.valigntextbottom {
vertical-align: text-bottom;
}
.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-02-21 12:57:17 +01:00
textarea.centpercent {
width: 96%;
}
.center {
text-align: center;
2015-07-20 20:31:19 +02:00
margin: 0px auto;
}
.left {
text-align: <?php print $left; ?>;
}
.right {
text-align: <?php print $right; ?>;
}
.justify {
text-align: justify;
}
.nowrap {
white-space: <?php print ($dol_optimize_smallscreen?'normal':'nowrap'); ?>;
}
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;
}
2018-02-05 12:34:11 +01:00
.wordbreak {
word-break: break-all;
}
.bold {
font-weight: bold !important;
}
.nobold {
font-weight: normal !important;
}
.nounderline {
text-decoration: none;
}
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;
}
2018-03-21 13:16:05 +01:00
.cursordefault {
cursor: default;
}
.cursorpointer {
cursor: pointer;
}
2017-03-31 14:21:51 +02:00
.cursormove {
cursor: move;
}
2017-07-19 16:38:00 +02:00
.cursornotallowed {
cursor: not-allowed;
}
2014-10-19 19:57:42 +02:00
.badge {
display: inline-block;
min-width: 10px;
padding: 2px 5px;
font-size: 10px;
font-weight: 700;
2017-12-01 12:01:17 +01:00
line-height: 1em;
2014-10-19 19:57:42 +02:00
color: #fff;
text-align: center;
white-space: nowrap;
2017-12-01 12:01:17 +01:00
vertical-align: text-bottom;
background-color: #aaa;
2014-10-19 19:57:42 +02:00
border-radius: 10px;
}
2014-11-07 23:25:39 +01:00
.borderrightlight
{
border-right: 1px solid #DDD;
}
2015-05-15 03:52:29 +02:00
#formuserfile {
margin-top: 4px;
}
#formuserfile_link {
margin-left: 1px;
}
.listofinvoicetype {
height: 28px;
vertical-align: middle;
}
div.divsearchfield {
float: <?php print $left; ?>;
margin-<?php print $right; ?>: 12px;
margin-<?php print $left; ?>: 2px;
margin-top: 4px;
margin-bottom: 4px;
padding-left: 2px;
}
2018-06-22 22:53:53 +02:00
.divsearchfieldfilter {
text-overflow: clip;
overflow: auto;
padding-bottom: 5px;
opacity: 0.6;
}
2018-07-17 18:05:49 +02: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 {
white-space: nowrap;
}
<?php } ?>
2015-06-22 17:20:06 +02:00
div.confirmmessage {
padding-top: 6px;
}
ul.attendees {
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.attendees li {
list-style-type: none;
padding-top:1px;
padding-bottom:1px;
2015-12-19 03:47:02 +01:00
}
2015-09-22 01:25:06 +02:00
.googlerefreshcal {
padding-top: 4px;
padding-bottom: 4px;
}
2017-10-28 11:00:02 +02:00
.paddingtopbottom {
padding-top: 10px;
padding-bottom: 10px;
}
.checkallactions {
margin-left: 2px; /* left must be same than right to keep checkbox centered */
margin-right: 2px; /* left must be same than right to keep checkbox centered */
2017-11-11 14:20:08 +01:00
vertical-align: middle;
}
2018-02-15 12:57:04 +01:00
select.flat.selectlimit {
max-width: 62px;
}
2016-11-10 11:33:25 +01:00
.selectlimit, .marginrightonly {
margin-right: 10px !important;
}
.marginleftonly {
margin-left: 10px !important;
}
.nomarginleft {
margin-left: 0px !important;
}
2017-02-17 00:59:00 +01:00
.selectlimit, .selectlimit:focus {
border-left: none !important;
border-top: none !important;
border-right: none !important;
outline: none;
}
2016-03-03 20:19:40 +01:00
.strikefordisabled {
text-decoration: line-through;
}
.widthdate {
width: 130px;
}
2017-03-04 17:49:44 +01:00
/* using a tdoverflowxxx make the min-width not working */
.tdoverflow {
max-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2017-11-26 22:12:11 +01:00
.tdoverflowmax50 { /* For tdoverflow, the max-midth become a minimum ! */
max-width: 50px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tdoverflowmax100 { /* For tdoverflow, the max-midth become a minimum ! */
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2017-11-04 15:21:35 +01:00
.tdoverflowmax150 { /* For tdoverflow, the max-midth become a minimum ! */
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
max-width: 300px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tdoverflowauto {
max-width: 0;
overflow: auto;
}
2016-06-06 22:07:35 +02:00
.tablelistofcalendars {
margin-top: 25px !important;
}
2016-09-21 01:25:34 +02:00
.amountalreadypaid {
2016-10-16 21:29:12 +02:00
}
.amountpaymentcomplete {
2016-09-21 01:25:34 +02:00
color: #008800;
font-weight: bold;
2018-03-01 23:51:06 +01:00
font-size: 1.4em;
2016-09-21 01:25:34 +02:00
}
.amountremaintopay {
color: #880000;
font-weight: bold;
2018-03-01 23:51:06 +01:00
font-size: 1.4em;
2016-09-21 01:25:34 +02:00
}
2017-01-20 14:10:57 +01:00
.amountremaintopayback {
font-weight: bold;
2018-03-01 23:51:06 +01:00
font-size: 1.4em;
2017-01-20 14:10:57 +01:00
}
2018-06-23 14:39:24 +02:00
.amountpaymentneutral {
font-weight: bold;
font-size: 1.4em;
}
2016-10-16 18:28:09 +02:00
.savingdocmask {
margin-top: 6px;
margin-bottom: 12px;
}
2017-09-23 12:59:49 +02:00
#builddoc_form ~ .showlinkedobjectblock {
margin-top: 20px;
}
2017-06-24 11:35:53 +02:00
/* For the long description of module */
.moduledesclong p img, .moduledesclong p a img {
max-width: 90% !important;
height: auto !important;
}
2017-06-24 11:35:53 +02:00
.imgdoc {
margin: 18px;
border: 1px solid #ccc;
box-shadow: 1px 1px 25px #aaa;
max-width: calc(100% - 56px);
}
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: #055;
}
2018-03-14 20:08:44 +01:00
.fa-trash, .fa-crop, .fa-pencil {
font-size: 1.4em;
}
.fa-15 {
font-size: 1.5em;
}
2016-06-09 01:33:26 +02:00
/* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
/*.table-responsive {
2016-06-09 01:33:26 +02:00
width: calc(100% - 330px);
margin-bottom: 15px;
overflow-y: hidden;
-ms-overflow-style: -ms-autohiding-scrollbar;
}*/
/* Style used for most tables */
2017-01-17 20:04:41 +01:00
.div-table-responsive, .div-table-responsive-no-min {
overflow-x: auto;
min-height: 0.01%;
2017-02-27 00:12:48 +01:00
}
.div-table-responsive {
2017-12-20 21:33:45 +01:00
line-height: 120%;
}
/* 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 {
overflow-x: auto;
2017-01-17 20:04:41 +01:00
}
div.fiche>form>div.div-table-responsive {
2017-06-07 16:44:04 +02:00
min-height: 392px;
2016-06-09 01:33:26 +02:00
}
2017-10-13 12:02:26 +02:00
div.fiche>div.tabBar>form>div.div-table-responsive {
min-height: 392px;
}
2018-03-18 20:20:10 +01:00
div.fiche {
2018-04-06 20:34:12 +02:00
/* text-align: justify; */
2018-03-18 20:20:10 +01:00
}
2016-06-09 01:33:26 +02:00
2017-03-03 13:30:02 +01:00
.flexcontainer {
<?php if (in_array($conf->browser->name, array('chrome','firefox'))) echo 'display: inline-flex;'."\n"; ?>
2017-03-03 13:30:02 +01:00
flex-flow: row wrap;
justify-content: flex-start;
}
2018-03-04 10:47:35 +01:00
.thumbstat {
min-width: 150px;
}
2017-03-23 19:26:28 +01:00
.thumbstat150 {
2018-11-01 15:20:05 +01:00
/* min-width: 170px; */
width: 170px;
2017-03-23 19:26:28 +01:00
}
.thumbstat, .thumbstat150 {
<?php if ($conf->browser->name == 'ie') { ?>
2018-03-04 01:21:56 +01:00
min-width: 150px;
width: 100%;
display: inline;
<?php } else { ?>
flex-grow: 1;
flex-shrink: 0;
<?php } ?>
2017-03-03 13:30:02 +01:00
}
2016-06-09 01:33:26 +02:00
2017-10-18 18:36:10 +02:00
select.selectarrowonleft {
direction: rtl;
}
select.selectarrowonleft option {
direction: ltr;
}
2017-06-02 09:25:35 +02:00
/* ============================================================================== */
/* Styles to hide objects */
/* ============================================================================== */
2015-05-06 00:29:39 +02:00
.clearboth { clear:both; }
.hideobject { display: none; }
2016-06-22 15:09:27 +02:00
.minwidth50 { min-width: 50px; }
2017-01-22 12:43:25 +01:00
/* rule for not too small screen only */
2018-04-14 21:07:20 +02:00
@media only screen and (min-width: <?php echo round($nbtopmenuentries * 45, 0) + 7; ?>px)
2016-09-21 00:29:19 +02:00
{
2018-03-01 16:48:12 +01:00
.width25 { width: 25px; }
2017-04-14 18:43:34 +02:00
.width50 { width: 50px; }
2018-03-01 16:48:12 +01:00
.width75 { width: 75px; }
2017-04-14 18:43:34 +02:00
.width100 { width: 100px; }
.width200 { width: 200px; }
2016-09-21 00:29:19 +02:00
.minwidth100 { min-width: 100px; }
.minwidth200 { min-width: 200px; }
.minwidth300 { min-width: 300px; }
.minwidth400 { min-width: 400px; }
.minwidth500 { min-width: 500px; }
.minwidth50imp { min-width: 50px !important; }
2017-03-21 18:23:58 +01:00
.minwidth75imp { min-width: 75px !important; }
2016-09-21 00:29:19 +02:00
.minwidth100imp { min-width: 100px !important; }
.minwidth200imp { min-width: 200px !important; }
.minwidth300imp { min-width: 300px !important; }
.minwidth400imp { min-width: 400px !important; }
.minwidth500imp { min-width: 500px !important; }
}
2018-03-01 16:48:12 +01:00
.widthauto { width: auto; }
2017-12-20 19:30:30 +01:00
.width25 { width: 25px; }
2017-04-14 18:43:34 +02:00
.width50 { width: 50px; }
2018-03-01 16:48:12 +01:00
.width75 { width: 75px; }
2017-04-14 18:43:34 +02:00
.width100 { width: 100px; }
.width200 { width: 200px; }
.maxwidth25 { max-width: 25px; }
2016-11-05 03:27:56 +01:00
.maxwidth50 { max-width: 50px; }
2016-11-10 11:33:25 +01:00
.maxwidth75 { max-width: 75px; }
2015-02-21 12:57:17 +01:00
.maxwidth100 { max-width: 100px; }
.maxwidth125 { max-width: 125px; }
2015-11-13 14:16:45 +01:00
.maxwidth150 { max-width: 150px; }
2015-02-21 12:57:17 +01:00
.maxwidth200 { max-width: 200px; }
.maxwidth300 { max-width: 300px; }
2016-02-28 14:01:21 +01:00
.maxwidth400 { max-width: 400px; }
.maxwidth500 { max-width: 500px; }
2016-11-11 12:55:03 +01:00
.maxwidth50imp { max-width: 50px !important; }
2017-03-21 18:23:58 +01:00
.maxwidth75imp { max-width: 75px !important; }
.minheight20 { min-height: 20px; }
.minheight40 { min-height: 40px; }
2016-04-01 16:15:07 +02:00
.titlefieldcreate { width: 20%; }
.titlefield { width: 25%; }
.titlefieldmiddle { width: 50%; }
2016-11-27 14:21:23 +01:00
.imgmaxwidth180 { max-width: 180px; }
2017-11-19 16:26:39 +01:00
.imgmaxheight50 { max-height: 50px; }
2016-04-01 16:15:07 +02:00
2017-09-07 16:23:51 +02:00
.width20p { width:20%; }
.width25p { width:25%; }
.width40p { width:40%; }
.width50p { width:50%; }
.width60p { width:60%; }
.width75p { width:75%; }
.width80p { width:80%; }
.width100p { width:100%; }
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: 1400px)
{
.titlefield { width: 30% !important; }
.titlefieldcreate { width: 30% !important; }
2016-07-31 18:28:59 +02:00
.minwidth50imp { min-width: 50px !important; }
2017-03-21 18:23:58 +01:00
.minwidth75imp { min-width: 75px !important; }
2016-07-31 18:28:59 +02:00
.minwidth100imp { min-width: 100px !important; }
.minwidth200imp { min-width: 200px !important; }
.minwidth300imp { min-width: 300px !important; }
.minwidth400imp { min-width: 300px !important; }
.minwidth500imp { min-width: 300px !important; }
}
2016-11-05 03:27:56 +01:00
/* Force values for small screen 1000 */
2016-10-28 18:05:46 +02:00
@media only screen and (max-width: 1000px)
2016-07-31 18:28:59 +02:00
{
2016-08-24 20:17:33 +02:00
.maxwidthonsmartphone { max-width: 100px; }
2016-07-31 18:28:59 +02:00
.minwidth50imp { min-width: 50px !important; }
2017-03-21 18:23:58 +01:00
.minwidth75imp { min-width: 70px !important; }
.minwidth100imp { min-width: 80px !important; }
2016-07-31 18:28:59 +02:00
.minwidth200imp { min-width: 100px !important; }
.minwidth300imp { min-width: 100px !important; }
2017-04-07 14:18:04 +02:00
.minwidth400imp { min-width: 150px !important; }
.minwidth500imp { min-width: 250px !important; }
2016-05-30 01:30:28 +02:00
}
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: 767px)
{
body {
2018-04-14 21:07:20 +02:00
font-size: <?php print is_numeric($fontsize) ? ($fontsize+3).'px' : $fontsize; ?>;
2017-09-04 09:25:53 +02:00
}
2017-11-24 14:23:25 +01:00
div.refidno {
2018-04-14 21:07:20 +02:00
font-size: <?php print is_numeric($fontsize) ? ($fontsize+3).'px' : $fontsize; ?> !important;
2017-11-24 14:23:25 +01: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: 570px)
{
2017-09-04 09:25:53 +02:00
body {
2018-04-14 21:07:20 +02:00
font-size: <?php print is_numeric($fontsize) ? ($fontsize+3).'px' : $fontsize; ?>;
2017-09-04 09:25:53 +02:00
}
2017-11-24 14:23:25 +01:00
div.refidno {
2018-04-14 21:07:20 +02:00
font-size: <?php print is_numeric($fontsize) ? ($fontsize+3).'px' : $fontsize; ?> !important;
2017-11-24 14:23:25 +01:00
}
2017-09-04 09:25:53 +02:00
2017-06-09 17:29:34 +02:00
.divmainbodylarge { margin-left: 20px !important; margin-right: 20px !important; }
2016-11-12 16:39:08 +01:00
.tdoverflowonsmartphone {
max-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2016-11-05 03:27:56 +01:00
div.titre {
2018-02-15 12:57:04 +01:00
/* margin-top: 12px; */
2017-11-24 14:23:25 +01:00
/* line-height: 2em; */
2016-11-05 03:27:56 +01:00
}
2016-11-10 11:33:25 +01:00
.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: 40px !important;
}
2016-11-10 11:33:25 +01:00
.quatrevingtpercent, .inputsearch {
width: 95%;
}
2018-03-21 10:53:15 +01:00
select {
padding-top: 4px;
2018-04-29 19:52:14 +02:00
padding-bottom: 4px;
2018-03-21 10:53:15 +01:00
}
input, input[type=text], input[type=password], select, textarea {
min-width: 20px;
2018-04-14 21:07:20 +02:00
font-size: <?php print is_numeric($fontsize)?($fontsize+3).'px':$fontsize; ?>;
2018-03-21 10:53:15 +01:00
/* min-height: 1.4em; */
2018-03-07 14:13:55 +01:00
/* line-height: 1.4em; */
2017-03-16 17:02:30 +01:00
/* padding: .4em .1em; */
/* border-bottom: 1px solid #BBB; */
2016-11-11 23:17:37 +01:00
/* max-width: inherit; why this ? */
2016-11-05 03:27:56 +01:00
}
2016-04-01 16:15:07 +02:00
.hideonsmartphone { display: none; }
2017-02-24 21:13:40 +01:00
.hideonsmartphoneimp { display: none !important; }
2016-04-01 16:15:07 +02:00
.noenlargeonsmartphone { width : 50px !important; display: inline !important; }
2017-01-22 12:43:25 +01:00
.maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
2016-11-11 23:17:37 +01:00
.maxwidth50onsmartphone { max-width: 40px; }
.maxwidth75onsmartphone { max-width: 50px; }
.maxwidth100onsmartphone { max-width: 70px; }
.maxwidth150onsmartphone { max-width: 120px; }
2016-04-01 16:15:07 +02:00
.maxwidth200onsmartphone { max-width: 200px; }
.maxwidth300onsmartphone { max-width: 300px; }
2016-06-22 15:09:27 +02:00
.maxwidth400onsmartphone { max-width: 400px; }
2016-07-31 18:28:59 +02:00
.minwidth50imp { min-width: 50px !important; }
2017-03-21 18:23:58 +01:00
.minwidth75imp { min-width: 60px !important; }
.minwidth100imp { min-width: 60px !important; }
.minwidth200imp { min-width: 60px !important; }
2017-04-07 14:18:04 +02:00
.minwidth300imp { min-width: 100px !important; }
.minwidth400imp { min-width: 150px !important; }
.minwidth500imp { min-width: 250px !important; }
2016-04-01 16:15:07 +02:00
.titlefield { width: auto; }
.titlefieldcreate { width: auto; }
2016-11-08 15:55:44 +01:00
#tooltip {
position: absolute;
width: <?php print dol_size(300,'width'); ?>px;
}
2016-11-11 12:55:03 +01:00
/* intput, input[type=text], */
2016-11-08 15:55:44 +01:00
select {
width: 98%;
min-width: 40px;
}
2016-11-08 15:55:44 +01:00
div.divphotoref {
padding-right: 5px;
2017-06-10 00:45:18 +02:00
padding-bottom: 5px;
2016-11-08 15:55:44 +01:00
}
img.photoref, div.photoref {
border: none;
-webkit-box-shadow: none;
box-shadow: none;
padding: 4px;
height: 20px;
width: 20px;
object-fit: contain;
}
2017-02-23 01:29:35 +01:00
div.statusref {
padding-right: 10px;
}
div.statusref img {
padding-right: 3px !important;
}
div.statusrefbis {
padding-right: 3px !important;
}
2018-03-01 23:51:06 +01:00
/* TODO
div.statusref {
padding-top: 0px !important;
padding-left: 0px !important;
border: none !important;
}
*/
2018-01-08 13:21:04 +01:00
input.buttonpayment {
min-width: 300px;
}
2016-04-01 16:15:07 +02:00
}
.linkobject { cursor: pointer; }
2017-05-16 13:27:32 +02:00
<?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
.hideonprint { display: none; }
<?php } ?>
2011-02-02 01:08:38 +01:00
2011-11-14 15:46:44 +01:00
/* ============================================================================== */
/* Styles for dragging lines */
/* ============================================================================== */
2010-09-27 17:31:36 +02:00
.dragClass {
color: #002255;
2010-09-27 17:31:36 +02:00
}
td.showDragHandle {
2010-09-18 17:34:06 +02:00
cursor: move;
}
.tdlineupdown {
white-space: nowrap;
2013-10-21 13:43:31 +02:00
min-width: 10px;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Styles de positionnement des zones */
/* ============================================================================== */
#id-container {
2016-06-09 01:33:26 +02:00
display: table; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
table-layout: fixed;
}
#id-right, #id-left {
2016-06-24 03:05:51 +02:00
padding-top: 16px;
2017-03-31 14:21:51 +02:00
padding-bottom: 16px;
2017-06-01 19:07:51 +02:00
2016-06-09 01:33:26 +02:00
display: table-cell; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
float: none;
vertical-align: top;
}
2015-10-09 17:21:38 +02:00
#id-right { /* This must stay id-right and not be replaced with echo $right */
width: 100%;
background: rgb(<?php print $colorbackbody; ?>);
}
2015-09-21 15:18:29 +02:00
#id-left {
2015-09-22 11:24:31 +02:00
/* background-color: #fff;
2015-09-21 15:18:29 +02:00
border-right: 1px #888 solid;
2015-09-22 11:24:31 +02:00
height: calc(100% - 50px);*/
2015-09-21 15:18:29 +02:00
}
<?php if (empty($conf->global->THEME_DISABLE_STICKY_TOPMENU)) { ?>
.side-nav-vert {
position: sticky;
top: 0px;
z-index: 210;
}
<?php } ?>
2016-06-17 12:39:00 +02:00
.side-nav {
display: table-cell;
border-right: 1px solid #d0d0d0;
box-shadow: 3px 0 6px -2px #eee;
2017-05-13 22:23:03 +02:00
background: rgb(<?php echo $colorbackvmenu1; ?>);
2016-06-17 12:39:00 +02:00
}
div.blockvmenulogo
{
border-bottom: 0 !important;
}
2017-04-04 11:56:19 +02:00
div.blockvmenupair, div.blockvmenuimpair {
2016-06-17 12:39:00 +02:00
border-top: none !important;
border-left: none !important;
border-right: none !important;
border-bottom: 1px solid #e0e0e0;
padding-left: 0 !important;
}
2017-04-04 11:56:19 +02:00
div.blockvmenuend, div.blockvmenubookmarks {
2016-06-17 12:39:00 +02:00
border: none !important;
padding-left: 0 !important;
}
div.vmenu, td.vmenu {
2017-05-05 20:41:44 +02:00
padding-right: 10px !important;
2016-06-17 12:39:00 +02:00
}
.blockvmenu .menu_titre {
margin-top: 4px;
margin-bottom: 3px;
}
2016-06-17 12:39:00 +02:00
/* Try responsive even not on smartphone
#id-container {
width: 100%;
}
#id-right {
width: calc(100% - 200px) !important;
}
*/
2016-06-17 12:39:00 +02:00
2016-06-19 16:07:34 +02:00
/* For smartphone (testmenuhider is on) */
2017-05-16 13:27:32 +02:00
<?php if ($conf->browser->layout == 'phone' && ((GETPOST('testmenuhider','int') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))) { ?>
#id-container {
width: 100%;
}
.side-nav {
border-bottom: 1px solid #BBB;
background: #FFF;
2017-02-24 21:13:40 +01:00
padding-left: 20px;
padding-right: 20px;
}
.side-nav {
position: absolute;
z-index: 90;
display: none;
}
div.blockvmenulogo
{
border-bottom: 0 !important;
}
div.blockvmenusearch {
2016-06-17 12:39:00 +02:00
padding-bottom: 12px !important;
border-bottom: 1px solid #e0e0e0;
}
div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend {
border-top: none !important;
border-left: none !important;
border-right: none !important;
border-bottom: 1px solid #e0e0e0;
padding-left: 0 !important;
}
div.vmenu, td.vmenu {
padding-right: 6px !important;
}
div.fiche {
2017-12-01 12:01:17 +01:00
margin-<?php print $left; ?>: 9px !important;
margin-<?php print $right; ?>: 10px !important;
}
<?php } ?>
div.fiche {
2017-12-11 18:25:23 +01:00
margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:(empty($conf->dol_optimize_smallscreen)?'25':'6')); ?>px;
2018-01-07 16:53:59 +01:00
margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:(empty($conf->dol_optimize_smallscreen)?'24':'6')); ?>px;
2018-04-24 10:06:13 +02:00
<?php if (! empty($dol_hide_leftmenu)) print 'margin-bottom: 12px;'."\n"; ?>
<?php if (! empty($dol_hide_leftmenu)) print 'margin-top: 12px;'."\n"; ?>
2006-06-05 20:26:46 +02:00
}
2017-05-13 15:19:35 +02:00
body.onlinepaymentbody div.fiche { /* For online payment page */
2017-09-20 19:34:14 +02:00
margin: 20px !important;
2017-05-13 15:19:35 +02:00
}
div.fiche>table:first-child {
margin-bottom: 15px !important;
}
div.fichecenter {
2017-05-05 20:41:44 +02:00
/* margin-top: 10px; */
width: 100%;
clear: both; /* This is to have div fichecenter that are true rectangles */
}
div.fichecenterbis {
margin-top: 8px;
}
div.fichethirdleft {
<?php if ($conf->browser->layout != 'phone') { print "float: ".$left.";\n"; } ?>
<?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
2016-12-18 13:27:14 +01:00
<?php if ($conf->browser->layout == 'phone') { print "padding-bottom: 6px;\n"; } ?>
}
div.fichetwothirdright {
<?php if ($conf->browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
<?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
2016-12-18 13:27:14 +01:00
<?php if ($conf->browser->layout == 'phone') { print "padding-bottom: 6px\n"; } ?>
}
div.fichehalfleft {
<?php if ($conf->browser->layout != 'phone') { print "float: ".$left.";\n"; } ?>
<?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
}
div.fichehalfright {
<?php if ($conf->browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
<?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
}
div.ficheaddleft {
<?php if ($conf->browser->layout != 'phone') { print "padding-".$left.": 16px;\n"; }
2013-04-11 20:00:12 +02:00
else print "margin-top: 10px;\n"; ?>
}
div.firstcolumn div.box {
padding-right: 10px;
}
div.secondcolumn div.box {
padding-left: 10px;
}
/* Force values on one colum for small screen */
2016-10-28 18:05:46 +02:00
@media only screen and (max-width: 1000px)
{
div.fiche {
2017-05-16 13:27:32 +02:00
margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:($dol_hide_leftmenu?'6':'20')); ?>px;
margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?8:6); ?>px;
}
div.fichecenter {
width: 100%;
clear: both; /* This is to have div fichecenter that are true rectangles */
}
div.fichecenterbis {
margin-top: 8px;
}
div.fichethirdleft {
float: none;
width: auto;
padding-bottom: 6px;
}
div.fichetwothirdright {
float: none;
width: auto;
padding-bottom: 6px;
}
div.fichehalfleft {
float: none;
width: auto;
}
div.fichehalfright {
float: none;
width: auto;
}
div.ficheaddleft {
<?php print "padding-".$left.": 0px;\n"; ?>
margin-top: 10px;
}
div.firstcolumn div.box {
padding-right: 0px;
}
div.secondcolumn div.box {
padding-left: 0px;
}
}
/* For table into table into card */
div.ficheaddleft tr.liste_titre:first-child td table.nobordernopadding td {
padding: 0 0 0 0;
}
div.nopadding {
padding: 0 !important;
}
.containercenter {
2015-05-30 20:07:44 +02:00
display : table;
margin : 0px auto;
}
2018-09-20 19:14:32 +02:00
.pictotitle {
2016-06-20 00:11:59 +02:00
margin-<?php echo $right; ?>: 8px;
margin-bottom: 4px;
2015-04-19 12:06:21 +02:00
}
2017-06-09 11:31:08 +02:00
.pictoobjectwidth {
width: 14px;
}
.pictosubstatus {
padding-left: 2px;
padding-right: 2px;
}
2016-09-10 16:09:01 +02:00
.pictostatus {
width: 15px;
vertical-align: middle;
margin-top: -3px
}
.pictowarning, .pictopreview {
padding-<?php echo $left; ?>: 3px;
}
2018-03-14 20:08:44 +01:00
.pictowarning {
2017-03-28 18:42:23 +02:00
vertical-align: text-bottom;
}
.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
.tagtdnote span.pictoedit {
2018-03-14 20:08:44 +01:00
opacity: 0.4;
2017-12-22 14:05:49 +01:00
}
2015-05-30 20:07:44 +02:00
.colorthumb {
padding-left: 1px !important;
padding-right: 1px;
padding-top: 1px;
padding-bottom: 1px;
width: 44px;
text-align:center;
2015-05-30 20:07:44 +02:00
}
div.attacharea {
2017-03-23 16:10:38 +01:00
padding-top: 18px;
padding-bottom: 10px;
}
div.attachareaformuserfileecm {
padding-top: 0;
padding-bottom: 0;
}
div.arearef {
padding-top: 2px;
margin-bottom: 10px;
2018-03-01 23:51:06 +01:00
padding-bottom: 10px;
}
div.arearefnobottom {
padding-top: 2px;
padding-bottom: 4px;
}
div.heightref {
min-height: 80px;
}
div.divphotoref {
2015-10-11 16:32:46 +02:00
padding-right: 20px;
}
2017-09-30 00:30:58 +02:00
div.paginationref {
padding-bottom: 10px;
}
2018-03-01 23:51:06 +01:00
/* TODO
div.statusref {
padding: 10px;
border: 1px solid #bbb;
border-radius: 6px;
} */
div.statusref {
float: right;
2016-09-10 16:09:01 +02:00
padding-left: 12px;
margin-top: 8px;
margin-bottom: 10px;
clear: both;
}
2017-03-31 14:21:51 +02:00
div.statusref img {
padding-left: 8px;
padding-right: 9px;
vertical-align: text-bottom;
width: 18px;
2017-03-31 14:21:51 +02:00
}
div.statusrefbis {
padding-left: 8px;
padding-right: 9px;
vertical-align: text-bottom;
}
2016-09-18 21:13:23 +02:00
img.photoref, div.photoref {
2018-06-23 14:23:07 +02:00
border: 1px solid #DDD;
-webkit-box-shadow: 0px 0px 6px #DDD;
box-shadow: 0px 0px 6px #DDD;
padding: 4px;
height: 80px;
width: 80px;
object-fit: contain;
}
2016-11-27 14:21:23 +01:00
img.fitcontain {
object-fit: contain;
}
2016-09-18 21:13:23 +02:00
div.photoref {
display:table-cell;
vertical-align:middle;
text-align:center;
}
img.photorefnoborder {
padding: 2px;
height: 48px;
width: 48px;
object-fit: contain;
2017-03-23 10:59:13 +01:00
border: 1px solid #AAA;
border-radius: 100px;
}
.underrefbanner {
}
.underbanner {
2018-03-01 23:51:06 +01:00
border-bottom: <?php echo $borderwidth ?>px solid rgb(<?php echo $colortopbordertitle1 ?>);
/* border-bottom: 2px solid rgb(<?php echo $colorbackhmenu1 ?>); */
2018-03-01 02:37:18 +01:00
}
.trextrafieldseparator td {
2018-03-01 23:51:06 +01:00
/* border-bottom: 2px solid rgb(<?php echo $colorbackhmenu1 ?>) !important; */
border-bottom: 2px solid rgb(<?php echo $colortopbordertitle1 ?>) !important;
}
2018-03-01 02:37:18 +01:00
2017-03-03 14:00:38 +01:00
.tdhrthin {
margin: 0;
padding-bottom: 0 !important;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Menu top et 1ere ligne tableau */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
div#id-top {
2017-05-16 13:27:32 +02:00
<?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
display:none;
<?php } else { ?>
background: rgb(<?php echo $colorbackhmenu1 ?>);
<?php } ?>
}
div#tmenu_tooltip {
2017-05-16 13:27:32 +02:00
<?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
2013-07-28 17:07:27 +02:00
display:none;
<?php } else { ?>
padding-<?php echo $right; ?>: <?php echo ($maxwidthloginblock - 10); ?>px;
2013-07-28 17:07:27 +02:00
<?php } ?>
}
div.tmenusep {
<?php if ($disableimages) { ?>
display: none;
2016-05-19 19:11:31 +02:00
<?php } ?>
}
div.tmenudiv {
2017-05-16 13:27:32 +02:00
<?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
display:none;
<?php } else { ?>
2006-06-05 20:26:46 +02:00
position: relative;
display: block;
white-space: nowrap;
border-top: 0px;
border-<?php print $left; ?>: 0px;
border-<?php print $right; ?>: 0px;
padding: 0px 0px 0px 0px; /* t r b l */
margin: 0px 0px 0px 0px; /* t r b l */
font-size: 13px;
font-weight: normal;
color: #000000;
2006-06-05 20:26:46 +02:00
text-decoration: none;
<?php } ?>
2006-06-05 20:26:46 +02:00
}
div.tmenudisabled, a.tmenudisabled {
opacity: 0.6;
}
2010-04-07 12:03:44 +02:00
a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
font-weight: normal;
padding: 0px 5px 0px 5px;
white-space: nowrap;
2013-07-29 11:30:54 +02:00
color: #<?php echo $colortextbackhmenu; ?>;
text-decoration: none;
2013-07-29 11:30:54 +02:00
cursor: not-allowed;
2006-06-05 20:26:46 +02:00
}
2010-04-07 12:03:44 +02:00
a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
font-weight: normal;
2018-02-05 23:17:05 +01:00
padding: 0px 4px 0px 4px;
white-space: nowrap;
color: #<?php echo $colortextbackhmenu; ?>;
text-decoration: none;
2006-06-05 20:26:46 +02:00
}
2010-04-07 12:03:44 +02:00
a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
2012-03-26 00:27:14 +02:00
font-weight: normal;
2018-02-05 23:17:05 +01:00
padding: 0px 4px 0px 4px;
margin: 0px 0px 0px 0px;
white-space: nowrap;
color: #<?php echo $colortextbackhmenu; ?>;
text-decoration: none !important;
}
2013-01-10 18:50:07 +01:00
2010-04-05 20:41:34 +02:00
ul.tmenu { /* t r b l */
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
list-style: none;
display: table;
}
ul.tmenu li { /* We need this to have background color when menu entry wraps on new lines */
}
li.tmenu, li.tmenusel {
<?php print $minwidthtmenu?'min-width: '.$minwidthtmenu.'px;':''; ?>
2010-04-05 20:41:34 +02:00
text-align: center;
vertical-align: bottom;
<?php if (empty($conf->global->MAIN_MENU_INVERT)) { ?>
float: <?php print $left; ?>;
<?php } ?>
position:relative;
display: block;
padding: 0 0 0 0;
margin: 0 0 0 0;
font-weight: normal;
}
li.menuhider:hover {
background-image: none !important;
}
li.tmenusel, li.tmenu:hover {
background-image: -o-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.5) 100%);
background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.5) 0%, rgba(250,250,250,0) 100%);
background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.5) 0%, rgba(250,250,250,0) 100%);
background-image: -ms-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.5) 100%);
background-image: linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.5) 100%);
/* background: rgb(<?php echo $colorbackhmenu1 ?>); */
}
.tmenuend .tmenuleft { width: 0px; }
.tmenuend { display: none; }
div.tmenuleft
{
float: <?php print $left; ?>;
margin-top: 0px;
<?php if (empty($conf->dol_optimize_smallscreen)) { ?>
width: 5px;
<?php } ?>
<?php if ($disableimages) { ?>
height: 26px;
<?php } else { ?>
height: <?php print $heightmenu; ?>px;
<?php } ?>
}
div.tmenucenter
{
2012-05-02 13:39:30 +02:00
padding-left: 0px;
2017-03-31 14:21:51 +02:00
padding-right: 3px;
<?php if ($disableimages) { ?>
padding-top: 8px;
height: 26px;
<?php } else { ?>
padding-top: 2px;
height: <?php print $heightmenu; ?>px;
<?php } ?>
2012-05-02 13:39:30 +02:00
width: 100%;
}
2016-06-17 12:39:00 +02:00
#menu_titre_logo {
padding-top: 0;
padding-bottom: 0;
}
2015-09-22 11:24:31 +02:00
div.menu_titre {
2016-06-17 12:39:00 +02:00
padding-top: 4px;
padding-bottom: 4px;
overflow: hidden;
text-overflow: ellipsis;
width: 188px; /* required to have overflow working. must be same than menu_contenu */
2015-09-22 11:24:31 +02:00
}
2012-05-02 13:39:30 +02:00
.mainmenuaspan
{
2018-02-05 23:06:48 +01:00
padding-<?php print $left; ?>: 2px;
2017-01-21 16:12:25 +01:00
padding-<?php print $right; ?>: 2px;
}
2010-04-07 08:29:35 +02:00
div.mainmenu {
position : relative;
background-repeat:no-repeat;
background-position:center top;
2017-03-31 14:21:51 +02:00
height: <?php echo ($heightmenu-22); ?>px;
margin-left: 0px;
2012-05-02 13:39:30 +02:00
min-width: 40px;
2010-02-19 01:01:08 +01:00
}
2018-04-14 21:07:20 +02:00
/* For mainmenu, we always load the img */
div.mainmenu.menu {
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/menu.png',1) ?>);
<?php print $disableimages?'':'top: 7px'; ?>
}
#mainmenutd_menu a.tmenuimage {
display: unset;
}
/* Do not load menu img for other if hidden to save bandwidth */
<?php if (empty($dol_hide_topmenu)) { ?>
2010-04-07 08:29:35 +02:00
div.mainmenu.home{
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home_over.png',1) ?>);
2015-11-29 16:05:14 +01:00
background-position-x: center;
2010-04-07 08:29:35 +02:00
}
div.mainmenu.billing {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money_over.png',1) ?>);
}
2010-04-07 08:29:35 +02:00
2011-11-05 13:11:10 +01:00
div.mainmenu.accountancy {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money_over.png',1) ?>);
2011-11-05 13:11:10 +01:00
}
div.mainmenu.agenda {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/agenda_over.png',1) ?>);
2011-11-05 13:11:10 +01:00
}
div.mainmenu.bank {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/bank_over.png',1) ?>);
2011-11-05 13:11:10 +01:00
}
div.mainmenu.cashdesk {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/pointofsale_over.png',1) ?>);
2011-11-05 13:11:10 +01:00
}
2010-04-07 08:29:35 +02:00
div.mainmenu.companies {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/company_over.png',1) ?>);
}
2010-04-07 08:29:35 +02:00
div.mainmenu.commercial {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/commercial_over.png',1) ?>);
}
2011-11-05 13:11:10 +01:00
div.mainmenu.ecm {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/ecm_over.png',1) ?>);
}
2011-11-05 13:11:10 +01:00
div.mainmenu.externalsite {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite_over.png',1) ?>);
2010-07-28 22:59:02 +02:00
}
2011-11-05 13:11:10 +01:00
div.mainmenu.ftp {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools_over.png',1) ?>);
}
2013-06-10 16:32:44 +02:00
div.mainmenu.hrm {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/holiday_over.png',1) ?>);
2012-09-19 15:10:23 +02:00
}
2010-04-07 08:29:35 +02:00
div.mainmenu.members {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/members_over.png',1) ?>);
}
2011-11-05 13:11:10 +01:00
div.mainmenu.products {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/products_over.png',1) ?>);
}
2011-11-05 13:11:10 +01:00
div.mainmenu.project {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/project_over.png',1) ?>);
}
div.mainmenu.ticket {
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/ticket_over.png',1) ?>);
2018-03-13 10:42:58 +01:00
}
2011-11-05 13:11:10 +01:00
div.mainmenu.tools {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools_over.png',1) ?>);
2011-11-05 13:11:10 +01:00
}
2017-10-20 23:48:42 +02:00
div.mainmenu.website {
2018-04-14 22:22:29 +02:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite_over.png',1) ?>);
2016-04-12 18:24:35 +02:00
}
2010-04-14 22:21:47 +02:00
<?php
// Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
2018-03-13 10:42:58 +01:00
$moduletomainmenu=array(
'user'=>'','syslog'=>'','societe'=>'companies','projet'=>'project','propale'=>'commercial','commande'=>'commercial',
2010-04-14 22:21:47 +02:00
'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',
2010-04-14 22:21:47 +02:00
'fournisseur'=>'companies',
'barcode'=>'','fckeditor'=>'','categorie'=>'',
);
$mainmenuused='home';
2012-07-23 16:10:54 +02:00
foreach($conf->modules as $val)
2010-04-14 22:21:47 +02:00
{
$mainmenuused.=','.(isset($moduletomainmenu[$val])?$moduletomainmenu[$val]:$val);
}
2010-04-14 22:21:47 +02:00
//var_dump($mainmenuused);
$mainmenuusedarray=array_unique(explode(',',$mainmenuused));
2010-04-14 22:21:47 +02:00
$generic=1;
2016-04-12 18:24:35 +02:00
// Put here list of menu entries when the div.mainmenu.menuentry was previously defined
2017-10-27 16:00:37 +02:00
$divalreadydefined=array('home','companies','products','commercial','externalsite','accountancy','project','tools','members','agenda','ftp','holiday','hrm','bookmark','cashdesk','ecm','geoipmaxmind','gravatar','clicktodial','paypal','stripe','webservices','website');
// Put here list of menu entries we are sure we don't want
$divnotrequired=array('multicurrency','salaries','ticket','margin','opensurvey','paybox','expensereport','incoterm','prelevement','propal','workflow','notification','supplier_proposal','cron','product','productbatch','expedition');
2012-07-23 16:10:54 +02:00
foreach($mainmenuusedarray as $val)
2010-04-14 22:21:47 +02:00
{
if (empty($val) || in_array($val,$divalreadydefined)) continue;
if (in_array($val,$divnotrequired)) continue;
2010-04-14 22:21:47 +02:00
//print "XXX".$val;
// Search img file in module dir
$found=0; $url='';
foreach($conf->file->dol_document_root as $dirroot)
{
2018-04-14 22:22:29 +02:00
if (file_exists($dirroot."/".$val."/img/".$val."_over.png"))
2010-04-14 22:21:47 +02:00
{
2018-04-14 22:22:29 +02:00
$url=dol_buildpath('/'.$val.'/img/'.$val.'_over.png', 1);
2010-04-14 22:21:47 +02:00
$found=1;
break;
}
}
// Img file not found
2012-02-05 16:30:40 +01:00
if (! $found)
2010-04-14 22:21:47 +02:00
{
2018-04-14 22:22:29 +02:00
$url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.$generic."_over.png",1);
2010-04-14 22:21:47 +02:00
$found=1;
2012-02-05 16:30:40 +01:00
if ($generic < 4) $generic++;
print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
2010-04-14 22:21:47 +02:00
}
if ($found)
{
print "div.mainmenu.".$val." {\n";
print " background-image: url(".$url.");\n";
print "}\n";
}
}
// End of part to add more div class css
?>
<?php
} // End test if $dol_hide_topmenu
?>
2010-08-26 04:07:52 +02:00
.tmenuimage {
padding:0 0 0 0 !important;
margin:0 0px 0 0 !important;
<?php if ($disableimages) { ?>
display: none;
<?php } ?>
2010-08-26 04:07:52 +02:00
}
2006-06-05 20:26:46 +02:00
/* Login */
.bodylogin
{
2014-11-03 16:29:45 +01:00
background: #f0f0f0;
display: table;
position: absolute;
height: 100%;
2017-06-01 19:07:51 +02:00
width: 100%;
}
.login_center {
display: table-cell;
vertical-align: middle;
}
.login_vertical_align {
padding: 10px;
2017-04-17 04:22:53 +02:00
padding-bottom: 80px;
}
form#login {
padding-bottom: 30px;
font-size: 13px;
vertical-align: middle;
}
.login_table_title {
2014-12-11 21:38:53 +01:00
max-width: 530px;
color: #aaa !important;
2017-04-17 04:22:53 +02:00
padding-bottom: 20px;
}
.login_table label {
text-shadow: 1px 1px 1px #FFF;
}
2012-03-05 15:51:24 +01:00
.login_table {
2015-07-20 20:31:19 +02:00
margin: 0px auto; /* Center */
2012-06-02 14:07:38 +02:00
padding-left:6px;
padding-right:6px;
2014-12-11 21:38:53 +01:00
padding-top:16px;
2012-06-02 14:07:38 +02:00
padding-bottom:12px;
max-width: 560px;
<?php
if (! empty($conf->global->MAIN_LOGIN_BACKGROUND)) {
2018-04-17 09:35:25 +02:00
print ' background-color: rgba(255, 255, 255, 0.9);';
} else {
print ' background-color: #FFFFFF;';
}
?>
2014-11-07 23:25:39 +01:00
2017-03-31 14:21:51 +02:00
-webkit-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
2015-08-15 03:41:57 +02:00
border-radius: 5px;
2017-01-06 15:51:08 +01:00
/*border-top:solid 1px rgba(180,180,180,.4);
border-left:solid 1px rgba(180,180,180,.4);
border-right:solid 1px rgba(180,180,180,.4);
border-bottom:solid 1px rgba(180,180,180,.4);*/
}
.login_table input#username, .login_table input#password, .login_table input#securitycode {
2017-01-06 15:51:08 +01:00
border: none;
border-bottom: solid 1px rgba(180,180,180,.4);
padding: 5px;
2018-01-23 09:00:03 +01:00
margin-left: 5px;
2017-01-06 15:51:08 +01:00
margin-top: 5px;
2015-08-15 03:41:57 +02:00
}
.login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
outline: none !important;
/* box-shadow: none;
-webkit-box-shadow: 0 0 0 50px #FFF inset;
box-shadow: 0 0 0 50px #FFF inset;*/
}
2015-08-15 03:41:57 +02:00
.login_main_message {
text-align: center;
2017-02-18 00:48:17 +01:00
max-width: 570px;
2018-01-15 11:20:45 +01:00
margin-bottom: 22px;
2016-01-09 03:00:12 +01:00
}
.login_main_message .error {
2018-01-15 11:20:45 +01:00
/* border: 1px solid #caa; */
2016-01-09 03:00:12 +01:00
padding: 10px;
}
div#login_left, div#login_right {
display: inline-block;
2014-04-27 01:49:57 +02:00
min-width: 245px;
padding-top: 10px;
padding-left: 16px;
padding-right: 16px;
text-align: center;
vertical-align: middle;
}
2017-02-27 10:47:14 +01:00
div#login_right select#entity {
margin-top: 10px;
}
2012-05-02 11:57:32 +02:00
table.login_table tr td table.none tr td {
padding: 2px;
}
2014-11-11 20:45:30 +01:00
table.login_table_securitycode {
border-spacing: 0px;
}
table.login_table_securitycode tr td {
padding-left: 0px;
padding-right: 4px;
}
2014-08-17 15:05:42 +02:00
#securitycode {
min-width: 60px;
}
#img_securitycode {
border: 1px solid #DDDDDD;
}
2016-12-04 01:12:52 +01:00
#img_logo, .img_logo {
max-width: 170px;
max-height: 90px;
2011-11-09 19:38:34 +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: 10px;
padding-right: 10px;
2017-10-28 11:00:02 +02:00
}
div.login_block {
position: absolute;
text-align: <?php print $right; ?>;
2017-10-21 12:25:51 +02:00
<?php print $right; ?>: 0;
top: <?php print $disableimages?'4px':'0'; ?>;
font-weight: bold;
2018-04-14 21:07:20 +02:00
<?php echo (empty($disableimages) && $maxwidthloginblock)?'max-width: '.$maxwidthloginblock.'px;':''; ?>
2017-05-16 13:27:32 +02:00
<?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
2011-01-19 11:49:28 +01:00
display: none;
<?php } ?>
}
div.login_block a {
2015-06-12 16:22:32 +02:00
color: #<?php echo $colortextbackvmenu; ?>;
}
div.login_block table {
display: inline;
}
div.login {
2011-01-12 10:47:23 +01:00
white-space:nowrap;
font-weight: bold;
float: right;
2006-06-05 20:26:46 +02:00
}
div.login a {
color: #<?php echo $colortextbackvmenu; ?>;
}
div.login a:hover {
color: #<?php echo $colortextbackvmenu; ?>;
text-decoration:underline;
2006-06-05 20:26:46 +02:00
}
div.login_block_user {
display: inline-block;
2017-10-21 12:25:51 +02:00
padding-top: 3px;
2016-09-14 23:23:22 +02:00
<?php if (empty($conf->global->THEME_TOPMENU_DISABLE_IMAGE)) { ?>
min-width: 120px;
2016-09-14 23:23:22 +02:00
<?php } ?>
}
div.login_block_other {
display: inline-block;
2018-04-14 21:07:20 +02:00
clear: <?php echo $disableimages?'none':'both'; ?>;
}
2015-03-25 18:13:53 +01:00
div.login_block_other { padding-top: 3px; text-align: right; }
.login_block_elem {
float: right;
vertical-align: top;
padding: 0px 3px 0px 4px !important;
height: 16px;
}
2015-10-20 02:31:24 +02:00
.atoplogin, .atoplogin:hover {
color: #<?php echo $colortextbackhmenu; ?> !important;
2013-05-13 23:46:37 +02:00
font-weight: normal !important;
2015-10-20 02:31:24 +02:00
}
.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;
font-weight: normal !important;
}
2015-10-20 02:31:24 +02:00
.alogin, .alogin:hover {
font-weight: normal !important;
2015-09-22 01:25:06 +02:00
padding-top: 2px;
2013-05-13 23:46:37 +02:00
}
2015-10-20 02:31:24 +02:00
.alogin:hover, .atoplogin:hover {
2013-05-13 23:46:37 +02:00
text-decoration:underline !important;
}
span.fa.atoplogin, span.fa.atoplogin:hover {
font-size: 16px;
text-decoration: none !important;
}
img.login, img.printer, img.entity {
/* padding: 0px 0px 0px 4px; */
/* margin: 0px 0px 0px 8px; */
text-decoration: none;
color: white;
font-weight: bold;
2011-01-06 16:54:44 +01:00
}
2018-03-07 11:29:50 +01:00
.userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto { /* size for user photo in login bar */
2015-09-22 11:24:31 +02:00
width: 16px;
height: 16px;
2017-04-01 00:35:05 +02:00
border-radius: 8px;
background-size: contain;
background-size: contain;
2015-05-31 17:31:15 +02:00
}
2017-03-23 10:59:13 +01:00
img.userphoto { /* size for user photo in lists */
2017-04-01 00:35:05 +02:00
border-radius: 9px;
2017-03-23 10:59:13 +01:00
width: 18px;
height: 18px;
2017-04-01 00:35:05 +02:00
background-size: contain;
vertical-align: middle;
}
img.userphotosmall { /* size for user photo in lists */
border-radius: 6px;
width: 12px;
height: 12px;
background-size: contain;
2017-03-23 10:59:13 +01:00
vertical-align: middle;
background-color: #FFF;
2017-03-23 10:59:13 +01:00
}
.span-icon-user {
2017-01-06 15:51:08 +01:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png',1); ?>);
background-repeat: no-repeat;
}
.span-icon-password {
2017-01-06 15:51:08 +01:00
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png',1); ?>);
background-repeat: no-repeat;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Menu gauche */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
div.vmenu, td.vmenu {
margin-<?php print $right; ?>: 2px;
position: relative;
float: left;
padding: 0px;
padding-bottom: 0px;
padding-top: 1px;
2015-11-25 17:11:08 +01:00
width: 190px;
}
.vmenu {
2017-04-04 11:56:19 +02:00
width: 190px;
2017-05-05 20:41:44 +02:00
margin-left: 6px;
2017-05-16 13:27:32 +02:00
<?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
display: none;
2013-04-21 17:56:29 +02:00
<?php } ?>
}
2017-06-01 19:07:51 +02:00
/* Force vmenusearchselectcombo with type=text differently than without because beautify with select2 affect vmenusearchselectcombo differently */
2017-04-04 11:56:19 +02:00
input.vmenusearchselectcombo[type=text] {
width: 180px !important;
}
.vmenusearchselectcombo {
2017-06-01 19:07:51 +02:00
width: 188px;
}
.menu_contenu {
2016-06-17 12:39:00 +02:00
padding-top: 3px;
padding-bottom: 3px;
overflow: hidden;
text-overflow: ellipsis;
width: 188px; /* required to have overflow working. must be same than .menu_titre */
2015-10-22 01:10:25 +02:00
}
2017-05-16 17:49:38 +02:00
#menu_contenu_logo { /* padding-top: 0; */ }
.companylogo { }
2017-04-01 12:46:47 +02:00
.searchform { padding-top: 10px; }
2018-06-22 23:21:16 +02:00
.searchform input { font-size: 16px; }
2012-02-10 19:47:08 +01:00
2018-04-14 21:07:20 +02:00
a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active, span.vmenu { white-space: nowrap; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
font.vmenudisabled { font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; }
a.vmenu:link, a.vmenu:visited { color: #<?php echo $colortextbackvmenu; ?>; }
2006-06-05 20:26:46 +02:00
2018-04-14 21:07:20 +02:00
a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vsmenu { font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
font.vsmenudisabled { font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #aaa; }
a.vsmenu:link, a.vsmenu:visited { color: #<?php echo $colortextbackvmenu; ?>; white-space: nowrap; }
2017-05-06 01:41:56 +02:00
font.vsmenudisabledmargin { margin: 1px 1px 1px 6px; }
li a.vsmenudisabled, li.vsmenudisabled { color: #aaa !important; }
2006-06-05 20:26:46 +02:00
2018-04-14 21:07:20 +02:00
a.help:link, a.help:visited, a.help:hover, a.help:active, span.help { font-size:<?php print is_numeric($fontsizesmaller)?($fontsizesmaller.'px'):$fontsizesmaller; ?>; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #aaa; text-decoration: none; }
.vmenu div.blockvmenufirst, .vmenu div.blockvmenulogo, .vmenu div.blockvmenusearchphone, .vmenu div.blockvmenubookmarks
2015-09-22 11:24:31 +02:00
{
border-top: 1px solid #BBB;
}
2015-12-04 23:25:17 +01:00
a.vsmenu.addbookmarkpicto {
padding-right: 10px;
}
div.blockvmenusearchphone
2016-06-17 12:39:00 +02:00
{
border-bottom: none !important;
2015-09-22 11:24:31 +02:00
}
.vmenu div.blockvmenuend, .vmenu div.blockvmenulogo
{
margin: 0 0 8px 2px;
}
2016-06-17 12:39:00 +02:00
.vmenu div.blockvmenusearch
2015-09-22 11:24:31 +02:00
{
2017-04-04 11:56:19 +02:00
padding-bottom: 4px;
2017-03-04 17:49:44 +01:00
/* border-bottom: 1px solid #e0e0e0; */
2015-09-22 11:24:31 +02:00
}
.vmenu div.blockvmenuend
{
padding-bottom: 5px;
}
2015-09-22 11:24:31 +02:00
.vmenu div.blockvmenulogo
{
padding-bottom: 10px;
2016-06-17 12:39:00 +02:00
padding-top: 0;
2015-09-22 11:24:31 +02:00
}
div.blockvmenubookmarks
{
2017-05-26 00:02:41 +02:00
padding-top: 10px !important;
2017-04-04 11:56:19 +02:00
padding-bottom: 16px !important;
2015-09-22 11:24:31 +02:00
}
div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend
{
2010-05-13 02:32:01 +02:00
font-family: <?php print $fontlist ?>;
2006-08-20 01:00:53 +02:00
color: #000000;
text-align: <?php print $left; ?>;
2006-06-05 20:26:46 +02:00
text-decoration: none;
padding-left: 5px;
padding-right: 1px;
padding-top: 3px;
padding-bottom: 3px;
2015-09-22 11:24:31 +02:00
margin: 0 0 0 2px;
2015-05-21 01:32:56 +02:00
background: rgb(<?php echo $colorbackvmenu1; ?>);
2015-09-22 11:24:31 +02:00
border-left: 1px solid #AAA;
2014-10-24 00:53:41 +02:00
border-right: 1px solid #BBB;
2006-06-05 20:26:46 +02:00
}
div.blockvmenusearch
{
2010-06-26 02:16:59 +02:00
font-family: <?php print $fontlist ?>;
color: #000000;
text-align: <?php print $left; ?>;
text-decoration: none;
2016-06-17 12:39:00 +02:00
margin: 1px 0px 0px 2px;
background: rgb(<?php echo $colorbackvmenu1; ?>);
2010-06-26 02:16:59 +02:00
}
2015-06-16 12:04:11 +02:00
div.blockvmenusearch > form > div {
padding-top: 3px;
}
div.blockvmenusearch > form > div > label {
padding-right: 2px;
}
2015-06-16 12:04:11 +02:00
div.blockvmenuhelp
{
<?php if (empty($conf->dol_optimize_smallscreen)) { ?>
2010-05-13 02:32:01 +02:00
font-family: <?php print $fontlist ?>;
2006-08-20 01:00:53 +02:00
color: #000000;
text-align: center;
2006-06-05 20:26:46 +02:00
text-decoration: none;
padding-left: 0px;
2016-06-19 13:18:21 +02:00
padding-right: 6px;
padding-top: 3px;
padding-bottom: 3px;
margin: 4px 0px 0px 0px;
<?php } else { ?>
display: none;
<?php } ?>
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
td.barre {
2006-06-05 20:26:46 +02:00
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
background: #b3c5cc;
2010-05-13 02:32:01 +02:00
font-family: <?php print $fontlist ?>;
2006-08-20 01:00:53 +02:00
color: #000000;
text-align: <?php print $left; ?>;
2006-06-05 20:26:46 +02:00
text-decoration: none;
}
2006-08-20 01:00:53 +02:00
td.barre_select {
background: #b3c5cc;
2006-06-05 20:26:46 +02:00
color: #000000;
}
td.photo {
2006-08-20 01:00:53 +02:00
background: #F4F4F4;
2006-06-05 20:26:46 +02:00
color: #000000;
2016-05-21 15:03:02 +02:00
border: 1px solid #bbb;
2006-06-05 20:26:46 +02:00
}
2010-10-31 10:05:56 +01:00
/* ============================================================================== */
/* Panes for Main */
/* ============================================================================== */
/*
* PANES and CONTENT-DIVs
*/
2010-10-31 10:16:37 +01:00
#mainContent, #leftContent .ui-layout-pane {
2010-10-31 10:05:56 +01:00
padding: 0px;
overflow: auto;
}
2010-10-31 10:16:37 +01:00
#mainContent, #leftContent .ui-layout-center {
2010-10-31 10:05:56 +01:00
padding: 0px;
position: relative; /* contain floated or positioned elements */
overflow: auto; /* add scrolling to content-div */
}
2006-06-05 20:26:46 +02:00
2010-08-27 21:44:52 +02:00
/* ============================================================================== */
/* Toolbar for ECM or Filemanager */
/* ============================================================================== */
2017-02-04 11:21:49 +01:00
td.ecmroot {
padding-bottom: 0 !important;
}
2012-12-29 23:40:16 +01:00
.largebutton {
2017-08-20 23:16:20 +02:00
/* border-top: 1px solid #CCC !important; */
padding: 0px 4px 14px 4px !important;
2013-11-13 20:37:05 +01:00
min-height: 32px;
2012-12-29 23:40:16 +01:00
}
2012-03-31 18:34:42 +02:00
2010-08-27 21:44:52 +02:00
2012-03-24 15:20:49 +01:00
a.toolbarbutton {
2012-03-26 03:09:35 +02:00
margin-top: 0px;
2010-08-27 21:44:52 +02:00
margin-left: 4px;
2012-03-24 15:20:49 +01:00
margin-right: 4px;
height: 30px;
}
img.toolbarbutton {
2012-03-26 03:09:35 +02:00
margin-top: 1px;
height: 30px;
2010-08-27 21:44:52 +02:00
}
2010-08-27 23:03:38 +02:00
2010-08-27 22:41:54 +02:00
2010-08-27 21:44:52 +02:00
2006-06-05 20:26:46 +02:00
2011-10-26 15:04:37 +02:00
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Onglets */
/* ============================================================================== */
div.tabs {
text-align: <?php print $left; ?>;
2017-05-05 20:41:44 +02:00
padding-left: 6px !important;
padding-right: 6px !important;
2013-04-24 03:56:13 +02:00
clear:both;
height:100%;
2017-06-01 19:07:51 +02:00
/* background-image: linear-gradient(to top,#f6f6f6 0,#fff 8px); */
2006-06-05 20:26:46 +02:00
}
div.tabsElem {
margin-top: 1px;
2016-11-11 01:15:41 +01:00
} /* To avoid overlap of tabs when not browser */
div.tabsElem a {
2017-12-22 00:22:33 +01:00
/* font-weight: normal !important; */
}
2006-06-05 20:26:46 +02:00
div.tabBar {
color: #<?php echo $colortextbacktab; ?>;
padding-top: 16px;
2016-09-10 16:09:01 +02:00
padding-left: 0px; padding-right: 0px;
padding-bottom: 2px;
margin: 0px 0px 16px 0px;
border-top: 1px solid #BBB;
/* border-bottom: 1px solid #AAA; */
width: auto;
background: rgb(<?php echo $colorbacktabcard1; ?>);
2006-06-05 20:26:46 +02:00
}
div.tabBar div.titre {
2017-10-04 13:30:43 +02:00
padding-top: 20px;
}
2018-03-02 11:18:29 +01:00
/* tabBar used for creation/update/send forms */
div.tabBarWithBottom {
padding-bottom: 18px;
2017-06-01 19:07:51 +02:00
border-bottom: 1px solid #aaa;
}
2018-03-02 11:18:29 +01:00
div.tabBarWithBottom tr {
background: unset !important;
}
div.tabBarWithBottom table.border>tbody>tr:last-of-type>td {
border-bottom: none !important;
}
div.tabBar table.tableforservicepart2:last-child {
border-bottom: 1px solid #aaa;
}
2018-03-01 18:21:47 +01:00
.tableforservicepart1 .tdhrthin {
height: unset;
}
div.popuptabset {
padding: 6px;
background: #fff;
border: 1px solid #888;
}
div.popuptab {
padding-top: 3px;
padding-bottom: 3px;
padding-left: 5px;
padding-right: 5px;
}
2006-06-05 20:26:46 +02:00
div.tabsAction {
2017-03-30 15:39:50 +02:00
margin: 20px 0em 20px 0em;
2006-06-05 20:26:46 +02:00
padding: 0em 0em;
text-align: right;
}
2017-05-09 16:52:03 +02:00
div.tabsActionNoBottom {
margin-bottom: 0px;
}
div.tabsAction > a {
margin-bottom: 16px !important;
}
2007-08-08 13:45:27 +02:00
2006-06-05 20:26:46 +02:00
a.tabTitle {
color:rgba(0,0,0,.5) !important;
2013-04-21 17:56:29 +02:00
text-shadow:1px 1px 1px #ffffff;
2010-05-13 02:32:01 +02:00
font-family: <?php print $fontlist ?>;
font-weight: normal !important;
2016-08-23 15:43:48 +02:00
padding: 4px 6px 2px 0px;
2017-01-21 16:12:25 +01:00
margin-<?php print $right; ?>: 10px;
2006-06-05 20:26:46 +02:00
text-decoration: none;
white-space: nowrap;
}
a.tabunactive {
color: rgb(<?php print $colortextlink; ?>) !important;
}
a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
2010-05-13 02:32:01 +02:00
font-family: <?php print $fontlist ?>;
2018-04-18 02:10:23 +02:00
padding: 12px 9px 13px;
2006-06-05 20:26:46 +02:00
margin: 0em 0.2em;
text-decoration: none;
white-space: nowrap;
2013-04-24 03:56:13 +02:00
2015-05-22 00:46:53 +02:00
border-right: 1px solid transparent;
border-left: 1px solid transparent;
border-top: 1px solid transparent;
border-bottom: 0px !important;
2015-05-22 00:46:53 +02:00
2015-05-21 01:32:56 +02:00
background-image: none !important;
2006-06-05 20:26:46 +02:00
}
2015-05-21 01:32:56 +02:00
.tabactive, a.tab#active {
color: #<?php echo $colortextbacktab; ?> !important;
background: rgb(<?php echo $colorbacktabcard1; ?>) !important;
2015-11-29 16:05:14 +01:00
margin: 0 0.2em 0 0.2em !important;
2015-10-09 20:00:43 +02:00
2018-03-01 11:51:25 +01:00
border-right: 1px solid #CCC !important;
border-left: 1px solid #CCC !important;
2018-03-01 02:37:18 +01:00
/* border-top: <?php echo 2; ?>px solid rgb(<?php echo $colortopbordertitle1; ?>) !important; */
border-top: <?php echo 2; ?>px solid rgb(<?php echo $colorbackhmenu1 ?>) !important;
2006-06-05 20:26:46 +02:00
}
a.tab:hover
{
2015-05-21 01:32:56 +02:00
/*
background: rgba(<?php echo $colorbacktabcard1; ?>, 0.5) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png',1); ?>) 50% 0 repeat-x;
color: #<?php echo $colortextbacktab; ?>;
2015-05-21 01:32:56 +02:00
*/
text-decoration: underline;
}
2006-06-05 20:26:46 +02:00
a.tabimage {
2011-04-04 20:42:28 +02:00
color: #434956;
2010-05-13 02:32:01 +02:00
font-family: <?php print $fontlist ?>;
2006-06-05 20:26:46 +02:00
text-decoration: none;
white-space: nowrap;
}
td.tab {
background: #dee7ec;
}
2006-06-05 20:26:46 +02:00
span.tabspan {
background: #dee7ec;
2011-04-04 20:42:28 +02:00
color: #434956;
font-family: <?php print $fontlist ?>;
padding: 0px 6px;
margin: 0em 0.2em;
text-decoration: none;
white-space: nowrap;
2015-05-22 00:46:53 +02:00
-webkit-border-radius:4px 4px 0px 0px;
border-radius:4px 4px 0px 0px;
border-<?php print $right; ?>: 1px solid #555555;
border-<?php print $left; ?>: 1px solid #D8D8D8;
border-top: 1px solid #D8D8D8;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Boutons actions */
/* ============================================================================== */
2016-09-17 21:03:20 +02:00
div.divButAction {
margin-bottom: 1.4em;
}
2017-11-16 12:09:34 +01:00
div.tabsAction > a.butAction, div.tabsAction > a.butActionRefused {
margin-bottom: 1.4em !important;
}
2017-11-28 11:01:02 +01:00
div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
margin-bottom: 0 !important;
}
2015-11-21 15:31:27 +01:00
span.butAction, span.butActionDelete {
cursor: pointer;
}
2018-06-23 14:23:07 +02:00
.butAction {
2018-11-28 16:32:53 +01:00
background: rgb(225, 231, 225)
2018-06-23 14:23:07 +02:00
/* background: rgb(230, 232, 239); */
}
2018-04-18 02:10:23 +02:00
.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
2014-10-03 03:52:50 +02:00
text-decoration: none;
2018-06-13 22:57:41 +02:00
text-transform: uppercase;
font-weight: bold;
2018-06-24 11:30:44 +02:00
margin: 0em <?php echo ($dol_optimize_smallscreen?'0.6':'0.9'); ?>em !important;
padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.6':'0.7'); ?>em;
2010-05-13 02:32:01 +02:00
font-family: <?php print $fontlist ?>;
2017-03-31 14:21:51 +02:00
display: inline-block;
text-align: center;
cursor: pointer;
2018-04-18 02:10:23 +02:00
/* color: #fff; */
/* background: rgb(<?php echo $colorbackhmenu1 ?>); */
2018-06-23 14:23:07 +02:00
color: #444;
/* border: 1px solid #aaa; */
/* border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25); */
2017-11-28 11:01:02 +01:00
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:active {
2018-04-15 16:35:18 +02:00
text-decoration: none;
2018-06-13 22:57:41 +02:00
text-transform: uppercase;
font-weight: normal;
2018-04-15 16:35:18 +02:00
margin: 0em 0.3em 0 0.3em !important;
2018-04-15 20:09:09 +02:00
padding: 0.2em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em 0.3em;
2018-04-15 16:35:18 +02:00
font-family: <?php print $fontlist ?>;
display: inline-block;
2018-06-19 13:26:30 +02:00
/* text-align: center; New button are on right of screen */
2018-04-15 16:35:18 +02:00
cursor: pointer;
/*color: #fff !important;
2018-04-15 16:35:18 +02:00
background: rgb(<?php echo $colorbackhmenu1 ?>);
border: 1px solid rgb(<?php echo $colorbackhmenu1 ?>);*/
2018-06-23 14:23:07 +02:00
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
2006-06-05 20:26:46 +02:00
2018-04-15 16:35:18 +02:00
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
a.butActionNew>span.fa-plus-circle, a.butActionNew>span.fa-plus-circle:hover { padding-left: 6px; font-size: 1.5em; border: none; box-shadow: none; webkit-box-shadow: none; }
a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover { padding-left: 6px; font-size: 1.5em; border: none; box-shadow: none; webkit-box-shadow: none; }
2018-04-15 16:35:18 +02:00
.butAction:hover, .butActionNew:hover {
2017-03-31 14:21:51 +02:00
-webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
}
2006-06-05 20:26:46 +02:00
.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active, .buttonDelete {
2018-11-28 16:32:53 +01:00
background: rgb(234, 228, 225);
2018-06-23 14:23:07 +02:00
/* border: 1px solid #633; */
color: #633;
}
2011-07-02 01:08:25 +02:00
.butActionDelete:hover {
2017-03-31 14:21:51 +02:00
-webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
}
.butActionRefused {
2018-06-13 22:57:41 +02:00
text-decoration: none !important;
text-transform: uppercase;
font-weight: bold !important;
2014-10-03 03:52:50 +02:00
white-space: nowrap !important;
2015-05-21 01:32:56 +02:00
cursor: not-allowed !important;
2018-06-24 11:30:44 +02:00
margin: 0em <?php echo ($dol_optimize_smallscreen?'0.6':'0.9'); ?>em;
padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.6':'0.7'); ?>em;
2014-10-03 03:52:50 +02:00
font-family: <?php print $fontlist ?> !important;
2017-03-31 14:21:51 +02:00
display: inline-block;
text-align: center;
cursor: pointer;
color: #999 !important;
2018-06-24 11:30:44 +02:00
border: 1px solid #ccc;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
2014-10-03 03:52:50 +02:00
}
2018-04-15 17:37:49 +02:00
.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:active {
2018-06-13 22:57:41 +02:00
text-decoration: none !important;
text-transform: uppercase;
font-weight: normal !important;
2018-04-15 17:37:49 +02:00
white-space: nowrap !important;
cursor: not-allowed !important;
margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
padding: 0.2em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
font-family: <?php print $fontlist ?> !important;
display: inline-block;
2018-06-19 13:26:30 +02:00
/* text-align: center; New button are on right of screen */
2018-04-15 17:37:49 +02:00
cursor: pointer;
color: #999 !important;
padding-top: 0.2em;
box-shadow: none !important;
-webkit-box-shadow: none !important;
}
2014-10-03 03:52:50 +02:00
2017-07-30 20:43:18 +02:00
.butActionTransparent {
color: #222 ! important;
background-color: transparent ! important;
}
<?php if (! empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED) && (! $user->admin)) { ?>
2018-04-15 17:37:49 +02:00
.butActionRefused, .butActionNewRefused {
2015-11-21 15:31:27 +01:00
display: none;
}
<?php } ?>
2014-10-03 03:52:50 +02:00
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Tables */
/* ============================================================================== */
.allwidth {
width: 100%;
}
2010-05-13 02:32:01 +02:00
#undertopmenu {
background-repeat: repeat-x;
2013-04-03 00:36:31 +02:00
margin-top: <?php echo ($dol_hide_topmenu?'6':'0'); ?>px;
2010-05-13 02:32:01 +02:00
}
2010-05-13 02:32:01 +02:00
2011-11-14 15:46:44 +01:00
.paddingrightonly {
border-collapse: collapse;
border: 0px;
margin-left: 0px;
padding-<?php print $left; ?>: 0px !important;
padding-<?php print $right; ?>: 4px !important;
2011-11-14 15:46:44 +01:00
}
.nocellnopadd {
2012-02-21 23:35:38 +01:00
list-style-type:none;
margin: 0px !important;
padding: 0px !important;
}
tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
{
border: 0px;
}
2006-06-05 20:26:46 +02:00
.notopnoleft {
2012-02-21 23:35:38 +01:00
border-collapse: collapse;
border: 0px;
padding-top: 0px;
padding-<?php print $left; ?>: 0px;
padding-<?php print $right; ?>: 16px;
padding-bottom: 4px;
2015-11-29 16:05:14 +01:00
margin-right: 0px;
2006-06-05 20:26:46 +02:00
}
.notopnoleftnoright {
2012-02-21 23:35:38 +01:00
border-collapse: collapse;
border: 0px;
padding-top: 0px;
padding-left: 0px;
padding-right: 0px;
padding-bottom: 4px;
margin: 0px 0px 0px 0px;
2006-06-05 20:26:46 +02: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-10-09 17:21:38 +02:00
border-collapse: collapse !important;
padding: 1px 2px 1px 3px; /* t r b l */
2006-06-05 20:26:46 +02:00
}
2015-10-09 20:00:43 +02:00
table.borderplus {
border: 1px solid #BBB;
}
2018-03-02 11:18:29 +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 {
2017-04-12 13:01:41 +02:00
height: 22px;
2015-05-14 20:49:22 +02:00
}
2018-03-02 11:18:29 +01:00
tr.liste_titre.box_titre td table td, .bordernooddeven tr td {
2018-03-01 23:51:06 +01:00
height: 22px;
}
2015-05-14 20:49:22 +02:00
div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar .table-val-border-col {
vertical-align: middle;
}
div .tdtop {
2016-12-03 21:29:49 +01:00
vertical-align: top !important;
2017-08-21 12:30:24 +02:00
/* padding-top: 8px !important; */
padding-bottom: 2px !important;
2015-05-31 01:06:51 +02:00
padding-bottom: 0px;
}
2018-03-02 11:18:29 +01:00
table.border td, table.bordernooddeven td, div.border div div.tagtd {
2017-05-20 20:59:54 +02:00
padding: 5px 2px 5px 2px;
2012-02-21 23:35:38 +01:00
border-collapse: collapse;
2006-06-05 20:26:46 +02:00
}
2017-03-11 12:04:28 +01:00
div.tabBar .fichecenter table.border>tbody>tr>td, div.tabBar .fichecenter div.border div div.tagtd, div.tabBar div.border div div.tagtd
{
2017-05-20 20:59:54 +02:00
padding-top: 5px;
border-bottom: 1px solid #E0E0E0;
}
2006-06-05 20:26:46 +02:00
2013-10-27 00:04:57 +02:00
td.border, div.tagtable div div.border {
2012-02-21 23:35:38 +01:00
border-top: 1px solid #000000;
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
border-left: 1px solid #000000;
}
.table-key-border-col {
/* width: 25%; */
vertical-align:top;
}
.table-val-border-col {
width:auto;
}
/* Main boxes */
2018-03-01 23:51:06 +01:00
.nobordertop, .nobordertop tr:first-of-type td {
border-top: none !important;
}
2018-03-01 11:51:25 +01:00
.noborderbottom, .noborderbottom tr:last-of-type td {
2017-03-15 11:41:15 +01:00
border-bottom: none !important;
}
2018-03-02 11:18:29 +01:00
.bordertop {
border-top: 1px solid rgb(<?php echo $colortopbordertitle1 ?>);
}
.borderbottom {
border-bottom: 1px solid rgb(<?php echo $colortopbordertitle1 ?>);
}
2018-03-01 02:37:18 +01:00
/*.ficheaddleft table.noborder {
2017-02-28 12:57:34 +01:00
margin: 0px 0px 0px 0px;
2018-03-01 02:37:18 +01:00
}*/
table.liste, table.noborder, table.formdoc, div.noborder {
2012-02-21 23:35:38 +01:00
width: 100%;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
border-collapse: separate !important;
border-spacing: 0px;
2015-03-23 14:53:21 +01:00
2018-03-01 02:37:18 +01:00
border-top-width: <?php echo $borderwidth ?>px;
2016-04-22 11:11:08 +02:00
border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
border-top-style: solid;
2018-03-01 11:51:25 +01:00
/* border-top-width: 2px;
border-top-color: rgb(<?php echo $colorbackhmenu1 ?>);
border-top-style: solid; */
2015-10-02 11:58:19 +02:00
border-bottom-width: 1px;
2018-03-01 02:37:18 +01:00
border-bottom-color: rgb(<?php echo $colortopbordertitle1 ?>);
2015-10-02 11:58:19 +02:00
border-bottom-style: solid;
margin: 0px 0px 5px 0px;
}
2017-03-15 11:58:13 +01:00
div.tabBar div.ficheaddleft table.noborder:last-of-type {
2018-03-01 11:51:25 +01:00
border-bottom: 1px solid rgb(<?php echo $colortopbordertitle1 ?>);
}
div.tabBar table.border>tbody>tr:last-of-type>td {
border-bottom-width: 1px;
border-bottom-color: rgb(<?php echo $colortopbordertitle1 ?>);
border-bottom-style: solid;
2017-03-15 11:41:15 +01:00
}
2017-03-15 11:58:13 +01:00
div.tabBar div.ficheaddleft table.noborder {
2017-03-15 11:41:15 +01:00
border-bottom: none;
}
table.paddingtopbottomonly tr td {
padding-top: 1px;
padding-bottom: 2px;
2006-06-05 20:26:46 +02:00
}
2017-03-29 11:03:13 +02:00
.liste_titre_filter {
background: rgb(<?php echo $colorbacktitle1; ?>) !important;
}
tr.liste_titre_filter td.liste_titre {
2018-03-01 02:37:18 +01:00
/* border-bottom: 1px solid #ddd; */
}
.liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
{
2018-03-01 02:37:18 +01:00
border-top-width: 1px;
border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
2018-03-01 02:37:18 +01:00
border-top-style: solid;
}
/*.liste_titre_create td.nobottom, tr#trlinefordates td {
background-color: rgb(<?php echo $colorbacktitle1; ?>) !important;
}*/
tr#trlinefordates td {
border-bottom: 0px !important;
}
.liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
2016-05-19 19:11:31 +02:00
{
2018-03-01 11:51:25 +01:00
border-top-width: 1px;
2016-05-19 19:11:31 +02:00
border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
border-top-style: solid;
}
table.liste tr, table.noborder tr, div.noborder form {
2012-02-21 23:35:38 +01:00
border-top-color: #FEFEFE;
2015-04-18 18:57:13 +02:00
min-height: 20px;
}
2016-05-30 22:15:17 +02:00
table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
2017-12-14 13:52:32 +01:00
padding: 7px 8px 7px 8px; /* t r b l */
}
2018-03-01 02:37:18 +01:00
table.liste td, table.noborder td, div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
2017-12-14 13:52:32 +01:00
padding: 7px 8px 7px 8px; /* t r b l */
line-height: 1.2em;
2018-03-01 11:51:25 +01:00
height: 22px;
}
div.liste_titre_bydiv .divsearchfield {
padding: 2px 1px 2px 7px; /* t r b l */
2006-06-05 20:26:46 +02:00
}
tr.box_titre .nobordernopadding td {
padding: 0 ! important;
}
2006-06-05 20:26:46 +02:00
table.nobordernopadding {
2012-02-21 23:35:38 +01:00
border-collapse: collapse !important;
border: 0;
2006-06-05 20:26:46 +02:00
}
2009-10-17 01:25:15 +02:00
table.nobordernopadding tr {
border: 0 !important;
padding: 0 0 !important;
2009-10-17 01:25:15 +02:00
}
table.nobordernopadding tr td {
border: 0 !important;
2015-05-15 12:53:14 +02:00
padding: 0 3px 0 0;
}
table.border tr td table.nobordernopadding tr td {
padding-top: 0;
padding-bottom: 0;
}
td.borderright {
border: none; /* to erase value for table.nobordernopadding td */
border-right-width: 1px !important;
border-right-color: #BBB !important;
border-right-style: solid !important;
2006-06-05 20:26:46 +02:00
}
/* For table with no filter before */
table.listwithfilterbefore {
border-top: none !important;
2006-06-05 20:26:46 +02:00
}
.tagtable, .table-border { display: table; }
.tagtr, .table-border-row { display: table-row; }
.tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
2013-06-16 12:00:18 +02:00
/* Pagination */
div.refidpadding {
2016-11-11 01:15:41 +01:00
padding-top: 3px;
}
div.refid {
font-weight: bold;
2018-06-23 14:23:07 +02:00
color: rgb(<?php print $colortexttitlenotab; ?>);
2018-04-14 22:22:29 +02:00
font-size: 1.2em;
}
div.refidno {
padding-top: 3px;
font-weight: normal;
color: #444;
2018-04-14 21:07:20 +02:00
font-size: <?php print is_numeric($fontsize)?$fontsize.'px':$fontsize ?>;
2016-09-18 21:13:23 +02:00
line-height: 21px;
}
2016-09-19 10:43:30 +02:00
div.refidno form {
display: inline-block;
}
2015-05-17 19:37:37 +02:00
div.pagination {
float: right;
}
div.pagination a {
font-weight: normal;
}
2018-04-15 16:35:18 +02:00
/*div.pagination a.butAction, div.fichehalfright a.butAction {
margin-right: 0px !important;
}
div.tabsAction a.butActionDelete:last-child, div.tabsAction a.butAction:last-child {
margin-right: 0px !important;
}*/
2015-05-17 19:37:37 +02:00
div.pagination ul
{
list-style: none;
display: inline-block;
padding-left: 0px;
2015-05-17 19:37:37 +02:00
padding-right: 0px;
margin: 0;
}
div.pagination li {
2015-05-17 19:37:37 +02:00
display: inline-block;
padding-left: 0px;
padding-right: 0px;
padding-top: 6px;
padding-bottom: 5px;
}
.pagination {
display: inline-block;
padding-left: 0;
border-radius: 4px;
}
div.pagination li.pagination a,
div.pagination li.pagination span {
padding: 6px 12px;
line-height: 1.42857143;
color: #000;
text-decoration: none;
2016-11-11 01:15:41 +01:00
background-repeat: repeat-x;
}
2015-05-22 14:28:02 +02:00
div.pagination li.pagination span.inactive {
cursor: default;
2016-03-29 22:09:13 +02:00
color: #ccc;
}
2017-03-31 14:21:51 +02:00
li.noborder.litext, li.noborder.litext a,
2016-03-29 22:09:13 +02:00
div.pagination li a.inactive:hover,
div.pagination li span.inactive:hover {
2017-03-31 14:21:51 +02:00
-webkit-box-shadow: none !important;
box-shadow: none !important;
2015-05-22 14:28:02 +02:00
}
/*div.pagination li.litext {
padding-top: 8px;
}*/
div.pagination li.litext a {
2015-10-11 12:27:04 +02:00
border: none;
padding-right: 10px;
padding-left: 4px;
font-weight: bold;
}
2015-10-11 12:27:04 +02:00
div.pagination li.litext a:hover {
background-color: transparent;
background-image: none;
}
div.pagination li.litext a:hover {
background-color: transparent;
background-image: none;
}
div.pagination li.noborder a:hover {
border: none;
background-color: transparent;
}
div.pagination li a,
div.pagination li span {
2017-03-31 14:21:51 +02:00
/* background-color: #fff; */
2016-09-10 16:09:01 +02:00
/* border: 1px solid #ddd; */
}
div.pagination li:first-child a,
div.pagination li:first-child span {
margin-left: 0;
2018-04-15 20:09:09 +02:00
/*border-top-left-radius: 4px;
border-bottom-left-radius: 4px;*/
}
div.pagination li:last-child a,
div.pagination li:last-child span {
2018-04-15 20:09:09 +02:00
/*border-top-right-radius: 4px;
border-bottom-right-radius: 4px;*/
}
div.pagination li a:hover,
2018-06-08 17:53:13 +02:00
div.pagination li:not(.paginationafterarrows) span:hover,
div.pagination li a:focus,
2018-06-08 17:53:13 +02:00
div.pagination li:not(.paginationafterarrows) span:focus {
2017-03-31 14:21:51 +02:00
-webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
}
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 ?>);
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;
}
div.pagination li.pagination .active {
text-decoration: underline;
2017-04-06 22:31:45 +02:00
box-shadow: none;
}
2017-04-29 16:07:34 +02:00
.paginationafterarrows .nohover {
box-shadow: none !important;
}
2015-05-17 19:37:37 +02:00
div.pagination li.paginationafterarrows {
margin-left: 10px;
}
2015-10-02 16:11:25 +02:00
.paginationatbottom {
margin-top: 9px;
}
2017-03-10 16:40:38 +01:00
2015-05-22 14:28:02 +02:00
/* Set the color for hover lines */
.oddeven:hover, .evenodd:hover, .impair:hover, .pair:hover
{
<?php if ($colorbacklinepairhover) { ?>
2017-03-11 13:42:16 +01:00
background: rgb(<?php echo $colorbacklinepairhover; ?>) !important; /* Must be background to be stronger than background of odd or even */
<?php } ?>
}
2017-12-14 17:37:32 +01:00
.nohover:hover {
background: unset;
}
.oddeven, .evenodd, .impair, .nohover .impair:hover, tr.impair td.nohover
{
font-family: <?php print $fontlist ?>;
margin-bottom: 1px;
color: #202020;
}
.impair, .nohover .impair:hover, tr.impair td.nohover
{
background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
}
2015-05-14 20:49:22 +02:00
#GanttChartDIV {
2017-03-10 16:40:38 +01:00
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
2015-05-14 20:49:22 +02:00
}
.oddeven, .evenodd, .pair, .nohover .pair:hover, tr.pair td.nohover {
font-family: <?php print $fontlist ?>;
margin-bottom: 1px;
color: #202020;
}
.pair, .nohover .pair:hover, tr.pair td.nohover {
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?>;
}
2015-05-22 14:28:02 +02:00
table.dataTable tr.oddeven {
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
}
2015-05-22 14:28:02 +02:00
/* For no hover style */
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 {
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?> !important;
background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?> !important;
2015-05-22 14:28:02 +02:00
}
2018-03-01 23:51:06 +01:00
td.evenodd, tr.nohoverpair td, #trlinefordates td {
2015-06-20 17:40:36 +02:00
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
2015-06-20 17:40:36 +02:00
}
.trforbreak td {
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinebreak)); ?> !important;
}
2017-03-10 16:40:38 +01:00
table.dataTable td {
2017-12-14 17:08:43 +01:00
padding: 5px 8px 5px 8px !important;
}
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 {
2017-12-14 17:08:43 +01:00
padding: 7px 8px 7px 8px;
border-bottom: 1px solid #ddd;
}
2017-01-29 14:53:05 +01:00
form.pair, form.impair {
font-weight: normal;
}
form.tagtr:last-of-type div.tagtd, tr.pair:last-of-type td, tr.impair:last-of-type td {
2015-11-21 15:31:27 +01:00
border-bottom: 0px !important;
}
tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
border-bottom: 0px !important;
}
2017-07-14 13:28:21 +02:00
tr.nobottom td, tr.nobottom , td.nobottom {
2015-04-27 02:33:44 +02:00
border-bottom: 0px !important;
}
div.liste_titre .tagtd {
vertical-align: middle;
}
div.liste_titre {
min-height: 26px !important; /* We cant use height because it's a div and it should be higher if content is more. but min-height does not work either for div */
padding-top: 2px;
padding-bottom: 2px;
}
div.liste_titre_bydiv {
2018-03-01 02:37:18 +01:00
border-top-width: <?php echo $borderwidth ?>px;
2016-04-22 11:11:08 +02:00
border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
border-top-style: solid;
border-collapse: collapse;
display: table;
padding: 2px 0px 2px 0;
box-shadow: none;
/*width: calc(100% - 1px); 1px more, i don't know why so i remove */
width: calc(100%);
}
2013-06-26 11:58:01 +02:00
tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr
2013-04-28 12:46:52 +02:00
{
height: 26px !important;
2013-04-28 12:46:52 +02:00
}
2018-02-07 20:53:13 +01:00
div.colorback
{
background: rgb(<?php echo $colorbacktitle1; ?>);
padding: 10px;
margin-top: 5px;
}
div.liste_titre_bydiv, .liste_titre div.tagtr, tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable thead tr
2011-09-03 01:57:26 +02:00
{
2017-03-29 11:03:13 +02:00
background: rgb(<?php echo $colorbacktitle1; ?>);
font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
2018-03-01 02:37:18 +01:00
/* border-bottom: 1px solid #ddd; */
2017-06-01 19:07:51 +02:00
color: rgb(<?php echo $colortexttitle; ?>);
2011-09-03 01:57:26 +02:00
font-family: <?php print $fontlist ?>;
2011-09-07 21:01:18 +02:00
text-align: <?php echo $left; ?>;
2006-06-05 20:26:46 +02:00
}
tr.liste_titre th, tr.liste_titre td, th.liste_titre
{
2018-03-01 02:37:18 +01:00
border-bottom: 1px solid rgb(<?php echo $colortopbordertitle1 ?>);
}
tr.liste_titre:first-child th, tr:first-child th.liste_titre {
2018-03-01 02:37:18 +01:00
/* border-bottom: 1px solid #ddd ! important; */
border-bottom: unset;
}
tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div
2011-09-03 01:57:26 +02:00
{
font-family: <?php print $fontlist ?>;
font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
vertical-align: middle;
height: 24px;
}
2013-12-06 10:04:53 +01:00
tr.liste_titre th a, th.liste_titre a, tr.liste_titre td a, td.liste_titre a, form.liste_titre div a, div.liste_titre a {
text-shadow: none !important;
}
tr.liste_titre_topborder td {
2018-03-01 02:37:18 +01:00
border-top-width: <?php echo $borderwidth; ?>px;
border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
border-top-style: solid;
}
.liste_titre td a {
text-shadow: none !important;
color: rgb(<?php echo $colortexttitle; ?>);
2006-06-05 20:26:46 +02:00
}
2016-09-18 13:58:17 +02:00
.liste_titre td a.notasortlink {
color: rgb(<?php echo $colortextlink; ?>);
}
2016-09-18 15:48:29 +02:00
.liste_titre td a.notasortlink:hover {
background: transparent;
}
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 */
2018-03-01 02:37:18 +01:00
/* border-bottom: 1px solid #ddd; */
border-bottom: unset;
}
2016-09-18 13:58:17 +02:00
2013-06-23 18:01:10 +02:00
tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
2006-08-20 01:00:53 +02:00
{
2011-09-03 01:57:26 +02:00
font-family: <?php print $fontlist ?>;
font-weight: normal;
border-bottom: 1px solid #FDFFFF;
text-decoration: underline;
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
input.liste_titre {
2011-11-03 01:59:13 +01:00
background: transparent;
border: 0px;
2006-06-05 20:26:46 +02:00
}
2016-04-07 13:06:22 +02:00
.listactionlargetitle .liste_titre {
line-height: 24px;
}
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 {
2017-09-05 12:53:25 +02:00
color: #551188;
2011-11-03 01:59:13 +01:00
font-weight: normal;
2017-09-23 09:28:31 +02:00
}
.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
2011-11-03 01:59:13 +01:00
white-space: nowrap;
2006-06-05 20:26:46 +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;
}
2015-11-21 15:31:27 +01:00
form.liste_total div {
border-top: 1px solid #DDDDDD;
}
tr.liste_sub_total, tr.liste_sub_total td {
border-bottom: 1px solid #aaa;
}
2018-03-01 02:37:18 +01:00
/* to avoid too much border on contract card */
2014-05-12 13:25:36 +02:00
.tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
background: #FFF;
}
.tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
border-bottom: none;
2014-05-12 13:25:36 +02:00
}
2018-03-01 02:37:18 +01:00
table.tableforservicepart1:first-of-type tr:first-of-type td {
border-top: 1px solid #888;
}
table.tableforservicepart1 tr td {
border-top: 0px;
}
2006-06-05 20:26:46 +02:00
.paymenttable, .margintable {
2018-03-01 23:51:06 +01:00
/*border-top-width: <?php echo $borderwidth ?>px !important;
2016-06-07 13:15:38 +02:00
border-top-color: rgb(<?php echo $colortopbordertitle1 ?>) !important;
2018-03-01 23:51:06 +01:00
border-top-style: solid !important;*/
border-top: none !important;
2016-09-21 01:25:34 +02:00
margin: 0px 0px 0px 0px !important;
2016-06-07 13:15:38 +02:00
}
2016-06-24 01:00:37 +02:00
.paymenttable tr td:first-child, .margintable tr td:first-child
{
padding-left: 2px;
}
2018-03-01 11:51:25 +01:00
.paymenttable, .margintable tr td {
height: 22px;
}
2012-03-10 01:06:22 +01:00
/* Disable shadows */
2012-02-21 23:35:38 +01:00
.noshadow {
2013-04-24 03:56:13 +02:00
-webkit-box-shadow: 0px 0px 0px #DDD !important;
box-shadow: 0px 0px 0px #DDD !important;
2012-02-21 23:35:38 +01:00
}
2012-02-21 23:54:22 +01:00
div.tabBar .noborder {
2013-04-24 03:56:13 +02:00
-webkit-box-shadow: 0px 0px 0px #DDD !important;
box-shadow: 0px 0px 0px #DDD !important;
2012-02-21 23:54:22 +01:00
}
2015-10-09 20:00:43 +02:00
#tablelines tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
2018-03-01 02:37:18 +01:00
border-bottom: 1px solid rgb(<?php echo $colortopbordertitle1 ?>) !important;
2015-10-09 20:00:43 +02:00
}
#tablelines tr td {
height: unset;
}
/* Prepare to remove class pair - impair */
2018-03-01 02:37:18 +01:00
.noborder > tbody > tr:nth-child(even):not(.liste_titre), .liste > tbody > tr:nth-child(even):not(.liste_titre),
2018-06-04 12:55:55 +02:00
div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(even):not(.liste_titre), .liste > tbody > tr:nth-of-type(even):not(.liste_titre) {
background: linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
}
.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) {
border-bottom: 1px solid #ddd;
}
2018-03-01 02:37:18 +01:00
.noborder > tbody > tr:nth-child(odd):not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(.liste_titre),
2018-06-04 12:55:55 +02:00
div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre), .liste > tbody > tr:nth-of-type(odd):not(.liste_titre)
2018-03-01 02:37:18 +01:00
{
background: linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
}
.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) {
border-bottom: 1px solid #ddd;
}
2017-07-30 19:38:12 +02:00
ul.noborder li:nth-child(even):not(.liste_titre) {
background-color: rgb(<?php echo $colorbacklinepair2; ?>) !important;
}
2006-06-05 20:26:46 +02:00
/*
* Boxes
*/
2017-06-01 19:07:51 +02:00
2018-01-16 16:15:49 +01:00
.box {
overflow-x: auto;
min-height: 40px;
}
/*.ficheaddleft div.boxstats, .ficheaddright div.boxstats {
2017-02-28 12:57:34 +01:00
border: none;
}*/
2017-03-23 19:26:28 +01:00
.boxstatsborder {
2018-02-07 02:29:55 +01:00
/* border: 1px solid #CCC !important; */
2017-03-23 19:26:28 +01:00
}
.boxstats, .boxstats130 {
2017-02-28 13:45:14 +01:00
display: inline-block;
2018-03-02 11:41:46 +01:00
margin: 8px;
2018-03-01 18:21:47 +01:00
margin-top: 5px;
margin-bottom: 5px;
text-align: center;
2018-03-01 17:40:30 +01:00
background: #f8f8f8;
border: 1px solid #eee;
2018-06-23 17:11:19 +02:00
box-shadow: 1px 1px 8px #ddd;
2018-03-01 17:40:30 +01:00
border-radius: 0px;
2017-03-23 19:26:28 +01:00
}
2017-06-01 19:07:51 +02:00
.boxstats, .boxstats130, .boxstatscontent {
2017-02-28 13:45:14 +01:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2017-03-23 19:26:28 +01:00
.boxstats130 {
width: 158px;
2017-03-23 19:26:28 +01:00
height: 48px;
2017-06-01 19:07:51 +02:00
padding: 3px
2017-03-23 19:26:28 +01:00
}
2018-03-03 12:10:27 +01:00
.boxstats {
padding: 3px;
width: 121px;
}
2017-03-23 19:26:28 +01:00
.boxstatscontent {
padding: 3px;
}
2018-03-04 10:47:35 +01:00
.boxstatsempty {
width: 121px;
padding-left: 3px;
padding-right: 3px;
margin-left: 8px;
margin-right: 8px;
}
.boxstats150empty {
width: 158px;
padding-left: 3px;
padding-right: 3px;
margin-left: 8px;
margin-right: 8px;
}
2017-03-23 19:26:28 +01:00
2017-03-21 17:06:27 +01:00
@media only screen and (max-width: 767px)
{
2018-03-01 17:40:30 +01:00
.boxstats, .boxstats130 {
2018-03-02 11:41:46 +01:00
margin: 3px;
2018-03-18 20:20:10 +01:00
/*border: 1px solid #ccc;
box-shadow: none; */
2018-03-01 18:21:47 +01:00
}
.boxstats130 {
2018-03-01 17:40:30 +01:00
text-align: <?php echo $left; ?>
}
2017-06-02 09:25:35 +02:00
.thumbstat {
flex: 1 1 110px;
}
.thumbstat150 {
flex: 1 1 110px;
}
2017-06-01 19:07:51 +02:00
.dashboardlineindicator {
float: left;
padding-left: 5px;
2017-03-21 17:06:27 +01:00
}
2018-01-24 13:08:09 +01:00
.boxstats130 {
width: 148px;
}
2017-03-21 17:06:27 +01:00
.boxstats {
2018-03-03 12:10:27 +01:00
width: 111px;
2017-03-21 17:06:27 +01:00
}
2018-03-04 10:47:35 +01:00
.boxstatsempty {
width: 111px;
}
2017-03-21 17:06:27 +01:00
}
.boxstats:hover {
2016-08-09 15:56:55 +02:00
box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
2015-12-14 21:38:04 +01:00
}
span.boxstatstext {
opacity: 0.8;
line-height: 18px;
2018-04-16 00:26:13 +02:00
color: #000;
}
2017-11-15 10:40:24 +01:00
span.boxstatstext img, a.dashboardlineindicatorlate img {
border: 0;
}
a img {
border: 0;
}
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: 130%;
font-weight: normal;
2017-03-28 12:47:48 +02:00
line-height: 29px;
2015-12-14 21:38:04 +01:00
}
span.dashboardlineindicator, span.dashboardlineindicatorlate {
2017-03-23 19:26:28 +01:00
font-size: 130%;
font-weight: normal;
}
2017-03-23 19:26:28 +01:00
.dashboardlineindicatorlate img {
width: 16px;
}
span.dashboardlineok {
color: #008800;
}
span.dashboardlineko {
color: #FFF;
2017-03-28 12:47:48 +02:00
/*color: #8c4446 ! important;
padding-left: 1px;*/
2017-06-01 19:07:51 +02:00
2017-03-28 12:47:48 +02:00
font-size: 80%;
2017-03-23 19:26:28 +01:00
}
.dashboardlinelatecoin {
float: right;
position: relative;
text-align: right;
2017-09-30 00:30:58 +02:00
top: -26px;
padding: 0px 5px 0px 5px;
2017-06-01 19:07:51 +02:00
border-radius: .25em;
2017-03-28 12:47:48 +02:00
2017-06-02 20:01:25 +02:00
background-color: #9f4705;
2017-03-28 12:47:48 +02:00
}
.imglatecoin {
padding: 1px 3px 1px 1px;
margin-left: 4px;
margin-right: 2px;
background-color: #8c4446;
color: #FFFFFF ! important;
2017-06-01 19:07:51 +02:00
border-radius: .25em;
2017-03-28 12:47:48 +02:00
display: inline-block;
vertical-align: middle;
}
2011-07-20 21:03:31 +02:00
.boxtable {
margin-bottom: 8px !important;
2017-03-14 14:33:25 +01:00
border-bottom-width: 1px;
2018-03-01 11:51:25 +01:00
border-top: <?php echo $borderwidth ?>px solid rgb(<?php echo $colortopbordertitle1 ?>);
/* border-top: 2px solid rgb(<?php echo $colorbackhmenu1 ?>) !important; */
}
table.noborder.boxtable tr td {
height: unset;
2017-03-14 14:33:25 +01:00
}
2018-03-01 23:51:06 +01:00
.boxtablenotop {
border-top-width: 0 !important;
}
2017-03-14 14:33:25 +01:00
.boxtablenobottom {
border-bottom-width: 0 !important;
2011-07-20 21:03:31 +02:00
}
2017-11-14 01:15:02 +01:00
.boxtable .fichehalfright, .boxtable .fichehalfleft {
min-width: 300px;
}
2017-02-28 13:45:14 +01:00
.tdboxstats {
text-align: center;
}
2017-11-26 22:23:21 +01:00
.boxworkingboard .tdboxstats {
padding-left: 0px !important;
padding-right: 0px !important;
}
2017-03-23 19:26:28 +01:00
a.valignmiddle.dashboardlineindicator {
line-height: 30px;
}
.box {
padding-right: 0px;
padding-left: 0px;
2018-03-01 02:37:18 +01:00
padding-bottom: 25px;
}
2006-08-20 01:00:53 +02:00
tr.box_titre {
2015-03-23 14:53:21 +01:00
height: 26px;
/* TO MATCH BOOTSTRAP */
/*background: #ddd;
color: #000 !important;*/
/* TO MATCH ELDY */
2017-03-29 11:03:13 +02:00
background: rgb(<?php echo $colorbacktitle1; ?>)
color: rgb(<?php echo $colortexttitle; ?>);
font-family: <?php print $fontlist ?>, sans-serif;
font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
border-bottom: 1px solid #FDFFFF;
white-space: nowrap;
2006-06-05 20:26:46 +02:00
}
tr.box_titre td.boxclose {
width: 30px;
}
img.boxhandle, img.boxclose {
padding-left: 5px;
}
.formboxfilter {
vertical-align: middle;
margin-bottom: 6px;
2006-06-05 20:26:46 +02:00
}
.formboxfilter input[type=image]
{
top: 5px;
position: relative;
}
.boxfilter {
margin-bottom: 2px;
margin-right: 1px;
}
2015-10-11 13:26:22 +02:00
.prod_entry_mode_free, .prod_entry_mode_predef {
height: 26px !important;
vertical-align: middle;
}
2006-06-05 20:26:46 +02:00
2017-05-08 21:00:23 +02:00
.modulebuilderbox {
border: 1px solid #888;
padding: 16px;
}
2006-06-05 20:26:46 +02:00
2006-06-05 20:26:46 +02:00
/*
* Ok, Warning, Error
*/
2018-02-15 12:57:04 +01:00
2006-06-05 20:26:46 +02:00
.ok { color: #114466; }
.warning { color: #887711; }
.error { color: #550000 !important; font-weight: bold; }
2006-06-05 20:26:46 +02:00
div.ok {
color: #114466;
}
2018-01-12 01:10:03 +01:00
/* Info admin */
div.info {
border-<?php print $left; ?>: solid 5px #87cfd2;
padding-top: 8px;
padding-left: 10px;
padding-right: 4px;
padding-bottom: 8px;
margin: 0.5em 0em 0.5em 0em;
background: #eff8fc;
}
2015-11-22 12:23:10 +01:00
/* Warning message */
2006-06-05 20:26:46 +02:00
div.warning {
2018-01-12 01:10:03 +01:00
border-<?php print $left; ?>: solid 5px #f2cf87;
padding-top: 8px;
padding-left: 10px;
padding-right: 4px;
padding-bottom: 8px;
margin: 0.5em 0em 0.5em 0em;
background: #fcf8e3;
}
div.warning a, div.info a, div.error a {
color: rgb(<?php echo $colortext; ?>);
2006-06-05 20:26:46 +02:00
}
2015-11-22 12:23:10 +01:00
/* Error message */
2015-11-25 16:45:25 +01:00
div.error {
2018-01-15 11:20:45 +01:00
border-<?php print $left; ?>: solid 5px #f28787;
padding-top: 8px;
padding-left: 10px;
padding-right: 4px;
padding-bottom: 8px;
margin: 0.5em 0em 0.5em 0em;
2011-07-18 05:18:37 +02:00
background: #EFCFCF;
2006-06-05 20:26:46 +02:00
}
/*
* Liens Payes/Non payes
*/
2006-08-20 01:00:53 +02:00
a.normal:link { font-weight: normal }
2006-06-05 20:26:46 +02:00
a.normal:visited { font-weight: normal }
a.normal:active { font-weight: normal }
a.normal:hover { font-weight: normal }
a.impayee:link { font-weight: bold; color: #550000; }
a.impayee:visited { font-weight: bold; color: #550000; }
a.impayee:active { font-weight: bold; color: #550000; }
a.impayee:hover { font-weight: bold; color: #550000; }
/*
* External web site
*/
.framecontent {
width: 100%;
height: 100%;
}
.framecontent iframe {
width: 100%;
height: 100%;
}
2006-06-05 20:26:46 +02:00
/*
* Other
2006-06-05 20:26:46 +02:00
*/
2018-02-15 14:08:42 +01:00
div.boximport {
min-height: unset;
}
2012-11-03 11:55:39 +01:00
.product_line_stock_ok { color: #002200; }
.product_line_stock_too_low { color: #884400; }
2012-11-03 11:55:39 +01:00
.fieldrequired { font-weight: bold; color: #000055; }
2016-06-20 00:11:59 +02:00
.widthpictotitle { width: 40px; text-align: <?php echo $left; ?>; }
2016-06-19 16:07:34 +02:00
2013-06-29 02:23:23 +02:00
.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
.dolgraphtitlecssboxes { margin: 0px; }
2013-06-29 04:01:54 +02:00
.legendColorBox, .legendLabel { border: none !important; }
div.dolgraph div.legend, div.dolgraph div.legend div { background-color: rgba(255,255,255,0) !important; }
div.dolgraph div.legend table tbody tr { height: auto; }
2015-07-04 22:18:31 +02:00
td.legendColorBox { padding: 2px 2px 2px 0 !important; }
td.legendLabel { padding: 2px 2px 2px 0 !important; }
2013-06-29 02:23:23 +02:00
2018-02-15 12:57:04 +01:00
label.radioprivate {
white-space: nowrap;
}
2010-02-17 19:27:20 +01:00
.photo {
border: 0px;
}
.photowithmargin {
margin-bottom: 2px;
margin-top: 10px;
2010-02-17 19:27:20 +01:00
}
.photowithborder {
border: 1px solid #f0f0f0;
}
2017-03-31 14:21:51 +02:00
.photointooltip {
2015-05-31 17:31:15 +02:00
margin-top: 6px;
2017-03-31 14:21:51 +02:00
margin-bottom: 6px;
text-align: center;
2015-03-24 22:24:15 +01:00
}
2015-05-31 16:36:11 +02:00
.photodelete {
margin-top: 6px !important;
}
2010-02-17 19:27:20 +01:00
2013-01-10 18:50:07 +01:00
.logo_setup
{
content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg',1) ?>); /* content is used to best fit the container */
display: inline-block;
2013-01-10 18:50:07 +01:00
}
.nographyet
{
content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg',1) ?>);
display: inline-block;
opacity: 0.1;
background-repeat: no-repeat;
}
.nographyettext
{
opacity: 0.5;
}
2013-01-10 18:50:07 +01:00
2006-08-20 01:00:53 +02:00
div.titre {
2010-05-13 02:32:01 +02:00
font-family: <?php print $fontlist ?>;
font-size: 1.1em;
2017-09-24 01:49:59 +02:00
/* font-weight: bold; */
color: rgb(<?php print $colortexttitlenotab; ?>);
text-decoration: none;
2017-05-05 20:41:44 +02:00
padding-top: 5px;
padding-bottom: 5px;
}
2006-06-05 20:26:46 +02: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; }
2012-03-10 01:06: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: 40px; margin-right: 40px; }
#divsubscribe { max-width: 900px; }
2012-03-10 13:52:08 +01:00
#tablesubscribe { width: 100%; }
div#card-element {
border: 1px solid #ccc;
}
div#card-errors {
color: #fa755a;
text-align: center;
padding-top: 3px;
}
/*
* Effect Postit
*/
.effectpostit
{
position: relative;
}
.effectpostit:before, .effectpostit:after
{
z-index: -1;
position: absolute;
content: "";
bottom: 15px;
left: 10px;
width: 50%;
top: 80%;
max-width:300px;
background: #777;
-webkit-box-shadow: 0 15px 10px #777;
box-shadow: 0 15px 10px #777;
-webkit-transform: rotate(-3deg);
-moz-transform: rotate(-3deg);
-o-transform: rotate(-3deg);
-ms-transform: rotate(-3deg);
transform: rotate(-3deg);
}
.effectpostit:after
{
-webkit-transform: rotate(3deg);
-moz-transform: rotate(3deg);
-o-transform: rotate(3deg);
-ms-transform: rotate(3deg);
transform: rotate(3deg);
right: 10px;
left: auto;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2010-11-13 16:56:25 +01:00
/* Formulaire confirmation (When Ajax JQuery is used) */
/* ============================================================================== */
.ui-dialog-titlebar {
}
.ui-dialog-content {
}
/* ============================================================================== */
/* For content of image preview */
/* ============================================================================== */
/*
.ui-dialog-content.ui-widget-content > object {
max-height: none;
width: auto; margin-left: auto; margin-right: auto; display: block;
}
*/
2010-11-13 16:56:25 +01:00
/* ============================================================================== */
/* Formulaire confirmation (When HTML is used) */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2006-08-20 01:00:53 +02:00
table.valid {
2018-01-11 20:33: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 1px #555555; */
padding-top: 8px;
padding-left: 10px;
padding-right: 4px;
padding-bottom: 4px;
2006-08-20 01:00:53 +02:00
margin: 0px 0px;
2018-01-11 20:33:09 +01:00
background: #fcf8e3;
2006-08-20 01:00:53 +02:00
}
.validtitre {
font-weight: bold;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Tooltips */
/* ============================================================================== */
/* For tooltip using dialog */
.ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
z-index: 3000;
}
2017-10-26 12:34:53 +02:00
div.ui-tooltip {
max-width: <?php print dol_size(600,'width'); ?>px !important;
}
.mytooltip {
border-top: solid 1px #BBBBBB;
border-<?php print $left; ?>: solid 1px #BBBBBB;
border-<?php print $right; ?>: solid 1px #444444;
border-bottom: solid 1px #444444;
padding: 5px 20px;
border-radius: 0;
box-shadow: 0 0 4px grey;
margin: 2px;
font-stretch: condensed;
}
2006-06-05 20:26:46 +02:00
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Calendar */
/* ============================================================================== */
2011-05-21 18:06:25 +02:00
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
{
2018-03-01 02:37:18 +01:00
border: unset;
}
2012-03-26 00:27:14 +02:00
img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
2012-01-14 01:21:47 +01:00
2011-09-03 17:26:59 +02:00
.ui-datepicker-trigger {
vertical-align: middle;
cursor: pointer;
2017-10-31 23:57:37 +01:00
padding-left: 2px;
padding-right: 2px;
2011-09-03 17:26:59 +02:00
}
2006-08-20 01:00:53 +02:00
.bodyline {
-webkit-border-radius: 8px;
border-radius: 8px;
2006-08-20 01:00:53 +02:00
border: 1px #E4ECEC outset;
padding: 0px;
2011-06-13 17:08:13 +02:00
margin-bottom: 5px;
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
table.dp {
2006-06-05 20:26:46 +02:00
width: 180px;
background-color: #FFFFFF;
border-top: solid 2px #DDDDDD;
border-<?php print $left; ?>: solid 2px #DDDDDD;
border-<?php print $right; ?>: solid 1px #222222;
2006-06-05 20:26:46 +02:00
border-bottom: solid 1px #222222;
2011-12-07 10:34:43 +01:00
padding: 0px;
border-spacing: 0px;
2011-12-16 20:06:16 +01:00
border-collapse: collapse;
2006-06-05 20:26:46 +02:00
}
.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
/* Barre titre */
2006-08-20 01:00:53 +02:00
.dpHead,.tpHead,.tpHour td:Hover .tpHead{
2006-06-05 20:26:46 +02:00
font-weight:bold;
background-color:#b3c5cc;
2006-08-20 01:00:53 +02:00
color:white;
2006-06-05 20:26:46 +02:00
font-size:11px;
cursor:auto;
}
/* Barre navigation */
.dpButtons,.tpButtons {
text-align:center;
background-color:#617389;
color:#FFFFFF;
2006-08-20 01:00:53 +02:00
font-weight:bold;
cursor:pointer;
2006-06-05 20:26:46 +02:00
}
.dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
.dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
.dpExplanation{ font-weight:normal; font-size:11px;}
.dpWeek td{text-align:center}
.dpToday,.dpReg,.dpSelected{
cursor:pointer;
}
.dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
.dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
/* Jour courant */
2006-06-05 20:26:46 +02:00
.dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
.tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
.tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
.tpHour td:Hover {background-color:black;color:white;}
.tpMinute {margin-top:5px;}
.tpMinute td:Hover {background-color:black; color:white; }
.tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
2006-08-20 01:00:53 +02:00
/* Bouton X fermer */
2006-06-05 20:26:46 +02:00
.dpInvisibleButtons
{
border-style:none;
background-color:transparent;
padding:0px;
2018-04-21 00:05:14 +02:00
font-size: 0.85em;
border-width:0px;
color:#0B63A2;
vertical-align:middle;
cursor: pointer;
2006-06-05 20:26:46 +02:00
}
.datenowlink
{
color: rgb(<?php print $colortextlink; ?>);
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Afficher/cacher */
/* ============================================================================== */
div.visible {
display: block;
}
div.hidden, td.hidden, img.hidden {
2006-06-05 20:26:46 +02:00
display: none;
}
tr.visible {
display: block;
}
2016-04-19 11:02:55 +02:00
/* ============================================================================== */
/* Module website */
/* ============================================================================== */
2017-12-17 16:24:47 +01:00
.phptag {
background: #ddd; border: 1px solid #ccc; border-radius: 4px;
}
2017-11-15 19:47:07 +01:00
.nobordertransp {
border: 0px;
background-color: transparent;
background-image: none;
}
2016-04-19 11:02:55 +02:00
.websitebar {
2017-11-15 19:47:07 +01:00
border-bottom: 1px solid #ccc;
background: #eee;
2017-02-24 21:13:40 +01:00
display: inline-block;
2016-04-19 11:02:55 +02:00
}
2017-11-15 19:47:07 +01:00
.websitebar .buttonDelete, .websitebar .button {
text-shadow: none;
}
.websitebar .button, .websitebar .buttonDelete
{
padding: 2px 5px 3px 5px !important;
margin: 2px 4px 2px 4px !important;
line-height: normal;
}
2016-04-19 11:02:55 +02:00
.websiteselection {
display: inline-block;
padding-left: 10px;
vertical-align: middle;
2016-04-19 11:02:55 +02:00
}
.websitetools {
float: right;
2017-02-24 21:13:40 +01:00
}
.websiteselection, .websitetools {
2017-11-15 19:47:07 +01:00
margin-top: 3px;
2017-02-24 21:13:40 +01:00
padding-top: 3px;
padding-bottom: 3px;
2016-09-14 23:23:22 +02:00
}
.websiteinputurl {
display: inline-block;
vertical-align: top;
2016-04-19 11:02:55 +02:00
}
.websiteiframenoborder {
border: 0px;
}
2018-02-15 01:29:51 +01:00
span.websitebuttonsitepreview, a.websitebuttonsitepreview {
2017-02-24 21:13:40 +01:00
vertical-align: middle;
}
2018-02-15 01:29:51 +01:00
span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
2016-09-14 23:23:22 +02:00
width: 26px;
display: inline-block;
}
2018-02-15 01:29:51 +01:00
span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
2017-07-19 16:38:00 +02:00
opacity: 0.2;
}
.websitehelp {
vertical-align: middle;
float: right;
padding-top: 8px;
}
2016-04-19 11:02:55 +02:00
2008-03-20 20:32:41 +01:00
/* ============================================================================== */
/* Module agenda */
/* ============================================================================== */
2017-10-31 23:57:37 +01:00
.dayevent .tagtr:first-of-type {
height: 24px;
}
2017-04-01 00:35:05 +02:00
.agendacell { height: 60px; }
2015-12-04 20:51:34 +01:00
table.cal_month { border-spacing: 0px; }
table.cal_month td:first-child { border-left: 0px; }
table.cal_month td:last-child { border-right: 0px; }
2013-02-19 13:24:32 +01:00
.cal_current_month { border-top: 0; border-left: solid 1px #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 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
.cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
2013-02-19 13:24:32 +01:00
.cal_other_month { border-top: 0; border-left: solid 1px #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 2px #6C7C7B !important; border-right: 0; }
2013-02-19 13:24:32 +01:00
.cal_current_month_right { border-right: solid 1px #E0E0E0; }
.cal_other_month_right { border-right: solid 1px #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; }
2013-02-19 13:24:32 +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; }
2014-10-14 00:27:23 +02:00
.cal_today { background: #FDFDF0; border-left: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
.cal_today_peruser { background: #FDFDF0; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2016-05-17 02:41:06 +02:00
.cal_today_peruser_peruserleft { background: #FDFDF0; border-left: solid 2px #6C7C7B; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
.cal_past { }
2017-11-13 02:44:02 +01:00
.cal_peruser { padding-top: 0 !important; padding-bottom: 0 !important; padding-<?php print $left; ?>: 1px !important; padding-<?php print $right; ?>: 1px !important; }
2015-07-21 12:30:12 +02:00
.cal_impair { background: #F8F8F8; }
.cal_today_peruser_impair { background: #F8F8F0; }
.peruser_busy { }
.peruser_notbusy { opacity: 0.5; }
table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; min-height: 20px; }
2013-02-15 10:42:35 +01:00
table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
2015-04-23 15:35:32 +02:00
table.cal_event td.cal_event { padding: 4px 4px !important; }
table.cal_event td.cal_event_right { padding: 4px 4px !important; }
2018-03-07 11:53:30 +01:00
.cal_event { font-size: 1em; }
.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); }
.cal_event_busy { }
2018-02-06 10:03:06 +01:00
.cal_peruserviewname { max-width: 140px; height: 22px; }
2015-01-14 13:51:21 +01:00
2018-03-07 11:53:30 +01:00
.calendarviewcontainertr { height: 100px; }
2008-03-20 20:32:41 +01:00
/* ============================================================================== */
2007-12-06 02:14:57 +01:00
/* Ajax - Liste deroulante de l'autocompletion */
/* ============================================================================== */
2014-06-29 02:45:55 +02:00
.ui-widget-content { border: solid 1px rgba(0,0,0,.3); background: #fff !important; }
2014-05-23 21:06:53 +02:00
2013-03-02 14:43:36 +01:00
.ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif',1) ?>) right center no-repeat; }
2010-10-11 22:13:24 +02:00
.ui-autocomplete {
position:absolute;
2010-10-11 14:23:39 +02:00
width:auto;
2010-10-11 22:13:24 +02:00
font-size: 1.0em;
background-color:white;
border:1px solid #888;
margin:0px;
2014-03-01 20:05:08 +01:00
/* padding:0px; This make combo crazy */
2010-10-11 22:13:24 +02:00
}
.ui-autocomplete ul {
list-style-type:none;
margin:0px;
padding:0px;
}
.ui-autocomplete ul li.selected { background-color: #D3E5EC;}
.ui-autocomplete ul li {
list-style-type:none;
display:block;
margin:0;
padding:2px;
2011-07-06 12:22:56 +02:00
height:18px;
2010-10-11 22:13:24 +02:00
cursor:pointer;
2010-10-11 14:19:17 +02:00
}
2014-12-07 23:51:36 +01:00
2007-05-06 00:20:57 +02:00
/* ============================================================================== */
2017-12-20 12:45:38 +01:00
/* jQuery - jeditable for inline edit */
2007-05-06 00:20:57 +02:00
/* ============================================================================== */
.editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
2013-03-02 14:43:36 +01:00
background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png',1) ?>) right top no-repeat;
2011-10-26 09:28:00 +02:00
cursor: pointer;
2017-12-20 12:45:38 +01:00
margin-right: 3px;
2017-12-20 15:09:58 +01:00
margin-top: 3px;
2007-05-06 00:20:57 +02:00
}
2008-03-20 20:32:41 +01:00
.editkey_datepicker {
2013-03-02 14:43:36 +01:00
background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png',1) ?>) right center no-repeat;
2017-12-20 12:45:38 +01:00
margin-right: 3px;
cursor: pointer;
2017-12-20 12:45:38 +01:00
margin-right: 3px;
2017-12-20 15:09:58 +01:00
margin-top: 3px;
}
.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;
}
2008-03-20 20:32:41 +01:00
/* ============================================================================== */
/* Admin Menu */
/* ============================================================================== */
2010-11-13 16:56:25 +01:00
/* CSS for treeview */
.treeview ul { background-color: transparent !important; margin-top: 4px; padding-top: 4px !important; }
.treeview li { background-color: transparent !important; padding: 0 0 0 16px !important; min-height: 26px; }
2015-11-30 21:40:14 +01:00
.treeview .hover { color: rgb(<?php print $colortextlink; ?>) !important; text-decoration: underline !important; }
/* ============================================================================== */
/* Show Excel tabs */
/* ============================================================================== */
.table_data
{
border-style:ridge;
2007-09-10 08:28:12 +02:00
border:1px solid;
}
.tab_base
{
background:#C5D0DD;
font-weight:bold;
border-style:ridge;
2007-09-10 08:28:12 +02:00
border: 1px solid;
cursor:pointer;
}
.table_sub_heading
{
background:#CCCCCC;
font-weight:bold;
border-style:ridge;
2007-09-10 08:28:12 +02:00
border: 1px solid;
}
.table_body
{
background:#F0F0F0;
font-weight:normal;
font-family:sans-serif;
border-style:ridge;
2007-09-10 08:28:12 +02:00
border: 1px solid;
border-spacing: 0px;
border-collapse: collapse;
}
.tab_loaded
{
background:#222222;
color:white;
font-weight:bold;
border-style:groove;
2007-09-10 08:28:12 +02:00
border: 1px solid;
cursor:pointer;
}
/* ============================================================================== */
/* CSS for color picker */
/* ============================================================================== */
A.color, A.color:active, A.color:visited {
position : relative;
display : block;
text-decoration : none;
width : 10px;
height : 10px;
line-height : 10px;
margin : 0px;
padding : 0px;
border : 1px inset white;
}
A.color:hover {
border : 1px outset white;
}
A.none, A.none:active, A.none:visited, A.none:hover {
position : relative;
display : block;
text-decoration : none;
width : 10px;
height : 10px;
line-height : 10px;
margin : 0px;
padding : 0px;
cursor : default;
border : 1px solid #b3c5cc;
}
.tblColor {
display : none;
}
.tdColor {
padding : 1px;
}
.tblContainer {
background-color : #b3c5cc;
}
.tblGlobal {
position : absolute;
top : 0px;
left : 0px;
display : none;
background-color : #b3c5cc;
border : 2px outset;
}
.tdContainer {
padding : 5px;
}
.tdDisplay {
width : 50%;
height : 20px;
line-height : 20px;
border : 1px outset white;
}
.tdDisplayTxt {
width : 50%;
height : 24px;
line-height : 12px;
2010-05-13 02:32:01 +02:00
font-family : <?php print $fontlist ?>;
font-size : 8pt;
color : black;
text-align : center;
}
.btnColor {
width : 100%;
2010-05-13 02:32:01 +02:00
font-family : <?php print $fontlist ?>;
font-size : 10pt;
padding : 0px;
margin : 0px;
}
.btnPalette {
width : 100%;
2010-05-13 02:32:01 +02:00
font-family : <?php print $fontlist ?>;
font-size : 8pt;
padding : 0px;
margin : 0px;
2010-03-28 01:33:34 +01:00
}
/* 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 {
border: 1px solid #888;
background: rgb(<?php echo $colorbacktitle1; ?>);
color: unset;
}
.ui-menu .ui-menu-item a {
text-decoration:none;
display:block;
padding:.2em .4em;
line-height:1.5;
font-weight: normal;
2011-02-05 01:51:12 +01:00
font-family:<?php echo $fontlist; ?>;
font-size:1em;
}
2011-02-05 01:51:12 +01:00
.ui-widget {
font-family:<?php echo $fontlist; ?>;
}
2018-01-04 14:54:04 +01:00
/* .ui-button { margin-left: -2px; <?php print (preg_match('/chrome/',$conf->browser->name)?'padding-top: 1px;':''); ?> } */
.ui-button { margin-left: -2px; }
2011-02-05 01:51:12 +01:00
.ui-button-icon-only .ui-button-text { height: 8px; }
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
.ui-button-text
{
line-height: 1em !important;
}
2014-12-07 23:51:36 +01:00
.ui-autocomplete-input { margin: 0; padding: 4px; }
/* ============================================================================== */
/* CKEditor */
/* ============================================================================== */
2017-02-28 10:49:58 +01:00
.cke_dialog {
border: 1px #bbb solid ! important;
}
/*.cke_editor table, .cke_editor tr, .cke_editor td
{
border: 0px solid #FF0000 !important;
}
2017-02-28 10:49:58 +01:00
span.cke_skin_kama { padding: 0 !important; }*/
2011-05-28 18:26:10 +02:00
.cke_wrapper { padding: 4px !important; }
2011-08-15 01:54:09 +02:00
a.cke_dialog_ui_button
{
font-family: <?php print $fontlist ?> !important;
background-image: url(<?php echo $img_button ?>) !important;
2011-08-15 01:54:09 +02:00
background-position: bottom !important;
border: 1px solid #C0C0C0 !important;
2011-08-15 01:54:09 +02:00
-webkit-border-radius:0px 5px 0px 5px !important;
border-radius:0px 5px 0px 5px !important;
-webkit-box-shadow: 3px 3px 4px #DDD !important;
box-shadow: 3px 3px 4px #DDD !important;
2011-08-15 01:54:09 +02:00
}
2011-08-16 19:59:46 +02:00
.cke_dialog_ui_hbox_last
{
vertical-align: bottom ! important;
}
2017-12-12 01:40:34 +01:00
/*
2014-03-29 05:02:02 +01:00
.cke_editable
{
line-height: 1.4 !important;
margin: 6px !important;
}
2017-12-12 01:40:34 +01:00
*/
2016-04-02 16:53:55 +02:00
a.cke_dialog_ui_button_ok span {
text-shadow: none !important;
color: #333 !important;
}
2011-08-15 01:54:09 +02:00
2011-07-06 11:25:05 +02:00
2017-07-18 13:42:07 +02:00
/* ============================================================================== */
/* ACE editor */
/* ============================================================================== */
.ace_editor {
border: 1px solid #ddd;
margin: 0;
}
2017-07-19 16:38:00 +02:00
.aceeditorstatusbar {
2017-07-18 13:42:07 +02:00
margin: 0;
padding: 0;
2017-11-15 19:47:07 +01:00
padding-<?php echo $left; ?>: 10px;
2017-07-18 13:42:07 +02:00
left: 0;
right: 0;
bottom: 0;
background-color: #ebebeb;
2017-11-15 19:47:07 +01:00
height: 28px;
line-height: 2.2em;
2017-07-18 13:42:07 +02:00
}
.ace_status-indicator {
color: gray;
position: relative;
right: 0;
border-left: 1px solid;
}
2017-07-18 14:20:37 +02:00
pre#editfilecontentaceeditorid {
margin-top: 5px;
2017-07-18 13:42:07 +02:00
}
2011-07-06 11:25:05 +02:00
/* ============================================================================== */
2011-07-06 11:42:55 +02:00
/* File upload */
2011-07-06 11:25:05 +02:00
/* ============================================================================== */
.template-upload {
height: 72px !important;
2011-07-28 15:22:19 +02:00
}
2011-08-17 15:08:19 +02:00
/* ============================================================================== */
/* Holiday */
/* ============================================================================== */
#types .btn {
cursor: pointer;
}
#types .btn-primary {
font-weight: bold;
}
#types form {
padding: 20px;
}
#types label {
display:inline-block;
width:100px;
margin-right: 20px;
padding: 4px;
text-align: right;
vertical-align: top;
}
#types input.text, #types textarea {
width: 400px;
}
#types textarea {
height: 100px;
}
2017-09-07 16:23:51 +02:00
/* ============================================================================== */
/* Comments */
/* ============================================================================== */
#comment div {
box-sizing:border-box;
}
#comment .comment {
border-radius:7px;
margin-bottom:10px;
2017-09-13 12:09:01 +02:00
overflow:hidden;
}
#comment .comment-table {
display:table;
height:100%;
}
#comment .comment-cell {
display:table-cell;
2017-09-07 16:23:51 +02:00
}
#comment .comment-info {
font-size:0.8em;
2017-09-13 12:09:01 +02:00
border-right:1px solid #dedede;
margin-right:10px;
width:160px;
text-align:center;
background:rgba(255,255,255,0.5);
vertical-align:middle;
padding:10px 2px;
2017-09-07 16:23:51 +02:00
}
#comment .comment-info a {
color:inherit;
}
2017-09-13 12:09:01 +02:00
#comment .comment-right {
vertical-align:top;
}
#comment .comment-description {
padding:10px;
vertical-align:top;
}
#comment .comment-delete {
width: 100px;
text-align:center;
vertical-align:middle;
}
#comment .comment-delete:hover {
background:rgba(250,20,20,0.8);
2017-09-07 16:23:51 +02:00
}
#comment textarea {
width: 100%;
}
/* ============================================================================== */
/* JSGantt */
/* ============================================================================== */
div.scroll2 {
2012-05-07 18:00:53 +02:00
width: <?php print isset($_SESSION['dol_screenwidth'])?max($_SESSION['dol_screenwidth']-830,450):'450'; ?>px !important;
}
2017-10-18 21:24:17 +02:00
.gtaskname div, .gtaskname {
font-size: unset !important;
}
div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
font-size: unset !important;
font-weight: normal !important;
color: #000 !important;
}
div.gTaskInfo {
background: #f0f0f0 !important;
}
.gtaskblue {
background: rgb(108,152,185) !important;
}
.gtaskgreen {
background: rgb(160,173,58) !important;
}
2017-10-18 21:24:17 +02:00
td.gtaskname {
overflow: hidden;
text-overflow: ellipsis;
}
td.gminorheadingwkend {
color: #888 !important;
}
td.gminorheading {
color: #666 !important;
}
2018-01-24 18:04:06 +01:00
.glistlbl, .glistgrid {
width: 582px !important;
}
.gtaskname div, .gtaskname {
2018-01-24 18:04:06 +01:00
min-width: 250px !important;
max-width: 250px !important;
width: 250px !important;
}
.gpccomplete div, .gpccomplete {
min-width: 40px !important;
max-width: 40px !important;
width: 40px !important;
}
2017-10-18 21:24:17 +02:00
2012-03-17 17:37:15 +01:00
/* ============================================================================== */
/* jFileTree */
2012-03-17 17:37:15 +01:00
/* ============================================================================== */
.ecmfiletree {
width: 99%;
height: 99%;
background: #FFF;
padding-left: 2px;
font-weight: normal;
2012-03-17 17:37:15 +01:00
}
.fileview {
width: 99%;
height: 99%;
background: #FFF;
padding-left: 2px;
padding-top: 4px;
font-weight: normal;
2012-03-17 17:37:15 +01:00
}
div.filedirelem {
position: relative;
display: block;
text-decoration: none;
2012-03-17 18:10:59 +01:00
}
ul.filedirelem {
padding: 2px;
margin: 0 5px 5px 5px;
}
ul.filedirelem li {
list-style: none;
padding: 2px;
margin: 0 10px 20px 10px;
width: 160px;
height: 120px;
text-align: center;
display: block;
float: <?php print $left; ?>;
border: solid 1px #DDDDDD;
}
ul.ecmjqft {
2012-03-25 22:47:37 +02:00
line-height: 16px;
padding: 0px;
margin: 0px;
font-weight: normal;
}
ul.ecmjqft li {
list-style: none;
padding: 0px;
padding-left: 20px;
margin: 0px;
white-space: nowrap;
2012-03-25 22:47:37 +02:00
display: block;
}
ul.ecmjqft a {
line-height: 24px;
2012-03-25 22:47:37 +02:00
vertical-align: middle;
color: #333;
padding: 0px 0px;
font-weight:normal;
2012-03-25 22:47:37 +02:00
display: inline-block !important;
}
ul.ecmjqft a:active {
font-weight: bold !important;
}
ul.ecmjqft a:hover {
text-decoration: underline;
}
2012-03-25 22:47:37 +02:00
div.ecmjqft {
vertical-align: middle;
display: inline-block !important;
text-align: right;
float: right;
2012-03-25 22:47:37 +02:00
right:4px;
clear: both;
}
div#ecm-layout-west {
width: 380px;
vertical-align: top;
}
div#ecm-layout-center {
width: calc(100% - 390px);
vertical-align: top;
float: right;
2012-03-25 22:47:37 +02:00
}
2012-03-25 22:47:37 +02:00
.ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png',1); ?>) left top no-repeat; }
.ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png',1); ?>) left top no-repeat; }
2013-03-02 14:43:36 +01:00
.ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif',1); ?>) left top no-repeat; }
/* ============================================================================== */
/* jNotify */
/* ============================================================================== */
.jnotify-container {
position: fixed !important;
2012-09-05 14:41:45 +02:00
<?php if (! empty($conf->global->MAIN_JQUERY_JNOTIFY_BOTTOM)) { ?>
top: auto !important;
bottom: 4px !important;
<?php } ?>
text-align: center;
2013-04-03 15:45:06 +02:00
min-width: <?php echo $dol_optimize_smallscreen?'200':'480'; ?>px;
width: auto;
2016-10-01 12:51:35 +02:00
max-width: 1024px;
padding-left: 10px !important;
padding-right: 10px !important;
2017-11-24 14:23:25 +01:00
word-wrap: break-word;
}
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 {
color: #a28918 !important;
}
2012-09-03 22:05:13 +02:00
/* use or not ? */
div.jnotify-background {
opacity : 0.95 !important;
2016-08-28 16:26:54 +02:00
-webkit-box-shadow: 2px 2px 4px #888 !important;
box-shadow: 2px 2px 4px #888 !important;
2012-09-03 22:05:13 +02:00
}
/* ============================================================================== */
/* blockUI */
/* ============================================================================== */
2012-09-04 09:38:38 +02:00
/*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
div.dolEventValid h1, div.dolEventValid h2 {
color: #567b1b;
background-color: #e3f0db;
padding: 5px 5px 5px 5px;
text-align: left;
}
div.dolEventError h1, div.dolEventError h2 {
color: #a72947;
background-color: #d79eac;
padding: 5px 5px 5px 5px;
text-align: left;
2012-09-03 22:05:13 +02:00
}
/* ============================================================================== */
/* Maps */
/* ============================================================================== */
2015-11-29 16:05:14 +01:00
.divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
}
/* ============================================================================== */
/* Datatable */
/* ============================================================================== */
2015-05-22 14:28:02 +02:00
table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
background: none !important;
}
.sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png',1); ?>') no-repeat center right !important; }
.sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png',1); ?>') no-repeat center right !important; }
.sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png',1); ?>') no-repeat center right !important; }
.sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png',1); ?>') no-repeat center right !important; }
2015-05-22 14:28:02 +02:00
.dataTables_paginate {
margin-top: 8px;
}
.paginate_button_disabled {
opacity: 1 !important;
color: #888 !important;
cursor: default !important;
}
2014-05-27 00:57:34 +02:00
.paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
{
font-weight: normal;
}
.paginate_enabled_previous:hover, .paginate_enabled_next:hover
{
text-decoration: underline !important;
}
2015-05-22 14:28:02 +02:00
.paginate_active
{
text-decoration: underline !important;
}
.paginate_button
{
font-weight: normal !important;
2015-05-22 14:28:02 +02:00
text-decoration: none !important;
}
.paging_full_numbers {
height: inherit !important;
}
2015-05-22 14:28:02 +02:00
.paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
background-color: #DDD !important;
}
.paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
background-color: #FFF !important;
border-radius: inherit !important;
}
2015-10-09 17:21:38 +02:00
.paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
2015-05-22 14:28:02 +02:00
background-color: #FFF !important;
}
.paginate_button, .paginate_active {
border: 1px solid #ddd !important;
padding: 6px 12px !important;
margin-left: -1px !important;
line-height: 1.42857143 !important;
margin: 0 0 !important;
}
2013-12-01 19:39:21 +01:00
/* For jquery plugin combobox */
2013-12-02 05:52:41 +01:00
/* Disable this. It breaks wrapping of boxes
.ui-corner-all { white-space: nowrap; } */
2013-12-01 19:39:21 +01:00
2014-07-27 20:31:11 +02:00
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
opacity: .35;
background-image: none;
}
div.dataTables_length {
float: right !important;
padding-left: 8px;
}
div.dataTables_length select {
background: #fff;
}
2015-10-09 17:21:38 +02:00
.dataTables_wrapper .dataTables_paginate {
padding-top: 0px !important;
}
2014-12-07 23:51:36 +01:00
/* ============================================================================== */
/* Select2 */
/* ============================================================================== */
.select2-container--focus span.select2-selection.select2-selection--single {
border-bottom: 1px solid #666 !important;
}
2017-11-17 14:57:14 +01:00
.blockvmenusearch .select2-container--default .select2-selection--single,
.blockvmenubookmarks .select2-container--default .select2-selection--single
{
background-color: unset;
}
2017-10-25 22:02:07 +02:00
.select2-container--default .select2-selection--single .select2-selection__rendered {
color: unset;
}
2017-04-04 11:56:19 +02:00
.select2-default {
color: #999 !important;
/*opacity: 0.2;*/
}
2017-03-11 12:04:28 +01:00
.select2-choice, .select2-container .select2-choice {
2017-04-04 11:56:19 +02:00
border-bottom: solid 1px rgba(0,0,0,.4);
}
2016-10-02 16:12:40 +02:00
.select2-container .select2-choice > .select2-chosen {
margin-right: 23px;
}
2016-09-26 00:10:29 +02:00
.select2-container .select2-choice .select2-arrow {
border-radius: 0;
2017-04-04 11:56:19 +02:00
background: transparent;
2016-09-26 00:10:29 +02:00
}
2016-09-21 03:54:54 +02:00
.select2-container-multi .select2-choices {
background-image: none;
}
2016-02-22 14:25:12 +01:00
.select2-container .select2-choice {
color: #000;
2016-09-21 03:54:54 +02:00
border-radius: 0;
2016-02-22 14:25:12 +01:00
}
.selectoptiondisabledwhite {
background: #FFFFFF !important;
}
2017-03-03 13:30:02 +01:00
.select2-arrow {
border: none;
border-left: none !important;
background: none !important;
}
2017-01-15 23:32:14 +01:00
.select2-choice
{
2017-03-03 13:30:02 +01:00
border-top: none !important;
2017-01-15 23:32:14 +01:00
border-left: none !important;
border-right: none !important;
}
2017-03-04 17:49:44 +01:00
.select2-drop.select2-drop-above {
box-shadow: none !important;
}
2017-10-21 19:05:24 +02:00
.select2-container--open .select2-dropdown--above {
border-bottom: solid 1px rgba(0,0,0,.2);
}
2017-03-04 17:49:44 +01:00
.select2-drop.select2-drop-above.select2-drop-active {
border-top: 1px solid #ccc;
2017-03-11 12:04:28 +01:00
border-bottom: solid 1px rgba(0,0,0,.2);
2017-03-04 17:49:44 +01:00
}
2017-10-21 19:05:24 +02:00
.select2-container--default .select2-selection--single
{
outline: none;
border-top: none;
border-left: none;
border-right: none;
border-bottom: solid 1px rgba(0,0,0,.2);
-webkit-box-shadow: none !important;
box-shadow: none !important;
border-radius: 0 !important;
}
.select2-container--default .select2-selection--multiple {
border: solid 1px rgba(0,0,0,.2);
border-radius: 0 !important;
}
.select2-search__field
{
outline: none;
border-top: none !important;
border-left: none !important;
border-right: none !important;
border-bottom: solid 1px rgba(0,0,0,.2) !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
border-radius: 0 !important;
}
2017-06-01 19:07:51 +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
2014-12-07 23:51:36 +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;
2014-12-07 23:51:36 +01:00
}
2015-03-13 14:24:32 +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;
}
2014-12-07 23:51:36 +01:00
.select2-drop-active
{
2017-03-04 17:49:44 +01:00
border: 1px solid #ccc;
padding-top: 4px;
}
.select2-search input {
2017-03-03 13:30:02 +01:00
border: none;
2014-12-07 23:51:36 +01:00
}
a span.select2-chosen
{
font-weight: normal !important;
}
.select2-container .select2-choice {
background-image: none;
2017-03-14 13:49:04 +01:00
/* line-height: 24px; */
}
.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
{
background: #FFFFFF;
}
.select2-results {
max-height: 400px;
}
2017-06-21 10:57:15 +02:00
.select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
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;
}
.select2-container-multi .select2-choices .select2-search-choice {
2015-06-22 22:31:44 +02:00
margin-bottom: 3px;
}
.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: 1px solid #ccc;
border-right: none;
border-top: none;
border-left: none;
2017-06-01 19:07:51 +02:00
}
2017-10-21 21:05:00 +02:00
.select2-container--default .select2-results>.select2-results__options{
max-height: 400px;
}
/* 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 {
2017-10-21 19:05:24 +02:00
text-align: <?php echo $left; ?>;
2017-04-04 11:56:19 +02:00
opacity: 0.4;
}
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:05:24 +02:00
span#select2-boxbookmark-container, span#select2-boxcombo-container {
text-align: <?php echo $left; ?>;
opacity: 0.5;
}
.select2-container .select2-selection--single .select2-selection__rendered {
padding-left: 6px;
}
/* Style used before the select2 js is executed on boxcombo */
2017-04-04 11:56:19 +02:00
#boxbookmark.boxcombo, #boxcombo.boxcombo {
text-align: left;
2017-04-04 11:56:19 +02:00
opacity: 0.4;
border-bottom: solid 1px rgba(0,0,0,.4) !important;
height: 26px;
line-height: 24px;
2017-04-04 11:56:19 +02:00
padding: 0 0 2px 0;
vertical-align: top;
}
2015-06-22 22:31:44 +02:00
/* To emulate select 2 style */
.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
padding: 2px 5px 1px 5px;
margin: 0 0 2px 3px;
position: relative;
line-height: 13px;
color: #333;
cursor: default;
border: 1px solid #aaaaaa;
border-radius: 3px;
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 0 2px #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 5px 0 0;
position: relative;
cursor: text;
overflow: hidden;
}
/* ============================================================================== */
/* For categories */
/* ============================================================================== */
.noborderoncategories {
border: none !important;
border-radius: 5px !important;
box-shadow: none;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
span.noborderoncategories a, li.noborderoncategories a {
line-height: normal;
vertical-align: top;
}
span.noborderoncategories {
padding: 3px 5px 0px 5px;
}
.categtextwhite, .treeview .categtextwhite.hover {
color: #fff !important;
}
.categtextblack {
color: #000 !important;
}
2013-12-01 19:39:21 +01:00
/* ============================================================================== */
/* Multiselect with checkbox */
/* ============================================================================== */
ul.ulselectedfields {
z-index: 95; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
}
dl.dropdown {
margin:0px;
margin-left: 2px;
margin-right: 2px;
padding:0px;
2017-11-11 00:28:00 +01:00
vertical-align: middle;
2017-03-03 13:30:02 +01:00
display: inline-block;
}
.dropdown dd, .dropdown dt {
margin:0px;
padding:0px;
}
.dropdown ul {
margin: -1px 0 0 0;
2017-10-18 18:36:10 +02:00
text-align: <?php echo $left; ?>;
}
.dropdown dd {
position:relative;
}
.dropdown dt a {
display:block;
overflow: hidden;
border:0;
}
.dropdown dt a span, .multiSel span {
cursor:pointer;
display:inline-block;
padding: 0 3px 2px 0;
}
2018-04-16 19:56:53 +02:00
.dropdown span.value {
display:none;
}
.dropdown dd ul {
background-color: #FFF;
border: 1px solid #888;
display:none;
2017-10-18 18:36:10 +02:00
<?php echo $right; ?>:0px; /* pop is align on right */
padding: 2px 15px 2px 5px;
position:absolute;
top:2px;
list-style:none;
max-height: 264px;
overflow: auto;
}
.dropdown dd ul li {
white-space: nowrap;
2015-10-09 20:00:43 +02:00
font-weight: normal;
2016-08-29 18:04:21 +02:00
padding: 2px;
2018-04-16 19:56:53 +02:00
/* color: rgb(<?php print $colortext; ?>); */
color: #000;
}
2016-07-09 15:35:49 +02:00
.dropdown dd ul li input[type="checkbox"] {
2017-10-18 18:36:10 +02: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 {
2016-08-29 17:58:55 +02:00
padding: 3px;
display: block;
}
2016-08-23 15:43:48 +02:00
.dropdown dd ul li span {
color: #888;
}
.dropdown dd ul li a:hover {
background-color:#fff;
}
/* ============================================================================== */
/* Markdown rendering */
/* ============================================================================== */
.imgmd {
width: 90%;
}
.moduledesclong h1 {
padding-top: 10px;
padding-bottom: 20px;
}
2013-03-25 17:54:54 +01:00
/* ============================================================================== */
/* JMobile */
/* ============================================================================== */
2013-04-03 00:36:31 +02:00
li.ui-li-divider .ui-link {
color: #FFF !important;
2013-03-25 17:54:54 +01:00
}
.ui-btn {
margin: 0.1em 2px
}
a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
text-decoration: none !important;
}
.ui-body-c {
background: #fff;
}
2013-04-14 16:11:55 +02:00
.ui-btn-inner {
min-width: .4em;
2016-06-19 16:07:34 +02:00
padding-left: 6px;
padding-right: 6px;
2018-04-14 21:07:20 +02:00
font-size: <?php print is_numeric($fontsize)?$fontsize.'px':$fontsize; ?>;
/* white-space: normal; */ /* Warning, enable this break the truncate feature */
2013-04-14 16:11:55 +02:00
}
.ui-btn-icon-right .ui-btn-inner {
2016-06-19 16:07:34 +02:00
padding-right: 30px;
}
.ui-btn-icon-left .ui-btn-inner {
2016-06-19 16:07:34 +02:00
padding-left: 30px;
}
2013-04-14 16:11:55 +02:00
.ui-select .ui-btn-icon-right .ui-btn-inner {
2016-06-19 16:07:34 +02:00
padding-right: 30px;
2013-04-14 16:11:55 +02:00
}
.ui-select .ui-btn-icon-left .ui-btn-inner {
2016-06-19 16:07:34 +02:00
padding-left: 30px;
}
.ui-select .ui-btn-icon-right .ui-icon {
right: 8px;
}
.ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
margin-top: -10px;
}
select {
/* display: inline-block; */ /* We can't set this. This disable ability to make */
overflow:hidden;
2016-06-29 17:34:13 +02:00
white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
text-overflow: ellipsis;
}
2013-04-24 03:56:13 +02:00
.fiche .ui-controlgroup {
margin: 0px;
padding-bottom: 0px;
}
div.ui-controlgroup-controls div.tabsElem
{
margin-top: 2px;
}
div.ui-controlgroup-controls div.tabsElem a
{
-webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
box-shadow: 0 -3px 6px rgba(0,0,0,.2);
}
div.ui-controlgroup-controls div.tabsElem a#active {
-webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
box-shadow: 0 -3px 6px rgba(0,0,0,.3);
}
2013-04-24 03:56:13 +02:00
a.tab span.ui-btn-inner
{
border: none;
padding: 0;
}
.ui-link {
color: rgb(<?php print $colortext; ?>);
2013-04-24 03:56:13 +02:00
}
2013-08-01 04:36:54 +02:00
.liste_titre .ui-link {
color: rgb(<?php print $colortexttitle; ?>) !important;
2013-08-01 04:36:54 +02:00
}
2013-04-24 03:56:13 +02:00
a.ui-link {
word-wrap: break-word;
}
2013-04-24 03:56:13 +02:00
/* force wrap possible onto field overflow does not works */
.formdoc .ui-btn-inner
{
white-space: normal;
overflow: hidden;
2015-11-29 16:05:14 +01:00
text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
}
2013-04-28 20:29:21 +02:00
/* Warning: setting this may make screen not beeing refreshed after a combo selection */
2014-10-19 19:57:42 +02:00
/*.ui-body-c {
2013-04-14 16:11:55 +02:00
background: #fff;
2014-10-19 19:57:42 +02:00
}*/
2013-06-26 11:40:29 +02:00
div.ui-radio, div.ui-checkbox
2013-04-28 20:29:21 +02:00
{
display: inline-block;
2013-06-26 11:40:29 +02:00
border-bottom: 0px !important;
2013-04-28 20:29:21 +02:00
}
2013-06-26 14:38:56 +02:00
.ui-checkbox input, .ui-radio input {
2013-04-28 20:29:21 +02:00
height: auto;
width: auto;
2013-06-26 14:38:56 +02:00
margin: 4px;
2013-04-28 20:29:21 +02:00
position: static;
}
div.ui-checkbox label+input, div.ui-radio label+input {
position: absolute;
}
2013-06-19 14:03:54 +02:00
.ui-mobile fieldset
{
padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
}
2013-06-19 16:59:03 +02:00
ul.ulmenu {
border-radius: 0;
-webkit-border-radius: 0;
}
2013-03-25 17:54:54 +01:00
2013-06-23 14:37:09 +02:00
.ui-field-contain label.ui-input-text {
vertical-align: middle !important;
}
.ui-mobile fieldset {
border-bottom: none !important;
}
/* Style for first level menu with jmobile */
2016-09-21 00:29:19 +02:00
.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
2016-10-25 12:36:14 +02:00
padding: 1em 15px;
2016-09-21 00:29:19 +02:00
display: block;
}
.ui-btn-up-c {
font-weight: normal;
}
.ui-focus, .ui-btn:focus {
-webkit-box-shadow: none;
box-shadow: none;
}
2016-10-25 12:36:14 +02:00
.ui-bar-b {
/*border: 1px solid #888;*/
border: none;
background: none;
text-shadow: none;
color: rgb(<?php print $colortexttitlenotab; ?>) !important;
}
.ui-bar-b, .lilevel0 {
background-repeat: repeat-x;
2016-10-25 12:36:14 +02:00
border: none;
background: none;
text-shadow: none;
color: rgb(<?php print $colortexttitlenotab; ?>) !important;
}
.alilevel0 {
font-weight: normal !important;
}
2016-10-25 12:36:14 +02:00
2016-09-21 00:29:19 +02:00
.ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
border-bottom-width: 0px !important;
}
.alilevel0 {
color: rgb(<?php echo $colortexttitle; ?>) !important;
2017-04-01 12:46:47 +02:00
background: #f8f8f8
2016-10-25 12:36:14 +02:00
}
.ulmenu {
box-shadow: none !important;
2017-02-23 00:45:27 +01:00
border-bottom: 1px solid #ccc;
}
.ui-btn-icon-right {
border-right: 1px solid #ccc !important;
}
2013-11-30 02:31:17 +01:00
.ui-body-c {
border: 1px solid #ccc;
text-shadow: none;
}
.ui-btn-up-c, .ui-btn-hover-c {
2016-09-21 00:29:19 +02:00
/* border: 1px solid #ccc; */
2013-11-30 02:31:17 +01:00
text-shadow: none;
2013-10-27 00:04:57 +02:00
}
.ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
color: rgb(<?php print $colortextlink; ?>);
}
.ui-btn-up-c .vsmenudisabled {
color: #<?php echo $colorshadowtitle; ?> !important;
text-shadow: none !important;
}
div.tabsElem a.tab {
background: transparent;
}
.alilevel1 {
2016-10-25 12:36:14 +02:00
color: rgb(<?php print $colortexttitlenotab; ?>) !important;
}
.lilevel1 {
2016-10-25 12:36:14 +02:00
border-top: 2px solid #444;
background: #fff ! important;
}
.lilevel1 div div a {
font-weight: bold !important;
}
.lilevel2
{
padding-left: 22px;
2016-10-25 12:36:14 +02:00
background: #fff ! important;
}
.lilevel3
{
2017-12-01 12:55:28 +01:00
padding-left: 44px;
2016-10-25 12:36:14 +02:00
background: #fff ! important;
}
2017-12-01 12:55:28 +01:00
.lilevel4
{
padding-left: 66px;
background: #fff ! important;
}
.lilevel5
{
padding-left: 88px;
background: #fff ! important;
}
2015-05-06 00:29:39 +02:00
/* ============================================================================== */
/* POS */
/* ============================================================================== */
.menu_choix1 a {
background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus_black/money.png',1) ?>') top left no-repeat;
}
.menu_choix2 a {
background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus_black/home.png',1) ?>') top left no-repeat;
}
.menu_choix1,.menu_choix2 {
font-size: 1.4em;
text-align: left;
border: 1px solid #666;
margin-right: 20px;
}
.menu_choix1 a, .menu_choix2 a {
display: block;
color: #fff;
text-decoration: none;
padding-top: 18px;
2017-01-09 10:21:35 +01:00
padding-left: 54px;
font-size: 14px;
height: 38px;
}
.menu_choix1 a:hover,.menu_choix2 a:hover {
color: #6d3f6d;
}
.menu li.menu_choix1 {
padding-top: 6px;
padding-right: 10px;
2016-09-09 09:21:27 +02:00
padding-bottom: 2px;
}
.menu li.menu_choix2 {
padding-top: 6px;
padding-right: 10px;
2016-09-09 09:21:27 +02:00
padding-bottom: 2px;
}
@media only screen and (max-width: 767px)
{
.menu_choix1 a, .menu_choix2 a {
2016-09-09 09:21:27 +02:00
background-size: 36px 36px;
height: 30px;
padding-left: 40px;
}
.menu li.menu_choix1, .menu li.menu_choix2 {
padding-left: 4px;
padding-right: 0;
}
.liste_articles {
margin-right: 0 !important;
}
}
/* ============================================================================== */
/* Public */
/* ============================================================================== */
2015-06-08 18:17:13 +02:00
/* The theme for public pages */
.public_body {
margin: 20px;
}
.public_border {
border: 1px solid #888;
}
2018-03-26 15:45:56 +02:00
/* ============================================================================== */
/* Ticket module */
/* ============================================================================== */
#cd-timeline {
position: relative;
padding: 2em 0;
margin-bottom: 2em;
}
#cd-timeline::before {
/* this is the vertical line */
content: '';
position: absolute;
top: 0;
left: 18px;
height: 100%;
width: 4px;
background: #d7e4ed;
}
@media only screen and (min-width: 1170px) {
#cd-timeline {
margin-bottom: 3em;
}
#cd-timeline::before {
left: 50%;
margin-left: -2px;
}
}
.cd-timeline-block {
position: relative;
margin: 2em 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: 1170px) {
.cd-timeline-block {
margin: 4em 0;
}
.cd-timeline-block:first-child {
margin-top: 0;
}
.cd-timeline-block:last-child {
margin-bottom: 0;
}
}
.cd-timeline-img {
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
border-radius: 50%;
box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
background: #d7e4ed;
}
.cd-timeline-img img {
display: block;
width: 24px;
height: 24px;
position: relative;
left: 50%;
top: 50%;
margin-left: -12px;
margin-top: -12px;
}
.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: 1170px) {
.cd-timeline-img {
width: 60px;
height: 60px;
left: 50%;
margin-left: -30px;
/* Force Hardware Acceleration in WebKit */
-webkit-transform: translateZ(0);
-webkit-backface-visibility: hidden;
}
.cssanimations .cd-timeline-img.is-hidden {
visibility: hidden;
}
.cssanimations .cd-timeline-img.bounce-in {
visibility: visible;
-webkit-animation: cd-bounce-1 0.6s;
-moz-animation: cd-bounce-1 0.6s;
animation: cd-bounce-1 0.6s;
}
}
@-webkit-keyframes cd-bounce-1 {
0% {
opacity: 0;
-webkit-transform: scale(0.5);
}
60% {
opacity: 1;
-webkit-transform: scale(1.2);
}
100% {
-webkit-transform: scale(1);
}
}
@-moz-keyframes cd-bounce-1 {
0% {
opacity: 0;
-moz-transform: scale(0.5);
}
60% {
opacity: 1;
-moz-transform: scale(1.2);
}
100% {
-moz-transform: scale(1);
}
}
@keyframes cd-bounce-1 {
0% {
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);
}
60% {
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);
}
100% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
}
.cd-timeline-content {
position: relative;
margin-left: 60px;
background: white;
border-radius: 0.25em;
padding: 1em;
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: 13px;
font-size: 0.8125rem;
}
.cd-timeline-content .cd-date {
display: inline-block;
}
.cd-timeline-content p {
margin: 1em 0;
line-height: 1.6;
}
.cd-timeline-content .cd-date {
float: left;
padding: .2em 0;
opacity: .7;
}
.cd-timeline-content::before {
content: '';
position: absolute;
top: 16px;
right: 100%;
height: 0;
width: 0;
border: 7px solid transparent;
border-right: 7px solid white;
}
@media only screen and (min-width: 768px) {
.cd-timeline-content h2 {
font-size: 20px;
font-size: 1.25rem;
}
.cd-timeline-content {
font-size: 16px;
font-size: 1rem;
}
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
font-size: 14px;
font-size: 0.875rem;
}
}
@media only screen and (min-width: 1170px) {
.cd-timeline-content {
margin-left: 0;
padding: 1.6em;
width: 43%;
}
.cd-timeline-content::before {
top: 24px;
left: 100%;
border-color: transparent;
border-left-color: white;
}
.cd-timeline-content .cd-read-more {
float: left;
}
.cd-timeline-content .cd-date {
position: absolute;
width: 55%;
left: 115%;
top: 6px;
font-size: 16px;
font-size: 1rem;
}
.cd-timeline-block:nth-child(even) .cd-timeline-content {
float: right;
}
.cd-timeline-block:nth-child(even) .cd-timeline-content::before {
top: 24px;
left: auto;
right: 100%;
border-color: transparent;
border-right-color: white;
}
.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
float: right;
}
.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
left: auto;
right: 115%;
text-align: right;
}
}
2016-03-08 10:03:51 +01:00
/* ============================================================================== */
/* CSS style used for small screen */
/* ============================================================================== */
2015-05-06 00:29:39 +02:00
2016-08-23 15:43:48 +02:00
.topmenuimage {
background-size: 22px auto;
top: 2px;
}
2015-05-06 00:29:39 +02:00
.imgopensurveywizard
{
padding: 0 4px 0 4px;
}
@media only screen and (max-width: 767px)
{
2016-11-27 14:21:23 +01:00
.imgopensurveywizard, .imgautosize { width:95%; height: auto; }
#tooltip {
position: absolute;
width: <?php print dol_size(350,'width'); ?>px;
}
div.tabBar {
padding-left: 0px;
padding-right: 0px;
-webkit-border-radius: 0;
border-radius: 0px;
border-right: none;
border-left: none;
}
}
@media only screen and (max-width: 1024px)
{
div#ecm-layout-west {
2017-11-10 15:29:12 +01:00
width: calc(100% - 4px);
clear: both;
}
div#ecm-layout-center {
width: 100%;
}
}
2018-04-14 21:07:20 +02:00
/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo is_numeric($fontsize)?$fontsize.'px':$fontsize ?> */
/* rule to reduce top menu - 1st reduction */
2018-04-14 21:07:20 +02:00
@media only screen and (max-width: <?php echo round($nbtopmenuentries * 91, 0) + 24; ?>px) /* reduction 1 */
2015-05-06 00:29:39 +02:00
{
div.tmenucenter {
2018-04-14 21:07:20 +02:00
width: <?php echo round(52); ?>px; /* size of viewport */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #<?php echo $colortextbackhmenu; ?>;
}
2015-09-21 15:18:29 +02:00
.mainmenuaspan {
2018-04-14 21:07:20 +02:00
font-size: 0.9em;
padding-right: 0;
2015-09-21 15:18:29 +02:00
}
.topmenuimage {
2016-08-23 15:43:48 +02:00
background-size: 22px auto;
margin-top: 0px;
}
2015-09-21 15:18:29 +02:00
li.tmenu, li.tmenusel {
min-width: 36px;
2015-09-21 15:18:29 +02:00
}
div.mainmenu {
min-width: auto;
}
2015-09-27 01:59:48 +02:00
div.tmenuleft {
display: none;
}
2017-11-24 14:23:25 +01:00
.dropdown dd ul {
max-width: 300px;
}
2015-09-27 01:59:48 +02:00
}
/* rule to reduce top menu - 2nd reduction */
2018-04-14 21:07:20 +02:00
@media only screen and (max-width: <?php echo round($nbtopmenuentries * 75, 0) + 24; ?>px) /* reduction 2 */
{
div.mainmenu {
height: 23px;
}
div.tmenucenter {
2018-04-14 21:07:20 +02:00
max-width: <?php echo round(26); ?>px; /* size of viewport */
text-overflow: clip;
}
2017-03-31 14:21:51 +02:00
span.mainmenuaspan {
margin-left: 1px;
}
.mainmenuaspan {
2018-04-14 21:07:20 +02:00
font-size: 0.9em;
2018-02-05 23:17:05 +01:00
padding-left: 0;
padding-right: 0;
}
.topmenuimage {
background-size: 20px auto;
margin-top: 2px;
2017-03-31 14:21:51 +02:00
left: 4px;
}
}
/* rule to reduce top menu - 3rd reduction */
2018-04-14 21:07:20 +02:00
@media only screen and (max-width: <?php echo round($nbtopmenuentries * 49, 0) + 12; ?>px) /* reduction 3 */
2015-09-27 01:59:48 +02:00
{
2017-04-04 12:55:54 +02:00
.side-nav {
z-index: 200;
2018-01-02 17:27:05 +01:00
background: rgb(<?php echo $colorbackvmenu1; ?>);
2017-04-04 12:55:54 +02:00
padding-top: 70px;
}
#id-left {
z-index: 201;
2018-01-02 17:27:05 +01:00
background: rgb(<?php echo $colorbackvmenu1; ?>);
}
2017-06-01 19:07:51 +02:00
2017-06-02 09:25:35 +02:00
.login_vertical_align {
padding-left: 20px;
padding-right: 20px;
}
2017-04-04 12:55:54 +02:00
/* Reduce login top right info */
.help {
<?php if ($disableimages) { ?>
display: none;
<?php } ?>
}
div#tmenu_tooltip {
2017-05-16 13:27:32 +02:00
<?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
display:none;
<?php } else { ?>
2017-04-04 12:55:54 +02:00
padding-<?php echo $right; ?>: 0;
<?php } ?>
}
div.login_block_user {
min-width: 0;
2017-04-04 12:55:54 +02:00
width: 100%;
}
div.login_block {
2017-05-16 13:27:32 +02:00
<?php if ($conf->browser->layout == 'phone' && ((GETPOST('testmenuhider','int') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))) { ?>
/* Style when phone layout or when using the menuhider */
2017-04-04 12:55:54 +02:00
display: none;
2017-04-08 14:03:38 +02:00
padding-top: 20px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 16px;
2017-04-08 14:03:38 +02:00
<?php } else { ?>
2017-10-21 12:25:51 +02:00
padding-top: 5px;
2017-04-08 14:03:38 +02:00
padding-left: 5px;
padding-right: 5px;
2017-10-21 12:25:51 +02:00
padding-bottom: 5px;
2017-04-08 14:03:38 +02:00
<?php } ?>
2017-04-04 12:55:54 +02:00
top: inherit !important;
left: 0 !important;
text-align: center;
vertical-align: middle;
2018-01-02 17:27:05 +01:00
background: rgb(<?php echo $colorbackvmenu1; ?>);
2017-10-21 12:25:51 +02:00
height: 50px;
2017-06-01 19:07:51 +02:00
2017-04-04 12:55:54 +02:00
z-index: 202;
min-width: 190px;
max-width: 190px;
width: 190px;
}
div.login_block_user, div.login_block_other { clear: both; }
.atoplogin, .atoplogin:hover
{
color: #000 !important;
}
.login_block_elem {
padding: 0 !important;
}
li.tmenu, li.tmenusel {
min-width: 32px;
}
div.mainmenu {
height: 23px;
}
div.tmenucenter {
text-overflow: clip;
}
.topmenuimage {
background-size: 20px auto;
margin-top: 2px !important;
2017-03-31 14:21:51 +02:00
left: 2px;
}
div.mainmenu {
2015-09-27 01:59:48 +02:00
min-width: 20px;
}
2017-12-01 12:01:17 +01:00
.titlefield {
width: auto !important; /* We want to ignor the 30%, try to use more if you can */
}
.tableforfield>tr>td:first-child {
max-width: 100px; /* but no more than 100px */
}
.badge {
line-height: 1.2em;
min-width: auto;
font-size: 12px;
}
2015-05-06 00:29:39 +02:00
}
2011-08-17 15:08:19 +02:00
<?php
if (is_object($db)) $db->close();