dolibarr 19.0.4
style.css.php
Go to the documentation of this file.
1<?php
2/* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
3 * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
4 * Copyright (C) 2007-2017 Regis Houssin <regis.houssin@inodbox.com>
5 * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
6 * Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
7 * Copyright (C) 2015 Alexandre Spangaro <aspangaro@open-dsi.fr>
8 * Copyright (C) 2018 Ferran Marcet <fmarcet@2byte.es>
9 * Copyright (C) 2021-2023 Anthony Berton <anthony.berton@bb2a.fr>
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program. If not, see <https://www.gnu.org/licenses/>.
23 */
24
30//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
31//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
32if (!defined('NOREQUIRESOC')) {
33 define('NOREQUIRESOC', '1');
34}
35//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
36if (!defined('NOCSRFCHECK')) {
37 define('NOCSRFCHECK', 1);
38}
39if (!defined('NOTOKENRENEWAL')) {
40 define('NOTOKENRENEWAL', 1);
41}
42if (!defined('NOLOGIN')) {
43 define('NOLOGIN', 1); // File must be accessed by logon page so without login
44}
45//if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
46if (!defined('NOREQUIREHTML')) {
47 define('NOREQUIREHTML', 1);
48}
49if (!defined('NOREQUIREAJAX')) {
50 define('NOREQUIREAJAX', '1');
51}
52
53
54define('ISLOADEDBYSTEELSHEET', '1');
55
56
57require __DIR__.'/theme_vars.inc.php';
58if (defined('THEME_ONLY_CONSTANT')) {
59 return;
60}
61
62session_cache_limiter('public');
63
64
65require_once __DIR__.'/../../main.inc.php'; // __DIR__ allow this script to be included in custom themes
66require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
67
68// Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
69// and permission, so we can later calculate number of top menu ($nbtopmenuentries) according to user profile.
70if (empty($user->id) && !empty($_SESSION['dol_login'])) {
71 $user->fetch('', $_SESSION['dol_login'], '', 1);
72 $user->getrights();
73
74 // Reload menu now we have the good user (and we need the good menu to have ->showmenu('topnb') correct.
75 $menumanager = new MenuManager($db, empty($user->socid) ? 0 : 1);
76 $menumanager->loadMenu();
77}
78
79
80// Define css type
81top_httphead('text/css');
82// Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
83if (empty($dolibarr_nocache)) {
84 header('Cache-Control: max-age=10800, public, must-revalidate');
85} else {
86 header('Cache-Control: no-cache');
87}
88
89if (GETPOST('theme', 'aZ09')) {
90 $conf->theme = GETPOST('theme', 'aZ09'); // If theme was forced on URL
91}
92if (GETPOST('lang', 'aZ09')) {
93 $langs->setDefaultLang(GETPOST('lang', 'aZ09')); // If language was forced on URL
94}
95
96if (GETPOSTISSET('THEME_DARKMODEENABLED')) {
97 $conf->global->THEME_DARKMODEENABLED = GETPOST('THEME_DARKMODEENABLED', 'int'); // If darkmode was forced on URL
98}
99
100$langs->load("main", 0, 1);
101$right = ($langs->trans("DIRECTION") == 'rtl' ? 'left' : 'right');
102$left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left');
103
104$path = ''; // This value may be used in future for external module to overwrite theme
105$theme = 'md'; // Value of theme
106if (getDolGlobalString('MAIN_OVERWRITE_THEME_RES')) {
107 $path = '/' . getDolGlobalString('MAIN_OVERWRITE_THEME_RES');
108 $theme = $conf->global->MAIN_OVERWRITE_THEME_RES;
109}
110
111// Define image path files and other constants
112$fontlist = 'roboto,arial,tahoma,verdana,helvetica'; //$fontlist='verdana,helvetica,arial,sans-serif';
113$img_head = '';
114$img_button = dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png', 1);
115$dol_hide_topmenu = $conf->dol_hide_topmenu;
116$dol_hide_leftmenu = $conf->dol_hide_leftmenu;
117$dol_optimize_smallscreen = $conf->dol_optimize_smallscreen;
118$dol_no_mouse_hover = $conf->dol_no_mouse_hover;
119
120
121//$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
122//$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
123//var_dump($user->conf->THEME_ELDY_RGB);
124
125$useboldtitle = (isset($conf->global->THEME_ELDY_USEBOLDTITLE) ? $conf->global->THEME_ELDY_USEBOLDTITLE : 0);
126$borderwidth = 2;
127$userborderontable = getDolGlobalInt('THEME_ELDY_USEBORDERONTABLE');
128
129// Case of option always editable
130if (!isset($conf->global->THEME_ELDY_BACKBODY)) {
131 $conf->global->THEME_ELDY_BACKBODY = $colorbackbody;
132}
133if (!isset($conf->global->THEME_ELDY_TOPMENU_BACK1)) {
134 $conf->global->THEME_ELDY_TOPMENU_BACK1 = $colorbackhmenu1;
135}
136if (!isset($conf->global->THEME_ELDY_VERMENU_BACK1)) {
137 $conf->global->THEME_ELDY_VERMENU_BACK1 = $colorbackvmenu1;
138}
139if (!isset($conf->global->THEME_ELDY_BACKTITLE1)) {
140 $conf->global->THEME_ELDY_BACKTITLE1 = $colorbacktitle1;
141}
142if (!isset($conf->global->THEME_ELDY_USE_HOVER)) {
143 $conf->global->THEME_ELDY_USE_HOVER = $colorbacklinepairhover;
144}
145if (!isset($conf->global->THEME_ELDY_USE_CHECKED)) {
146 $conf->global->THEME_ELDY_USE_CHECKED = $colorbacklinepairchecked;
147}
148if (!isset($conf->global->THEME_ELDY_LINEBREAK)) {
149 $conf->global->THEME_ELDY_LINEBREAK = $colorbacklinebreak;
150}
151if (!isset($conf->global->THEME_ELDY_TEXTTITLENOTAB)) {
152 $conf->global->THEME_ELDY_TEXTTITLENOTAB = $colortexttitlenotab;
153}
154if (!isset($conf->global->THEME_ELDY_TEXTLINK)) {
155 $conf->global->THEME_ELDY_TEXTLINK = $colortextlink;
156}
157if (!isset($conf->global->THEME_ELDY_BTNACTION)) {
158 $conf->global->THEME_ELDY_BTNACTION = $butactionbg;
159}
160if (!isset($conf->global->THEME_ELDY_TEXTBTNACTION)) {
161 $conf->global->THEME_ELDY_TEXTBTNACTION = $textbutaction;
162}
163
164// Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
165if (!getDolGlobalString('THEME_ELDY_ENABLE_PERSONALIZED')) {
166 // 90A4AE, 607D8B, 455A64, 37474F
167 $conf->global->THEME_ELDY_BACKTABCARD1 = '255,255,255'; // card
168 $conf->global->THEME_ELDY_BACKTABACTIVE = '234,234,234';
169 $conf->global->THEME_ELDY_TEXT = '0,0,0';
170 $conf->global->THEME_ELDY_FONT_SIZE1 = $fontsize;
171 $conf->global->THEME_ELDY_FONT_SIZE2 = '11';
172}
173
174// Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
175$colorbackhmenu1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('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);
176$colorbackvmenu1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('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);
177$colortopbordertitle1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('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);
178$colorbacktitle1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_BACKTITLE1') ? $colorbacktitle1 : $conf->global->THEME_ELDY_BACKTITLE1) : (empty($user->conf->THEME_ELDY_BACKTITLE1) ? $colorbacktitle1 : $user->conf->THEME_ELDY_BACKTITLE1);
179$colorbacktabcard1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_BACKTABCARD1') ? $colorbacktabcard1 : $conf->global->THEME_ELDY_BACKTABCARD1) : (empty($user->conf->THEME_ELDY_BACKTABCARD1) ? $colorbacktabcard1 : $user->conf->THEME_ELDY_BACKTABCARD1);
180$colorbacktabactive = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_BACKTABACTIVE') ? $colorbacktabactive : $conf->global->THEME_ELDY_BACKTABACTIVE) : (empty($user->conf->THEME_ELDY_BACKTABACTIVE) ? $colorbacktabactive : $user->conf->THEME_ELDY_BACKTABACTIVE);
181$colorbacklineimpair1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_LINEIMPAIR1') ? $colorbacklineimpair1 : $conf->global->THEME_ELDY_LINEIMPAIR1) : (empty($user->conf->THEME_ELDY_LINEIMPAIR1) ? $colorbacklineimpair1 : $user->conf->THEME_ELDY_LINEIMPAIR1);
182$colorbacklineimpair2 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_LINEIMPAIR2') ? $colorbacklineimpair2 : $conf->global->THEME_ELDY_LINEIMPAIR2) : (empty($user->conf->THEME_ELDY_LINEIMPAIR2) ? $colorbacklineimpair2 : $user->conf->THEME_ELDY_LINEIMPAIR2);
183$colorbacklinepair1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_LINEPAIR1') ? $colorbacklinepair1 : $conf->global->THEME_ELDY_LINEPAIR1) : (empty($user->conf->THEME_ELDY_LINEPAIR1) ? $colorbacklinepair1 : $user->conf->THEME_ELDY_LINEPAIR1);
184$colorbacklinepair2 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_LINEPAIR2') ? $colorbacklinepair2 : $conf->global->THEME_ELDY_LINEPAIR2) : (empty($user->conf->THEME_ELDY_LINEPAIR2) ? $colorbacklinepair2 : $user->conf->THEME_ELDY_LINEPAIR2);
185$colorbacklinebreak = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_LINEBREAK') ? $colorbacklinebreak : $conf->global->THEME_ELDY_LINEBREAK) : (empty($user->conf->THEME_ELDY_LINEBREAK) ? $colorbacklinebreak : $user->conf->THEME_ELDY_LINEBREAK);
186$colorbackbody = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_BACKBODY') ? $colorbackbody : $conf->global->THEME_ELDY_BACKBODY) : (empty($user->conf->THEME_ELDY_BACKBODY) ? $colorbackbody : $user->conf->THEME_ELDY_BACKBODY);
187$colortexttitlenotab = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_TEXTTITLENOTAB') ? $colortexttitlenotab : $conf->global->THEME_ELDY_TEXTTITLENOTAB) : (empty($user->conf->THEME_ELDY_TEXTTITLENOTAB) ? $colortexttitlenotab : $user->conf->THEME_ELDY_TEXTTITLENOTAB);
188$colortexttitle = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_TEXTTITLE') ? $colortext : $conf->global->THEME_ELDY_TEXTTITLE) : (empty($user->conf->THEME_ELDY_TEXTTITLE) ? $colortexttitle : $user->conf->THEME_ELDY_TEXTTITLE);
189$colortexttitlelink = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_TEXTTITLELINK') ? $colortexttitlelink : $conf->global->THEME_ELDY_TEXTTITLELINK) : (empty($user->conf->THEME_ELDY_TEXTTITLELINK) ? $colortexttitlelink : $user->conf->THEME_ELDY_TEXTTITLELINK);
190$colortext = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_TEXT') ? $colortext : $conf->global->THEME_ELDY_TEXT) : (empty($user->conf->THEME_ELDY_TEXT) ? $colortext : $user->conf->THEME_ELDY_TEXT);
191$colortextlink = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_TEXTLINK') ? $colortext : $conf->global->THEME_ELDY_TEXTLINK) : (empty($user->conf->THEME_ELDY_TEXTLINK) ? $colortextlink : $user->conf->THEME_ELDY_TEXTLINK);
192$butactionbg = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_BTNACTION') ? $butactionbg : $conf->global->THEME_ELDY_BTNACTION) : (empty($user->conf->THEME_ELDY_BTNACTION) ? $butactionbg : $user->conf->THEME_ELDY_BTNACTION);
193$textbutaction = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_TEXTBTNACTION') ? $textbutaction : $conf->global->THEME_ELDY_TEXTBTNACTION) : (empty($user->conf->THEME_ELDY_TEXTBTNACTION) ? $textbutaction : $user->conf->THEME_ELDY_TEXTBTNACTION);
194$fontsize = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('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);
195$fontsizesmaller = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('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);
196$heightrow = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (!getDolGlobalString('THEME_ELDY_USECOMOACTROW') ? '155%' : '300%') : (!getDolGlobalString('THEME_ELDY_USECOMOACTROW') ? '155%' : '300%');
197
198// Hover color
199$colorbacklinepairhover = ((!isset($conf->global->THEME_ELDY_USE_HOVER) || (string) $conf->global->THEME_ELDY_USE_HOVER === '255,255,255') ? '' : ($conf->global->THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $conf->global->THEME_ELDY_USE_HOVER));
200$colorbacklinepairchecked = ((!isset($conf->global->THEME_ELDY_USE_CHECKED) || (string) $conf->global->THEME_ELDY_USE_CHECKED === '255,255,255') ? '' : ($conf->global->THEME_ELDY_USE_CHECKED === '1' ? 'edf4fb' : $conf->global->THEME_ELDY_USE_CHECKED));
201if (!empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)) {
202 $colorbacklinepairhover = ((!isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '255,255,255') ? '' : ($user->conf->THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $user->conf->THEME_ELDY_USE_HOVER));
203 $colorbacklinepairchecked = ((!isset($user->conf->THEME_ELDY_USE_CHECKED) || $user->conf->THEME_ELDY_USE_CHECKED === '255,255,255') ? '' : ($user->conf->THEME_ELDY_USE_CHECKED === '1' ? 'edf4fb' : $user->conf->THEME_ELDY_USE_CHECKED));
204}
205
206if (empty($colortopbordertitle1)) {
207 $colortopbordertitle1 = $colorbackhmenu1;
208}
209
210// Set text color to black or white
211$colorbackhmenu1 = join(',', colorStringToArray($colorbackhmenu1)); // Normalize value to 'x,y,z'
212$tmppart = explode(',', $colorbackhmenu1);
213$tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
214if ($tmpval <= 460) {
215 $colortextbackhmenu = 'FFFFFF';
216} else {
217 $colortextbackhmenu = '000000';
218}
219
220$colorbackvmenu1 = join(',', colorStringToArray($colorbackvmenu1)); // Normalize value to 'x,y,z'
221$tmppart = explode(',', $colorbackvmenu1);
222$tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
223if ($tmpval <= 460) {
224 $colortextbackvmenu = 'FFFFFF';
225} else {
226 $colortextbackvmenu = '000000';
227}
228
229$colortopbordertitle1 = join(',', colorStringToArray($colortopbordertitle1)); // Normalize value to 'x,y,z'
230
231$colorbacktitle1 = join(',', colorStringToArray($colorbacktitle1)); // Normalize value to 'x,y,z'
232$tmppart = explode(',', $colorbacktitle1);
233if ($colortexttitle == '') {
234 $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
235 if ($tmpval <= 460) {
236 $colortexttitle = 'FFFFFF';
237 $colorshadowtitle = '888888';
238 } else {
239 $colortexttitle = '101010';
240 $colorshadowtitle = 'FFFFFF';
241 }
242} else {
243 $colorshadowtitle = '888888';
244}
245
246$colorbacktabcard1 = join(',', colorStringToArray($colorbacktabcard1)); // Normalize value to 'x,y,z'
247$tmppart = explode(',', $colorbacktabcard1);
248$tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
249if ($tmpval <= 460) {
250 $colortextbacktab = 'FFFFFF';
251} else {
252 $colortextbacktab = '111111';
253}
254
255// Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
256$colorbackhmenu1 = join(',', colorStringToArray($colorbackhmenu1));
257$colorbackvmenu1 = join(',', colorStringToArray($colorbackvmenu1));
258$colorbacktitle1 = join(',', colorStringToArray($colorbacktitle1));
259$colorbacktabcard1 = join(',', colorStringToArray($colorbacktabcard1));
260$colorbacktabactive = join(',', colorStringToArray($colorbacktabactive));
261$colorbacklineimpair1 = join(',', colorStringToArray($colorbacklineimpair1));
262$colorbacklineimpair2 = join(',', colorStringToArray($colorbacklineimpair2));
263$colorbacklinepair1 = join(',', colorStringToArray($colorbacklinepair1));
264$colorbacklinepair2 = join(',', colorStringToArray($colorbacklinepair2));
265if ($colorbacklinepairhover != '') {
266 $colorbacklinepairhover = join(',', colorStringToArray($colorbacklinepairhover));
267}
268if ($colorbacklinepairchecked != '') {
269 $colorbacklinepairchecked = join(',', colorStringToArray($colorbacklinepairchecked));
270}
271$colorbackbody = join(',', colorStringToArray($colorbackbody));
272$colortexttitlenotab = join(',', colorStringToArray($colortexttitlenotab));
273$colortexttitle = join(',', colorStringToArray($colortexttitle));
274$colortext = join(',', colorStringToArray($colortext));
275$colortextlink = join(',', colorStringToArray($colortextlink));
276
277$nbtopmenuentries = $menumanager->showmenu('topnb');
278$nbtopmenuentriesreal = $nbtopmenuentries;
279if ($conf->browser->layout == 'phone') {
280 $nbtopmenuentries = max($nbtopmenuentries, 10);
281}
282
283print '/*'."\n";
284print 'colorbackbody='.$colorbackbody."\n";
285print 'colorbackvmenu1='.$colorbackvmenu1."\n";
286print 'colorbackhmenu1='.$colorbackhmenu1."\n";
287print 'colorbacktitle1='.$colorbacktitle1."\n";
288print 'colorbacklineimpair1='.$colorbacklineimpair1."\n";
289print 'colorbacklineimpair2='.$colorbacklineimpair2."\n";
290print 'colorbacklinepair1='.$colorbacklinepair1."\n";
291print 'colorbacklinepair2='.$colorbacklinepair2."\n";
292print 'colorbacklinepairhover='.$colorbacklinepairhover."\n";
293print 'colorbacklinepairchecked='.$colorbacklinepairchecked."\n";
294print 'colortexttitlenotab='.$colortexttitlenotab."\n";
295print 'colortexttitle='.$colortexttitle."\n";
296print 'colortext='.$colortext."\n";
297print 'colortextlink='.$colortextlink."\n";
298print 'colortexttitlelink='.$colortexttitlelink."\n";
299print 'colortextbackhmenu='.$colortextbackhmenu."\n";
300print 'colortextbackvmenu='.$colortextbackvmenu."\n";
301print 'dol_hide_topmenu='.$dol_hide_topmenu."\n";
302print 'dol_hide_leftmenu='.$dol_hide_leftmenu."\n";
303print 'dol_optimize_smallscreen='.$dol_optimize_smallscreen."\n";
304print 'dol_no_mouse_hover='.$dol_no_mouse_hover."\n";
305print 'dol_screenwidth='.$_SESSION['dol_screenwidth']."\n";
306print 'dol_screenheight='.$_SESSION['dol_screenheight']."\n";
307print 'fontsize='.$fontsize."\n";
308print 'nbtopmenuentries='.$nbtopmenuentries."\n";
309print '*/'."\n";
310
311?>
312/* <style type="text/css" > */
313
314
315/* ============================================================================== */
316/* Default styles */
317/* ============================================================================== */
318
319:root {
320 --colorbackhmenu1: rgb(<?php print $colorbackhmenu1; ?>);
321 --colorbackvmenu1: rgb(<?php print $colorbackvmenu1; ?>);
322 --colorbacktitle1: rgb(<?php print $colorbacktitle1; ?>);
323 --colorbacktabcard1: rgb(<?php print $colorbacktabcard1; ?>);
324 --colorbacktabactive: rgb(<?php print $colorbacktabactive; ?>);
325 --colorbacklineimpair1: rgb(<?php print $colorbacklineimpair1; ?>);
326 --colorbacklineimpair2: rgb(<?php print $colorbacklineimpair2; ?>);
327 --colorbacklinepair1: rgb(<?php print $colorbacklinepair1; ?>);
328 --colorbacklinepair2: rgb(<?php print $colorbacklinepair2; ?>);
329 --colorbacklinepairhover: rgb(<?php print $colorbacklinepairhover; ?>);
330 --colorbacklinepairchecked: rgb(<?php print $colorbacklinepairchecked; ?>);
331 --colorbacklinebreak: rgb(<?php print $colorbacklinebreak; ?>);
332 --colorbackbody: rgb(<?php print $colorbackbody; ?>);
333 --colorbackmobilemenu: #f8f8f8;
334 --colorbackgrey: #f0f0f0;
335 --colortexttitlenotab: rgb(<?php print $colortexttitlenotab; ?>);
336 --colortexttitlenotab2: rgb(<?php print $colortexttitlenotab2; ?>);
337 --colortexttitle: rgb(<?php print $colortexttitle; ?>);
338 --colortexttitlelink: rgba(<?php print $colortexttitlelink; ?>, 0.9);
339 --colortext: rgb(<?php print $colortext; ?>);
340 --colortextlink: rgb(<?php print $colortextlink; ?>);
341 --colortextbackhmenu: #<?php print $colortextbackhmenu; ?>;
342 --colortextbackvmenu: #<?php print $colortextbackvmenu; ?>;
343 --colortopbordertitle1: rgb(<?php print $colortopbordertitle1; ?>);
344 --listetotal: #551188;
345 --inputbackgroundcolor: #FFF;
346 --inputbackgroundcolordisabled: #eee;
347 --inputcolordisabled: rgb(80, 80, 80);
348 --inputbordercolor: rgba(0,0,0,.2);
349 --tooltipbgcolor: <?php print $toolTipBgColor; ?>;
350 --tooltipfontcolor : <?php print $toolTipFontColor; ?>;
351 --oddevencolor: #202020;
352 --colorboxstatsborder: #ddd;
353 --dolgraphbg: rgba(255,255,255,0);
354 --fieldrequiredcolor: #000055;
355 --colortextbacktab: #<?php print $colortextbacktab; ?>;
356 --colorboxiconbg: #eee;
357 --refidnocolor:#444;
358 --tableforfieldcolor:#666;
359 --amountremaintopaycolor:#880000;
360 --amountpaymentcomplete:#008855;
361 --amountremaintopaybackcolor:none;
362 --productlinestockod: #002200;
363 --productlinestocktoolow: #884400;
364 --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #fff, #fff, #fff, #e4efe8);
365 --tablevalidbgcolor: rgb(252, 248, 227);
366 --butactionbg : #<?php print $butactionbg; ?>;
367 --textbutaction : #<?php print $textbutaction; ?>;
368 --colorblack: #000;
369 --colorwhite: #fff;
370 --heightrow: <?php print $heightrow; ?>;
371}
372
373<?php
374if (getDolGlobalString('THEME_DARKMODEENABLED')) {
375 print "/* For dark mode */\n";
376 if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) {
377 print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
378 } else {
379 print "@media not print {";
380 }
381 print ":root {
382 --colorbackhmenu1: #3d3e40;
383 --colorbackvmenu1: #2b2c2e;
384 --colorbacktitle1: #2b2d2f;
385 --colorbacktabcard1: #1d1e20; /* Must be same than colorbackbody */
386 --colorbacktabactive: rgb(220,220,220);
387 --colorbacklineimpair1: #38393d;
388 --colorbacklineimpair2: #2b2d2f;
389 --colorbacklinepair1: #38393d;
390 --colorbacklinepair2: #2b2d2f;
391 --colorbacklinepairhover: #2b2d2f;
392 --colorbacklinepairchecked: #0e5ccd;
393 --colorbackbody: #1d1e20;
394 --colorbackmobilemenu: #080808;
395 --colorbackgrey: #0f0f0f;
396 --tooltipbgcolor: #2b2d2f;
397 --colortexttitlenotab: rgb(220,220,220);
398 --colortexttitlenotab2: rgb(220,220,220);
399 --colortexttitle: rgb(220,220,220);
400 --colortext: rgb(220,220,220);
401 --colortextlink: #4390dc;
402 --colortexttitlelink: #4390dc;
403 --colortextbackhmenu: rgb(220,220,220);
404 --colortextbackvmenu: rgb(220,220,220);
405 --tooltipfontcolor : rgb(220,220,220);
406 --listetotal: rgb(245, 83, 158);
407 --inputbackgroundcolor: rgb(70, 70, 70);
408 --inputbackgroundcolordisabled: rgb(60, 60, 60);
409 --inputcolordisabled: rgb(140, 140, 140);
410 --inputbordercolor: rgb(220,220,220);
411 --oddevencolor: rgb(220,220,220);
412 --colorboxstatsborder: rgb(65,100,138);
413 --dolgraphbg: #1d1e20;
414 --fieldrequiredcolor: rgb(250,183,59);
415 --colortextbacktab: rgb(220,220,220);
416 --colorboxiconbg: rgb(36,38,39);
417 --refidnocolor: rgb(220,220,220);
418 --tableforfieldcolor:rgb(220,220,220);
419 --amountremaintopaycolor:rgb(252,84,91);
420 --amountpaymentcomplete:rgb(101,184,77);
421 --amountremaintopaybackcolor:rbg(245,130,46);
422 --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #000, #000, #000, #274231);
423 --tablevalidbgcolor: rgb(80, 64, 33);
424 --colorblack: #fff;
425 --colorwhite: #000;
426 }
427
428 body, button {
429 color: #bbb;
430 }\n
431 }\n";
432}
433?>
434
435body {
436<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
437 background-color: #FFFFFF;
438<?php } ?>
439 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
440 line-height: 1.4;
441 font-family: <?php print $fontlist ?>;
442 margin-top: 0;
443 margin-bottom: 0;
444 margin-right: 0;
445 margin-left: 0;
446 font-weight: 400;
447 background-color: var(--colorbackbody);
448 <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
449}
450
451/* Style used to protect html content in output to avoid attack by replacing full page with js content */
452.sensiblehtmlcontent * {
453 position: static !important;
454}
455
456.thumbstat { font-weight: bold !important; }
457th a { font-weight: <?php echo($useboldtitle ? 'bold' : 'normal'); ?> !important; }
458a.tab { font-weight: 500 !important; }
459
460a:link, a:visited, a:hover, a:active, .classlink { font-family: <?php print $fontlist ?>; font-weight: normal; color: var(--colortextlink); text-decoration: none; }
461a:hover { text-decoration: underline; color: var(--colortextlink); }
462a.commonlink { color: var(--colortextlink) !important; text-decoration: none; }
463
464input {
465 font-size: unset;
466}
467.tableforfield input, .refidno input {
468 padding: 2px;
469}
470
471/*
472input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
473 background-color: #FDFDFD;
474}
475*/
476select.vmenusearchselectcombo {
477 background-color: unset;
478}
479
480textarea:focus {
481 /* v6 box-shadow: 0 0 4px #8091BF; */
482 border: 1px solid #aaa !important;
483}
484input:focus, textarea:focus, button:focus:not(.button_search_x):not(.button_search):not(.button_removefilter), select:focus {
485 border-bottom: 1px solid #666;
486}
487
488textarea.cke_source:focus
489{
490 box-shadow: none;
491}
492
493th.wrapcolumntitle.liste_titre:not(.maxwidthsearch), td.wrapcolumntitle.liste_titre:not(.maxwidthsearch),
494th.wrapcolumntitle.liste_titre_sel:not(.maxwidthsearch), td.wrapcolumntitle.liste_titre_sel:not(.maxwidthsearch) {
495 overflow: hidden;
496 white-space: nowrap;
497 max-width: 120px;
498 text-overflow: ellipsis;
499}
500th.wrapcolumntitle dl dt a span.fas.fa-list {
501 padding-top: 1px;
502 vertical-align: middle;
503 padding-bottom: 1px;
504}
505
506/*.liste_titre input[name=month_date_when], .liste_titre input[name=monthvalid], .liste_titre input[name=search_ordermonth], .liste_titre input[name=search_deliverymonth],
507.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],
508.liste_titre input[name=month_lim], .liste_titre input[name=month_start], .liste_titre input[name=month_end], .liste_titre input[name=month_create],
509.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],
510.liste_titre input[name=search_month_create], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end],
511.liste_titre input[name=day_date_when], .liste_titre input[name=dayvalid], .liste_titre input[name=search_orderday], .liste_titre input[name=search_deliveryday],
512.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],
513.liste_titre input[name=day_lim], .liste_titre input[name=day_start], .liste_titre input[name=day_end], .liste_titre input[name=day_create],
514.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],
515.liste_titre input[name=search_day_create], .liste_titre input[name=search_day_start], .liste_titre input[name=search_day_end],
516.liste_titre input[name=search_day_date_when], .liste_titre input[name=search_month_date_when], .liste_titre input[name=search_year_date_when],
517.liste_titre input[name=search_dtstartday], .liste_titre input[name=search_dtendday], .liste_titre input[name=search_dtstartmonth], .liste_titre input[name=search_dtendmonth],
518*/
519.liste_titre input[name=search_month], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end] {
520 margin-right: 4px;
521}
522select#date_startday, select#date_startmonth, select#date_endday, select#date_endmonth, select#reday, select#remonth
523{
524 margin-right: 4px;
525}
526
527input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
528 color: var(--colortext);
529 border: none;
530 border<?php echo !getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
531 font-family: <?php print $fontlist ?>;
532 outline: none;
533 margin: 0px 0px 0px 0px;
534 background-color: var(--inputbackgroundcolor);
535 <?php if (!getDolGlobalString('THEME_ADD_BACKGROUND_ON_INPUT')) { ?>
536 border<?php echo !getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
537 <?php } ?>
538}
539
540input {
541 line-height: 17px;
542 padding: 5px;
543 padding-left: 5px;
544}
545select {
546 padding-top: 4px;
547 padding-right: 4px;
548 padding-bottom: 4px;
549 padding-left: 2px;
550}
551input, select {
552 margin-left:0px;
553 margin-bottom:1px;
554 margin-top:1px;
555}
556#mainbody input.button:not(.buttongen):not(.bordertransp), #mainbody a.button:not(.buttongen):not(.bordertransp) {
557 background: var(--butactionbg);
558 color: var(--textbutaction) !important;
559 border-radius: 3px;
560 border-collapse: collapse;
561 border: none;
562 text-shadow: none;
563 text-transform: uppercase;
564 /* font-weight: bold; */
565 margin: 0em 0.8em;
566 padding: 0.6em 0.7em;
567 line-height: 17px;
568}
569#mainbody input.button:not(.buttongen):not(.bordertransp):hover, #mainbody a.button:not(.buttongen):not(.bordertransp):hover {
570 -webkit-box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
571 box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
572}
573#mainbody input.buttongen, #mainbody button.buttongen {
574 padding: 3px 4px;
575}
576
577input.button.massactionconfirmed {
578 margin: 4px;
579}
580input.short {
581 width: 40px;
582}
583
584input:invalid, select:invalid, input.--error , select.--error {
585 border-color: #ea1212;
586}
587
588section.setupsection {
589 padding: 20px;
590 background-color: var(--colorbacktitle1);
591 border-radius: 5px;
592}
593
594.field-error-icon { color: #ea1212 !important; }
595
596textarea {
597 border-radius: 0;
598 border-top:solid 1px var(--inputbordercolor);
599 border-left:solid 1px var(--inputbordercolor);
600 border-right:solid 1px var(--inputbordercolor);
601 border-bottom:solid 1px var(--inputbordercolor);
602
603 background-color: #FFF;
604 padding:4px;
605 margin-left:1px;
606 margin-bottom:1px;
607 margin-top:1px;
608 }
609input.removedassigned {
610 padding: 2px !important;
611 vertical-align: text-bottom;
612 margin-bottom: -3px;
613}
614input.smallpadd { /* Used for timesheet input */
615 padding-left: 1px !important;
616 padding-right: 1px !important;
617}
618input.buttongen {
619 vertical-align: middle;
620}
621input.buttonpayment, button.buttonpayment, div.buttonpayment {
622 min-width: 290px;
623 margin-bottom: 15px;
624 margin-top: 15px;
625 margin-left: 5px;
626 margin-right: 5px;
627 background-image: none;
628 line-height: 24px;
629 padding: 8px;
630 background: none;
631 text-align: center;
632 border: 2px solid #ccc;
633 background-color: #eee;
634 white-space: normal;
635 color: #888 !important;
636 height: 60px;
637}
638.nofocusvisible:focus-visible {
639 outline: none;
640}
641
642div.buttonpayment input {
643 background-color: unset;
644 border-bottom: unset;
645 font-weight: bold;
646 text-transform: uppercase;
647 color: #333;
648 cursor: pointer;
649}
650div.buttonpayment input:focus {
651 color: #008;
652}
653input.buttonpaymentcb {
654 background-image: url(<?php echo dol_buildpath($path.'/theme/common/credit_card.png', 1) ?>);
655 background-size: 26px;
656 background-repeat: no-repeat;
657 background-position: 5px 5px;
658}
659input.buttonpaymentcheque {
660 background-image: url(<?php echo dol_buildpath($path.'/theme/common/cheque.png', 1) ?>);
661 background-repeat: no-repeat;
662 background-position: 8px 7px;
663}
664input.buttonpaymentcb {
665 background-image: url(<?php echo dol_buildpath($path.'/theme/common/credit_card.png', 1) ?>);
666 background-size: 24px;
667 background-repeat: no-repeat;
668 background-position: 5px 4px;
669}
670input.buttonpaymentpaypal {
671 background-image: url(<?php echo dol_buildpath($path.'/paypal/img/object_paypal.png', 1) ?>);
672 background-repeat: no-repeat;
673 background-position: 8px 7px;
674}
675input.buttonpaymentpaybox {
676 background-image: url(<?php echo dol_buildpath($path.'/paybox/img/object_paybox.png', 1) ?>);
677 background-repeat: no-repeat;
678 background-position: 8px 7px;
679}
680input.buttonpaymentstripe {
681 background-image: url(<?php echo dol_buildpath($path.'/stripe/img/object_stripe.png', 1) ?>);
682 background-repeat: no-repeat;
683 background-position: 8px 7px;
684}
685.logopublicpayment #dolpaymentlogo {
686 max-height: 80px;
687 max-width: 300px;
688 image-rendering: -webkit-optimize-contrast; /* better rendering on public page header */
689}
690a.butStatus {
691 padding-left: 5px;
692 padding-right: 5px;
693 background-color: transparent;
694 color: var(--colortext) !important;
695 border: 2px solid var( --butactionbg);
696 margin: 0 0.45em !important;
697}
698
699span.userimg.notfirst, div.userimg.notfirst {
700 margin-left: -5px;
701}
702div.userimg.notfirst {
703 display: block-inline;
704}
705
706/* Used by timesheets */
707span.timesheetalreadyrecorded input {
708 border: none;
709 border-bottom: solid 1px rgba(0,0,0,0.1);
710 margin-right: 1px !important;
711}
712td.onholidaymorning, td.onholidayafternoon {
713 background-color: #fdf6f2;
714}
715td.onholidayallday {
716 background-color: #f4eede;
717}
718td.onholidayallday:not(.weekend) input {
719 background-color: #f8f7f0;
720}
721td.weekend { /* must be after td.onholidayallday */
722 background-color: #eee;
723}
724td.weekend input {
725 background-color: #f8f8f8;
726}
727td.leftborder, td.hide0 {
728 border-left: 1px solid #ccc;
729}
730td.leftborder, td.hide6 {
731 border-right: 1px solid #ccc;
732}
733td.rightborder {
734 border-right: 1px solid #ccc;
735}
736
737
738td.amount, span.amount, div.amount, b.amount {
739 color: #006666;
740}
741td.actionbuttons a {
742 padding-left: 6px;
743}
744select.flat, form.flat select, .pageplusone, .divadvancedsearchfieldcompinput, {
745 font-weight: normal;
746 font-size: unset;
747 height: 2em;
748}
749input.pageplusone, .divadvancedsearchfieldcompinput, {
750 padding-bottom: 4px;
751 padding-top: 4px;
752}
753
754.saturatemedium {
755 filter: saturate(0.8);
756}
757
758.optionblue {
759 color: var(--colortextlink);
760}
761.optiongrey, .opacitymedium {
762 opacity: 0.5;
763}
764.opacitymediumbycolor {
765 color: rgba(0, 0, 0, 0.4);
766}
767.opacitylow {
768 opacity: 0.6;
769}
770.opacityhigh {
771 opacity: 0.24;
772}
773.opacitytransp {
774 opacity: 0;
775}
776.colorwhite {
777 color: var(--colorwhite);
778}
779.colorgrey {
780 color: #888 !important;
781}
782.colorblack {
783 color: var(--colorblack);
784}
785.fontsizeunset {
786 font-size: unset !important;
787}
788
789.vmirror {
790 transform: scale(1, -1);
791}
792.hmirror {
793 transform: scale(-1, 1);
794}
795
796select:invalid, select.--error {
797 color: gray;
798}
799input:disabled, textarea:disabled, select[disabled='disabled']
800{
801 background: var(--inputbackgroundcolordisabled);
802 color: var(--inputcolordisabled);
803}
804
805input.liste_titre {
806 box-shadow: none !important;
807}
808.listactionlargetitle .liste_titre {
809 line-height: 24px;
810}
811input.removedfile {
812 padding: 0px !important;
813 border: 0px !important;
814 vertical-align: text-bottom;
815}
816
817input[type=file] { background-color: transparent; border-top: none; border-left: none; border-right: none; box-shadow: none; }
818input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; vertical-align: middle; }
819input[type=radio] { background-color: transparent; border: none; box-shadow: none; vertical-align: middle; }
820input[type=image] { background-color: transparent; border: none; box-shadow: none; }
821input:-webkit-autofill {
822 background-color: #FBFFEA !important;
823 background-image:none !important;
824 -webkit-box-shadow: 0 0 0 50px #FBFFEA inset;
825}
826
827input[type=checkbox], input[type=radio] {
828 margin: 0 3px 0 3px;
829}
830.kanban input.checkforselect {
831 margin-right: 0px;
832 margin-top: 5px;
833}
834
835/* CSS for placeholder */
836.placeholder { color: #ccc; }
837::-webkit-input-placeholder { color:#ccc; }
838:-moz-placeholder { color:#bbb; } /* firefox 18- */
839::-moz-placeholder { color:#bbb; } /* firefox 19+ */
840:-ms-input-placeholder { color:#ccc; } /* ie */
841input:-moz-placeholder { color:#ccc; }
842
843input[name=price], input[name=weight], input[name=volume], input[name=surface], input[name=sizeheight], input[name=net_measure], select[name=incoterm_id] { margin-right: 6px; }
844fieldset {
845 border: 1px solid #AAAAAA !important;
846 padding-inline-start: 2em;
847 padding-inline-end: 2em;
848 min-inline-size: auto;
849}
850.legendforfieldsetstep { padding-bottom: 10px; }
851input#onlinepaymenturl, input#directdownloadlink {
852 opacity: 0.7;
853}
854
855.formconsumeproduce {
856 background: #f3f3f3;
857 padding: 20px 0px 0px 0px;
858 border-radius: 8px;
859}
860
861div#moretabsList, div#moretabsListaction {
862 z-index: 5;
863}
864
865hr { border: 0; border-top: 1px solid #ccc; }
866.tabBar hr { margin-top: 20px; margin-bottom: 17px; }
867
868
869table.tableforfield .button:not(.bordertransp):not(.buttonpayment),
870table.tableforfield .buttonDelete:not(.bordertransp):not(.buttonpayment) {
871 margin-bottom: 2px;
872 margin-top: 2px;
873}
874
875.button:not(.bordertransp):not(.buttonpayment), .buttonDelete:not(.bordertransp):not(.buttonpayment) {
876 border-color: #c5c5c5;
877 border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
878 display: inline-block;
879 padding: 4px 14px;
880 margin-bottom: 0;
881 margin-top: 0;
882 font-family: <?php print $fontlist ?>;
883 text-align: center;
884 cursor: pointer;
885 color: #333333 !important;
886 text-decoration: none !important;
887 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
888 background-color: #f5f5f5;
889 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
890 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
891 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
892 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
893 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
894 background-repeat: repeat-x;
895 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
896 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
897 border: 1px solid #bbbbbb;
898 border-bottom-color: #a2a2a2;
899 -webkit-border-radius: 2px;
900 border-radius: 2px;
901 -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
902 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
903}
904.refidno .button.smallpaddingimp {
905 font-size: 0.85em !important;
906}
907.button:focus, .buttonDelete:focus {
908 -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
909 box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
910}
911.button:hover:not(.nohover), .buttonDelete:hover:not(.nohover) {
912 -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
913 box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
914}
915.button:disabled, .buttonDelete:disabled, .button.disabled, .buttonDelete.disabled {
916 opacity: 0.4;
917 box-shadow: none;
918 -webkit-box-shadow: none;
919 cursor: auto;
920}
921.buttonRefused {
922 pointer-events: none;
923 cursor: default;
924 opacity: 0.4;
925 box-shadow: none;
926 -webkit-box-shadow: none;
927}
928.button_search, .button_removefilter {
929 border: unset;
930 background-color: unset;
931}
932.button_search:hover, .button_removefilter:hover {
933 cursor: pointer;
934}
935form {
936 padding:0px;
937 margin:0px;
938}
939form#addproduct {
940 padding-top: 20px;
941}
942div.float, span.floatleft
943{
944 float:<?php print $left; ?>;
945}
946div.floatright
947{
948 float:<?php print $right; ?>;
949}
950.block
951{
952 display:block;
953}
954.inline-block
955{
956 display:inline-block;
957}
958.inline-blockimp
959{
960 display:inline-block !important;
961}
962.largenumber {
963 font-size: 1.4em;
964}
965button:focus {
966 outline: none;
967}
968.fa-info-circle {
969 padding-<?php echo $left; ?>: 3px;
970}
971.line-height-large {
972 line-height: 1.8em;
973}
974
975th .button {
976 -webkit-box-shadow: none !important;
977 box-shadow: none !important;
978 -webkit-border-radius:0px !important;
979 border-radius:0px !important;
980}
981.maxwidthsearch { /* Max width of column with the search picto */
982 width: 54px;
983 min-width: 54px;
984}
985
986.valigntop {
987 vertical-align: top;
988}
989.valignmiddle {
990 vertical-align: middle;
991}
992.valignbottom {
993 vertical-align: bottom;
994}
995.valigntextbottom {
996 vertical-align: text-bottom;
997}
998.centpercent {
999 width: 100%;
1000}
1001.centpercentimp {
1002 width: 100% !important;
1003}
1004.centpercentwithout1imp {
1005 width: calc(100% - 1px) !important;
1006}
1007.centpercentwithoutmenu {
1008 width: calc(100% - 200px);
1009}
1010.quatrevingtpercent, .inputsearch {
1011 width: 80%;
1012}
1013.maxquatrevingtpercent {
1014 max-width: 80%;
1015}
1016.soixantepercent {
1017 width: 60%;
1018}
1019.quatrevingtquinzepercent {
1020 width: 95%;
1021}
1022.quatrevingtpercentminusx {
1023 width: calc(80% - 52px);
1024}
1025textarea.centpercent {
1026 width: 96%;
1027}
1028.small, small {
1029 font-size: 85%;
1030}
1031.large {
1032 font-size: 125%;
1033}
1034.double {
1035 font-size: 2em;
1036}
1037
1038.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small {
1039 font-size: 65%;
1040}
1041.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
1042 font-weight: 400;
1043 line-height: 1;
1044 color: #777;
1045}
1046
1047.flip {
1048 transform: scaleX(-1) translate(<?php print($left == 'left' ? '' : '-'); ?>2px, 0);
1049}
1050.rotate90 {
1051 transform: rotate(90deg) translate(0, <?php print($left == 'left' ? '' : '-'); ?>2px);
1052}
1053.center {
1054 text-align: center;
1055 margin: 0px auto;
1056}
1057.centerimp {
1058 text-align: center !important;
1059}
1060.alignstart {
1061 text-align: start;
1062}
1063.start {
1064 text-align: start;
1065}
1066.end {
1067 text-align: end;
1068}
1069.left {
1070 text-align: <?php print $left; ?>;
1071}
1072.right {
1073 text-align: <?php print $right; ?>;
1074}
1075.justify {
1076 text-align: justify;
1077}
1078.pull-left {
1079 float: left!important;
1080}
1081.pull-right {
1082 float: right!important;
1083}
1084.nowrap {
1085 white-space: <?php print($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
1086}
1087.nowraponsmartphone {
1088 white-space: <?php print($dol_optimize_smallscreen ? 'nowrap' : 'normal'); ?>;
1089}
1090.wraponsmartphone {
1091 white-space: <?php print($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
1092}
1093.liste_titre .nowrap {
1094 white-space: nowrap;
1095}
1096.nowraponall { /* no wrap on all devices */
1097 white-space: nowrap;
1098}
1099.nowrapfordate { /* no wrap on all devices for dates */
1100 white-space: nowrap;
1101 display: inline-block;
1102}
1103.wrapimp {
1104 white-space: normal !important;
1105}
1106.wordwrap {
1107 word-wrap: break-word;
1108}
1109.wordbreakimp {
1110 word-break: break-word;
1111}
1112.wordbreak {
1113 word-break: break-word; /* cut fist between word, inside word if not possible */
1114}
1115.wordbreakall {
1116 word-break: break-all;
1117}
1118td.wordbreak img {
1119 max-width: 100%;
1120}
1121.bold {
1122 font-weight: bold !important;
1123}
1124.nobold {
1125 font-weight: normal !important;
1126}
1127.uppercase {
1128 text-transform: uppercase;
1129}
1130.nounderline {
1131 text-decoration: none;
1132}
1133.nounderlineimp {
1134 text-decoration: none !important;
1135}
1136.nopadding {
1137 padding: 0;
1138}
1139.nopaddingleft {
1140 padding-left: 0;
1141}
1142.nopaddingright {
1143 padding-right: 0;
1144}
1145.nopaddingleftimp {
1146 padding-left: 0 !important;
1147}
1148.nopaddingrightimp {
1149 padding-right: 0 !important;
1150}
1151.paddingleft {
1152 padding-<?php print $left; ?>: 4px;
1153}
1154.paddingleftimp {
1155 padding-<?php print $left; ?>: 4px !important;
1156}
1157.paddingleft2 {
1158 padding-<?php print $left; ?>: 2px;
1159}
1160.paddingleft2imp {
1161 padding-<?php print $left; ?>: 2px !important;
1162}
1163.paddingright {
1164 padding-<?php print $right; ?>: 4px;
1165}
1166.paddingrightimp {
1167 padding-<?php print $right; ?>: 4px !important;
1168}
1169.paddingright2 {
1170 padding-<?php print $right; ?>: 2px;
1171}
1172.paddingright2imp {
1173 padding-<?php print $right; ?>: 2px !important;
1174}
1175.paddingtop {
1176 padding-top: 4px;
1177}
1178.paddingtop2 {
1179 padding-top: 2px;
1180}
1181.paddingbottom {
1182 padding-bottom: 4px;
1183}
1184.paddingbottom2 {
1185 padding-bottom: 2px;
1186}
1187.marginleft2 {
1188 margin-<?php print $left; ?>: 2px;
1189}
1190.marginright2 {
1191 margin-<?php print $right; ?>: 2px;
1192}
1193.nomarginleft {
1194 margin-<?php print $left; ?>: unset;
1195}
1196.nomarginright {
1197 margin-<?php print $right; ?>: unset;
1198}
1199.nowidthimp {
1200 width: unset !important;
1201}
1202
1203.cursordefault {
1204 cursor: default;
1205}
1206.cursorpointer {
1207 cursor: pointer;
1208}
1209.classfortooltiponclick .fa-question-circle {
1210 cursor: pointer;
1211}
1212.cursormove {
1213 cursor: move;
1214}
1215.cursornotallowed {
1216 cursor: not-allowed;
1217}
1218.cursorwait {
1219 cursor: wait;
1220}
1221.backgroundblank {
1222 background-color: #fff;
1223}
1224.nobackground, .nobackground tr {
1225 background: unset !important;
1226}
1227.checkboxattachfilelabel {
1228 font-size: 0.85em;
1229 opacity: 0.7;
1230}
1231.borderimp {
1232 border: 1px solid #888 !important;
1233}
1234.text-warning{
1235 color : <?php print $textWarning; ?>
1236}
1237.longmessagecut {
1238 max-height: 250px;
1239 max-width: 100%;
1240 overflow-y: auto;
1241}
1242div.urllink {
1243 padding: 5px;
1244 margin-top: 5px;
1245 margin-bottom: 5px;
1246 /* border: 1px solid #ccc; */
1247 border-radius: 5px;
1248 /* width: fit-content; */
1249 background-color: #e0e0e8;
1250 opacity: 0.8;
1251}
1252div.urllink, div.urllink a {
1253 color: #339 !important;
1254}
1255
1256i.fa-mars::before, i.fa-venus::before, i.fa-genderless::before, i.fa-transgender::before {
1257 color: #888 !important;
1258 opacity: 0.4;
1259 padding-<?php echo $left; ?>: 3px;
1260}
1261.stockmovemententry {
1262 color: #080;
1263 transform: rotate(0.25turn);
1264 font-size: 1.2em;
1265}
1266.stockmovementexit {
1267 color: #968822;
1268 transform: rotate(0.3turn);
1269 font-size: 1.2em;
1270}
1271.stockmovement {
1272 font-size: 1.4em;
1273}
1274
1275.text-warning{
1276 color : <?php print $textWarning; ?>
1277}
1278body[class*="colorblind-"] .text-warning{
1279 color : <?php print $colorblind_deuteranopes_textWarning; ?>
1280}
1281.text-success{
1282 color : <?php print $textSuccess; ?>
1283}
1284body[class*="colorblind-"] .text-success{
1285 color : <?php print $colorblind_deuteranopes_textSuccess; ?>
1286}
1287
1288.text-danger{
1289 color : <?php print $textDanger; ?>
1290}
1291
1292.editfielda span.fa-pencil-alt, .editfielda span.fa-pencil-ruler, .editfielda span.fa-trash, .editfielda span.fa-crop,
1293.editfieldlang {
1294 color: #ccc !important;
1295}
1296.editfielda span.fa-pencil-alt:hover, .editfielda span.fa-pencil-ruler:hover, .editfielda span.fa-trash:hover, .editfielda span.fa-crop:hover,
1297.editfieldlang:hover {
1298 color: var(--colortexttitle) !important;
1299}
1300a.editfielda.nohover *:hover:before {
1301 color: #ccc !important;
1302}
1303
1304.fawidth30 {
1305 width: 20px;
1306}
1307.floatnone {
1308 float: none !important;
1309}
1310
1311span.fa.fa-plus-circle.paddingleft {
1312 padding-right: 4px;
1313 padding-top: 3px;
1314 padding-bottom: 2px;
1315}
1316
1317.size12x { font-size: 1.2em !important; }
1318.size15x { font-size: 1.5em !important; }
1319.fa-toggle-on, .fa-toggle-off, .size2x { font-size: 2em; }
1320.websiteselectionsection .fa-toggle-on, .websiteselectionsection .fa-toggle-off,
1321.asetresetmodule .fa-toggle-on, .asetresetmodule .fa-toggle-off,
1322.tdwebsitesearchresult .fa-toggle-on, .tdwebsitesearchresult .fa-toggle-off {
1323 font-size: 1.5em; vertical-align: text-bottom;
1324}
1325
1326.divoverflow {
1327 overflow: hidden;
1328 white-space: nowrap;
1329 vertical-align: middle;
1330 text-overflow: ellipsis;
1331}
1332
1333
1334/* Themes for badges */
1335<?php include dol_buildpath($path.'/theme/'.$theme.'/badges.inc.php', 0); ?>
1336<?php include dol_buildpath($path.'/theme/'.$theme.'/flags-sprite.inc.php', 0); ?>
1337
1338.borderrightlight
1339{
1340 border-right: 1px solid #f4f4f4;
1341}
1342.borderleftlight
1343{
1344 border-left: 1px solid #f4f4f4;
1345}
1346
1347#formuserfile {
1348 margin-top: 4px;
1349}
1350#formuserfile_link {
1351 margin-left: 1px;
1352}
1353.listofinvoicetype {
1354 height: 28px;
1355 vertical-align: middle;
1356}
1357.divsocialnetwork:not(:last-child) {
1358 padding-<?php print $right; ?>: 20px;
1359}
1360.divfilteralone {
1361 background-color: rgba(0, 0, 0, 0.08);
1362 border-radius: 5px;
1363 padding-left: 5px;
1364}
1365div.divsearchfield {
1366 /* float: <?php print $left; ?>; */
1367 display: inline-block;
1368 margin-<?php print $right; ?>: 12px;
1369 margin-<?php print $left; ?>: 2px;
1370 margin-top: 4px;
1371 margin-bottom: 4px;
1372 padding-left: 2px;
1373}
1374.divsearchfieldfilter {
1375 text-overflow: clip;
1376 overflow: auto;
1377 white-space: nowrap;
1378 padding-bottom: 5px;
1379 opacity: 0.6;
1380 font-size: small;
1381}
1382.divadvancedsearchfield:first-child {
1383 margin-top: 3px;
1384}
1385.divadvancedsearchfield {
1386 float: left;
1387 padding-left: 15px;
1388 padding-right: 15px;
1389 padding-bottom: 2px;
1390 padding-top: 2px;
1391}
1392.divadvancedsearchfield span.select2.select2-container.select2-container--default {
1393 padding-bottom: 4px;
1394}
1395.divadvancedsearchfieldcompinput {
1396 background: #fff;
1397 border-bottom: solid 1px var(--inputbordercolor);
1398}
1399
1400.search_component_params {
1401 /*display: flex; */
1402 -webkit-flex-flow: row wrap;
1403 flex-flow: row wrap;
1404 background: #fff;
1405 padding-top: 3px;
1406 padding-bottom: 3px;
1407 padding-<?php echo $left; ?>: 0;
1408 padding-<?php echo $right; ?>: 0;
1409 border-bottom: solid 1px var(--inputbordercolor);
1410 height: 24px;
1411}
1412.search_component_searchtext {
1413 padding-top: 2px;
1414}
1415.search_component_params_text, .search_component_params_text:focus {
1416 border-bottom: none;
1417 width: auto;
1418 margin: 0 !important;
1419 padding: 3px;
1420}
1421.tagsearch {
1422 padding: 2px;
1423 padding-right: 4px;
1424 padding-bottom: 3px;
1425 background: #ddd;
1426 border-radius: 4px;
1427}
1428.tagsearchdelete {
1429 color: #999;
1430 cursor: pointer;
1431 display: inline-block;
1432 font-weight: bold;
1433 margin-right: 2px;
1434 padding-left: 4px;
1435}
1436
1437.caretleftaxis {
1438 margin-left: -13px;
1439 margin-top: -1px;
1440 position: absolute;
1441}
1442.caretdownaxis {
1443 margin-left: -12px;
1444 margin-top: 0;
1445 position: absolute;
1446}
1447
1448<?php
1449// Add a nowrap on smartphone, so long list of field used for filter are overflowed with clip
1450if ($conf->browser->layout == 'phone') {
1451 ?>
1452.divsearchfieldfilter {
1453 white-space: nowrap;
1454}
1455 <?php
1456} ?>
1457
1458
1459.a-filter, .a-mesure {
1460 border-radius: 50px;
1461 background: var(--colortexttitlenotab);
1462 color: #fff;
1463 padding: 8px 10px 8px 6px;
1464}
1465.a-filter:before {
1466 content: "\f0b0";
1467}
1468.a-mesure:before {
1469 content: "\f080";
1470}
1471.a-filter:before, .a-mesure:before {
1472 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
1473 font-weight: 600;
1474 padding-right: 5px;
1475 padding-left: 5px;
1476}
1477.a-filter-disabled, .a-mesure-disabled {
1478 border-radius: 50px;
1479 background: var(--colorbacktitle1);
1480 padding: 8px;
1481 opacity: 0.6;
1482}
1483
1484
1485/* ============================================================================== */
1486/* Styles for scan tool */
1487/* ============================================================================== */
1488
1489div.div-for-modal {
1490 /* display: none; */
1491 position:absolute;
1492 top:calc(50% - 200px);
1493 left:calc(50% - 250px);
1494 width:500px; /* adjust as per your needs */
1495 height:400px; /* adjust as per your needs */
1496 background: #fff;
1497 border: 1px solid #bbb;
1498 box-shadow: 2px 2px 20px #ddd;
1499 z-index: 100;
1500}
1501
1502#scantoolmessage {
1503 height: 3em;
1504 border: none;
1505 overflow-y: auto;
1506}
1507
1508div.div-for-modal-topright {
1509 /* display: none; */
1510 position: fixed;
1511 top: 0;
1512 right: 0;
1513 width:50%; /* adjust as per your needs */
1514 height:300px; /* adjust as per your needs */
1515 background: #fff;
1516 border: 1px solid #bbb;
1517 box-shadow: 2px 2px 20px #ddd;
1518 z-index: 1100;
1519}
1520
1521
1522
1523div.confirmmessage {
1524 padding-top: 6px;
1525}
1526ul.attendees {
1527 padding-top: 0;
1528 padding-bottom: 0;
1529 padding-left: 0;
1530 margin-top: 0;
1531 margin-bottom: 0;
1532}
1533ul.attendees li {
1534 list-style-type: none;
1535}
1536input > ul.attendees {
1537 margin-top: 6px;
1538}
1539.googlerefreshcal {
1540 padding-top: 4px;
1541 padding-bottom: 4px;
1542}
1543.paddingtopbottom {
1544 padding-top: 10px;
1545 padding-bottom: 10px;
1546}
1547.checkallactions {
1548 margin-left: 2px; /* left must be same than right to keep checkbox centered */
1549 margin-right: 2px; /* left must be same than right to keep checkbox centered */
1550 vertical-align: middle;
1551}
1552select.flat.selectlimit {
1553 max-width: 62px;
1554}
1555.selectlimit, .marginrightonly {
1556 margin-<?php echo $right; ?>: 10px !important;
1557}
1558.marginleftonly {
1559 margin-<?php echo $left; ?>: 10px !important;
1560}
1561.marginleftonlyshort {
1562 margin-<?php echo $left; ?>: 4px !important;
1563}
1564.nomarginleft {
1565 margin-<?php echo $left; ?>: 0px !important;
1566}
1567.marginrightonly {
1568 margin-<?php echo $right; ?>: 10px !important;
1569}
1570.marginrightonlyshort {
1571 margin-<?php echo $right; ?>: 4px !important;
1572}
1573.margintoponly {
1574 margin-top: 10px !important;
1575}
1576.margintoponlyshort {
1577 margin-top: 3px !important;
1578}
1579.marginbottomonly {
1580 margin-bottom: 10px !important;
1581}
1582.marginbottomonlyshort {
1583 margin-bottom: 3px !important;
1584}
1585.nomargintop {
1586 margin-top: 0 !important;
1587}
1588.nomarginbottom {
1589 margin-bottom: 0 !important;
1590}
1591
1592.selectlimit, .selectlimit:focus {
1593 border-left: none !important;
1594 border-top: none !important;
1595 border-right: none !important;
1596 outline: none;
1597}
1598.strikefordisabled {
1599 text-decoration: line-through;
1600}
1601.widthdate {
1602 width: 130px;
1603}
1604/* using a tdoverflowxxx make the min-width not working */
1605.tdnooverflowimp {
1606 text-overflow: unset;
1607}
1608.tdoverflow {
1609 max-width: 0;
1610 overflow: hidden;
1611 text-overflow: ellipsis;
1612 white-space: nowrap;
1613}
1614.spanoverflow {
1615 overflow-x: clip;
1616 text-overflow: ellipsis;
1617}
1618.tdoverflowmax50 { /* For tdoverflow, the max-midth become a minimum ! */
1619 max-width: 50px;
1620 overflow: hidden;
1621 text-overflow: ellipsis;
1622 white-space: nowrap;
1623}
1624.tdoverflowmax60 { /* For tdoverflow, the max-midth become a minimum ! */
1625 max-width: 60px;
1626 overflow: hidden;
1627 text-overflow: ellipsis;
1628 white-space: nowrap;
1629}
1630.tdoverflowmax80 { /* For tdoverflow, the max-midth become a minimum ! */
1631 max-width: 80px;
1632 overflow: hidden;
1633 text-overflow: ellipsis;
1634 white-space: nowrap;
1635}
1636.tdoverflowmax80imp { /* For tdoverflow, the max-midth become a minimum ! */
1637 max-width: 80px !important;
1638 overflow: hidden;
1639 text-overflow: ellipsis;
1640 white-space: nowrap;
1641}
1642.tdoverflowmax100 { /* For tdoverflow, the max-midth become a minimum ! */
1643 max-width: 100px;
1644 overflow: hidden;
1645 text-overflow: ellipsis;
1646 white-space: nowrap;
1647}
1648.tdoverflowmax100imp { /* For tdoverflow, the max-midth become a minimum ! */
1649 max-width: 100px !important;
1650 overflow: hidden;
1651 text-overflow: ellipsis;
1652 white-space: nowrap;
1653}
1654.tdoverflowmax125 { /* For tdoverflow, the max-midth become a minimum ! */
1655 max-width: 125px;
1656 overflow: hidden;
1657 text-overflow: ellipsis;
1658 white-space: nowrap;
1659}
1660.tdoverflowmax150 { /* For tdoverflow, the max-midth become a minimum ! */
1661 max-width: 150px;
1662 overflow: hidden;
1663 text-overflow: ellipsis;
1664 white-space: nowrap;
1665}
1666.tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */
1667 max-width: 200px;
1668 overflow: hidden;
1669 text-overflow: ellipsis;
1670 white-space: nowrap;
1671}
1672.tdoverflowmax250 { /* For tdoverflow, the max-midth become a minimum ! */
1673 max-width: 250px;
1674 overflow: hidden;
1675 text-overflow: ellipsis;
1676 white-space: nowrap;
1677}
1678.tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
1679 max-width: 300px;
1680 overflow: hidden;
1681 text-overflow: ellipsis;
1682 white-space: nowrap;
1683}
1684.tdoverflowmax350 { /* For tdoverflow, the max-midth become a minimum ! */
1685 max-width: 350px;
1686 overflow: hidden;
1687 text-overflow: ellipsis;
1688 white-space: nowrap;
1689}
1690.tdoverflowmax400 { /* For tdoverflow, the max-midth become a minimum ! */
1691 max-width: 400px;
1692 overflow: hidden;
1693 text-overflow: ellipsis;
1694 white-space: nowrap;
1695}
1696.tdoverflowmax500 { /* For tdoverflow, the max-midth become a minimum ! */
1697 max-width: 500px;
1698 overflow: hidden;
1699 text-overflow: ellipsis;
1700 white-space: nowrap;
1701}
1702.tdoverflowauto {
1703 max-width: 0;
1704 overflow: auto;
1705}
1706.divintowithtwolinesmax {
1707 width: 75px;
1708 display: -webkit-box;
1709 -webkit-box-orient: vertical;
1710 -webkit-line-clamp: 2;
1711 overflow: hidden;
1712}
1713.twolinesmax {
1714 display: -webkit-box;
1715 -webkit-box-orient: vertical;
1716 -webkit-line-clamp: 2;
1717 overflow: hidden;
1718 height: auto !important;
1719}
1720.tenlinesmax {
1721 display: -webkit-box;
1722 -webkit-box-orient: vertical;
1723 -webkit-line-clamp: 10;
1724 overflow: hidden;
1725}
1726
1727.tablelistofcalendars {
1728 margin-top: 25px !important;
1729}
1730.amountalreadypaid {
1731}
1732.amountpaymentcomplete {
1733 color: var(--amountpaymentcomplete);
1734 font-weight: bold;
1735}
1736.amountremaintopay {
1737 color: var(--amountremaintopaycolor);
1738 font-weight: bold;
1739}
1740.amountremaintopayback {
1741 font-weight: bold;
1742}
1743.amountpaymentneutral {
1744 color: var(--amountremaintopaybackcolor);
1745 font-weight: bold;
1746 font-size: 1.4em;
1747}
1748
1749.onlinepaymentbody .amountpaymentcomplete {
1750 background-color: var(--amountpaymentcomplete);
1751 color: #fff;
1752 padding: 5px;
1753 border-radius: 5px;
1754}
1755
1756.savingdocmask {
1757 margin-top: 6px;
1758 margin-bottom: 12px;
1759}
1760#builddoc_form ~ .showlinkedobjectblock {
1761 margin-top: 20px;
1762}
1763
1764/* For the long description of module */
1765.moduledesclong p img,.moduledesclong p a img {
1766 max-width: 90% !important;
1767 height: auto !important;
1768}
1769.imgdoc {
1770 margin: 18px;
1771 border: 1px solid #ccc;
1772 box-shadow: 1px 1px 25px #aaa;
1773 max-width: calc(100% - 56px);
1774}
1775.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 {
1776 color: #505;
1777}
1778
1779.fa-15 {
1780 font-size: 1.5em;
1781}
1782
1783/* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
1784/*.table-responsive {
1785 width: calc(100% - 330px);
1786 margin-bottom: 15px;
1787 overflow-y: hidden;
1788 -ms-overflow-style: -ms-autohiding-scrollbar;
1789}*/
1790/* Style used for most tables */
1791div.fiche>div.tabBar>form>div.div-table-responsive {
1792 min-height: 392px;
1793}
1794.div-table-responsive, .div-table-responsive-no-min {
1795 overflow-x: auto;
1796 min-height: 0.01%;
1797}
1798.div-table-responsive {
1799 line-height: var(--heightrow);
1800}
1801/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
1802div.fiche>form>div.div-table-responsive, div.fiche>form>div.div-table-responsive-no-min {
1803 overflow-x: auto;
1804}
1805div.fiche>form>div.div-table-responsive {
1806 min-height: 392px;
1807}
1808
1809.flexcontainer {
1810 <?php if (in_array($conf->browser->name, array('chrome', 'firefox'))) {
1811 echo 'display: inline-flex;'."\n";
1812 } ?>
1813 flex-flow: row wrap;
1814 justify-content: flex-start;
1815}
1816.thumbstat {
1817 flex: 1 1 116px;
1818}
1819.thumbstat150 {
1820 flex: 1 1 150px;
1821}
1822.thumbstat, .thumbstat150 {
1823 flex-grow: 1;
1824 flex-shrink: 1;
1825 /* flex-basis: 140px; */
1826 /* min-width: 150px; */
1827 width: 158px;
1828 justify-content: flex-start;
1829 align-self: flex-start;
1830}
1831
1832select.selectarrowonleft {
1833 direction: rtl;
1834}
1835select.selectarrowonleft option {
1836 direction: ltr;
1837}
1838
1839table[summary="list_of_modules"] .fa-cog {
1840 font-size: 1.5em;
1841}
1842
1843.linkedcol-element {
1844 min-width: 100px;
1845}
1846.linkedcol-amount {
1847 white-space: nowrap;
1848}
1849.linkedcol-date {
1850 text-align: center;
1851}
1852
1853.img-skinthumb {
1854 width: 160px;
1855 height: 100px;
1856}
1857
1858.maxscreenheightless200 {
1859 max-height: <?php echo isset($_SESSION['dol_screenheight']) ? max(500, (int) $_SESSION['dol_screenheight'] - 200) : 700; ?>px; /* we guarantee height of 500 */
1860}
1861.maxscreenheightless300 {
1862 max-height: <?php echo isset($_SESSION['dol_screenheight']) ? max(400, (int) $_SESSION['dol_screenheight'] - 300) : 700; ?>px; /* we guarantee height of 500 */
1863}
1864
1865tr.nobottom td {
1866 border-bottom: 0px !important;
1867}
1868
1869
1870/* ============================================================================== */
1871/* Styles to hide objects */
1872/* ============================================================================== */
1873.clearboth { clear:both; }
1874.hideobject { display: none; }
1875.minwidth25 { min-width: 25px; }
1876.minwidth50 { min-width: 50px; }
1877.minwidth75 { min-width: 75px; }
1878.nominwidth { min-width: fit-content !important; }
1879/* rule for not too small screen only */
1880@media only screen and (min-width: <?php echo !getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3') ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px)
1881{
1882 .width20 { width: 20px; }
1883 .width25 { width: 25px; }
1884 .width50 { width: 50px; }
1885 .width75 { width: 75px; }
1886 .width100 { width: 100px; }
1887 .width200 { width: 200px; }
1888 .minwidth100 { min-width: 100px; }
1889 .minwidth150 { min-width: 150px; }
1890 .minwidth200 { min-width: 200px; }
1891 .minwidth250 { min-width: 250px; }
1892 .minwidth300 { min-width: 300px; }
1893 .minwidth400 { min-width: 400px; }
1894 .minwidth500 { min-width: 500px; }
1895 .minwidth50imp { min-width: 50px !important; }
1896 .minwidth75imp { min-width: 75px !important; }
1897 .minwidth100imp { min-width: 100px !important; }
1898 .minwidth125imp { min-width: 125px !important; }
1899 .minwidth200imp { min-width: 200px !important; }
1900 .minwidth250imp { min-width: 250px !important; }
1901 .minwidth300imp { min-width: 300px !important; }
1902 .minwidth400imp { min-width: 400px !important; }
1903 .minwidth500imp { min-width: 500px !important; }
1904}
1905.widthauto { width: auto; }
1906.width20 { width: 20px; }
1907.width25 { width: 25px; }
1908.width40 { width: 40px; }
1909.width50 { width: 50px; }
1910.width75 { width: 75px; }
1911.width100 { width: 100px; }
1912.width125 { width: 125px; }
1913.width150 { width: 150px; }
1914.width200 { width: 200px; }
1915.width250 { width: 250px; }
1916.width300 { width: 300px; }
1917.width400 { width: 400px; }
1918.width500 { width: 500px; }
1919.maxwidth25 { max-width: 25px; }
1920.maxwidth40 { max-width: 40px; }
1921.maxwidth50 { max-width: 50px; }
1922.maxwidth75 { max-width: 75px; }
1923.maxwidthdate { max-width: 85px; }
1924.maxwidth100 { max-width: 100px; }
1925.maxwidth125 { max-width: 125px; }
1926.maxwidth150 { max-width: 150px; }
1927.maxwidth200 { max-width: 200px; }
1928.maxwidth250 { max-width: 250px; }
1929.maxwidth300 { max-width: 300px; }
1930.maxwidth400 { max-width: 400px; }
1931.maxwidth500 { max-width: 500px; }
1932.maxwidth750 { max-width: 750px; }
1933.maxwidth1000 { max-width: 1000px; }
1934.maxwidth50imp { max-width: 50px !important; }
1935.maxwidth75imp { max-width: 75px !important; }
1936
1937.minwidth100onall { min-width: 100px !important; }
1938.minwidth200onall { min-width: 200px !important; }
1939.minwidth250onall { min-width: 250px !important; }
1940
1941.minheight20 { min-height: 20px; }
1942.minheight30 { min-height: 30px; }
1943.minheight40 { min-height: 40px; }
1944.titlefieldcreate { width: 20%; }
1945.titlefield { /* width: 25%; */ min-width: 150px; width: 25%; }
1946.titlefieldmiddle { width: 50%; }
1947.imgmaxwidth180 { max-width: 180px; }
1948.imgmaxheight50 { max-height: 50px; }
1949
1950.width20p { width:20%; }
1951.width25p { width:25%; }
1952.width40p { width:40%; }
1953.width50p { width:50%; }
1954.width60p { width:60%; }
1955.width75p { width:75%; }
1956.width80p { width:80%; }
1957.width100p { width:100%; }
1958
1959
1960/* Force values for small screen 1400 */
1961@media only screen and (max-width: 1400px)
1962{
1963 .titlefield { /* width: 30% !important; */ }
1964 .titlefieldcreate { width: 30% !important; }
1965 .minwidth50imp { min-width: 50px !important; }
1966 .minwidth75imp { min-width: 75px !important; }
1967 .minwidth100imp { min-width: 100px !important; }
1968 .minwidth125imp { min-width: 125px !important; }
1969 .minwidth150imp { min-width: 150px !important; }
1970 .minwidth200imp { min-width: 200px !important; }
1971 .minwidth250imp { min-width: 250px !important; }
1972 .minwidth300imp { min-width: 300px !important; }
1973 .minwidth400imp { min-width: 300px !important; }
1974 .minwidth500imp { min-width: 300px !important; }
1975
1976 .linkedcol-element {
1977 min-width: unset;
1978 }
1979}
1980
1981/* Force values for small screen 1000 */
1982@media only screen and (max-width: 1000px)
1983{
1984 .maxwidthonsmartphone { max-width: 100px; }
1985 .minwidth50imp { min-width: 50px !important; }
1986 .minwidth75imp { min-width: 70px !important; }
1987 .minwidth100imp { min-width: 100px !important; }
1988 .minwidth125imp { min-width: 125px !important; }
1989 .minwidth150imp { min-width: 110px !important; }
1990 .minwidth200imp { min-width: 110px !important; }
1991 .minwidth250imp { min-width: 115px !important; }
1992 .minwidth300imp { min-width: 120px !important; }
1993 .minwidth400imp { min-width: 150px !important; }
1994 .minwidth500imp { min-width: 250px !important; }
1995}
1996
1997/* Set a width. Note: add also a max-width, for example maxwidth500, that will be used in priority */
1998select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection), input.widthcentpercentminusx {
1999 width: calc(100% - 50px) !important;
2000 display: inline-block;
2001}
2002select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
2003 width: calc(100% - 70px) !important;
2004 display: inline-block;
2005}
2006
2007/* Force values for small screen 767 */
2008@media only screen and (max-width: 767px)
2009{
2010 body {
2011 font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?>;
2012 }
2013 div.refidno {
2014 font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?> !important;
2015 }
2016 .divadvancedsearchfield {
2017 padding-left: 5px;
2018 padding-right: 5px;
2019 }
2020
2021 div.divphotoref {
2022 padding-right: 10px !important;
2023 }
2024
2025 .hideonsmartphone { display: none; }
2026 .hideonsmartphoneimp { display: none !important; }
2027
2028 .margintoponsmartphone { margin-top: 6px; }
2029
2030 select.minwidth100imp, select.minwidth100, select.minwidth200, select.minwidth200imp, select.minwidth300 {
2031 width: calc(100% - 40px) !important;
2032 display: inline-block;
2033 }
2034 select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
2035 width: calc(100% - 70px) !important;
2036 display: inline-block;
2037 }
2038
2039 input.maxwidthinputfileonsmartphone {
2040 width: 175px;
2041 }
2042
2043 input.buttonpayment, button.buttonpayment, div.buttonpayment {
2044 min-width: 270px;
2045 }
2046
2047 .smallonsmartphone {
2048 font-size: 0.8em;
2049 }
2050
2051 .nopaddingtoponsmartphone {
2052 padding-top: 0 !important;
2053 }
2054 .nopaddingbottomonsmartphone {
2055 padding-bottom: 0 !important;
2056 }
2057}
2058
2059/* Force values for small screen 570 */
2060@media only screen and (max-width: 570px)
2061{
2062 body {
2063 font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?>;
2064 }
2065
2066 div.refidno {
2067 font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?> !important;
2068 }
2069
2070 .login_vertical_align {
2071 padding-left: 0;
2072 }
2073 .login_table input#username, .login_table input#password, .login_table input#securitycode {
2074 margin-left: 5px !important;
2075 }
2076 div#login_left, div#login_right {
2077 min-width: 150px !important;
2078 padding-left: 5px !important;
2079 padding-right: 5px !important;
2080 }
2081 .login_table div#login_right .tdinputlogin, .login_table div#login_right .tdinputlogin input {
2082 min-width: 150px !important;
2083 }
2084
2085 .divmainbodylarge { margin-left: 10px; margin-right: 10px; }
2086
2087 .tdoverflowonsmartphone {
2088 max-width: 0;
2089 overflow: hidden;
2090 text-overflow: ellipsis;
2091 white-space: nowrap;
2092 }
2093 .tdoverflowmax100onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
2094 max-width: 100px;
2095 overflow: hidden;
2096 text-overflow: ellipsis;
2097 white-space: nowrap;
2098 }
2099 .tdoverflowmax150onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
2100 max-width: 100px;
2101 overflow: hidden;
2102 text-overflow: ellipsis;
2103 white-space: nowrap;
2104 }
2105
2106 div.fiche {
2107 margin-top: <?php print($dol_hide_topmenu ? '12' : '6'); ?>px !important;
2108 }
2109 .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 {
2110 height: 40px !important;
2111 }
2112
2113 div.tabs div.tab a.tab {
2114 max-width: 200px;
2115 overflow: hidden;
2116 text-overflow: ellipsis;
2117 white-space: nowrap;
2118 }
2119
2120 .quatrevingtpercent, .inputsearch {
2121 width: 95%;
2122 }
2123
2124 select {
2125 padding-top: 4px;
2126 padding-bottom: 5px;
2127 }
2128
2129 .login_table .tdinputlogin {
2130 min-width: unset !important;
2131 }
2132 input, input[type=text], input[type=password], select, textarea {
2133 min-width: 20px;
2134 min-height: 1.4em;
2135 line-height: 1.4em;
2136 }
2137
2138 .noenlargeonsmartphone { width : 50px !important; display: inline !important; }
2139 .maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
2140 .maxwidth50onsmartphone { max-width: 40px; }
2141 .maxwidth75onsmartphone { max-width: 50px; }
2142 .maxwidth100onsmartphone { max-width: 70px; }
2143 .maxwidth125onsmartphone { max-width: 100px; }
2144 .maxwidth150onsmartphone { max-width: 120px; }
2145 .maxwidth150onsmartphoneimp { max-width: 120px !important; }
2146 .maxwidth200onsmartphone { max-width: 200px; }
2147 .maxwidth250onsmartphone { max-width: 250px; }
2148 .maxwidth300onsmartphone { max-width: 300px; }
2149 .maxwidth400onsmartphone { max-width: 400px; }
2150 .minwidth50imp { min-width: 50px !important; }
2151 .minwidth75imp { min-width: 75px !important; }
2152 .minwidth100imp { min-width: 100px !important; }
2153 .minwidth125imp { min-width: 125px !important; }
2154 .minwidth150imp { min-width: 110px !important; }
2155 .minwidth200imp { min-width: 110px !important; }
2156 .minwidth250imp { min-width: 115px !important; }
2157 .minwidth300imp { min-width: 120px !important; }
2158 .minwidth400imp { min-width: 150px !important; }
2159 .minwidth500imp { min-width: 250px !important; }
2160 .titlefield { width: auto; min-width: unset; }
2161 .titlefieldcreate { width: auto; }
2162
2163 #tooltip {
2164 position: absolute;
2165 width: <?php print dol_size(300, 'width'); ?>px;
2166 }
2167
2168 /* intput, input[type=text], */
2169 select {
2170 width: 98%;
2171 min-width: 40px;
2172 }
2173
2174 div.divphotoref {
2175 padding-<?php echo $right; ?>: 5px;
2176 padding-bottom: 5px;
2177 }
2178 img.photoref, div.photoref {
2179 border: none;
2180 -webkit-box-shadow: none;
2181 box-shadow: none;
2182 padding: 4px;
2183 height: 20px;
2184 width: 20px;
2185 object-fit: contain;
2186 }
2187
2188 div.statusref {
2189 padding-right: 10px;
2190 max-width: 55%;
2191 }
2192 div.statusref img {
2193 padding-right: 3px !important;
2194 }
2195 div.statusrefbis {
2196 padding-right: 3px !important;
2197 }
2198
2199 input.buttonpayment {
2200 min-width: 300px;
2201 }
2202}
2203.linkobject { cursor: pointer; }
2204
2205table.tableforfield tr:not(.liste_titre)>td:first-of-type, tr.trforfield:not(.liste_titre)>td:first-of-type, div.tableforfield div.tagtr:not(.liste_titre)>div.tagtd:first-of-type {
2206 color: var(--tableforfieldcolor);
2207}
2208
2209<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2210.hideonprint { display: none !important; }
2211<?php } ?>
2212
2213
2214
2215/* ============================================================================== */
2216/* Styles for dragging lines */
2217/* ============================================================================== */
2218
2219.dragClass {
2220 color: #002255;
2221}
2222td.showDragHandle {
2223 cursor: move;
2224}
2225.tdlineupdown {
2226 white-space: nowrap;
2227 min-width: 10px;
2228}
2229
2230
2231/* ============================================================================== */
2232/* Styles de positionnement des zones */
2233/* ============================================================================== */
2234
2235#id-container {
2236 margin-top: 0px;
2237 margin-bottom: 0px;
2238 display: table;
2239 table-layout: fixed;
2240 width: 100%;
2241}
2242#id-right, #id-left {
2243 display: table-cell;
2244 float: none;
2245 vertical-align: top;
2246}
2247#id-top {
2248}
2249#id-left {
2250 min-height: 100%;
2251 position: relative;
2252 width: 213px;
2253 padding-top: 20px;
2254}
2255#id-right { /* This must stay id-right and not be replaced with echo $right */
2256 width: 100%;
2257 padding-bottom: 20px;
2258<?php if (GETPOST('optioncss', 'aZ09') != 'print') { ?>
2259 padding-<?php print $left; ?>: 229px;
2260 padding-top: 16px;
2261<?php } ?>
2262}
2263.bodyforlist #id-right {
2264 padding-bottom: 4px;
2265}
2266
2267/* DOL_XXX For having horizontal scroll into array (like with smartphone) */
2268
2269.classforhorizontalscrolloftabs #id-container {
2270 width: 100%;
2271}
2272.classforhorizontalscrolloftabs .side-nav {
2273 display: block;
2274 float: left;
2275}
2276.classforhorizontalscrolloftabs #id-right {
2277 width:calc(100% - 210px);
2278 display: inline-block;
2279}
2280
2281
2282
2283.side-nav {
2284<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2285 display: none;
2286<?php } else { ?>
2287 background: var(--colorbackvmenu1);
2288 border-<?php echo $right; ?>: 1px solid rgba(0,0,0,0.2);
2289 box-shadow: 3px 0 6px -2px #eee;
2290 bottom: 0;
2291 color: #333;
2292 display: block;
2293 font-family: "RobotoDraft","Roboto",sans-serif;
2294 <?php echo $left; ?>: 0;
2295 <?php
2296 if (in_array($conf->browser->layout, array('phone', 'tablet')) && !getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) {
2297 } else { ?>
2298 position: fixed;
2299 top: 45px;
2300 <?php } ?>
2301 z-index: 90;
2302 -webkit-transform: translateZ(0);
2303 -moz-transform: translateZ(0);
2304 -ms-transform: translateZ(0);
2305 -o-transform: translateZ(0);
2306 transform: translateZ(0);
2307 -webkit-transform-style: preserve-3d;
2308 -moz-transform-style: preserve-3d;
2309 -ms-transform-style: preserve-3d;
2310 -o-transform-style: preserve-3d;
2311 transform-style: preserve-3d;
2312 -webkit-transition-delay: 0.1s;
2313 -moz-transition-delay: 0.1s;
2314 transition-delay: 0.1s;
2315 -webkit-transition-duration: 0.2s;
2316 -moz-transition-duration: 0.2s;
2317 transition-duration: 0.2s;
2318 -webkit-transition-property: -webkit-transform;
2319 -moz-transition-property: -moz-transform;
2320 transition-property: transform;
2321 -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2322 -moz-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2323 transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2324 -webkit-overflow-scrolling: touch;
2325 <?php
2326 if (in_array($conf->browser->layout, array('phone', 'tablet')) && !getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) {
2327 } else { ?>
2328 overflow-x: hidden;
2329 overflow-y: auto;
2330 <?php }
2331}
2332?>
2333}
2334
2335
2339.side-nav-vert, #id-right {
2340 transition: padding-left 0.5s ease, margin-left 0.5s ease;
2341}
2342
2343.side-nav, .login_block {
2344 transition: left 0.5s ease;
2345}
2346
2347body.sidebar-collapse .side-nav-vert, body.sidebar-collapse #id-right {
2348 margin-left: 0;
2349 padding-left:0
2350}
2351
2352
2353.side-nav-vert {
2354 margin-<?php echo $left; ?>: 228px;
2355}
2356
2357/* body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block_other, body.sidebar-collapse #topmenu-login-dropdown */
2358body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block_other
2359{
2360 display: none;
2361}
2362<?php if (!getDolGlobalString('THEME_DISABLE_STICKY_TOPMENU')) { ?>
2363.side-nav-vert {
2364 position: sticky;
2365 top: 0px;
2366 z-index: 1005;
2367}
2368<?php } ?>
2369
2370
2371/* For smartphone (testmenuhider is on) */
2372<?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && !getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { ?>
2373#id-container {
2374 width: 100%;
2375}
2376.side-nav-vert {
2377 margin-left: 0;
2378}
2379
2380.side-nav {
2381 <?php
2382 if (in_array($conf->browser->layout, array('phone', 'tablet')) && !getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) {
2383 } else { ?>
2384 overflow-x: initial !important;
2385 overflow-y: scroll;
2386 <?php } ?>
2387 display: block;
2388
2389 position: relative;
2390}
2391
2392
2393
2394div.backgroundsemitransparent {
2395 background:rgba(255, 255, 255, 0.7);
2396 padding-left: 10px;
2397 padding-right: 10px;
2398}
2399
2400
2401
2402/* Login */
2403
2404.login_block_getinfo {
2405 text-align: center;
2406}
2407.login_block_getinfo div.login_block_user {
2408 display: block;
2409}
2410.login_block_getinfo .atoplogin, .login_block_getinfo .atoplogin:hover {
2411 color: #333 !important;
2412}
2413.login_block_elem a span.atoplogin, .login_block_elem span.atoplogin {
2414 vertical-align: middle;
2415}
2416
2417
2418#id-right {
2419 padding-<?php print $left; ?>: 0 ! important;
2420}
2421#id-left {
2422 z-index: 91;
2423 background: var(--colorbackvmenu1);
2424 border-right: 1px solid rgba(0,0,0,0.3);
2425 /* padding-top: 20px; */
2426 <?php
2427 if (in_array($conf->browser->layout, array('phone', 'tablet')) && !getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { ?>
2428 top: 66px ! important;
2429 <?php } else { ?>
2430 top: 60px ! important;
2431 <?php } ?>
2432}
2433div.fiche {
2434 margin-<?php print $left; ?>: 6px !important;
2435 margin-<?php print $right; ?>: 6px !important;
2436}
2437<?php } ?>
2438
2439div.fiche {
2440 margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '30' : '6')); ?>px;
2441 margin-<?php print $right; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '28' : '6')); ?>px;
2442 <?php if (!empty($dol_hide_leftmenu) && !empty($dol_hide_topmenu)) {
2443 print 'margin-top: 12px;';
2444 } ?>
2445 margin-bottom: 15px;
2446}
2447body.onlinepaymentbody div.fiche { /* For online payment page */
2448 margin: 20px !important;
2449}
2450div.fiche>table:first-child {
2451 margin-bottom: 15px !important;
2452}
2453div.fichecenter {
2454 width: 100%;
2455 clear: both; /* This is to have div fichecenter that are true rectangles */
2456}
2457div.fichecenterbis {
2458 margin-top: 8px;
2459}
2460div.fichethirdleft {
2461 <?php if ($conf->browser->layout != 'phone') {
2462 print "float: ".$left.";\n";
2463 } ?>
2464 <?php if ($conf->browser->layout != 'phone') {
2465 print "width: calc(50% - 14px);\n";
2466 } ?>
2467 <?php if ($conf->browser->layout == 'phone') {
2468 print "padding-bottom: 6px;\n";
2469 } ?>
2470}
2471div.fichetwothirdright {
2472 <?php if ($conf->browser->layout != 'phone') {
2473 print "float: ".$right.";\n";
2474 } ?>
2475 <?php if ($conf->browser->layout != 'phone') {
2476 print "width: calc(50% - 14px);\n";
2477 } ?>
2478 <?php if ($conf->browser->layout == 'phone') {
2479 print "padding-bottom: 6px\n";
2480 } ?>
2481}
2482div.fichehalfleft {
2483 <?php if ($conf->browser->layout != 'phone') {
2484 print "float: ".$left.";\n";
2485 } ?>
2486 <?php if ($conf->browser->layout != 'phone') {
2487 print "width: calc(50% - 14px);\n";
2488 } ?>
2489}
2490div.fichehalfright {
2491 <?php if ($conf->browser->layout != 'phone') {
2492 print "float: ".$right.";\n";
2493 } ?>
2494 <?php if ($conf->browser->layout != 'phone') {
2495 print "width: calc(50% - 14px);\n";
2496 } ?>
2497}
2498div.fichehalfright {
2499 <?php if ($conf->browser->layout == 'phone') {
2500 print "margin-top: 10px;\n";
2501 } ?>
2502}
2503
2504/* Force values on one colum for small screen */
2505@media only screen and (max-width: 1499px)
2506{
2507 div.fichehalfleft-lg {
2508 float: none;
2509 width: auto;
2510 }
2511 div.fichehalfright-lg {
2512 float: none;
2513 width: auto;
2514 }
2515
2516 .fichehalfright-lg .fichehalfright {
2517 padding-left:0;
2518 }
2519}
2520
2521/*div.firstcolumn div.box {
2522 padding-right: 10px;
2523}
2524div.secondcolumn div.box {
2525 padding-left: 10px;
2526}*/
2527
2528/* Force values on one colum for small screen */
2529@media only screen and (max-width: 900px)
2530{
2531 div.fiche {
2532 margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : ($dol_hide_leftmenu ? '4' : '20')); ?>px;
2533 margin-<?php print $right; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 8 : 16); ?>px;
2534 <?php if (!empty($conf->dol_hide_leftmenu) && !empty($conf->dol_hide_topmenu)) {
2535 print 'margin-top: 4px;';
2536 } ?>
2537 margin-bottom: 15px;
2538 }
2539 div.fichecenter {
2540 width: 100%;
2541 clear: both; /* This is to have div fichecenter that are true rectangles */
2542 }
2543 div.fichecenterbis {
2544 margin-top: 8px;
2545 }
2546 div.fichethirdleft {
2547 float: none;
2548 width: auto;
2549 padding-bottom: 6px;
2550 }
2551 div.fichetwothirdright {
2552 float: none;
2553 width: auto;
2554 padding-bottom: 6px;
2555 }
2556 div.fichehalfleft {
2557 float: none;
2558 width: auto;
2559 }
2560 div.fichehalfright {
2561 float: none;
2562 width: auto;
2563 }
2564 div.fichehalfright {
2565 margin-top: 10px;
2566 }
2567 div.firstcolumn div.box {
2568 padding-right: 0px;
2569 }
2570 div.secondcolumn div.box {
2571 padding-left: 0px;
2572 }
2573}
2574
2575/* For table into table into card */
2576div.fichehalfright tr.liste_titre:first-child td table.nobordernopadding td {
2577 padding: 0 0 0 0;
2578}
2579div.nopadding {
2580 padding: 0 !important;
2581}
2582
2583.containercenter {
2584 display : table;
2585 margin : 0px auto;
2586}
2587
2588td.nobordernopadding.widthpictotitle.col-picto {
2589 color: #bbb;
2590 opacity: 0.9;
2591}
2592.pictotitle {
2593 margin-<?php echo $right; ?>: 8px;
2594 margin-bottom: 4px;
2595}
2596.pictoobjectwidth {
2597 width: 14px;
2598}
2599span.widthpictotitle {
2600 font-size: 1.3em;
2601}
2602.table-list-of-attached-files .col-picto, .table-list-of-links .col-picto {
2603 opacity: 0.7 !important;
2604 font-size: 1em;
2605 width: 20px;
2606}
2607.table-list-of-attached-files .col-picto .widthpictotitle, .table-list-of-links .col-picto .widthpictotitle {
2608 width: unset;
2609 color: #999;
2610}
2611.pictosubstatus {
2612 padding-left: 2px;
2613 padding-right: 2px;
2614}
2615.pictostatus {
2616 width: 15px;
2617 vertical-align: middle;
2618 margin-top: -3px
2619}
2620.pictowarning, .pictoerror, .pictopreview, .pictonopreview {
2621 padding-<?php echo $left; ?>: 3px;
2622}
2623.pictowarning {
2624 /* vertical-align: text-bottom; */
2625 color: <?php echo $badgeWarning; ?>;
2626}
2627.pictoerror {
2628 color: <?php echo $badgeDanger ?>;
2629}
2630.pictomodule {
2631 width: 14px;
2632}
2633.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
2634.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
2635.tagtdnote span.pictoedit {
2636 opacity: 0.6;
2637}
2638img.hideonsmartphone.pictoactionview {
2639 vertical-align: bottom;
2640}
2641
2642.pictofixedwidth {
2643 text-align: <?php echo $left; ?>;
2644 width: 20px;
2645 /* padding-right: 0; */
2646}
2647
2648.colorthumb {
2649 padding-left: 1px !important;
2650 padding-right: 1px;
2651 padding-top: 1px;
2652 padding-bottom: 1px;
2653 width: 50px;
2654 text-align:center;
2655}
2656div.attacharea {
2657 padding-top: 18px;
2658 padding-bottom: 10px;
2659}
2660div.attachareaformuserfileecm {
2661 padding-top: 0;
2662 padding-bottom: 0;
2663}
2664div.arearef {
2665 padding-top: 2px;
2666 padding-bottom: 5px;
2667 margin-bottom: 10px;
2668}
2669div.arearefnobottom {
2670 padding-top: 2px;
2671 padding-bottom: 4px;
2672}
2673div.heightref {
2674 min-height: 80px;
2675}
2676div.divphotoref:last-child {
2677 padding-<?php echo $right; ?>: 20px;
2678}
2679div.paginationref {
2680 padding-bottom: 10px;
2681}
2682div.statusref {
2683 float: right;
2684 padding-left: 12px;
2685 margin-top: 8px;
2686 margin-bottom: 10px;
2687 clear: both;
2688}
2689div.statusref img {
2690 padding-left: 8px;
2691 padding-right: 9px;
2692 vertical-align: text-bottom;
2693 width: 18px;
2694}
2695div.statusrefbis {
2696 padding-left: 8px;
2697 padding-right: 9px;
2698 vertical-align: text-bottom;
2699}
2700img.photoref, div.photoref {
2701 border: 1px solid #CCC;
2702 -webkit-box-shadow: 3px 3px 4px #DDD;
2703 box-shadow: 3px 3px 4px #DDD;
2704 padding: 4px;
2705 height: 80px;
2706 width: 80px;
2707 object-fit: contain;
2708}
2709img.photokanban, div.photokanban {
2710 padding: 0;
2711 border: none;
2712 box-shadow: none;
2713 vertical-align: middle;
2714}
2715
2716div.photoref .fa, div.photoref .fas, div.photoref .far {
2717 font-size: 2.5em;
2718}
2719
2720img.fitcontain {
2721 object-fit: contain;
2722}
2723div.photoref {
2724 display:table-cell;
2725 vertical-align:middle;
2726 text-align:center;
2727}
2728.difforspanimgright {
2729 display: table-cell;
2730 padding-right: 10px;
2731}
2732img.photorefnoborder {
2733 padding: 2px;
2734 height: 48px;
2735 width: 48px;
2736 object-fit: contain;
2737 border: 1px solid #AAA;
2738 border-radius: 100px;
2739}
2740.underrefbanner {
2741}
2742.underbanner {
2743 border-bottom: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
2744}
2745
2746.trextrafieldseparator td, .trextrafields_collapse_last td {
2747 border-bottom: 1px solid var(--colortopbordertitle1) !important;
2748}
2749.tdhrthin {
2750 margin: 0 !important;
2751 padding-bottom: 0 !important;
2752}
2753/* Payment Screen : Pointer cursor in the autofill image */
2754.AutoFillAmount {
2755 cursor:pointer;
2756}
2757
2758
2759/* ============================================================================== */
2760/* Menu top et 1ere ligne tableau */
2761/* ============================================================================== */
2762
2763<?php
2764$minwidthtmenu = 66; /* minimum width for one top menu entry */
2765$heightmenu = 48; /* height of top menu, part with image */
2766$heightmenu2 = 48; /* height of top menu, ârt with login */
2767$disableimages = 0;
2768$maxwidthloginblock = 110;
2769if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 1) {
2770 $heightmenu = 30;
2771 $disableimages = 1;
2772 $maxwidthloginblock = 180;
2773 $minwidthtmenu = 0;
2774}
2775?>
2776
2777div#tmenu_tooltip {
2778<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2779 display:none;
2780<?php } else { ?>
2781 background: var(--colorbackhmenu1);
2782 /*
2783 background-image: linear-gradient(to top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
2784 background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
2785 background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
2786 background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
2787 background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(128,128,128,.3)) );
2788 */
2789<?php } ?>
2790}
2791
2792div#tmenu_tooltip {
2793<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2794 display:none;
2795<?php } else { ?>
2796 /* padding-<?php echo $right; ?>: <?php echo($maxwidthloginblock - 10); ?>px; */
2797<?php } ?>
2798}
2799
2800li.tmenusel::after, li.tmenusel:hover::after {
2801 content: "";
2802 position: absolute;
2803 bottom: 0px;
2804 left: 50%;
2805 left: calc(50% - 6px);
2806 width: 0;
2807 height: 0;
2808 border-style: solid;
2809 border-width: 0px 6px 5px 6px;
2810 border-color: transparent transparent #ffffff transparent;
2811}
2812
2813div.tmenusep {
2814<?php if ($disableimages) { ?>
2815 display: none;
2816<?php } ?>
2817}
2818
2819div.tmenudiv {
2820<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2821 display:none;
2822<?php } else { ?>
2823 position: relative;
2824 display: block;
2825 white-space: nowrap;
2826 border-top: 0px;
2827 border-<?php print $left; ?>: 0px;
2828 border-<?php print $right; ?>: 0px;
2829 padding: 0px 0px 0px 0px; /* t r b l */
2830 margin: 0px 0px 0px 0px; /* t r b l */
2831 font-size: 13px;
2832 font-weight: normal;
2833 color: #000000;
2834 text-decoration: none;
2835<?php } ?>
2836}
2837div.tmenudisabled, a.tmenudisabled {
2838 opacity: 0.6;
2839}
2840a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
2841 font-weight: normal;
2842 padding: 0px 5px 0px 5px;
2843 white-space: nowrap;
2844 color: var(--colortextbackhmenu);
2845 text-decoration: none;
2846 cursor: not-allowed;
2847}
2848span.mainmenuaspan.tmenudisabled {
2849 color: var(--colortextbackhmenu);
2850 opacity: 0.5;
2851 cursor: not-allowed;
2852}
2853
2854a.disabled, span.tmenu {
2855 color: #aaa;
2856 text-decoration: none !important;
2857 cursor: default;
2858}
2859
2860a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
2861 font-weight: normal;
2862 padding: 0px 5px 0px 5px;
2863 white-space: nowrap;
2864 /* text-shadow: 1px 1px 1px #000000; */
2865 color: var(--colortextbackhmenu);
2866 text-decoration: none;
2867}
2868a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
2869 font-weight: normal;
2870 padding: 0px 5px 0px 5px;
2871 margin: 0px 0px 0px 0px;
2872 white-space: nowrap;
2873 color: var(--colortextbackhmenu);
2874 text-decoration: none !important;
2875}
2876
2877
2878ul.tmenu { /* t r b l */
2879 padding: 0px 0px 0px 0px;
2880 margin: 0px 0px 0px 0px;
2881 list-style: none;
2882 display: table;
2883 margin-right: 65px; /* to keep space for bookmark */
2884 padding-left: 5px;
2885}
2886ul.tmenu li {
2887 background: var(--colorbackhmenu1);
2888 /*
2889 background-image: linear-gradient(to top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
2890 background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
2891 background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
2892 background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
2893 background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(0,0,0,.3)) );
2894 */
2895}
2896li.tmenu, li.tmenusel {
2897 <?php print $minwidthtmenu ? 'min-width: '.$minwidthtmenu.'px;' : ''; ?>
2898 text-align: center;
2899 vertical-align: bottom;
2900 <?php if (!getDolGlobalString('MAIN_MENU_INVERT')) { ?>
2901 float: <?php print $left; ?>;
2902 <?php if (!$disableimages) { ?>
2903 height: <?php print $heightmenu; ?>px;
2904 padding: 0px 0px 2px 0px;
2905 <?php } else { ?>
2906 padding: 0px 0px 0px 0px;
2907 <?php }
2908 } ?>
2909 position:relative;
2910 display: block;
2911 margin: 0px 0px 0px 0px;
2912 font-weight: normal;
2913}
2914li.tmenu:hover {
2915 opacity: .50; /* show only a slight shadow */
2916}
2917
2918.tmenuend .tmenuleft { width: 0px; }
2919.tmenuend { display: none; }
2920
2921div.tmenuleft
2922{
2923 float: <?php print $left; ?>;
2924 margin-top: 0px;
2925 <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
2926 width: 5px;
2927 <?php if (!$disableimages) { ?>
2928 height: <?php print $heightmenu + 4; ?>px;
2929 <?php } ?>
2930 <?php } ?>
2931}
2932div.tmenucenter
2933{
2934 padding-left: 0px;
2935 padding-right: 0px;
2936 <?php if ($disableimages) { ?>
2937 padding-top: 10px;
2938 height: 26px;
2939 <?php } else { ?>
2940 padding-top: 2px;
2941 height: <?php print $heightmenu; ?>px;
2942 <?php } ?>
2943 width: 100%;
2944}
2945div.menu_titre {
2946 padding-bottom: 5px;
2947 overflow: hidden;
2948 text-overflow: ellipsis;
2949}
2950.mainmenuaspan
2951{
2952 padding-<?php print $left; ?>: 2px;
2953 padding-<?php print $right; ?>: 2px;
2954 font-family: Roboto,<?php echo $fontlist; ?>;
2955 font-weight: 400;
2956}
2957
2958div.mainmenu {
2959 position : relative;
2960 background-repeat:no-repeat;
2961 background-position:center top;
2962 height: <?php echo($heightmenu - 22); ?>px;
2963 margin-left: 0px;
2964 min-width: 40px;
2965}
2966a.tmenuimage:focus, .mainmenu.topmenuimage:focus {
2967 outline: none;
2968}
2969
2970
2971div.mainmenu.home{
2972 background-position-x: center;
2973}
2974
2975div.mainmenu.menu {
2976 top: 10px;
2977 left: 1px;
2978}
2979
2980
2981
2982/* Do not load menu img if hidden to save bandwidth */
2983<?php if (empty($dol_hide_topmenu)) { ?>
2984 <?php include dol_buildpath($path.'/theme/'.$theme.'/main_menu_fa_icons.inc.php', 0); ?>
2985
2986 <?php
2987 // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
2988
2989 $moduletomainmenu = array(
2990 'user'=>'', 'syslog'=>'', 'societe'=>'companies', 'projet'=>'project', 'propale'=>'commercial', 'commande'=>'commercial',
2991 'produit'=>'products', 'service'=>'products', 'stock'=>'products',
2992 'don'=>'accountancy', 'tax'=>'accountancy', 'banque'=>'accountancy', 'facture'=>'accountancy', 'compta'=>'accountancy', 'accounting'=>'accountancy', 'adherent'=>'members', 'import'=>'tools', 'export'=>'tools', 'mailing'=>'tools',
2993 'contrat'=>'commercial', 'ficheinter'=>'commercial', 'ticket'=>'ticket', 'deplacement'=>'commercial',
2994 'fournisseur'=>'companies',
2995 'barcode'=>'', 'fckeditor'=>'', 'categorie'=>'',
2996 );
2997 $mainmenuused = 'home';
2998 foreach ($conf->modules as $val) {
2999 $mainmenuused .= ','.(isset($moduletomainmenu[$val]) ? $moduletomainmenu[$val] : $val);
3000 }
3001 $mainmenuusedarray = array_unique(explode(',', $mainmenuused));
3002
3003 $generic = 1;
3004 // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
3005 $divalreadydefined = array('home', 'companies', 'products', 'mrp', 'commercial', 'externalsite', 'accountancy', 'project', 'tools', 'members', 'agenda', 'ftp', 'holiday', 'hrm', 'bookmark', 'cashdesk', 'takepos', 'ecm', 'geoipmaxmind', 'gravatar', 'clicktodial', 'paypal', 'stripe', 'webservices', 'website');
3006 // Put here list of menu entries we are sure we don't want
3007 $divnotrequired = array('multicurrency', 'salaries', 'ticket', 'margin', 'opensurvey', 'paybox', 'expensereport', 'incoterm', 'prelevement', 'propal', 'workflow', 'notification', 'supplier_proposal', 'cron', 'product', 'productbatch', 'expedition');
3008 foreach ($mainmenuusedarray as $val) {
3009 if (empty($val) || in_array($val, $divalreadydefined)) {
3010 continue;
3011 }
3012 if (in_array($val, $divnotrequired)) {
3013 continue;
3014 }
3015 //print "XXX".$val;
3016
3017 $found = 0;
3018 $url = '';
3019 $constformoduleicon = 'MAIN_MODULE_'.strtoupper($val).'_ICON';
3020 $iconformodule = getDolGlobalString($constformoduleicon);
3021 if ($iconformodule) {
3022 if (preg_match('/^fa\-/', $iconformodule)) {
3023 // This is a fa icon
3024 } else {
3025 $url = dol_buildpath('/'.$val.'/img/'.$iconformodule.'.png', 1);
3026 }
3027 $found = 1;
3028 } else {
3029 // Search img file in module dir
3030 foreach ($conf->file->dol_document_root as $dirroot) {
3031 if (file_exists($dirroot."/".$val."/img/".$val.".png")) {
3032 $url = dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
3033 $found = 1;
3034 break;
3035 }
3036 }
3037 }
3038
3039 // Output entry for menu icon in CSS
3040 if (!$found) {
3041 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";
3042 print 'div.mainmenu.'.$val.' span::before {'."\n";
3043 print 'content: "\f249";'."\n";
3044 print '}'."\n";
3045 $generic++;
3046 } else {
3047 if ($url) {
3048 print "div.mainmenu.".$val." {\n";
3049 print " background-image: url(".$url.");\n";
3050 print " background-position-y: 3px;\n";
3051 print " filter: saturate(0);\n";
3052 print "}\n";
3053 } else {
3054 print '/* icon for module '.$val.' is a fa icon */'."\n";
3055 }
3056 }
3057 }
3058 // End of part to add more div class css
3059} // End test if $dol_hide_topmenu?>
3060
3061
3062.tmenuimage {
3063 padding:0 0 0 0 !important;
3064 margin:0 0px 0 0 !important;
3065 <?php if ($disableimages) { ?>
3066 display: none;
3067 <?php } ?>
3068}
3069.topmenuimage {
3070 <?php if ($disableimages) { ?>
3071 display: none;
3072 <?php } ?>
3073}
3074a.tmenuimage:hover {
3075 text-decoration: none;
3076}
3077a.tmenuimage {
3078 display: block;
3079}
3080a.tmenuimage:focus {
3081 outline: none;
3082}
3083
3084
3085/* Login */
3086
3087.bodylogin
3088{
3089 background: #f0f0f0;
3090 display: table;
3091 position: absolute;
3092 height: 100%;
3093 width: 100%;
3094}
3095.login_center {
3096 display: table-cell;
3097 vertical-align: middle;
3098}
3099.login_vertical_align {
3100 padding: 10px;
3101 padding-bottom: 80px;
3102}
3103form#login {
3104 padding-bottom: 30px;
3105 font-size: 1.2em;
3106 vertical-align: middle;
3107}
3108.login_table_title {
3109 max-width: 530px;
3110 color: #aaa !important;
3111 padding-bottom: 20px;
3112 /* text-shadow: 1px 1px 1px #FFF; */
3113}
3114.login_table label {
3115 text-shadow: 1px 1px 1px #FFF;
3116}
3117.login_table {
3118 margin: 0px auto; /* Center */
3119 padding-left:6px;
3120 padding-right:6px;
3121 padding-top:16px;
3122 padding-bottom:12px;
3123 max-width: 560px;
3124
3125 background-color: #FFFFFF;
3126
3127 -webkit-box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
3128 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
3129
3130 border-radius: 4px;
3131 border:solid 1px rgba(80,80,80,.4);
3132
3133 border-top:solid 1px #f8f8f8;
3134}
3135.login_table input#username, .login_table input#password, .login_table input#securitycode{
3136 border: none;
3137 /* border-bottom: solid 1px rgba(180,180,180,.4); */
3138 padding: 5px;
3139 margin-left: 5px;
3140 margin-top: 5px;
3141 margin-bottom: 5px;
3142}
3143.login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
3144 outline: none !important;
3145}
3146.login_table .trinputlogin {
3147 margin: 8px;
3148}
3149.login_table .tdinputlogin {
3150 background-color: #fff;
3151 min-width: 220px;
3152 border-radius: 2px;
3153}
3154.login_table .tdinputlogin {
3155 border-bottom: 1px solid #ccc;
3156}
3157.login_table .tdinputlogin .fa {
3158 padding-left: 10px;
3159 width: 14px;
3160}
3161
3162.login_main_home {
3163 word-break: break-word;
3164 width: fit-content;
3165}
3166.login_main_message {
3167 text-align: center;
3168 max-width: 570px;
3169 margin-bottom: 10px;
3170}
3171.login_main_message .error {
3172 border: 1px solid #caa;
3173 padding: 10px;
3174}
3175div#login_left, div#login_right {
3176 display: inline-block;
3177 min-width: 245px;
3178 padding-top: 10px;
3179 padding-left: 16px;
3180 padding-right: 16px;
3181 text-align: center;
3182 vertical-align: middle;
3183}
3184div#login_right select#entity {
3185 margin-top: 10px;
3186}
3187table.login_table tr td table.none tr td {
3188 padding: 2px;
3189}
3190table.login_table_securitycode {
3191 border-spacing: 0px;
3192}
3193table.login_table_securitycode tr td {
3194 padding-left: 0px;
3195 padding-right: 4px;
3196}
3197#securitycode {
3198 min-width: 60px;
3199}
3200#img_securitycode {
3201 border: 1px solid #f4f4f4;
3202}
3203#img_logo, .img_logo {
3204 max-width: 170px;
3205 max-height: 90px;
3206}
3207.loginbuttonexternal {
3208 width: 300px;
3209 margin: auto;
3210 border: 1px solid #ccc;
3211 padding: 10px;
3212 border-radius: 5px;
3213}
3214
3215
3216.atoplogin.dropdown .dropdown-menu {
3217 display: none;
3218}
3219
3220div.login_block {
3221 top: 0;
3222 padding-top: 3px;
3223 padding-bottom: 3px;
3224 /* border-right: 1px solid rgba(0,0,0,0.2); */
3225 <?php print $left; ?>: 0;
3226<?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && !getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { ?>
3227 position: absolute;
3228<?php } else { ?>
3229 position: fixed;
3230<?php } ?>
3231 z-index: 10;
3232 text-align: center;
3233 vertical-align: middle;
3234 background: var(--colorbackvmenu1);
3235 width: 228px;
3236 height: 68px;
3237 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3238 display: none;
3239 <?php } ?>
3240}
3241.sidebar-collapse div.login_block {
3242 top: -1000px;
3243}
3244div.login_block a {
3245 color: var(--colortexthmenu);
3246 display: inline-block;
3247}
3248div.login_block a .atoploginusername {
3249 color: var(--colortextbackhmenu);
3250 display: inline-block;
3251 overflow: hidden;
3252 max-width: 50px;
3253 text-overflow: ellipsis;
3254}
3255div.login_block span.aversion {
3256 color: var(--colortexthmenu);
3257 filter: contrast(0.7);
3258}
3259div.login_block table {
3260 display: inline;
3261}
3262div.login {
3263 white-space:nowrap;
3264 font-weight: bold;
3265 float: right;
3266}
3267div.login a {
3268 color: var(--colortextvmenu);
3269}
3270div.login a:hover {
3271 color: var(--colortextvmenu);
3272 text-decoration:underline;
3273}
3274div.login_block_user, div.login_block_other { clear: both; }
3275div.login_block_other { padding-top: 15px; }
3276
3277.topnav div.login_block_user {
3278 display: inline-block;
3279 vertical-align: middle;
3280 line-height: <?php echo $disableimages ? '25' : '70'; ?>px;
3281 height: <?php echo $disableimages ? '25' : '70'; ?>px;
3282}
3283.topnav div.login_block_other {
3284 display: inline-block;
3285 vertical-align: middle;
3286 clear: <?php echo $disableimages ? 'none' : 'both'; ?>;
3287 padding-top: 0;
3288 text-align: right;
3289 margin-right: 8px;
3290 max-width: 200px;
3291}
3292
3293.login_block_other .login_block_elem {
3294 height: 25px;
3295 line-height: 25px;
3296}
3297.login_block_elem {
3298 float: right;
3299 vertical-align: middle;
3300 padding: 0px 3px 0px 3px !important;
3301 height: 18px;
3302}
3303.login_block_elem_name {
3304 margin-top: 1px;
3305}
3306a.aversion {
3307 white-space: nowrap;
3308 width: 48px;
3309 overflow: hidden;
3310 text-overflow: ellipsis;
3311 display: block;
3312}
3313
3314.atoplogin, .atoplogin:hover {
3315 color: var(--colortexthmenu) !important;
3316}
3317.alogin, .alogin:hover {
3318 color: #888 !important;
3319 font-weight: normal !important;
3320 font-size: <?php echo is_numeric($fontsizesmaller) ? $fontsizesmaller.'px' : $fontsizesmaller; ?> !important;
3321}
3322.alogin:hover, .atoplogin:hover {
3323 text-decoration:underline !important;
3324}
3325span.fa.atoplogin, span.fa.atoplogin:hover {
3326 font-size: 16px;
3327 text-decoration: none !important;
3328}
3329img.login, img.printer, img.entity {
3330 /* padding: 0px 0px 0px 4px; */
3331 /* margin: 0px 0px 0px 8px; */
3332 text-decoration: none;
3333 color: white;
3334 font-weight: bold;
3335}
3336.userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto { /* size for user photo in login bar */
3337 /* border-radius: 8px; */
3338 width: 20px;
3339 height: 20px;
3340 background-size: contain;
3341 vertical-align: text-bottom;
3342 background-color: #FFF;
3343}
3344img.userphoto { /* size for user photo in lists */
3345 border-radius: 0.75em;
3346 width: 1.5em;
3347 height: 1.5em;
3348 background-size: contain;
3349 vertical-align: middle;
3350}
3351img.userphotosmall { /* size for user photo in lists */
3352 border-radius: 0.6em;
3353 width: 1.2em;
3354 height: 1.2em;
3355 background-size: contain;
3356 vertical-align: middle;
3357}
3358img.userphoto[alt="Gravatar avatar"], img.photouserphoto.dropdown-user-image[alt="Gravatar avatar"] {
3359 background: #fff;
3360}
3361img.userphotopublicvcard {
3362 width: 60px;
3363 height: 60px;
3364 border-radius: 50%;
3365 background-size: contain;
3366 border: 1px solid;
3367 border-color: rgba(128, 128, 128, 0.5);
3368 position: relative;
3369 top: 25px;
3370 left: -110px;
3371}
3372form[name="addtime"] img.userphoto {
3373 border: 1px solid #444;
3374}
3375.span-icon-user {
3376 background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png', 1); ?>);
3377 background-repeat: no-repeat;
3378}
3379.span-icon-password {
3380 background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png', 1); ?>);
3381 background-repeat: no-repeat;
3382}
3383
3384/* ============================================================================== */
3385/* Menu gauche */
3386/* ============================================================================== */
3387
3388div.vmenu, td.vmenu {
3389 margin-<?php print $right; ?>: 2px;
3390 position: relative;
3391 float: <?php print $left; ?>;
3392 padding: 0px;
3393 padding-bottom: 0px;
3394 padding-top: 0px;
3395 width: 222px;
3396}
3397
3398.vmenu {
3399 margin-<?php print $left; ?>: 4px;
3400 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3401 display: none;
3402 <?php } ?>
3403}
3404
3405.vmenusearchselectcombo {
3406 width: 202px;
3407}
3408
3409.menu_contenu {
3410 padding-top: 4px;
3411 padding-bottom: 3px;
3412 overflow: hidden;
3413 text-overflow: ellipsis;
3414}
3415#menu_contenu_logo { padding-right: 4px; }
3416.companylogo { padding-top: 4px; }
3417.searchform { padding-top: 10px; }
3418.searchform .bordertransp { border: 0; }
3419#divsearchforms2 form.searchform .button { border: none !important; }
3420
3421a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active, span.vmenu, span.vsmenu {
3422 white-space: nowrap; font-size:<?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold;
3423}
3424span.vmenudisabled, font.vmenudisabled { font-size:<?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; white-space: nowrap; }
3425a.vmenu:link, a.vmenu:visited {
3426 color: var(--colortextbackvmenu);
3427}
3428
3429a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vsmenu { font-size:<?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 8px; }
3430span.vsmenudisabled:not(.spanlilevel0), font.vsmenudisabled:not(.spanlilevel0) {
3431 font-size:<?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>;
3432}
3433span.vsmenudisabled, font.vsmenudisabled {
3434 font-family: <?php print $fontlist ?>;
3435 text-align: <?php print $left; ?>;
3436 font-weight: normal;
3437 color: var(--colortextbackvmenu);
3438 white-space: nowrap;
3439}
3440a.vsmenu:link, a.vsmenu:visited {
3441 color: var(--colortextbackvmenu);
3442 white-space: nowrap;
3443}
3444span.vsmenudisabledmargin, font.vsmenudisabledmargin { margin: 1px 1px 1px 8px; }
3445
3446a.help:link, a.help:visited, a.help:hover, a.help:active, span.help {
3447 text-align: <?php print $left; ?>; font-weight: normal; color: #999; text-decoration: none;
3448}
3449
3450.helppresentcircle {
3451 /*
3452 color: var(--colorbackhmenu1);
3453 filter: invert(0.5);
3454 */
3455 color: var(--colortextbackhmenu);
3456 margin-left: -4px;
3457 display: inline-block;
3458 font-size: x-small;
3459 vertical-align: super;
3460 opacity: 0.95;
3461 transform: rotate(<?php echo($left == 'left' ? '55deg' : '305deg'); ?>);
3462}
3463
3464div.blockvmenulogo
3465{
3466 border-bottom: 0 !important;
3467}
3468.menulogocontainer {
3469 margin: <?php echo $disableimages ? '-1' : '6'; ?>px;
3470 margin-left: 12px;
3471 margin-right: 6px;
3472 padding: 0;
3473 height: <?php echo $disableimages ? '18' : '32'; ?>px;
3474 /* width: 100px; */
3475 max-width: 100px;
3476 vertical-align: middle;
3477}
3478.backgroundforcompanylogo {
3479 background-color: rgba(255,255,255,0.7);
3480 border-radius: 5px;
3481}
3482.menulogocontainer img.mycompany {
3483 object-fit: contain;
3484 width: inherit;
3485 height: inherit;
3486 image-rendering: -webkit-optimize-contrast;
3487}
3488#mainmenutd_companylogo::after {
3489 content: unset;
3490}
3491li#mainmenutd_companylogo .tmenucenter {
3492 width: unset;
3493}
3494li#mainmenutd_companylogo {
3495 min-width: unset !important;
3496}
3497<?php if ($disableimages) { ?>
3498 li#mainmenutd_home {
3499 min-width: unset !important;
3500 }
3501 li#mainmenutd_home .tmenucenter {
3502 width: unset;
3503 }
3504<?php } ?>
3505
3506div.blockvmenupair, div.blockvmenuimpair
3507{
3508 font-family: <?php print $fontlist ?>;
3509 text-align: <?php print $left; ?>;
3510 text-decoration: none;
3511 padding-left: 5px;
3512 padding-right: 1px;
3513 padding-top: 3px;
3514 padding-bottom: 3px;
3515 margin: 1px 0px 8px 0px;
3516
3517 color: var(--colortext);
3518 background: var(--colorbackvmenu1);
3519
3520 padding-bottom: 10px;
3521 border-bottom: 1px solid #e8e8e8;
3522}
3523div.blockvmenubookmarks
3524{
3525 padding-bottom: 16px !important;
3526}
3527div.blockvmenuend {
3528 border: none !important;
3529 padding-left: 0 !important;
3530}
3531a.vsmenu.addbookmarkpicto {
3532 padding-right: 10px;
3533}
3534div.blockvmenufirst {
3535 padding-top: 10px;
3536 <?php if (getDolGlobalString('MAIN_USE_TOP_MENU_SEARCH_DROPDOWN')) { ?>
3537 border-top: 1px solid #e0e0e0;
3538 <?php } ?>
3539}
3540div.blockvmenusearch, div.blockvmenubookmarks
3541{
3542 font-family: <?php print $fontlist ?>;
3543 color: #000000;
3544 text-align: <?php print $left; ?>;
3545 text-decoration: none;
3546 padding-left: 5px;
3547 padding-right: 1px;
3548 padding-top: 3px;
3549 padding-bottom: 3px;
3550 margin: 1px 0px 2px 0px;
3551 background: var(--colorbackvmenu1);
3552
3553 padding-bottom: 10px;
3554 /* border-bottom: 1px solid #f4f4f4; */
3555}
3556div.blockvmenusearchphone
3557{
3558 border-bottom: none;
3559 margin-bottom: 0px;
3560}
3561
3562div.blockvmenuhelp
3563{
3564<?php if (empty($conf->dol_optimize_smallscreen)) { ?>
3565 font-family: <?php print $fontlist ?>;
3566 color: #000000;
3567 text-align: center;
3568 text-decoration: none;
3569 padding-left: 0px;
3570 padding-right: 8px;
3571 padding-top: 3px;
3572 padding-bottom: 3px;
3573 margin: 4px 0px 0px 0px;
3574<?php } else { ?>
3575 display: none;
3576<?php } ?>
3577}
3578
3579
3580td.barre {
3581 border-right: 1px solid #000000;
3582 border-bottom: 1px solid #000000;
3583 background: #b3c5cc;
3584 font-family: <?php print $fontlist ?>;
3585 color: #000000;
3586 text-align: <?php print $left; ?>;
3587 text-decoration: none;
3588}
3589
3590td.barre_select {
3591 background: #b3c5cc;
3592 color: #000000;
3593}
3594
3595td.photo {
3596 background: #F4F4F4;
3597 color: #000000;
3598 border: 1px solid #bbb;
3599}
3600
3601/* ============================================================================== */
3602/* Panes for Main */
3603/* ============================================================================== */
3604
3605/*
3606 * PANES and CONTENT-DIVs
3607 */
3608
3609#mainContent, #leftContent .ui-layout-pane {
3610 padding: 0px;
3611 overflow: auto;
3612}
3613
3614#mainContent, #leftContent .ui-layout-center {
3615 padding: 0px;
3616 position: relative; /* contain floated or positioned elements */
3617 overflow: auto; /* add scrolling to content-div */
3618}
3619
3620
3621/* ============================================================================== */
3622/* Toolbar for ECM or Filemanager */
3623/* ============================================================================== */
3624
3625td.ecmroot {
3626 padding-bottom: 0 !important;
3627}
3628
3629.largebutton {
3630 /* border-top: 1px solid #CCC !important; */
3631 padding: 0px 4px 14px 4px !important;
3632 min-height: 32px;
3633}
3634
3635
3636a.toolbarbutton {
3637 margin-top: 0px;
3638 margin-left: 4px;
3639 margin-right: 4px;
3640 height: 30px;
3641}
3642img.toolbarbutton {
3643 margin-top: 1px;
3644 height: 30px;
3645}
3646
3647li.expanded > a.fmdirlia.jqft.ecmjqft {
3648 font-weight: bold !important;
3649}
3650
3651.divfmdirlia {
3652 width: calc(100% - 100px);
3653}
3654
3655a.fmdirlia {
3656 white-space: break-spaces;
3657 word-break: break-all;
3658}
3659
3660
3661/* ============================================================================== */
3662/* Onglets */
3663/* ============================================================================== */
3664div.tabs {
3665 text-align: <?php print $left; ?>;
3666 margin-left: 6px !important;
3667 margin-right: 6px !important;
3668 clear:both;
3669 height:100%;
3670}
3671div.tabsElem {
3672 margin-top: 6px;
3673} /* To avoid overlap of tabs when not browser */
3674div.tabsElem a {
3675 font-weight: normal !important;
3676}
3677div.tabBar {
3678 color: var(--colortextbacktab);
3679 padding-top: 23px;
3680 padding-left: 24px;
3681 padding-right: 24px;
3682 padding-bottom: 23px;
3683 margin: 0px 0px 20px 0px;
3684 -webkit-border-radius: 3px;
3685 border-radius: 3px;
3686 border-right: 1px solid #CCC;
3687 border-left: 1px solid #CCC;
3688 border-top: 1px solid #CCC;
3689 border-bottom: 1px solid #CCC;
3690 width: auto;
3691 background: var(--colorbacktabcard1);
3692}
3693div.tabBar tr.titre td {
3694 padding-top: 20px;
3695}
3696div.fiche table:not(.table-fiche-title) tr.titre td {
3697 padding-top: 10px;
3698}
3699
3700/*
3701div.tabBar.tabBarNoTop {
3702 padding-top: 0;
3703 border-top: 0;
3704}
3705*/
3706
3707/* tabBar used for creation/update/send forms */
3708div.tabBarWithBottom {
3709 padding-bottom: 18px;
3710 border-bottom: 1px solid #aaa;
3711}
3712div.tabBar table.tableforservicepart2:last-child {
3713 border-bottom: 1px solid #aaa;
3714}
3715.tableforservicepart1 .tdhrthin {
3716 height: unset;
3717}
3718/* Payment Screen : Pointer cursor in the autofill image */
3719.AutoFillAmount {
3720 cursor:pointer;
3721}
3722
3723/* ============================================================================== */
3724/* Buttons for actions */
3725/* ============================================================================== */
3726
3727div.divButAction {
3728 margin-bottom: 1.4em;
3729}
3730div.tabsAction {
3731 margin: 20px 0em 20px 0em;
3732 padding: 0em 0em;
3733 text-align: right;
3734}
3735div.tabsActionNoBottom {
3736 margin-bottom: 0px;
3737}
3738div.tabsAction > a {
3739 margin-bottom: 16px !important;
3740}
3741
3742div.popuptabset {
3743 padding: 6px;
3744 background: #fff;
3745 border: 1px solid #888;
3746}
3747div.popuptab {
3748 padding-top: 5px;
3749 padding-bottom: 5px;
3750 padding-left: 5px;
3751 padding-right: 5px;
3752}
3753
3754a.tabTitle {
3755 color:rgba(0,0,0,.5);
3756 margin-<?php print $right; ?>: 10px;
3757 text-shadow:1px 1px 1px #ffffff;
3758 font-family: <?php print $fontlist ?>;
3759 font-weight: normal;
3760 padding: 4px 6px 2px 6px;
3761 margin: 0px 6px;
3762 text-decoration: none;
3763 white-space: nowrap;
3764}
3765.tabTitleText {
3766 display: none;
3767}
3768.imgTabTitle {
3769 max-height: 14px;
3770}
3771div.tabs div.tabsElem:first-of-type a.tab {
3772 margin-left: 0px !important;
3773}
3774
3775a.tabunactive {
3776 color: var(--colortextlink) !important;
3777}
3778a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
3779 font-family: <?php print $fontlist ?>;
3780 padding: 12px 13px 12px;
3781 margin: 0em 0.2em;
3782 text-decoration: none;
3783 white-space: nowrap;
3784 background-image: none !important;
3785}
3786
3787.tabactive, a.tab#active {
3788 color: var(--colortextbacktab) !important;
3789 background: var(--colorbacktabcard1) !important;
3790
3791 border-right: 1px solid #AAA !important;
3792 border-left: 1px solid #AAA !important;
3793 border-top: 2px solid #111 !important;
3794}
3795.tabunactive, a.tab#unactive {
3796 border-right: 1px solid transparent;
3797 border-left: 1px solid transparent;
3798 border-top: 1px solid transparent;
3799 border-bottom: 0px !important;
3800}
3801
3802a.tab:hover
3803{
3804 /*
3805 background: var(--colorbacktabcard1) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png', 1); ?>) 50% 0 repeat-x;
3806 color: var(--colortextbacktab);
3807 */
3808 text-decoration: underline;
3809}
3810a.tabimage {
3811 color: #434956;
3812 font-family: <?php print $fontlist ?>;
3813 text-decoration: none;
3814 white-space: nowrap;
3815}
3816
3817td.tab {
3818 background: #dee7ec;
3819}
3820
3821span.tabspan {
3822 background: #dee7ec;
3823 color: #434956;
3824 font-family: <?php print $fontlist ?>;
3825 padding: 0px 6px;
3826 margin: 0em 0.2em;
3827 text-decoration: none;
3828 white-space: nowrap;
3829 -webkit-border-radius:3px 3px 0px 0px;
3830 border-radius:3px 3px 0px 0px;
3831
3832 border-<?php print $right; ?>: 1px solid #555555;
3833 border-<?php print $left; ?>: 1px solid #D8D8D8;
3834 border-top: 1px solid #D8D8D8;
3835}
3836
3837/* ============================================================================== */
3838/* Buttons for actions */
3839/* ============================================================================== */
3840<?php include dol_buildpath($path.'/theme/'.$theme.'/btn.inc.php', 0); ?>
3841
3842
3843
3844/* ============================================================================== */
3845/* Tables */
3846/* ============================================================================== */
3847
3848.allwidth {
3849 width: 100%;
3850}
3851
3852#undertopmenu {
3853 background-repeat: repeat-x;
3854 margin-top: <?php echo($dol_hide_topmenu ? '6' : '0'); ?>px;
3855}
3856
3857.paddingrightonly {
3858 border-collapse: collapse;
3859 border: 0px;
3860 margin-left: 0px;
3861 padding-<?php print $left; ?>: 0px !important;
3862 padding-<?php print $right; ?>: 4px !important;
3863}
3864.nocellnopadd {
3865 list-style-type:none;
3866 margin: 0px !important;
3867 padding: 0px !important;
3868}
3869.noborderspacing {
3870 border-spacing: 0;
3871}
3872tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
3873{
3874 border: 0px;
3875}
3876
3877.unsetcolor {
3878 color: unset !important;
3879}
3880
3881.smallpaddingimp {
3882 padding: 4px !important;
3883}
3884input.buttonlink {
3885 color: var(--colortextlink);
3886 background-color: transparent;
3887 cursor: pointer;
3888}
3889input.buttonlink:hover {
3890 text-decoration: underline;
3891}
3892input.buttonreset {
3893 margin-top: 3px;
3894 margin-bottom: 3px;
3895 padding: 8px 15px;
3896 text-decoration: underline;
3897 color: var(--colortextlink);
3898 background-color: transparent;
3899 cursor: pointer;
3900}
3901
3902.notopnoleft {
3903 border-collapse: collapse;
3904 border: 0px;
3905 padding-top: 0px;
3906 padding-<?php print $left; ?>: 0px;
3907 padding-<?php print $right; ?>: 16px;
3908 padding-bottom: 4px;
3909 margin-right: 0px;
3910}
3911.notopnoleftnoright {
3912 border-collapse: collapse;
3913 border: 0px;
3914 padding-top: 0px;
3915 padding-left: 0px;
3916 padding-right: 0px;
3917 padding-bottom: 4px;
3918 margin: 0px 0px 0px 0px;
3919}
3920
3921table.tableforemailform tr td {
3922 padding-top: 3px;
3923 padding-bottom: 3px;
3924}
3925
3926table.border, table.bordernooddeven, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
3927 /* border: 1px solid #f4f4f4; */
3928 border-collapse: collapse !important;
3929 padding: 1px 2px 1px 3px; /* t r b l */
3930}
3931table.borderplus {
3932 border: 1px solid #BBB;
3933}
3934
3935.border tbody tr, .bordernooddeven tbody tr, .border tbody tr td, .bordernooddeven tbody tr td,
3936div.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,
3937tr.liste_titre.box_titre td table td, .bordernooddeven tr td {
3938 height: 28px;
3939}
3940
3941table.border td, table.bordernooddeven td, div.border div div.tagtd {
3942 padding: 3px 4px 3px 4px;
3943 /* border: 1px solid #f0f0f0; */
3944 border-collapse: collapse;
3945}
3946
3947td.border, div.tagtable div div.border {
3948 border-top: 1px solid #000000;
3949 border-right: 1px solid #000000;
3950 border-bottom: 1px solid #000000;
3951 border-left: 1px solid #000000;
3952}
3953
3954.table-key-border-col {
3955 /* width: 25%; */
3956 vertical-align:top;
3957}
3958.table-val-border-col {
3959 width:auto;
3960}
3961
3962
3963.thsticky, .tdsticky {
3964 position: sticky;
3965 left: 0px;
3966}
3967.thstickyright, .tdstickyright {
3968 position: sticky;
3969 right: 0px;
3970}
3971.thstickygray, .tdstickygray {
3972 background-color: lightgray;
3973}
3974.thstickyghostwhite, .tdstickyghostwhite {
3975 background-color: ghostwhite;
3976}
3977.thstickyinherit, .tdstickyinherit {
3978 background-color: inherit;
3979}
3980
3981<?php if (getDolGlobalString('THEME_ENABLE_STICKY_COLUMN_REF')) { ?>
3982/* To have left column sticky */
3983.tagtable td[data-key="ref"], .tagtable th[data-key="ref"] {
3984 position: sticky;
3985 left: 0;
3986 top: 0;
3987 max-width: 150px !important;
3988 /*background-color: inherit;*/
3989 background-color: gainsboro;
3990 z-index: 2;
3991}
3992<?php } ?>
3993
3994<?php if (getDolGlobalString('THEME_ENABLE_STICKY_COLUMN_ACTION')) { ?>
3995/* To have right column sticky */
3996.tagtable td.actioncolumn, .tagtable th.actioncolumn {
3997 position: sticky;
3998 right: 0;
3999 top: 0;
4000 max-width: 150px !important;
4001 /*background-color: inherit;*/
4002 background-color: gainsboro;
4003 z-index: 2;
4004}
4005<?php } ?>
4006
4007
4008
4009/* Main boxes */
4010.nobordertop, .nobordertop tr:first-of-type td {
4011 border-top: none !important;
4012}
4013.noborderbottom, .noborderbottom tr:last-of-type td {
4014 border-bottom: none !important;
4015}
4016.bordertop {
4017 border-top: 1px solid var(--colortopbordertitle1);
4018}
4019.borderbottom {
4020 border-bottom: 1px solid var(--colortopbordertitle1);
4021}
4022
4023.fichehalfright table.noborder {
4024 margin: 0px 0px 0px 0px;
4025}
4026div.colorback
4027{
4028 background: var(--colorbacktitle1);
4029 padding: 10px;
4030 margin-top: 5px;
4031}
4032.liste_titre_bydiv {
4033 <?php if ($userborderontable) { ?>
4034 border-right: 1px solid #ccc;
4035 border-left: 1px solid #ccc;
4036 <?php } ?>
4037}
4038table.liste, table.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact), table.formdoc, div.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact) {
4039 <?php
4040 if ($userborderontable) { ?>
4041 /* border-left: 1px solid var(--colortopbordertitle1);
4042 border-right: 1px solid var(--colortopbordertitle1); */
4043 border-left: 1px solid #ccc;
4044 border-right: 1px solid #ccc;
4045 <?php } else { ?>
4046 border-left: 1px solid #f0f0f0;
4047 border-right: 1px solid #f0f0f0;
4048 <?php } ?>
4049}
4050table.liste, table.noborder, table.formdoc, div.noborder {
4051 width: calc(100% - 2px); /* -2 to fix a bug. Without, a scroll appears due to overflow-x: auto; of div-table-responsive */
4052
4053 border-collapse: separate !important;
4054 border-spacing: 0px;
4055
4056 border-top-width: <?php echo $borderwidth ?>px;
4057 border-top-color: var(--colortopbordertitle1);
4058 border-top-style: solid;
4059
4060 border-bottom-width: 1px;
4061 border-bottom-color: #BBB;
4062 border-bottom-style: solid;
4063
4064 margin: 0px 0px 20px 0px;
4065
4066 -webkit-border-radius: 0.1em;
4067 border-radius: 0.1em;
4068}
4069table.noborder tr, div.noborder form {
4070 border-top-color: #FEFEFE;
4071
4072 border-right-width: 1px;
4073 border-right-color: #BBBBBB;
4074 border-right-style: solid;
4075
4076 border-left-width: 1px;
4077 border-left-color: #BBBBBB;
4078 border-left-style: solid;
4079 min-height: 26px;
4080}
4081table.paddingtopbottomonly tr td {
4082 padding-top: 1px;
4083 padding-bottom: 2px;
4084}
4085
4086.liste_titre_filter {
4087 background: var(--colorbacktitle1) !important;
4088}
4089tr.liste_titre_filter td.liste_titre {
4090 padding-top: 4px;
4091 padding-bottom: 3px;
4092}
4093.liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
4094{
4095 border-top-width: 1px;
4096 border-top-color: var(--colortopbordertitle1);
4097 border-top-style: solid;
4098}
4099tr#trlinefordates td {
4100 border-bottom: 0px !important;
4101}
4102.liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
4103{
4104 border-top-width: 2px;
4105 border-top-color: var(--colortopbordertitle1);
4106 border-top-style: solid;
4107}
4108.liste_titre_add td, .liste_titre_add .tagtd
4109{
4110 border-top-width: 1px;
4111 border-top-color: var(--colortopbordertitle1);
4112 border-top-style: solid;
4113}
4114
4115table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
4116 padding: 8px 6px 8px 6px; /* t r b l */
4117}
4118
4119table.liste td, table.noborder td, div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
4120 padding: 4px 6px 4px 6px; /* t r b l */
4121 height: 22px;
4122}
4123table.liste tr.trkanban td {
4124 padding: 10px 14px 10px 14px; /* t r b l */
4125}
4126
4127form.tagtable {
4128 padding: unset !important;
4129 border: unset !important;
4130}
4131
4132table.liste td, table.noborder td, div.noborder form div {
4133 padding: 8px 6px 8px 6px; /* t r b l */
4134}
4135div.liste_titre_bydiv .divsearchfield {
4136 padding: 2px 1px 2px 6px; /* t r b l */
4137}
4138
4139table.nobordernopadding {
4140 border-collapse: collapse !important;
4141 border: 0;
4142}
4143table.nobordernopadding tr {
4144 border: 0 !important;
4145 padding: 0 0 !important;
4146}
4147table.nobordernopadding tr td {
4148 border: 0 !important;
4149 padding: 0 3px 0 0;
4150}
4151table.border tr td table.nobordernopadding tr td {
4152 padding-top: 0;
4153 padding-bottom: 0;
4154}
4155td.borderright {
4156 border: none; /* to erase value for table.nobordernopadding td */
4157 border-right-width: 1px !important;
4158 border-right-color: #BBB !important;
4159 border-right-style: solid !important;
4160}
4161td.borderleft {
4162 border: none; /* to erase value for table.nobordernopadding td */
4163 border-left-width: 1px !important;
4164 border-left-color: #BBB !important;
4165 border-left-style: solid !important;
4166}
4167
4168/* For table with no filter before */
4169table.listwithfilterbefore {
4170 border-top: none !important;
4171}
4172
4173.tagtable, .table-border { display: table; }
4174.tagtr, .table-border-row { display: table-row; }
4175.tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
4176.confirmquestions .tagtr .tagtd:not(:first-child) { padding-left: 10px; }
4177.confirmquestions { margin-top: 5px; }
4178
4179
4180/* Pagination */
4181div.refidpadding {
4182 padding-top: 3px;
4183}
4184div.refid {
4185 font-weight: bold;
4186 color: var(--colortexttitlenotab);
4187 font-size: 120%;
4188}
4189a.refid {
4190 color: var(--colortexttitlenotab) !important;
4191}
4192div.refidno {
4193 padding-top: 8px;
4194 font-weight: normal;
4195 color: var(--refidnocolor);
4196 font-size: 92%;
4197 line-height: 1.3em;
4198}
4199div.refidno form {
4200 display: inline-block;
4201}
4202div.refaddress div.address {
4203 line-height: 1.2em;
4204 font-size: 0.9em;
4205}
4206
4207div.pagination {
4208 float: right;
4209}
4210div.pagination a {
4211 font-weight: normal;
4212}
4213div.pagination ul
4214{
4215 list-style: none;
4216 display: inline-block;
4217 padding-left: 0px;
4218 padding-right: 0px;
4219 margin: 0;
4220}
4221div.pagination li {
4222 display: inline-block;
4223 padding-left: 0px;
4224 padding-right: 0px;
4225 padding-top: 6px;
4226 padding-bottom: 5px;
4227}
4228.pagination {
4229 display: inline-block;
4230 padding-left: 0;
4231 border-radius: 4px;
4232}
4233
4234div.pagination li.pagination a,
4235div.pagination li.pagination span {
4236 padding: 6px 12px;
4237 padding-top: 8px;
4238 line-height: 1.42857143;
4239 color: var(--color-black);
4240 text-decoration: none;
4241}
4242div.pagination li.pagination span.inactive {
4243 cursor: default;
4244 color: #ccc;
4245}
4246
4247div.pagination li.litext a {
4248border: none;
4249 padding-right: 10px;
4250 padding-left: 4px;
4251 font-weight: bold;
4252}
4253div.pagination li.noborder a:hover {
4254 border: none;
4255 background-color: transparent;
4256}
4257div.pagination li:first-child a,
4258div.pagination li:first-child span {
4259 margin-left: 0;
4260 border-top-left-radius: 4px;
4261 border-bottom-left-radius: 4px;
4262}
4263div.pagination li:last-child a,
4264div.pagination li:last-child span {
4265 border-top-right-radius: 4px;
4266 border-bottom-right-radius: 4px;
4267}
4268div.pagination li a:hover,
4269div.pagination li span:hover,
4270div.pagination li a:focus,
4271div.pagination li span:focus {
4272 color: #000;
4273 background-color: #eee;
4274 border-color: #ddd;
4275 /* padding-top: 8px; */
4276}
4277div.pagination li .active a,
4278div.pagination li .active span,
4279div.pagination li .active a:hover,
4280div.pagination li .active span:hover,
4281div.pagination li .active a:focus,
4282div.pagination li .active span:focus {
4283 z-index: 2;
4284 color: #fff;
4285 cursor: default;
4286 background-color: var(--colorbackhmenu1);
4287 border-color: #337ab7;
4288}
4289div.pagination .disabled span,
4290div.pagination .disabled span:hover,
4291div.pagination .disabled span:focus,
4292div.pagination .disabled a,
4293div.pagination .disabled a:hover,
4294div.pagination .disabled a:focus {
4295 color: #777;
4296 cursor: not-allowed;
4297 background-color: #fff;
4298 border-color: #ddd;
4299}
4300div.pagination li.pagination .active {
4301 text-decoration: underline;
4302 box-shadow: none;
4303}
4304.paginationafterarrows .nohover {
4305 box-shadow: none !important;
4306}
4307div.pagination li.paginationafterarrows {
4308 margin-left: 10px;
4309}
4310.paginationatbottom {
4311 margin-top: 9px;
4312}
4313table.hidepaginationprevious .paginationprevious {
4314 display: none;
4315}
4316table.hidepaginationnext .paginationnext {
4317 display: none;
4318}
4319.paginationafterarrows a.btnTitlePlus:hover span:before {
4320 /* text-shadow: 0px 0px 5px #ccc; */
4321 /* filter: invert(0.3); */
4322 font-size: 1.03em;
4323}
4324
4325
4326/* Prepare to remove class pair - impair
4327.noborder > tbody > tr:nth-child(even) td {
4328 background: linear-gradient(to bottom, var(--colorbacklineimpai2) 85%, var(--colorbacklineimpair2) 100%);
4329 background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 85%, var(--colorbacklineimpair2) 100%);
4330 background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 85%, var(--colorbacklineimpair2) 100%);
4331 background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 85%, var(--colorbacklineimpair2) 100%);
4332 font-family: <?php print $fontlist ?>;
4333 border: 0px;
4334 margin-bottom: 1px;
4335 color: #202020;
4336 min-height: 18px;
4337}
4338
4339.noborder > tbody > tr:nth-child(odd) td {
4340 background: linear-gradient(to bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
4341 background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
4342 background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
4343 background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
4344 font-family: <?php print $fontlist ?>;
4345 border: 0px;
4346 margin-bottom: 1px;
4347 color: #202020;
4348}
4349*/
4350
4351ul.noborder li:nth-child(odd):not(.liste_titre) {
4352 background-color: var(--colorbacklinepair2) !important;
4353}
4354
4355
4356/* Set the color for hover lines */
4357
4358.tmenucompanylogo.nohover, .tmenucompanylogo.nohover:hover {
4359 opacity: unset !important;
4360}
4361.nohoverborder:hover {
4362 border: unset;
4363 box-shadow: unset;
4364 -webkit-box-shadow: unset;
4365}
4366
4367.oddeven:hover, .evenodd:hover, .oddevenimport:hover, .evenoddimport:hover, .impair:hover, .pair:hover
4368{
4369 background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
4370}
4371.tredited {
4372 background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
4373}
4374<?php if ($colorbacklinepairchecked) { ?>
4375.highlight {
4376 background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
4377}
4378<?php } ?>
4379
4380.nohover:hover {
4381 background: unset !important;
4382}
4383.nohoverborder:hover {
4384 border: unset;
4385 box-shadow: unset;
4386 -webkit-box-shadow: unset;
4387}
4388
4389.oddeven, .evenodd, .impair, .pair, .nohover .impair:hover, tr.impair td.nohover, tr.pair td.nohover, .tagtr.oddeven
4390{
4391 font-family: <?php print $fontlist ?>;
4392 border: 0px;
4393 margin-bottom: 1px;
4394 color: var(--oddevencolor);
4395}
4396.impair, .nohover .impair:hover, tr.impair td.nohover
4397{
4398 background: var(--colorbacklineimpair2);
4399}
4400.pair, .nohover .pair:hover, tr.pair td.nohover {
4401 background-color: var(--colorbacklinepair1);
4402}
4403tr.oddeven.oddevendouble {
4404 height: 60px !important;
4405}
4406
4407#GanttChartDIV {
4408 background-color: var(--colorbacklineimpair2);
4409}
4410table.dataTable tr.oddeven {
4411 background-color: var(--colorbacklinepair1) !important;
4412}
4413
4414/* For no hover style */
4415td.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 {
4416 background-color: var(--colorbacklineimpair2) !important;
4417 background: var(--colorbacklineimpair2) !important;
4418}
4419td.evenodd, tr.nohoverpair td, #trlinefordates td {
4420 background-color: var(--colorbacklinepair2) !important;
4421 background: var(--colorbacklinepair2) !important;
4422}
4423.trforbreak td {
4424 font-weight: bold;
4425 border-bottom: 1pt solid black !important;
4426 background-color: var(--colorbacklinebreak) !important;
4427}
4428.trforbreak.nobold td a, .trforbreak.nobold span.secondary {
4429 font-weight: normal !important;
4430}
4431
4432table.dataTable td {
4433 padding: 5px 2px 5px 3px !important;
4434}
4435tr.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 {
4436 padding: 5px 2px 5px 3px;
4437 border-bottom: 1px solid #eee;
4438}
4439form.pair, form.impair {
4440 font-weight: normal;
4441}
4442tr.pair:last-of-type td, tr.impair:last-of-type td {
4443 border-bottom: 0px !important;
4444}
4445tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
4446 border-bottom: 0px !important;
4447}
4448/*
4449table.nobottomiftotal tr.liste_total td {
4450 background-color: var(--inputbackgroundcolor);
4451 <?php if (!$userborderontable) { ?>
4452 border-bottom: 0px !important;
4453 <?php } ?>
4454}
4455*/
4456div.liste_titre .tagtd {
4457 vertical-align: middle;
4458}
4459div.liste_titre {
4460 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 doe not work either for div */
4461
4462 padding-top: 2px;
4463 padding-bottom: 2px;
4464
4465 /*border-right-width: 1px;
4466 border-right-color: #BBB;
4467 border-right-style: solid;
4468
4469 border-left-width: 1px;
4470 border-left-color: #BBB;
4471 border-left-style: solid;*/
4472
4473 border-top-width: 1px;
4474 border-top-color: #BBB;
4475 border-top-style: solid;
4476}
4477div.liste_titre_bydiv {
4478 <?php if ($userborderontable) { ?>
4479 border-top-width: <?php echo $borderwidth ?>px;
4480 border-top-color: var(--colortopbordertitle1);
4481 border-top-style: solid;
4482 <?php } ?>
4483 border-collapse: collapse;
4484 display: table;
4485 padding: 2px 0px 2px 0;
4486 box-shadow: none;
4487 width: calc(100% - 2px); /* -2px because the width for table class="tagtable" under this is cal(100% - 2px) so it is aligned. */
4488}
4489/*
4490div.liste_titre_bydiv_inlineblock {
4491 display: inline-block;
4492 width: 100%;
4493}
4494*/
4495
4496tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr, tagtr.liste_titre
4497{
4498 height: 26px !important;
4499}
4500div.liste_titre_bydiv, .liste_titre div.tagtr, tr.liste_titre, tr.liste_titre_sel, .tagtr.liste_titre, .tagtr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable thead tr
4501{
4502 background: var(--colorbacktitle1);
4503 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4504 /* border-bottom: 1px solid #FDFFFF; */
4505
4506 color: var(--colortexttitle);
4507 font-family: <?php print $fontlist ?>;
4508 text-align: <?php echo $left; ?>;
4509}
4510tr.liste_titre th, tr.liste_titre td, th.liste_titre
4511{
4512 border-bottom: 1px solid #aaa;
4513}
4514/* TODO Once title line is moved under title search, make border bottom of all th black and force to whit when it's first tr */
4515tr:first-child th.liste_titre, tr:first-child th.liste_titre_sel {
4516 border-bottom: 1px solid #FFF ! important;
4517}
4518tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div, div.liste_titre
4519{
4520 font-family: <?php print $fontlist ?>;
4521 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4522 vertical-align: middle;
4523 height: 28px;
4524}
4525tr.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 {
4526 text-shadow: none !important;
4527 color: var(--colortexttitlelink);
4528}
4529tr.liste_titre_topborder td {
4530 border-top-width: <?php echo $borderwidth; ?>px;
4531 border-top-color: var(--colortopbordertitle1);
4532 border-top-style: solid;
4533}
4534.liste_titre td a {
4535 text-shadow: none !important;
4536 color: var(--colortexttitle);
4537}
4538.liste_titre td a.notasortlink {
4539 color: var(--colortextlink);
4540}
4541.liste_titre td a.notasortlink:hover {
4542 background: transparent;
4543}
4544tr.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 */
4545 /* border-bottom: 1px solid var(--colortopbordertitle1); */
4546 border-bottom: none;
4547}
4548tr.liste_titre_filter th.liste_titre { text-align: unset; }
4549
4550div.liste_titre {
4551 padding-left: 3px;
4552}
4553tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
4554{
4555 font-family: <?php print $fontlist ?>;
4556 font-weight: normal;
4557 border-bottom: 1px solid #FDFFFF;
4558 /* text-decoration: underline; */
4559}
4560input.liste_titre {
4561 background: transparent;
4562 border: 0px;
4563}
4564
4565.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 {
4566 color: #332266;
4567 /* padding: 4px; */
4568}
4569.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
4570 white-space: nowrap;
4571 line-height: 1.5em;
4572}
4573.noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
4574 white-space: normal;
4575}
4576
4577tr.liste_sub_total, tr.liste_sub_total td {
4578 border-bottom: 2px solid #aaa;
4579}
4580
4581.tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
4582 background: #FFF;
4583}
4584.tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
4585 border-bottom: none;
4586}
4587
4588.paymenttable, .margintable {
4589 margin: 0px 0px 0px 0px !important;
4590}
4591.paymenttable, .margintable:not(.margintablenotop) {
4592 border-top-width: <?php echo $borderwidth ?>px !important;
4593 border-top-color: var(--colortopbordertitle1) !important;
4594 border-top-style: solid !important;
4595}
4596.margintable.margintablenotop {
4597 border-top-width: 0;
4598}
4599.paymenttable tr td:first-child, .margintable tr td:first-child
4600{
4601 /*padding-left: 2px;*/
4602}
4603.paymenttable, .margintable tr td {
4604 height: 22px;
4605}
4606
4607/* Disable shadows */
4608.noshadow {
4609 -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
4610 box-shadow: 0px 0px 0px #f4f4f4 !important;
4611}
4612.shadow {
4613 -webkit-box-shadow: 2px 2px 5px #CCC !important;
4614 box-shadow: 2px 2px 5px #CCC !important;
4615}
4616
4617.boxshadow {
4618 -webkit-box-shadow: 0px 0px 5px #888;
4619 box-shadow: 0px 0px 5px #888;
4620}
4621
4622div.tabBar .noborder {
4623 -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
4624 box-shadow: 0px 0px 0px #f4f4f4 !important;
4625}
4626div .tdtop:not(.tagtdnote) {
4627 vertical-align: top !important;
4628 padding-top: 8px !important;
4629 padding-bottom: 0px !important;
4630}
4631
4632#tablelines tr.liste_titre td, #tablelinesservice tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
4633 border-bottom: 1px solid #AAA !important;
4634}
4635#tablelines tr td, #tablelinesservice tr td {
4636 height: unset;
4637}
4638
4639
4640/* Prepare to remove class pair - impair */
4641
4642.noborder > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
4643.liste > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
4644div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > table:not(.tableforfieldedit) > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
4645.liste > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
4646div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre):not(.nooddeven)
4647{
4648 background: linear-gradient(to bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4649 background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4650 background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4651 background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4652}
4653.noborder > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
4654.liste > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
4655.noborder .tagtr:nth-child(even):not(:last-of-type) .oddeven.tagtd:not(.liste_titre)
4656{
4657 border-bottom: 1px solid #e8e8e8;
4658}
4659
4660.noborder > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
4661.liste > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
4662div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > table:not(.tableforfieldedit) > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
4663.liste > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
4664div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre):not(.nooddeven)
4665{
4666 background: linear-gradient(to bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
4667 background: -o-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
4668 background: -moz-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
4669 background: -webkit-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
4670}
4671.noborder > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
4672.liste > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
4673.noborder .tagtr:nth-child(odd):not(:last-child) .oddeven.tagtd:not(.liste_titre)
4674{
4675 border-bottom: 1px solid #e8e8e8;
4676}
4677
4678ul.noborder li:nth-child(even):not(.liste_titre) {
4679 background-color: var(--colorbacklinepair2) !important;
4680}
4681
4682
4683/*
4684 * Boxes
4685 */
4686
4687.box {
4688 overflow-x: auto;
4689 min-height: 40px;
4690 padding-right: 0px;
4691 padding-left: 0px;
4692 padding-bottom: 12px;
4693}
4694.boxstatsborder {
4695 /* border: 1px solid #CCC !important; */
4696}
4697.boxstats, .boxstats130 {
4698 display: inline-block;
4699 margin: 8px;
4700 /* border: 1px solid #CCC; */
4701 text-align: center;
4702 border-radius: 2px;
4703 background: #eee;
4704}
4705.boxstats, .boxstats130, .boxstatscontent {
4706 white-space: nowrap;
4707 overflow: hidden;
4708 text-overflow: ellipsis;
4709}
4710.boxstats {
4711 padding: 3px;
4712 width: 100px;
4713 min-height: 40px;
4714}
4715.boxstats130 {
4716 width: 135px;
4717 height: 54px;
4718 padding: 3px;
4719}
4720@media only screen and (max-width: 767px)
4721{
4722 .tabBar .arearef .pagination.paginationref {
4723 max-width: calc(50%);
4724 }
4725
4726 .clearbothonsmartphone {
4727 clear: both;
4728 display: block !important;
4729 }
4730
4731 div.tabs {
4732 padding-left: 0 !important;
4733 margin-left: 0 !important;
4734 margin-right: 0 !important;
4735 }
4736
4737 td.tdwidgetstate {
4738 text-align: center;
4739 }
4740
4741 .boxstats, .boxstats130 {
4742 margin: 3px;
4743 border: 1px solid #ddd;
4744 box-shadow: none;
4745 background: #eee;
4746 }
4747 .thumbstat {
4748 flex: 1 1 110px;
4749 }
4750 .thumbstat150 {
4751 flex: 1 1 110px;
4752 }
4753 .dashboardlineindicator {
4754 float: left;
4755 padding-left: 5px;
4756 }
4757 .boxstats130 {
4758 width: 148px;
4759 }
4760 .boxstats {
4761 width: 100px;
4762 }
4763}
4764.boxstats:hover {
4765 box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
4766}
4767span.boxstatstext {
4768 /* opacity: 0.7; */ /* a bug if browser make z-index infintie when opacity is set so we disable it */
4769 line-height: 18px;
4770 color: #000;
4771}
4772.boxstatsindicator.thumbstat150 { /* If we remove this, box position is ko on ipad */
4773 display: inline-flex;
4774}
4775span.boxstatsindicator {
4776 font-size: 110%;
4777 font-weight: normal;
4778 color: rgb(<?php print $colortextlink; ?>);
4779}
4780span.dashboardlineindicator, span.dashboardlineindicatorlate {
4781 font-size: 120%;
4782 font-weight: normal;
4783}
4784a.dashboardlineindicatorlate:hover {
4785 text-decoration: none;
4786}
4787.dashboardlineindicatorlate img {
4788 width: 16px;
4789}
4790span.dashboardlineok {
4791 color: #008800;
4792}
4793span.dashboardlineko {
4794 color: #FFF;
4795 font-size: 80%;
4796}
4797.dashboardlinelatecoin {
4798 float: right;
4799 position: relative;
4800 text-align: right;
4801 top: -24px;
4802 padding: 1px 6px 1px 6px;
4803 background-color: #8c4446;
4804 color: #FFFFFF ! important;
4805 border-radius: .25em;
4806}
4807.divboxtable {
4808 margin-bottom: 20px !important;
4809}
4810.boxtable {
4811 border-bottom-width: 1px;
4812}
4813.boxtablenotop {
4814 /* border-top-width: 0 !important; */
4815}
4816.boxtablenobottom {
4817 /* border-bottom-width: 0 !important; */
4818}
4819.boxtablenomarginbottom {
4820 margin-bottom: 0 !important;
4821}
4822.boxtable .fichehalfright, .boxtable .fichehalfleft {
4823 min-width: 275px;
4824}
4825.tdboxstats {
4826 text-align: center;
4827}
4828.boxworkingboard .tdboxstats {
4829 padding-left: 1px !important;
4830 padding-right: 1px !important;
4831}
4832a.valignmiddle.dashboardlineindicator {
4833 line-height: 30px;
4834}
4835.height30 {
4836 height: 30px !important;
4837}
4838
4839tr.box_titre {
4840 height: 26px !important;
4841
4842 /* TO MATCH BOOTSTRAP */
4843 /*background: #ddd;
4844 color: #000 !important; */
4845
4846 /* TO MATCH ELDY */
4847 background: var(--colorbacktitle1);
4848 color: var(--colortexttitle);
4849 font-family: <?php print $fontlist ?>, sans-serif;
4850 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4851 border-bottom: 1px solid #FDFFFF;
4852 white-space: nowrap;
4853}
4854
4855tr.box_titre td.boxclose {
4856 width: 30px;
4857}
4858img.boxhandle, img.boxclose {
4859 padding-left: 5px;
4860}
4861
4862.formboxfilter {
4863 vertical-align: middle;
4864 margin-bottom: 6px;
4865}
4866.formboxfilter input[type=image]
4867{
4868 top: 5px;
4869 position: relative;
4870}
4871.boxfilter {
4872 margin-bottom: 2px;
4873 margin-right: 1px;
4874}
4875
4876.prod_entry_mode_free, .prod_entry_mode_predef {
4877 height: 26px !important;
4878 vertical-align: middle;
4879}
4880
4881.modulebuilderbox {
4882 border: 1px solid #888;
4883 padding: 16px;
4884}
4885
4886
4887
4888/*
4889 * Ok, Warning, Error
4890 */
4891.ok { color: #114466; }
4892.warning { color: #887711 !important; }
4893.error { color: #550000 !important; font-weight: bold; }
4894.green { color: #118822 !important; }
4895
4896div.ok {
4897 color: #114466;
4898}
4899
4900/* Info admin */
4901div.info {
4902 border-<?php print $left; ?>: solid 5px #87cfd2;
4903 padding-top: 8px;
4904 padding-left: 10px;
4905 padding-right: 4px;
4906 padding-bottom: 8px;
4907 margin: 0.5em 0em 0.5em 0em;
4908 background: #eff8fc;
4909}
4910
4911/* Warning message */
4912div.warning {
4913 border-<?php print $left; ?>: solid 5px #f2cf87;
4914 padding-top: 8px;
4915 padding-left: 10px;
4916 padding-right: 4px;
4917 padding-bottom: 8px;
4918 margin: 0.5em 0em 0.5em 0em;
4919 background: #fcf8e3;
4920}
4921div.warning a, div.info a, div.error a {
4922 color: rgb(<?php echo $colortextlink; ?>);
4923}
4924
4925/* Error message */
4926div.error {
4927 border-<?php print $left; ?>: solid 5px #f28787;
4928 padding-top: 8px;
4929 padding-left: 10px;
4930 padding-right: 4px;
4931 padding-bottom: 8px;
4932 margin: 0.5em 0em 0.5em 0em;
4933 background: #EFCFCF;
4934}
4935
4936
4937/*
4938 * Liens Payes/Non payes
4939 */
4940
4941a.normal:link { font-weight: normal }
4942a.normal:visited { font-weight: normal }
4943a.normal:active { font-weight: normal }
4944a.normal:hover { font-weight: normal }
4945
4946a.impayee:link { font-weight: bold; color: #550000; }
4947a.impayee:visited { font-weight: bold; color: #550000; }
4948a.impayee:active { font-weight: bold; color: #550000; }
4949a.impayee:hover { font-weight: bold; color: #550000; }
4950
4951
4952
4953/*
4954 * External web site
4955 */
4956
4957.framecontent {
4958 width: 100%;
4959 height: 100%;
4960}
4961
4962.framecontent iframe {
4963 width: 100%;
4964 height: 100%;
4965}
4966
4967
4968
4969/*
4970 * Other
4971 */
4972
4973.opened-dash-board-wrap {
4974 margin-bottom: 25px;
4975}
4976
4977div.boximport {
4978 min-height: unset;
4979}
4980
4981.product_line_stock_ok { color: #002200; }
4982.product_line_stock_too_low { color: #884400; }
4983
4984.fieldrequired { font-weight: bold; color: #000055; }
4985
4986td.widthpictotitle, .table-fiche-title img.widthpictotitle { width: 32px; font-size: 1.4em; text-align: <?php echo $left; ?>; }
4987table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
4988
4989.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
4990.dolgraphtitlecssboxes { /* margin: 0px; */ }
4991.dolgraphchart canvas {
4992 /* width: calc(100% - 20px) !important; */
4993}
4994.legendColorBox, .legendLabel { border: none !important; }
4995div.dolgraph div.legend, div.dolgraph div.legend div { background-color: rgba(255,255,255,0) !important; }
4996div.dolgraph div.legend table tbody tr { height: auto; }
4997td.legendColorBox { padding: 2px 2px 2px 0 !important; }
4998td.legendLabel { padding: 2px 2px 2px 0 !important; }
4999td.legendLabel {
5000 text-align: <?php echo $left; ?>;
5001}
5002
5003label.radioprivate {
5004 white-space: nowrap;
5005}
5006
5007.photo {
5008 border: 0px;
5009}
5010.photowithmargin {
5011/* margin-bottom: 2px;
5012 margin-top: 2px; */
5013}
5014div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
5015 margin-right: 15px;
5016}
5017.photowithborder {
5018 border: 1px solid #f0f0f0;
5019}
5020.photointooltip {
5021 margin-top: 8px;
5022 margin-bottom: 6px;
5023 text-align: center !important;
5024}
5025.photodelete {
5026 margin-top: 6px !important;
5027}
5028
5029.logo_setup
5030{
5031 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg', 1) ?>); /* content is used to best fit the container */
5032 display: inline-block;
5033 opacity: 0.2;
5034}
5035.nographyet
5036{
5037 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg', 1) ?>);
5038 display: inline-block;
5039 opacity: 0.1;
5040 background-repeat: no-repeat;
5041}
5042.nographyettext
5043{
5044 opacity: 0.5;
5045}
5046
5047div.titre {
5048 font-size: 14px;
5049 text-decoration: none;
5050 padding-top: 5px;
5051 padding-bottom: 5px;
5052 text-transform: uppercase;
5053 /* text-shadow: 1px 1px 2px #FFFFFF; */
5054}
5055div.titre.small {
5056 font-size: 1em;
5057}
5058div.titre {
5059 color: var(--colortexttitlenotab);
5060}
5061.secondary {
5062 color: var(--colortexttitlenotab);
5063}
5064.tertiary {
5065 color: var(--colortexttitlenotab2);
5066}
5067
5068table.centpercent.notopnoleftnoright.table-fiche-title {
5069 margin-bottom: 10px !important;
5070}
5071table.table-fiche-title .col-title div.titre, .col-right .btnTitle-icon {
5072 line-height: 40px;
5073}
5074
5075div.backgreypublicpayment {
5076 background-color: #f0f0f0;
5077 padding: 20px;
5078 border-bottom: 1px solid #ddd;
5079 text-align: center;
5080 position: sticky;
5081 top: 0;
5082 z-index: 1005;
5083}
5084.backgreypublicpayment a { color: #222 !important; }
5085.poweredbypublicpayment {
5086 float: right;
5087 top: 8px;
5088 right: 8px;
5089 position: absolute;
5090 font-size: 0.8em;
5091 color: #222;
5092 opacity: 0.3;
5093}
5094span.buttonpaymentsmall {
5095 text-shadow: none;
5096}
5097
5098#dolpublictable {
5099 min-width: 300px; font-size: 16px;
5100 padding: 6px;
5101}
5102#dolpaymenttable {
5103 min-width: 320px; font-size: 16px;
5104} /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
5105
5106#tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; padding: 20px; margin-bottom: 20px; }
5107#tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
5108#tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
5109#tablepublicpayment tr.liste_total td { border-top: none; }
5110
5111.divmainbodylarge { margin-left: 40px; margin-right: 40px; }
5112.publicnewmemberform div.titre { font-size: 2em; }
5113#divsubscribe { max-width: 900px; }
5114#divsubscribe .eventlabel { font-size: 1.5em; }
5115#tablesubscribe { width: 100%; }
5116#tablesubscribe tr td { font-size: 1.15em; }
5117#tablesubscribe .price-registration { font-size: 1.5em; }
5118
5119
5120div#card-element {
5121 border: 1px solid #ccc;
5122}
5123div#card-errors {
5124 color: #fa755a;
5125 text-align: center;
5126 padding-top: 3px;
5127 /* max-width: 320px; */
5128}
5129
5130
5131/*
5132 * Effect Postit
5133 */
5134
5135.effectpostit
5136{
5137 position: relative;
5138}
5139.effectpostit:before, .effectpostit:after
5140{
5141 z-index: -1;
5142 position: absolute;
5143 content: "";
5144 bottom: 15px;
5145 left: 10px;
5146 width: 50%;
5147 top: 80%;
5148 max-width:300px;
5149 background: #777;
5150 -webkit-box-shadow: 0 15px 10px #777;
5151 box-shadow: 0 15px 10px #777;
5152 -webkit-transform: rotate(-3deg);
5153 -moz-transform: rotate(-3deg);
5154 -o-transform: rotate(-3deg);
5155 -ms-transform: rotate(-3deg);
5156 transform: rotate(-3deg);
5157}
5158.effectpostit:after
5159{
5160 -webkit-transform: rotate(3deg);
5161 -moz-transform: rotate(3deg);
5162 -o-transform: rotate(3deg);
5163 -ms-transform: rotate(3deg);
5164 transform: rotate(3deg);
5165 right: 10px;
5166 left: auto;
5167}
5168
5169
5170
5171/* ============================================================================== */
5172/* Form confirmation (When Ajax JQuery is used) and Dialog popups */
5173/* ============================================================================== */
5174
5175.ui-dialog-titlebar {
5176}
5177.ui-dialog-content {
5178 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?> !important;
5179}
5180.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
5181 z-index: 1005 !important; /* Default 101 with ui-jquery, top menu have a z-index of 1000 */
5182}
5183.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
5184 z-index:1006 !important; /* To always be over the dialog box */
5185}
5186
5187.ui-dialog.ui-widget.ui-widget-content {
5188 border: 1px solid #e0e0e0;
5189 border-radius: 6px;
5190}
5191
5192div#dialogforpopup {
5193 background-color: #f8f8f8 !important;
5194}
5195
5196
5197/* ============================================================================== */
5198/* For content of image preview */
5199/* ============================================================================== */
5200
5201/*
5202.ui-dialog-content.ui-widget-content > object {
5203 max-height: none;
5204 width: auto; margin-left: auto; margin-right: auto; display: block;
5205}
5206*/
5207
5208
5209/* ============================================================================== */
5210/* Formulaire confirmation (When HTML is used) */
5211/* ============================================================================== */
5212
5213table.valid {
5214 /* border-top: solid 1px #E6E6E6; */
5215 border-<?php print $left; ?>: solid 5px #f2cf87;
5216 /* border-<?php print $right; ?>: solid 1px #444444;
5217 border-bottom: solid 1px #555555; */
5218 padding-top: 8px;
5219 padding-left: 10px;
5220 padding-right: 4px;
5221 padding-bottom: 4px;
5222 margin: 0px 0px;
5223 background: #fcf8e3;
5224}
5225
5226.validtitre {
5227 font-weight: bold;
5228}
5229
5230
5231/* ============================================================================== */
5232/* Tooltips */
5233/* ============================================================================== */
5234
5235/* For tooltip using dialog */
5236.ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
5237 z-index: 3000;
5238}
5239
5240div.ui-tooltip {
5241 max-width: <?php print dol_size(700, 'width'); ?>px !important;
5242}
5243
5244div.ui-tooltip.mytooltip {
5245 border-top: solid 1px #BBBBBB;
5246 border-<?php print $left; ?>: solid 1px #BBBBBB;
5247 border-<?php print $right; ?>: solid 1px #444444;
5248 border-bottom: solid 1px #444444;
5249 padding: 10px 20px;
5250 border-radius: 0;
5251 box-shadow: 0 0 4px grey;
5252 margin: 2px;
5253 font-stretch: condensed;
5254 /*background: var(--tooltipbgcolor) !important;
5255 color : var(--tooltipfontcolor);*/
5256 line-height: 1.6em;
5257 min-width: 550px;
5258}
5259@media only screen and (max-width: 768px)
5260{
5261 div.ui-tooltip.mytooltip {
5262 max-width: 400px;
5263 }
5264}
5265@media only screen and (max-width: 480px)
5266{
5267 div.ui-tooltip.mytooltip {
5268 max-width: 300px;
5269 }
5270}
5271@media only screen and (max-width: 320px)
5272{
5273 div.ui-tooltip.mytooltip {
5274 max-width: 230px;
5275 }
5276}
5277
5278
5279/* ============================================================================== */
5280/* Calendar */
5281/* ============================================================================== */
5282
5283.ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
5284.ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
5285html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
5286{
5287 border: unset;
5288}
5289
5290img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
5291
5292.ui-datepicker-trigger {
5293 vertical-align: middle;
5294 cursor: pointer;
5295 padding-left: 2px;
5296 padding-right: 2px;
5297}
5298
5299.bodyline {
5300 -webkit-border-radius: 4px;
5301 border-radius: 4px;
5302 border: 1px #E4ECEC outset;
5303 padding: 0px;
5304 margin-bottom: 5px;
5305}
5306table.dp {
5307 width: 180px;
5308 background-color: #FFFFFF;
5309 /*border-top: solid 2px #f4f4f4;
5310 border-<?php print $left; ?>: solid 2px #f4f4f4;
5311 border-<?php print $right; ?>: solid 1px #222222;
5312 border-bottom: solid 1px #222222; */
5313 padding: 0px;
5314 border-spacing: 0px;
5315 border-collapse: collapse;
5316}
5317.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
5318/* Barre titre */
5319.dpHead,.tpHead,.tpHour td:Hover .tpHead{
5320 font-weight:bold;
5321 background-color: #888;
5322 color:white;
5323 font-size:11px;
5324 cursor:auto;
5325}
5326/* Barre navigation */
5327.dpButtons,.tpButtons {
5328 text-align:center;
5329 background-color: #888;
5330 color:#FFFFFF;
5331 font-weight:bold;
5332 cursor:pointer;
5333}
5334.dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
5335.dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
5336.dpExplanation{ font-weight:normal; font-size:11px;}
5337.dpWeek td{text-align:center}
5338
5339.dpToday,.dpReg,.dpSelected{
5340 cursor:pointer;
5341}
5342.dpToday{font-weight:bold; color:black; background-color:#f4f4f4;}
5343.dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
5344
5345/* Jour courant */
5346.dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
5347
5348.tpHour{border-top:1px solid #f4f4f4; border-right:1px solid #f4f4f4;}
5349.tpHour td {border-left:1px solid #f4f4f4; border-bottom:1px solid #f4f4f4; cursor:pointer;}
5350.tpHour td:Hover {background-color:black;color:white;}
5351
5352.tpMinute {margin-top:5px;}
5353.tpMinute td:Hover {background-color:black; color:white; }
5354.tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
5355
5356/* Bouton X fermer */
5357.dpInvisibleButtons
5358{
5359 border-style:none;
5360 background-color:transparent;
5361 padding:0px;
5362 font-size: 0.85em;
5363 border-width:0px;
5364 color: #eee;
5365 vertical-align:middle;
5366 cursor: pointer;
5367}
5368.datenowlink {
5369 color: rgb(<?php print $colortextlink; ?>);
5370 font-size: 0.8em;
5371 opacity: 0.7;
5372}
5373
5374.categtextwhite, .treeview .categtextwhite.hover {
5375 color: #fff !important;
5376}
5377.categtextblack {
5378 color: #000 !important;
5379}
5380
5381
5382/* ============================================================================== */
5383/* Show/Hide */
5384/* ============================================================================== */
5385
5386div.visible {
5387 display: block;
5388}
5389
5390div.hidden, div.hiddenforpopup, header.hidden, tr.hidden, td.hidden, img.hidden, span.hidden, div.showifmore {
5391 display: none;
5392}
5393
5394.unvisible {
5395 visibility: hidden;
5396}
5397
5398tr.visible {
5399 display: block;
5400}
5401
5402
5403/* ============================================================================== */
5404/* Module website */
5405/* ============================================================================== */
5406
5407
5408.previewnotyetavailable {
5409 opacity: 0.5;
5410}
5411
5412.websiteformtoolbar {
5413 position: sticky;
5414 top: <?php echo empty($dol_hide_topmenu) ? ($disableimages ? '36px' : '50px') : '0'; ?>;
5415 z-index: 1002; /* Dolibarr menu is 1001, Website menu is 1002 */
5416}
5417
5418.exampleapachesetup {
5419 overflow-y: auto;
5420 max-height: 100px;
5421 font-size: 0.8em;
5422 border: 1px solid #aaa;
5423}
5424
5425span[phptag] {
5426 background: #ddd; border: 1px solid #ccc; border-radius: 4px;
5427}
5428
5429.nobordertransp {
5430 border: 0px;
5431 background-color: transparent;
5432 background-image: none;
5433 color: #000 !important;
5434 text-shadow: none;
5435}
5436.bordertransp:not(.nobordertransp) {
5437 background-color: transparent;
5438 background-image: none;
5439 border: 1px solid #aaa;
5440 font-weight: normal;
5441 color: #444 !important;
5442}
5443.websitebar .button.bordertransp {
5444 color: unset;
5445 text-decoration: unset !important;
5446 /* margin: 0px 4px 0px 4px !important */
5447}
5448
5449.websitebar {
5450 border-bottom: 1px solid #ccc;
5451 background: #eee;
5452 display: inline-block;
5453 padding: 5px 5px 5px 5px;
5454}
5455.centpercent.websitebar {
5456 width: calc(100% - 10px);
5457 font-size: 0.94em;
5458}
5459.websitebar .buttonDelete, .websitebar .button {
5460 text-shadow: none;
5461}
5462.websitebar .button, .websitebar .buttonDelete
5463{
5464 padding: 2px 4px 2px 4px !important;
5465 margin: 2px 4px 2px 4px !important;
5466 line-height: normal;
5467}
5468.websitebar input.button.bordertransp, .websitebar input.buttonDelete.bordertransp {
5469 color: #444 !important;
5470 text-shadow: none;
5471}
5472.websiteselection {
5473 /* display: inline-block; */
5474 padding-<?php echo $right; ?>: 10px;
5475 vertical-align: middle;
5476}
5477.websitetools {
5478 float: right;
5479}
5480.websiteselection, .websitetools {
5481 /* margin-top: 3px;
5482 padding-top: 3px;
5483 padding-bottom: 3px; */
5484}
5485.websiteinputurl {
5486 display: inline-block;
5487 vertical-align: top;
5488 line-height: 26px;
5489}
5490.websiteiframenoborder {
5491 border: 0px;
5492}
5493span.websitebuttonsitepreview, a.websitebuttonsitepreview {
5494 vertical-align: middle;
5495}
5496span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
5497 width: 26px;
5498 display: inline-block;
5499}
5500span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
5501 opacity: 0.2;
5502}
5503.websiteiframenoborder {
5504 border: 0px;
5505}
5506.websitehelp {
5507 vertical-align: middle;
5508 float: right;
5509 padding-top: 5px;
5510}
5511.websiteselectionsection {
5512 border-left: 1px solid #bbb;
5513 border-right: 1px solid #bbb;
5514 margin-left: 0px;
5515 padding-left: 8px;
5516 margin-right: 5px;
5517}
5518.websitebar input#previewpageurl {
5519 line-height: 1em;
5520}
5521
5522#divbodywebsite section p {
5523 margin: unset;
5524}
5525
5526
5527/* ============================================================================== */
5528/* Module agenda */
5529/* ============================================================================== */
5530
5531.dayevent .tagtr:first-of-type {
5532 height: 24px;
5533}
5534.agendacell { height: 60px; }
5535table.cal_month { border-spacing: 0px; }
5536table.cal_month td:first-child { border-left: 0px; }
5537table.cal_month td:last-child { border-right: 0px; }
5538.cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
5539.cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
5540.cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
5541.cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
5542.cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
5543.cal_current_month_right { border-right: solid 1px #E0E0E0; }
5544.cal_other_month_right { border-right: solid 1px #C0C0C0; }
5545.cal_other_month { /* opacity: 0.6; */ background: #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5546.cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5547.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; }
5548.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; }
5549.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; }
5550.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; }
5551.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; }
5552.cal_past { }
5553.cal_peruser { padding: 0px; }
5554.cal_impair { background: #F8F8F8; }
5555.cal_today_peruser_impair { background: #F8F8F0; }
5556.peruser_busy { background: #CC8888; }
5557.peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
5558div.event { margin: 8px; border-radius: 4px; box-shadow: 2px 2px 5px rgba(100, 100, 100, 0.2); }
5559table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 3px; border-radius: 3px; min-height: 20px; }
5560table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
5561table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
5562table.cal_event td.cal_event_right { padding: 4px 4px !important; }
5563.cal_event { font-size: 1em; }
5564.cal_event a:link { color: #111111; font-weight: normal !important; }
5565.cal_event a:visited { color: #111111; font-weight: normal !important; }
5566.cal_event a:active { color: #111111; font-weight: normal !important; }
5567.cal_event_busy a:hover { color: #111111; font-weight: normal !important; color:rgba(255,255,255,.75); }
5568.cal_event_busy { }
5569.cal_peruserviewname { max-width: 140px; height: 22px; }
5570
5571.calendarviewcontainertr { height: 100px; }
5572
5573.topmenuimage {
5574 background-size: 24px auto;
5575}
5576
5577td.cal_other_month {
5578 opacity: 0.8;
5579}
5580
5581.cal_available { background: #0060d450; }
5582.cal_chosen { background: #0060d4; }
5583
5584/* ============================================================================== */
5585/* Ajax - Combo list for autocompletion */
5586/* ============================================================================== */
5587
5588.ui-widget-content {
5589 border: solid 1px rgba(0,0,0,.3);
5590 background: var(--colorbackbody) !important;
5591 color: var(--colortext) !important;
5592}
5593
5594.ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat; }
5595.ui-autocomplete {
5596 position:absolute;
5597 width:auto;
5598 font-size: 1.0em;
5599 background-color:white;
5600 border:1px solid #888;
5601 margin:0px;
5602/* padding:0px; This make combo crazy */
5603 }
5604.ui-autocomplete ul {
5605 list-style-type:none;
5606 margin:0px;
5607 padding:0px;
5608 }
5609.ui-autocomplete ul li.selected { background-color: #D3E5EC;}
5610.ui-autocomplete ul li {
5611 list-style-type:none;
5612 display:block;
5613 margin:0;
5614 padding:2px;
5615 height:18px;
5616 cursor:pointer;
5617 }
5618
5619
5620/* ============================================================================== */
5621/* Gantt
5622/* ============================================================================== */
5623
5624td.gtaskname {
5625 overflow: hidden;
5626 text-overflow: ellipsis;
5627}
5628
5629
5630/* ============================================================================== */
5631/* jQuery - jeditable for inline edit */
5632/* ============================================================================== */
5633
5634.editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
5635 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
5636 cursor: pointer;
5637 margin-right: 3px;
5638 margin-top: 3px;
5639}
5640
5641.editkey_datepicker {
5642 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
5643 cursor: pointer;
5644 margin-right: 3px;
5645 margin-top: 3px;
5646}
5647
5648.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 {
5649 background: white;
5650 cursor: pointer;
5651}
5652
5653.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 {
5654 background: white;
5655 cursor: pointer;
5656}
5657
5658.viewval_hover {
5659 background: white;
5660}
5661
5662
5663/* ============================================================================== */
5664/* Admin Menu */
5665/* ============================================================================== */
5666
5667/* CSS for treeview */
5668.treeview ul { background-color: transparent !important; margin-top: 0 !important; /* margin-bottom: 4px !important; padding-top: 2px !important; */ }
5669.treeview li { background-color: transparent !important; padding: 0 0 0 20px !important; min-height: 30px; }
5670.treeview .hitarea { width: 20px !important; margin-left: -20px !important; margin-top: 3px; }
5671.treeview li table { min-height: 30px; }
5672.treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
5673
5674
5675
5676/* ============================================================================== */
5677/* Show Excel tabs */
5678/* ============================================================================== */
5679
5680.table_data
5681{
5682 border-style:ridge;
5683 border:1px solid;
5684}
5685.tab_base
5686{
5687 background:#C5D0DD;
5688 font-weight:bold;
5689 border-style:ridge;
5690 border: 1px solid;
5691 cursor:pointer;
5692}
5693.table_sub_heading
5694{
5695 background:#CCCCCC;
5696 font-weight:bold;
5697 border-style:ridge;
5698 border: 1px solid;
5699}
5700.table_body
5701{
5702 background:#F0F0F0;
5703 font-weight:normal;
5704 font-family:sans-serif;
5705 border-style:ridge;
5706 border: 1px solid;
5707 border-spacing: 0px;
5708 border-collapse: collapse;
5709}
5710.tab_loaded
5711{
5712 background:#222222;
5713 color:white;
5714 font-weight:bold;
5715 border-style:groove;
5716 border: 1px solid;
5717 cursor:pointer;
5718}
5719
5720
5721/* ============================================================================== */
5722/* CSS for color picker */
5723/* ============================================================================== */
5724
5725table.jPicker {
5726 border-radius: 5px;
5727 border: 1px solid #bbb !important;
5728}
5729A.color, A.color:active, A.color:visited {
5730 position : relative;
5731 display : block;
5732 text-decoration : none;
5733 width : 10px;
5734 height : 10px;
5735 line-height : 10px;
5736 margin : 0px;
5737 padding : 0px;
5738 border : 1px inset white;
5739}
5740A.color:hover {
5741 border : 1px outset white;
5742}
5743A.none, A.none:active, A.none:visited, A.none:hover {
5744 position : relative;
5745 display : block;
5746 text-decoration : none;
5747 width : 10px;
5748 height : 10px;
5749 line-height : 10px;
5750 margin : 0px;
5751 padding : 0px;
5752 cursor : default;
5753 border : 1px solid #b3c5cc;
5754}
5755.tblColor {
5756 display : none;
5757}
5758.tdColor {
5759 padding : 1px;
5760}
5761.tblContainer {
5762 background-color : #b3c5cc;
5763}
5764.tblGlobal {
5765 position : absolute;
5766 top : 0px;
5767 left : 0px;
5768 display : none;
5769 background-color : #b3c5cc;
5770 border : 2px outset;
5771}
5772.tdContainer {
5773 padding : 5px;
5774}
5775.tdDisplay {
5776 width : 50%;
5777 height : 20px;
5778 line-height : 20px;
5779 border : 1px outset white;
5780}
5781.tdDisplayTxt {
5782 width : 50%;
5783 height : 24px;
5784 line-height : 12px;
5785 font-family : <?php print $fontlist ?>;
5786 font-size : 8pt;
5787 color : black;
5788 text-align : center;
5789}
5790.btnColor {
5791 width : 100%;
5792 font-family : <?php print $fontlist ?>;
5793 font-size : 10pt;
5794 padding : 0px;
5795 margin : 0px;
5796}
5797.btnPalette {
5798 width : 100%;
5799 font-family : <?php print $fontlist ?>;
5800 font-size : 8pt;
5801 padding : 0px;
5802 margin : 0px;
5803}
5804.colorselector {
5805 border: solid 1px #ddd !important;
5806}
5807
5808
5809/* Style to overwrites JQuery styles */
5810.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
5811 border: 1px solid #888;
5812 background: rgb(<?php echo $colorbacktitle1; ?>);
5813 color: unset;
5814}
5815
5816.ui-menu .ui-menu-item a {
5817 text-decoration:none;
5818 display:block;
5819 padding:.2em .4em;
5820 line-height:1.5;
5821 font-weight: normal;
5822 font-family:<?php echo $fontlist; ?>;
5823 font-size:1em;
5824}
5825.ui-widget {
5826 font-family:<?php echo $fontlist; ?>;
5827}
5828.ui-button { margin-left: -2px; <?php print(preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> }
5829.ui-button-icon-only .ui-button-text { height: 8px; }
5830.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
5831.ui-button-text
5832{
5833 line-height: 1em !important;
5834}
5835.ui-autocomplete-input { margin: 0; padding: 4px; }
5836
5837
5838/* ============================================================================== */
5839/* CKEditor */
5840/* ============================================================================== */
5841
5842body.cke_show_borders {
5843 margin: 5px !important;
5844}
5845
5846.cke_dialog {
5847 border: 1px #bbb solid ! important;
5848}
5849/*.cke_editor table, .cke_editor tr, .cke_editor td
5850{
5851 border: 0px solid #FF0000 !important;
5852}
5853span.cke_skin_kama { padding: 0 !important; }*/
5854.cke_wrapper { padding: 4px !important; }
5855a.cke_dialog_ui_button
5856{
5857 font-family: <?php print $fontlist ?> !important;
5858 background-image: url(<?php echo $img_button ?>) !important;
5859 background-position: bottom !important;
5860 border: 1px solid #C0C0C0 !important;
5861 -webkit-border-radius:0px 2px 0px 2px !important;
5862 border-radius:0px 2px 0px 2px !important;
5863 -webkit-box-shadow: 3px 3px 4px #f4f4f4 !important;
5864 box-shadow: 3px 3px 4px #f4f4f4 !important;
5865}
5866.cke_dialog_ui_hbox_last
5867{
5868 vertical-align: bottom !important;
5869}
5870.cke_dialog_ui_hbox_last
5871{
5872 vertical-align: bottom !important;
5873}
5874.cke_combo_text {
5875 width: 40px !important;
5876}
5877/*
5878.cke_editable
5879{
5880 line-height: 1.4 !important;
5881 margin: 6px !important;
5882}
5883*/
5884a.cke_dialog_ui_button_ok span {
5885 text-shadow: none !important;
5886 color: #333 !important;
5887}
5888
5889
5890/* ============================================================================== */
5891/* ACE editor */
5892/* ============================================================================== */
5893.ace_editor {
5894 border: 1px solid #ddd;
5895 margin: 0;
5896}
5897.aceeditorstatusbar {
5898 margin: 0;
5899 padding: 0;
5900 padding-<?php echo $left; ?>: 10px;
5901 left: 0;
5902 right: 0;
5903 bottom: 0;
5904 color: #666;
5905 height: 28px;
5906 line-height: 2.2em;
5907}
5908.ace_status-indicator {
5909 color: gray;
5910 position: relative;
5911 right: 0;
5912 border-left: 1px solid;
5913}
5914pre#editfilecontentaceeditorid {
5915 margin-top: 5px;
5916}
5917
5918
5919/* ============================================================================== */
5920/* File upload */
5921/* ============================================================================== */
5922
5923.template-upload {
5924 height: 72px !important;
5925}
5926
5927
5928/* ============================================================================== */
5929/* Custom reports */
5930/* ============================================================================== */
5931
5932.customreportsoutput, .customreportsoutputnotdata {
5933 padding-top: 20px;
5934}
5935.customreportsoutputnotdata {
5936 text-align: center;
5937}
5938
5939
5940/* ============================================================================== */
5941/* Holiday */
5942/* ============================================================================== */
5943
5944#types .btn {
5945 cursor: pointer;
5946}
5947
5948#types .btn-primary {
5949 font-weight: bold;
5950}
5951
5952#types form {
5953 padding: 20px;
5954}
5955
5956#types label {
5957 display:inline-block;
5958 width:100px;
5959 margin-right: 20px;
5960 padding: 4px;
5961 text-align: right;
5962 vertical-align: top;
5963}
5964
5965#types input.text, #types textarea {
5966 width: 400px;
5967}
5968
5969#types textarea {
5970 height: 100px;
5971}
5972
5973
5974/* ============================================================================== */
5975/* Comments */
5976/* ============================================================================== */
5977
5978#comment div {
5979 box-sizing:border-box;
5980}
5981#comment .comment {
5982 border-radius:7px;
5983 margin-bottom:10px;
5984 overflow:hidden;
5985}
5986#comment .comment-table {
5987 display:table;
5988 height:100%;
5989}
5990#comment .comment-cell {
5991 display:table-cell;
5992}
5993#comment .comment-info {
5994 font-size:0.8em;
5995 border-right:1px solid #dedede;
5996 margin-right:10px;
5997 width:160px;
5998 text-align:center;
5999 background:rgba(255,255,255,0.5);
6000 vertical-align:middle;
6001 padding:10px 2px;
6002}
6003#comment .comment-info a {
6004 color:inherit;
6005}
6006#comment .comment-right {
6007 vertical-align:top;
6008}
6009#comment .comment-description {
6010 padding:10px;
6011 vertical-align:top;
6012}
6013#comment .comment-delete {
6014 width: 100px;
6015 text-align:center;
6016 vertical-align:middle;
6017}
6018#comment .comment-delete:hover {
6019 background:rgba(250,20,20,0.8);
6020}
6021#comment .comment-edit {
6022 width: 100px;
6023 text-align:center;
6024 vertical-align:middle;
6025}
6026#comment .comment-edit:hover {
6027 background:rgba(0,184,148,0.8);
6028}
6029#comment textarea {
6030 width: 100%;
6031}
6032
6033
6034/* ============================================================================== */
6035/* JSGantt */
6036/* ============================================================================== */
6037
6038div.scroll2 {
6039 width: <?php print isset($_SESSION['dol_screenwidth']) ? max((int) $_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
6040}
6041
6042div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
6043 line-height: 2;
6044}
6045
6046.gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
6047 font-size: unset !important;
6048}
6049
6050div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
6051 font-size: unset !important;
6052 font-weight: normal !important;
6053 color: #000 !important;
6054}
6055div.gTaskInfo {
6056 background: #f0f0f0 !important;
6057}
6058.gtaskblue {
6059 background: rgb(108,152,185) !important;
6060}
6061.gtaskgreen {
6062 background: rgb(160,173,58) !important;
6063}
6064td.gtaskname {
6065 overflow: hidden;
6066 text-overflow: ellipsis;
6067}
6068td.gminorheadingwkend {
6069 color: #888 !important;
6070}
6071td.gminorheading {
6072 color: #666 !important;
6073}
6074.glistlbl, .glistgrid {
6075 width: 582px !important;
6076}
6077.gtaskname div, .gtaskname {
6078 min-width: 250px !important;
6079 max-width: 250px !important;
6080 width: 250px !important;
6081}
6082.gpccomplete div, .gpccomplete {
6083 min-width: 40px !important;
6084 max-width: 40px !important;
6085 width: 40px !important;
6086}
6087td.gtaskheading.gstartdate, td.gtaskheading.genddate {
6088 white-space: break-spaces;
6089}
6090.gtasktableh tr:nth-child(2) td:nth-child(2), .gtasktableh tr:nth-child(2) td:nth-child(3), .gtasktableh tr:nth-child(2) td:nth-child(4), .gtasktableh tr:nth-child(2) td:nth-child(5), .gtasktableh tr:nth-child(2) td:nth-child(6), .gtasktableh tr:nth-child(2) td:nth-child(7) {
6091 color: transparent !important;
6092 border-left: none;
6093 border-right: none;
6094 border-top: none;
6095}
6096
6097
6098/* ============================================================================== */
6099/* jFileTree */
6100/* ============================================================================== */
6101
6102.ecmfiletree {
6103 width: 99%;
6104 height: 99%;
6105 padding-left: 2px;
6106 font-weight: normal;
6107}
6108
6109.fileview {
6110 width: 99%;
6111 height: 99%;
6112 background: #FFF;
6113 padding-left: 2px;
6114 padding-top: 4px;
6115 font-weight: normal;
6116}
6117
6118div.filedirelem {
6119 position: relative;
6120 display: block;
6121 text-decoration: none;
6122}
6123
6124ul.filedirelem {
6125 padding: 2px;
6126 margin: 0 5px 5px 5px;
6127}
6128ul.filedirelem li {
6129 list-style: none;
6130 padding: 2px;
6131 margin: 0 10px 20px 10px;
6132 width: 160px;
6133 height: 120px;
6134 text-align: center;
6135 display: block;
6136 float: <?php print $left; ?>;
6137 border: solid 1px #f4f4f4;
6138}
6139
6140ul.ecmjqft {
6141 line-height: 16px;
6142 padding: 0px;
6143 margin: 0px;
6144 font-weight: normal;
6145}
6146
6147ul.ecmjqft li {
6148 list-style: none;
6149 padding: 0px;
6150 padding-left: 20px;
6151 margin: 0px;
6152 display: block;
6153}
6154
6155ul.ecmjqft a {
6156 line-height: 24px;
6157 vertical-align: middle;
6158 color: #333;
6159 padding: 0px 0px;
6160 font-weight:normal;
6161 display: inline-block !important;
6162}
6163ul.ecmjqft > a {
6164 width: calc(100% - 100px);
6165 overflow: hidden;
6166 white-space: break-spaces;
6167 word-break: break-all;
6168}
6169ul.ecmjqft a:active {
6170 font-weight: bold !important;
6171}
6172ul.ecmjqft a:hover {
6173 text-decoration: underline;
6174}
6175
6176div.ecmjqft {
6177 vertical-align: middle;
6178 display: inline-block !important;
6179 text-align: right;
6180 float: right;
6181 right:4px;
6182 clear: both;
6183}
6184div#ecm-layout-west {
6185 width: 380px;
6186 vertical-align: top;
6187}
6188div#ecm-layout-center {
6189 width: calc(100% - 390px);
6190 vertical-align: top;
6191 float: right;
6192}
6193
6194.ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png', 1); ?>) left top no-repeat; }
6195.ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png', 1); ?>) left top no-repeat; }
6196.ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
6197
6198
6199/* ============================================================================== */
6200/* jNotify */
6201/* ============================================================================== */
6202
6203.jnotify-container {
6204 position: fixed !important;
6205<?php if (getDolGlobalString('MAIN_JQUERY_JNOTIFY_BOTTOM')) { ?>
6206 top: auto !important;
6207 bottom: 4px !important;
6208<?php } ?>
6209 text-align: center;
6210 min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
6211 width: auto;
6212 max-width: 1024px;
6213 padding-left: 10px !important;
6214 padding-right: 10px !important;
6215 word-wrap: break-word;
6216}
6217.jnotify-container .jnotify-notification .jnotify-message {
6218 font-weight: normal;
6219 text-align: start;
6220 word-break: break-word;
6221}
6222.jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
6223 color: #a28918 !important;
6224}
6225
6226/* use or not ? */
6227div.jnotify-background {
6228 opacity : 0.95 !important;
6229 -webkit-box-shadow: 2px 2px 4px #888 !important;
6230 box-shadow: 2px 2px 4px #888 !important;
6231}
6232
6233/* ============================================================================== */
6234/* blockUI */
6235/* ============================================================================== */
6236
6237/*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
6238div.dolEventValid h1, div.dolEventValid h2 {
6239 color: #567b1b;
6240 background-color: #e3f0db;
6241 padding: 5px 5px 5px 5px;
6242 text-align: left;
6243}
6244div.dolEventError h1, div.dolEventError h2 {
6245 color: #a72947;
6246 background-color: #d79eac;
6247 padding: 5px 5px 5px 5px;
6248 text-align: left;
6249}
6250
6251/* ============================================================================== */
6252/* Maps */
6253/* ============================================================================== */
6254
6255.divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
6256}
6257
6258
6259/* ============================================================================== */
6260/* Datatable */
6261/* ============================================================================== */
6262
6263table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
6264 background: none !important;
6265}
6266.sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
6267.sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
6268.sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
6269.sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
6270.dataTables_paginate {
6271 margin-top: 8px;
6272}
6273.paginate_button_disabled {
6274 opacity: 1 !important;
6275 color: #888 !important;
6276 cursor: default !important;
6277}
6278.paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
6279{
6280 font-weight: normal;
6281}
6282.paginate_enabled_previous:hover, .paginate_enabled_next:hover
6283{
6284 text-decoration: underline !important;
6285}
6286.paginate_active
6287{
6288 text-decoration: underline !important;
6289}
6290.paginate_button
6291{
6292 font-weight: normal !important;
6293 text-decoration: none !important;
6294}
6295.paging_full_numbers {
6296 height: inherit !important;
6297}
6298.paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
6299 background-color: #DDD !important;
6300}
6301.paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
6302 background-color: #FFF !important;
6303 border-radius: inherit !important;
6304}
6305.paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
6306 background-color: #FFF !important;
6307}
6308.paginate_button, .paginate_active {
6309 border: 1px solid #ddd !important;
6310 padding: 6px 12px !important;
6311 margin-left: -1px !important;
6312 line-height: 1.42857143 !important;
6313 margin: 0 0 !important;
6314}
6315
6316/* For jquery plugin combobox */
6317/* Disable this. It breaks wrapping of boxes
6318.ui-corner-all { white-space: nowrap; } */
6319
6320.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
6321 opacity: .35;
6322 background-image: none;
6323}
6324
6325div.dataTables_length {
6326 float: right !important;
6327 padding-left: 8px;
6328}
6329div.dataTables_length select {
6330 background: #fff;
6331}
6332.dataTables_wrapper .dataTables_paginate {
6333 padding-top: 0px !important;
6334}
6335
6336
6337/* ============================================================================== */
6338/* Select2 */
6339/* ============================================================================== */
6340
6341span#select2-taskid-container[title^='--'] {
6342 opacity: 0.3;
6343}
6344
6345input.select2-input {
6346 border-bottom: none ! important;
6347}
6348.select2-choice {
6349 border: none;
6350 border-bottom: 1px solid #ccc !important;
6351}
6352.select2-results .select2-highlighted.optionblue {
6353 color: #FFF !important;
6354}
6355
6356.select2-container .select2-selection--multiple {
6357 min-height: 28px !important;
6358}
6359
6360.select2-container--default .select2-selection--multiple .select2-selection__choice {
6361 border: 1px solid #e4e4e4;
6362}
6363
6364.blockvmenusearch .select2-container--default .select2-selection--single,
6365.blockvmenubookmarks .select2-container--default .select2-selection--single
6366{
6367 background-color: unset;
6368}
6369.select2-container--default .select2-selection--single .select2-selection__rendered {
6370 color: unset;
6371}
6372.select2-container .select2-choice {
6373 border-bottom: 1px solid #ccc;
6374}
6375.select2-container .select2-choice > .select2-chosen {
6376 margin-right: 23px;
6377}
6378.select2-container .select2-choice .select2-arrow {
6379 border-radius: 0;
6380}
6381.select2-container-multi .select2-choices {
6382 background-image: none;
6383}
6384.select2-container .select2-choice {
6385 color: #000;
6386 border-radius: 0;
6387}
6388.selectoptiondisabledwhite {
6389 background: #FFFFFF !important;
6390}
6391
6392.select2-arrow {
6393 border: none;
6394 border-left: none !important;
6395 background: none !important;
6396}
6397.select2-choice
6398{
6399 border-top: none !important;
6400 border-left: none !important;
6401 border-right: none !important;
6402 border-bottom: 1px solid #ccc;
6403}
6404.select2-drop.select2-drop-above {
6405 box-shadow: none !important;
6406}
6407.select2-container--open .select2-dropdown--above {
6408 border-bottom: solid 1px rgba(0,0,0,.2);
6409}
6410.select2-drop.select2-drop-above.select2-drop-active {
6411 border-top: 1px solid #ccc;
6412 border-bottom: 1px solid #ccc;
6413}
6414.select2-container--default .select2-selection--single
6415{
6416 outline: none;
6417 border-top: none;
6418 border-left: none;
6419 border-right: none;
6420 border-bottom: solid 1px rgba(0,0,0,.2);
6421 -webkit-box-shadow: none !important;
6422 box-shadow: none !important;
6423 border-radius: 0 !important;
6424}
6425.select2-container--default.select2-container--focus .select2-selection--multiple {
6426 border-top: none;
6427 border-left: none;
6428 border-right: none;
6429}
6430.select2-container--default .select2-selection--multiple {
6431 border-bottom: solid 1px rgba(0,0,0,.2);
6432 border-top: none;
6433 border-left: none;
6434 border-right: none;
6435 border-radius: 0 !important;
6436}
6437.select2-selection--multiple input.select2-search__field {
6438 border-bottom: none !important;
6439}
6440.select2-search__field
6441{
6442 outline: none;
6443 border-top: none !important;
6444 border-left: none !important;
6445 border-right: none !important;
6446 border-bottom: solid 1px rgba(0,0,0,.2) !important;
6447 -webkit-box-shadow: none !important;
6448 box-shadow: none !important;
6449 border-radius: 0 !important;
6450}
6451.select2-container-active .select2-choice, .select2-container-active .select2-choices
6452{
6453 outline: none;
6454 border-top: none;
6455 border-left: none;
6456 border-bottom: none;
6457 -webkit-box-shadow: none !important;
6458 box-shadow: none !important;
6459}
6460.select2-dropdown-open {
6461 background-color: #fff;
6462}
6463.select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
6464{
6465 outline: none;
6466 border-top: none;
6467 border-left: none;
6468 border-bottom: none;
6469 -webkit-box-shadow: none !important;
6470 box-shadow: none !important;
6471 background-color: #fff;
6472}
6473.select2-disabled
6474{
6475 color: #888;
6476}
6477.select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
6478 border-radius: 0;
6479}
6480.select2-drop.select2-drop-above {
6481 border-radius: 0;
6482}
6483.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
6484 background-image: none;
6485 border-radius: 0 !important;
6486}
6487div.select2-drop-above
6488{
6489 background: #fff;
6490 -webkit-box-shadow: none !important;
6491 box-shadow: none !important;
6492}
6493.select2-drop-active
6494{
6495 border: 1px solid #ccc;
6496 padding-top: 4px;
6497}
6498.select2-search input {
6499 border: none;
6500}
6501a span.select2-chosen
6502{
6503 font-weight: normal !important;
6504}
6505.select2-container .select2-choice {
6506 background-image: none;
6507 line-height: 24px;
6508}
6509.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
6510{
6511 background: #FFFFFF;
6512}
6513.select2-results {
6514 max-height: 400px;
6515}
6516.select2-results__option {
6517 word-break: break-word;
6518 text-align: <?php echo $left; ?>;
6519}
6520.select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
6521 background-color: #FFFFFF;
6522 background-image: none;
6523 border: none;
6524 cursor: default;
6525}
6526.select2-container-disabled .select2-choice .select2-arrow b {
6527 opacity: 0.5;
6528}
6529.select2-container-multi .select2-choices .select2-search-choice {
6530 margin-bottom: 3px;
6531}
6532.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
6533.select2-container-multi.select2-container-active .select2-choices
6534{
6535 border-bottom: 1px solid #ccc;
6536 border-right: none;
6537 border-top: none;
6538 border-left: 1px solid #ddd;
6539}
6540.select2-container--default .select2-results>.select2-results__options{
6541 max-height: 400px;
6542}
6543
6544/* Special case for the select2 add widget */
6545#addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
6546 text-align: <?php echo $left; ?>;
6547 opacity: 0.3;
6548}
6549.select2-container--default .select2-selection--single .select2-selection__placeholder {
6550 color: unset;
6551 opacity: 0.5;
6552}
6553span#select2-boxbookmark-container, span#select2-boxcombo-container {
6554 text-align: <?php echo $left; ?>;
6555 opacity: 0.5;
6556}
6557.select2-container .select2-selection--single .select2-selection__rendered {
6558 padding-left: 6px;
6559}
6560/* Style used before the select2 js is executed on boxcombo */
6561#boxbookmark.boxcombo, #boxcombo.boxcombo {
6562 text-align: left;
6563 opacity: 0.3;
6564 border-bottom: solid 1px rgba(0,0,0,.4) !important;
6565 height: 26px;
6566 line-height: 24px;
6567 padding: 0 0 5px 5px;
6568 vertical-align: top;
6569}
6570
6571/* To emulate select 2 style */
6572.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
6573 padding: 3px 5px 2px 5px;
6574 margin: 0 0 2px 3px;
6575 position: relative;
6576 line-height: 13px;
6577 color: #444;
6578 cursor: default;
6579 border: 1px solid #ddd;
6580 border-radius: 3px;
6581 -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
6582 box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
6583 background-clip: padding-box;
6584 -webkit-touch-callout: none;
6585 -webkit-user-select: none;
6586 -moz-user-select: none;
6587 -ms-user-select: none;
6588 user-select: none;
6589 background-color: #e4e4e4;
6590 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));
6591 background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6592 background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6593 background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6594}
6595.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
6596 font-weight: normal;
6597}
6598.select2-container-multi-dolibarr .select2-choices-dolibarr li {
6599 float: <?php echo $left; ?>;
6600 list-style: none;
6601}
6602.select2-container-multi-dolibarr .select2-choices-dolibarr {
6603 height: auto !important;
6604 height: 1%;
6605 margin: 0;
6606 padding: 0 5px 0 0;
6607 position: relative;
6608 cursor: text;
6609 overflow: hidden;
6610}
6611
6612span.select2.select2-container.select2-container--default {
6613 text-align: initial;
6614}
6615
6616ul.select2-results__options li {
6617 font-size: 0.95em;
6618}
6619
6620select.multiselectononeline {
6621 padding: 0;
6622 vertical-align: middle;
6623 min-height: unset;
6624 height: 28px !important;
6625 opacity: 0;
6626 /* width: 1px !important; */
6627}
6628
6629@media only screen and (min-width: 767px)
6630{
6631 /* CSS to have the dropdown boxes larger that the input search area */
6632 .select2-container.select2-container--open:not(.graphtype) .select2-dropdown.ui-dialog {
6633 min-width: 240px !important;
6634 }
6635 .select2-container.select2-container--open:not(.graphtype) .select2-dropdown--below:not(.onrightofpage),
6636 .select2-container.select2-container--open:not(.graphtype) .select2-dropdown--above:not(.onrightofpage) {
6637 min-width: 240px !important;
6638 }
6639 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
6640 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above {
6641 min-width: 140px !important;
6642 }
6643
6644 .select2-container--open .select2-dropdown--below {
6645 border-top: 1px solid var(--inputbordercolor);
6646 /* border-top: 1px solid #aaaaaa; */
6647 }
6648}
6649
6650.parentonrightofpage {
6651 direction: rtl;
6652}
6653
6654
6655/* ============================================================================== */
6656/* For categories */
6657/* ============================================================================== */
6658
6659.noborderoncategories {
6660 border: none !important;
6661 border-radius: 5px !important;
6662 box-shadow: none;
6663 -webkit-box-shadow: none !important;
6664 box-shadow: none !important;
6665 margin-bottom: 0 !important;
6666}
6667span.noborderoncategories a, li.noborderoncategories a {
6668 line-height: normal;
6669}
6670span.noborderoncategories {
6671 padding: 3px 5px 3px 5px;
6672}
6673.categtextwhite, .treeview .categtextwhite.hover {
6674 color: #fff !important;
6675}
6676.categtextblack {
6677 color: #000 !important;
6678}
6679
6680
6681/* ============================================================================== */
6682/* External lib multiselect with checkbox */
6683/* ============================================================================== */
6684
6685.multi-select-menu {
6686 z-index: 10;
6687}
6688
6689.multi-select-container {
6690 display: inline-block;
6691 position: relative;
6692}
6693
6694.multi-select-menu {
6695 position: absolute;
6696 left: 0;
6697 top: 0.8em;
6698 float: left;
6699 min-width: 100%;
6700 background: #fff;
6701 margin: 1em 0;
6702 padding: 0.4em 0;
6703 border: 1px solid #aaa;
6704 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
6705 display: none;
6706}
6707
6708div.multi-select-menu[role="menu"] {
6709 min-width: 220px !important;
6710}
6711
6712.multi-select-menu input {
6713 margin-right: 0.3em;
6714 vertical-align: 0.1em;
6715}
6716
6717.multi-select-button {
6718 display: inline-block;
6719 max-width: 20em;
6720 white-space: nowrap;
6721 overflow: hidden;
6722 text-overflow: ellipsis;
6723 vertical-align: middle;
6724 background-color: #fff;
6725 cursor: default;
6726
6727 border: none;
6728 border-bottom: solid 1px rgba(0,0,0,.2);
6729 padding: 5px;
6730 padding-left: 2px;
6731 height: 17px;
6732}
6733.multi-select-button:focus {
6734 outline: none;
6735 border-bottom: 1px solid #666;
6736}
6737
6738.multi-select-button:after {
6739 content: "";
6740 display: inline-block;
6741 width: 0;
6742 height: 0;
6743 border-style: solid;
6744 border-width: 0.5em 0.23em 0em 0.23em;
6745 border-color: #888 transparent transparent transparent;
6746 margin-left: 0.4em;
6747}
6748
6749.multi-select-container--open .multi-select-menu { display: block; }
6750
6751.multi-select-container--open .multi-select-button:after {
6752 border-width: 0 0.4em 0.4em 0.4em;
6753 border-color: transparent transparent #888 transparent;
6754}
6755
6756.multi-select-menuitem {
6757 clear: both;
6758 float: left;
6759 padding-left: 5px
6760}
6761label.multi-select-menuitem {
6762 line-height: 24px;
6763 text-align: start;
6764}
6765
6766
6767/* ============================================================================== */
6768/* Native multiselect with checkbox */
6769/* ============================================================================== */
6770
6771ul.ulselectedfields {
6772 z-index: 90; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
6773}
6774dl.dropdown {
6775 margin:0px;
6776 padding:0px;
6777 margin-left: 2px;
6778 margin-right: 2px;
6779 vertical-align: middle;
6780 display: inline-block;
6781}
6782.dropdown dd, .dropdown dt {
6783 margin:0px;
6784 padding:0px;
6785}
6786.dropdown ul {
6787 margin: -1px 0 0 0;
6788 text-align: <?php echo $left; ?>;
6789}
6790.dropdown dd {
6791 position:relative;
6792}
6793.dropdown dt a {
6794 display:block;
6795 overflow: hidden;
6796 border:0;
6797}
6798.dropdown dt a span, .multiSel span {
6799 cursor:pointer;
6800 display:inline-block;
6801 padding: 0 3px 2px 0;
6802}
6803.maxwidthsearch .dropdown dt a span, .multiSel span {
6804 padding: 0 3px 2px 3px;
6805}
6806.dropdown span.value {
6807 display:none;
6808}
6809.dropdown dd ul {
6810 background-color: #FFF;
6811 box-shadow: 1px 1px 10px #aaa;
6812 display:none;
6813 <?php echo $right; ?>:0px; /* pop is align on right */
6814 padding: 0 0 0 0;
6815 position:absolute;
6816 top:2px;
6817 list-style:none;
6818 max-height: 264px;
6819 overflow: auto;
6820 z-index: 1;
6821}
6822.dropdown dd ul.selectedfieldsleft {
6823 <?php echo $right; ?>: auto;
6824}
6825.dropdown dd ul li {
6826 white-space: nowrap;
6827 font-weight: normal;
6828 padding: 7px 8px 7px 8px;
6829 /* color: rgb(<?php print $colortext; ?>); */
6830 color: #000;
6831}
6832.dropdown dd ul li:hover {
6833 background: #eee;
6834}
6835.dropdown dd ul li input[type="checkbox"] {
6836 margin-<?php echo $right; ?>: 3px;
6837}
6838.dropdown dd ul li a, .dropdown dd ul li span {
6839 padding: 3px;
6840 display: block;
6841}
6842.dropdown dd ul li span {
6843 color: #888;
6844}
6845.dropdown dd ul li a:hover {
6846 background-color: #eee;
6847}
6848
6849dd.dropdowndd ul li {
6850 text-overflow: ellipsis;
6851 overflow: hidden;
6852 white-space: nowrap;
6853}
6854
6855
6856/* ============================================================================== */
6857/* Kanban */
6858/* ============================================================================== */
6859
6860.info-box-label {
6861 max-width: 180px;
6862 overflow: hidden;
6863 text-overflow: ellipsis;
6864 white-space: nowrap;
6865}
6866
6867
6868/* ============================================================================== */
6869/* Markdown rendering */
6870/* ============================================================================== */
6871
6872.imgmd {
6873 width: 90%;
6874}
6875.moduledesclong h1 {
6876 padding-top: 10px;
6877 padding-bottom: 20px;
6878}
6879
6880
6881/* ============================================================================== */
6882/* JMobile - Android */
6883/* ============================================================================== */
6884
6885.searchpage .tagtr .tagtd {
6886 padding-top: 2px;
6887 padding-bottom: 2px;
6888}
6889.searchpage .tagtr .tagtd .button {
6890 background: unset;
6891 border: unset;
6892}
6893.searchpage .searchform input {
6894 font-size: 1.15em;
6895}
6896
6897li.ui-li-divider .ui-link {
6898 color: #FFF !important;
6899}
6900.ui-btn {
6901 margin: 0.1em 2px
6902}
6903a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
6904 text-decoration: none !important;
6905}
6906.ui-body-c {
6907 background: #fff;
6908}
6909
6910.ui-btn-inner {
6911 min-width: .4em;
6912 padding-left: 6px;
6913 padding-right: 6px;
6914 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
6915 /* white-space: normal; */ /* Warning, enable this break the truncate feature */
6916}
6917.ui-btn-icon-right .ui-btn-inner {
6918 padding-right: 30px;
6919}
6920.ui-btn-icon-left .ui-btn-inner {
6921 padding-left: 30px;
6922}
6923.ui-select .ui-btn-icon-right .ui-btn-inner {
6924 padding-right: 30px;
6925}
6926.ui-select .ui-btn-icon-left .ui-btn-inner {
6927 padding-left: 30px;
6928}
6929.ui-select .ui-btn-icon-right .ui-icon {
6930 right: 8px;
6931}
6932.ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
6933 margin-top: -10px;
6934}
6935select {
6936 /* display: inline-block; */ /* We can't set this. This disable ability to make */
6937 overflow:hidden;
6938 white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
6939 text-overflow: ellipsis;
6940}
6941.fiche .ui-controlgroup {
6942 margin: 0px;
6943 padding-bottom: 0px;
6944}
6945div.ui-controlgroup-controls div.tabsElem
6946{
6947 margin-top: 2px;
6948}
6949div.ui-controlgroup-controls div.tabsElem a
6950{
6951 -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
6952 box-shadow: 0 -3px 6px rgba(0,0,0,.2);
6953}
6954div.ui-controlgroup-controls div.tabsElem a#active {
6955 -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
6956 box-shadow: 0 -3px 6px rgba(0,0,0,.3);
6957}
6958
6959a.tab span.ui-btn-inner
6960{
6961 border: none;
6962 padding: 0;
6963}
6964
6965.ui-link {
6966 color: rgb(<?php print $colortext; ?>);
6967}
6968.liste_titre .ui-link {
6969 color: rgb(<?php print $colortexttitle; ?>) !important;
6970}
6971
6972a.ui-link {
6973 word-wrap: break-word;
6974}
6975
6976/* force wrap possible onto field overflow does not works */
6977.formdoc .ui-btn-inner
6978{
6979 white-space: normal;
6980 overflow: hidden;
6981 text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
6982}
6983
6984/* Warning: setting this may make screen not beeing refreshed after a combo selection */
6985/*.ui-body-c {
6986 background: #fff;
6987}*/
6988
6989div.ui-radio, div.ui-checkbox
6990{
6991 display: inline-block;
6992 border-bottom: 0px !important;
6993}
6994.ui-checkbox input, .ui-radio input {
6995 height: auto;
6996 width: auto;
6997 margin: 4px;
6998 position: static;
6999}
7000div.ui-checkbox label+input, div.ui-radio label+input {
7001 position: absolute;
7002}
7003.ui-mobile fieldset
7004{
7005 padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
7006}
7007
7008ul.ulmenu {
7009 border-radius: 0;
7010 -webkit-border-radius: 0;
7011}
7012
7013.ui-field-contain label.ui-input-text {
7014 vertical-align: middle !important;
7015}
7016.ui-mobile fieldset {
7017 border-bottom: none !important;
7018}
7019
7020/* Style for first level menu with jmobile */
7021.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
7022 padding: 1em 15px;
7023 display: block;
7024}
7025.ui-btn-up-c {
7026 font-weight: normal;
7027}
7028.ui-focus, .ui-btn:focus {
7029 -webkit-box-shadow: none;
7030 box-shadow: none;
7031}
7032.ui-bar-b {
7033 /*border: 1px solid #888;*/
7034 border: none;
7035 background: none;
7036 text-shadow: none;
7037 color: rgb(<?php print $colortexttitlenotab; ?>) !important;
7038}
7039.ui-bar-b, .lilevel0 {
7040 background-repeat: repeat-x;
7041 border: none;
7042 background: none;
7043 text-shadow: none;
7044 color: rgb(<?php print $colortexttitlenotab; ?>) !important;
7045}
7046.alilevel0 {
7047 font-weight: normal !important;
7048}
7049
7050.ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
7051 border-bottom-width: 0px !important;
7052}
7053.alilevel0 {
7054 color: rgb(<?php echo $colortexttitle; ?>) !important;
7055}
7056.ulmenu {
7057 box-shadow: none !important;
7058 border-bottom: 1px solid #ccc;
7059}
7060.ui-btn-icon-right {
7061 border-right: 1px solid #ccc !important;
7062}
7063.ui-body-c {
7064 border: 1px solid #ccc;
7065 text-shadow: none;
7066}
7067.ui-btn-up-c, .ui-btn-hover-c {
7068 /* border: 1px solid #ccc; */
7069 text-shadow: none;
7070}
7071.ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
7072 color: rgb(<?php print $colortextlink; ?>);
7073}
7074.ui-btn-up-c .vsmenudisabled {
7075 color: #<?php echo $colorshadowtitle; ?> !important;
7076 text-shadow: none !important;
7077}
7078/*
7079.ui-btn-up-c {
7080 background: transparent;
7081}
7082*/
7083div.tabsElem a.tab {
7084 background: transparent;
7085}
7086
7087/*.ui-controlgroup-horizontal .ui-btn.ui-first-child {
7088-webkit-border-top-left-radius: 6px;
7089border-top-left-radius: 6px;
7090}
7091.ui-controlgroup-horizontal .ui-btn.ui-last-child {
7092-webkit-border-top-right-radius: 6px;
7093border-top-right-radius: 6px;
7094}*/
7095
7096.alilevel1 {
7097 color: rgb(<?php print $colortexttitlenotab; ?>) !important;
7098}
7099.lilevel1 {
7100 border-top: 2px solid #444;
7101 background: #fff ! important;
7102}
7103.lilevel1 div div a {
7104 font-weight: bold !important;
7105}
7106.lilevel2
7107{
7108 padding-left: 22px;
7109 background: #fff ! important;
7110}
7111.lilevel3
7112{
7113 padding-left: 44px;
7114 background: #fff ! important;
7115}
7116.lilevel4
7117{
7118 padding-left: 66px;
7119 background: #fff ! important;
7120}
7121.lilevel5
7122{
7123 padding-left: 88px;
7124 background: #fff ! important;
7125}
7126
7127
7128
7129/* ============================================================================== */
7130/* POS */
7131/* ============================================================================== */
7132
7133.menu_choix1 a {
7134 background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png', 1) ?>') top left no-repeat;
7135 background-position-y: 15px;
7136}
7137
7138.menu_choix2 a {
7139 background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png', 1) ?>') top left no-repeat;
7140 background-position-y: 15px;
7141}
7142.menu_choix1,.menu_choix2 {
7143 font-size: 1.4em;
7144 text-align: left;
7145 border: 1px solid #666;
7146 margin-right: 20px;
7147}
7148.menu_choix1 a, .menu_choix2 a {
7149 display: block;
7150 color: #fff;
7151 text-decoration: none;
7152 padding-top: 18px;
7153 padding-left: 54px;
7154 font-size: 14px;
7155 height: 40px;
7156}
7157.menu_choix1 a:hover,.menu_choix2 a:hover {
7158 color: #6d3f6d;
7159}
7160.menu li.menu_choix1 {
7161 padding-top: 6px;
7162 padding-right: 10px;
7163 padding-bottom: 2px;
7164}
7165.menu li.menu_choix2 {
7166 padding-top: 6px;
7167 padding-right: 10px;
7168 padding-bottom: 2px;
7169}
7170@media only screen and (max-width: 767px)
7171{
7172 .menu_choix1 a, .menu_choix2 a {
7173 background-size: 36px 36px;
7174 background-position-y: 6px;
7175 padding-left: 40px;
7176 }
7177 .menu li.menu_choix1, .menu li.menu_choix2 {
7178 padding-left: 4px;
7179 padding-right: 0;
7180 }
7181 .liste_articles {
7182 margin-right: 0 !important;
7183 }
7184}
7185
7186
7187/* ============================================================================== */
7188/* Public */
7189/* ============================================================================== */
7190
7191/* The theme for public pages */
7192.public_body {
7193 margin: 20px;
7194}
7195.public_border {
7196 border: 1px solid #888;
7197}
7198.publicnewmemberform div.tabBarWithBottom {
7199 border: 1px solid #e8e8e8;
7200 padding: 30px;
7201 border-radius: 8px;
7202 background-color: #f8f8f8;
7203 /*box-shadow: 2px 2px 10px #ddd;*/
7204}
7205
7206.publicnewmemberform #tablesubscribe {
7207 color: #666;
7208}
7209
7210
7211/* ============================================================================== */
7212/* Ticket module */
7213/* ============================================================================== */
7214
7215.ticketpublicarea {
7216 margin-left: 15%;
7217 margin-right: 15%;
7218}
7219.publicnewticketform {
7220 /* margin-top: 25px !important; */
7221}
7222.ticketlargemargin {
7223 padding-left: 50px;
7224 padding-right: 50px;
7225 padding-top: 10px;
7226}
7227@media only screen and (max-width: 767px)
7228{
7229 .ticketlargemargin {
7230 padding-left: 5px; padding-right: 5px;
7231 }
7232 .ticketpublicarea {
7233 margin-left: 10px;
7234 margin-right: 10px;
7235 }
7236}
7237
7238#cd-timeline {
7239 position: relative;
7240 padding: 2em 0;
7241 margin-bottom: 2em;
7242}
7243#cd-timeline::before {
7244 /* this is the vertical line */
7245 content: '';
7246 position: absolute;
7247 top: 0;
7248 left: 18px;
7249 height: 100%;
7250 width: 4px;
7251 background: #d7e4ed;
7252}
7253@media only screen and (min-width: 1170px) {
7254 #cd-timeline {
7255 margin-bottom: 3em;
7256 }
7257 #cd-timeline::before {
7258 left: 50%;
7259 margin-left: -2px;
7260 }
7261}
7262
7263.cd-timeline-block {
7264 position: relative;
7265 margin: 2em 0;
7266}
7267.cd-timeline-block:after {
7268 content: "";
7269 display: table;
7270 clear: both;
7271}
7272.cd-timeline-block:first-child {
7273 margin-top: 0;
7274}
7275.cd-timeline-block:last-child {
7276 margin-bottom: 0;
7277}
7278@media only screen and (min-width: 1170px) {
7279 .cd-timeline-block {
7280 margin: 4em 0;
7281 }
7282 .cd-timeline-block:first-child {
7283 margin-top: 0;
7284 }
7285 .cd-timeline-block:last-child {
7286 margin-bottom: 0;
7287 }
7288}
7289
7290.cd-timeline-img {
7291 position: absolute;
7292 top: 0;
7293 left: 0;
7294 width: 40px;
7295 height: 40px;
7296 border-radius: 50%;
7297 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);
7298 background: #d7e4ed;
7299}
7300.cd-timeline-img img {
7301 display: block;
7302 width: 24px;
7303 height: 24px;
7304 position: relative;
7305 left: 50%;
7306 top: 50%;
7307 margin-left: -12px;
7308 margin-top: -12px;
7309}
7310.cd-timeline-img.cd-picture {
7311 background: #75ce66;
7312}
7313.cd-timeline-img.cd-movie {
7314 background: #c03b44;
7315}
7316.cd-timeline-img.cd-location {
7317 background: #f0ca45;
7318}
7319@media only screen and (min-width: 1170px) {
7320 .cd-timeline-img {
7321 width: 60px;
7322 height: 60px;
7323 left: 50%;
7324 margin-left: -30px;
7325 /* Force Hardware Acceleration in WebKit */
7326 -webkit-transform: translateZ(0);
7327 -webkit-backface-visibility: hidden;
7328 }
7329 .cssanimations .cd-timeline-img.is-hidden {
7330 visibility: hidden;
7331 }
7332 .cssanimations .cd-timeline-img.bounce-in {
7333 visibility: visible;
7334 -webkit-animation: cd-bounce-1 0.6s;
7335 -moz-animation: cd-bounce-1 0.6s;
7336 animation: cd-bounce-1 0.6s;
7337 }
7338}
7339
7340@-webkit-keyframes cd-bounce-1 {
7341 0% {
7342 opacity: 0;
7343 -webkit-transform: scale(0.5);
7344 }
7345
7346 60% {
7347 opacity: 1;
7348 -webkit-transform: scale(1.2);
7349 }
7350
7351 100% {
7352 -webkit-transform: scale(1);
7353 }
7354}
7355@-moz-keyframes cd-bounce-1 {
7356 0% {
7357 opacity: 0;
7358 -moz-transform: scale(0.5);
7359 }
7360
7361 60% {
7362 opacity: 1;
7363 -moz-transform: scale(1.2);
7364 }
7365
7366 100% {
7367 -moz-transform: scale(1);
7368 }
7369}
7370@keyframes cd-bounce-1 {
7371 0% {
7372 opacity: 0;
7373 -webkit-transform: scale(0.5);
7374 -moz-transform: scale(0.5);
7375 -ms-transform: scale(0.5);
7376 -o-transform: scale(0.5);
7377 transform: scale(0.5);
7378 }
7379
7380 60% {
7381 opacity: 1;
7382 -webkit-transform: scale(1.2);
7383 -moz-transform: scale(1.2);
7384 -ms-transform: scale(1.2);
7385 -o-transform: scale(1.2);
7386 transform: scale(1.2);
7387 }
7388
7389 100% {
7390 -webkit-transform: scale(1);
7391 -moz-transform: scale(1);
7392 -ms-transform: scale(1);
7393 -o-transform: scale(1);
7394 transform: scale(1);
7395 }
7396}
7397.cd-timeline-content {
7398 position: relative;
7399 margin-left: 60px;
7400 background: white;
7401 border-radius: 0.25em;
7402 padding: 1em;
7403 background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7404 background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7405 background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7406 background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7407}
7408.cd-timeline-content:after {
7409 content: "";
7410 display: table;
7411 clear: both;
7412}
7413.cd-timeline-content h2 {
7414 color: #303e49;
7415}
7416.cd-timeline-content .cd-date {
7417 font-size: 13px;
7418 font-size: 0.8125rem;
7419}
7420.cd-timeline-content .cd-date {
7421 display: inline-block;
7422}
7423.cd-timeline-content p {
7424 margin: 1em 0;
7425 line-height: 1.6;
7426}
7427
7428.cd-timeline-content .cd-date {
7429 float: left;
7430 padding: .2em 0;
7431 opacity: .7;
7432}
7433.cd-timeline-content::before {
7434 content: '';
7435 position: absolute;
7436 top: 16px;
7437 right: 100%;
7438 height: 0;
7439 width: 0;
7440 border: 7px solid transparent;
7441 border-right: 7px solid white;
7442}
7443@media only screen and (min-width: 768px) {
7444 .cd-timeline-content h2 {
7445 font-size: 20px;
7446 font-size: 1.25rem;
7447 }
7448 .cd-timeline-content {
7449 font-size: 16px;
7450 font-size: 1rem;
7451 }
7452 .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
7453 font-size: 14px;
7454 font-size: 0.875rem;
7455 }
7456}
7457@media only screen and (min-width: 1170px) {
7458 .cd-timeline-content {
7459 margin-left: 0;
7460 padding: 1.6em;
7461 width: 43%;
7462 }
7463 .cd-timeline-content::before {
7464 top: 24px;
7465 left: 100%;
7466 border-color: transparent;
7467 border-left-color: white;
7468 }
7469 .cd-timeline-content .cd-read-more {
7470 float: left;
7471 }
7472 .cd-timeline-content .cd-date {
7473 position: absolute;
7474 width: 55%;
7475 left: 115%;
7476 top: 6px;
7477 font-size: 16px;
7478 font-size: 1rem;
7479 }
7480 .cd-timeline-block:nth-child(even) .cd-timeline-content {
7481 float: right;
7482 }
7483 .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
7484 top: 24px;
7485 left: auto;
7486 right: 100%;
7487 border-color: transparent;
7488 border-right-color: white;
7489 }
7490 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
7491 float: right;
7492 }
7493 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
7494 left: auto;
7495 right: 115%;
7496 text-align: right;
7497 }
7498
7499}
7500
7501
7502/* ============================================================================== */
7503/* CSS style for debugbar */
7504/* ============================================================================== */
7505
7506span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
7507 width: 250px !important;
7508}
7509.phpdebugbar-indicator span.phpdebugbar-tooltip {
7510 opacity: .95 !important;
7511}
7512a.phpdebugbar-tab.phpdebugbar-active {
7513 background-image: unset !important;
7514}
7515.phpdebugbar-indicator .fa {
7516 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
7517 font-weight: 600;
7518}
7519div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
7520div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
7521div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
7522div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
7523div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
7524div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
7525div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
7526div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
7527div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
7528div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
7529div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
7530div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
7531div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
7532div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
7533{
7534 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>" !important;
7535}
7536
7537
7538/* ============================================================================== */
7539/* CSS style used for jCrop */
7540/* ============================================================================== */
7541
7542.jcrop-holder { background: unset !important; }
7543
7544
7545/* ============================================================================== */
7546/* CSS style used for jFlot */
7547/* ============================================================================== */
7548
7549.dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
7550 text-orientation: sideways;
7551 font-weight: 400;
7552 writing-mode: vertical-rl;
7553 white-space: nowrap;
7554}
7555
7556
7557/* ============================================================================== */
7558/* For copy-paste feature */
7559/* ============================================================================== */
7560
7561span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
7562 display: inline-block;
7563}
7564span.clipboardCPValue.hidewithsize {
7565 width: 0 !important;
7566 display: inline-block; /* this will be modifiy on the fly by the copy-paste js code in lib_foot.js.php to have copy feature working */
7567 color: transparent;
7568 white-space: nowrap;
7569 overflow-x: hidden;
7570 vertical-align: middle;
7571}
7572div.clipboardCPValue.hidewithsize {
7573 width: 0 !important;
7574 display: none;
7575 color: transparent;
7576 white-space: nowrap;
7577}
7578
7579.clipboardCPShowOnHover .clipboardCPButton {
7580 display: none;
7581}
7582
7583/* To make a div popup, we must use a position aboluste inside a position relative */
7584
7585.clipboardCPText {
7586 position: relative;
7587}
7588.clipboardCPTextDivInside {
7589 position: absolute;
7590 background: #EEE;
7591 color: #888;
7592 border: 1px solid #DDD;
7593 opacity: 1;
7594 z-index: 20;
7595 padding: 2px;
7596 padding-left: 4px;
7597 padding-right: 4px;
7598 top: -5px;
7599 left: 0px;
7600 border-radius: 5px;
7601 white-space: nowrap;
7602 font-size: 0.95em;
7603 box-shadow: 1px 1px 6px #ddd;
7604}
7605
7606
7607/* ============================================================================== */
7608/* CSS style used for hrm skill/rank (may be we can remove this) */
7609/* ============================================================================== */
7610
7611.radio_js_bloc_number {
7612 display:inline-block;
7613 padding:5px 7px;
7614 min-width:20px;
7615 border-radius:3px;
7616 border:1px solid #ccc;
7617 background:#eee;
7618 color:#555;
7619 cursor:pointer;
7620 margin:2px;
7621 text-align:center;
7622}
7623.radio_js_bloc_number.selected {
7624 transition:0.2s ease background;
7625 background:#888;
7626 color:#fff;
7627 border-color:#555;
7628}
7629
7630
7631/* ============================================================================== */
7632/* Virtual business card */
7633/* ============================================================================== */
7634
7635.virtualcard-div {
7636 overflow: hidden;
7637 vertical-align: top;
7638 /* background: #aaa; */
7639}
7640
7641#virtualcard-iframe {
7642 border: 40px solid #aaa;
7643 vertical-align: top;
7644 width: 10%;
7645 min-width: 100px;
7646 border-radius: 10px;
7647 aspect-ratio: 0.6;
7648}
7649.nopointervent {
7650 pointer-events: none;
7651}
7652.scalepreview {
7653 /* transform: scale(0.5); */
7654 zoom: 0.20;
7655}
7656
7657/* ============================================================================== */
7658/* For drag and drop file feature */
7659/* ============================================================================== */
7660
7661.cssDragDropArea{
7662 position: relative;
7663}
7664.highlightDragDropArea{
7665 border: 2px #000 dashed !important;
7666 background-color: #eee !important;
7667}
7668.highlightDragDropArea * :not(.dragDropAreaMessage *){
7669 opacity:0.8;
7670 filter: blur(1px) grayscale(90%);
7671}
7672.dragDropAreaMessage {
7673 position: absolute;
7674 left:50%;
7675 top:50%;
7676 transform: translate(-50%, -50%);
7677 text-align:center;
7678 font-size: 2em;
7679}
7680
7681/* ============================================================================== */
7682/* CSS style used for color jPicker */
7683/* ============================================================================== */
7684
7685table.jPicker {
7686 border: 1px solid #bbb !important;
7687}
7688
7689/* ============================================================================== */
7690/* CSS style used for survey */
7691/* ============================================================================== */
7692
7693.opensurveydescription * {
7694 width: 100%;
7695}
7696.imgopensurveywizard
7697{
7698 padding: 0 4px 0 4px;
7699}
7700.survey_borders {
7701 margin-left: 100px;
7702 margin-right: 100px;
7703 text-align: start;
7704}
7705.survey_intro {
7706 background-color: #f0f0f0;
7707 padding: 15px;
7708 border-radius: 8px;
7709}
7710.survey_borders .resultats .nom {
7711 text-align: <?php echo $left; ?>
7712}
7713.survey_borders .resultats .sujet {
7714 min-width: 100px;
7715}
7716
7717
7718/* ============================================================================== */
7719/* CSS style used for small screen */
7720/* ============================================================================== */
7721
7722@media only screen and (max-width: 767px)
7723{
7724 .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
7725
7726 #tooltip {
7727 position: absolute;
7728 width: <?php print dol_size(350, 'width'); ?>px;
7729 }
7730
7731 div.tabBar {
7732 padding-left: 8px;
7733 padding-right: 8px;
7734 -webkit-border-radius: 0;
7735 border-radius: 0px;
7736 border-right: none;
7737 border-left: none;
7738 }
7739
7740 td.widthpictotitle { width: 30px; }
7741
7742 .box-flex-container {
7743 margin: 0 0 0 -8px !important;
7744 }
7745
7746 .logopublicpayment #dolpaymentlogo {
7747 max-width: 260px;
7748 }
7749 #tablepublicpayment {
7750 width: auto !important;
7751 border: none !important;
7752 }
7753 .poweredbypublicpayment {
7754 float: unset !important;
7755 top: unset !important;
7756 /* bottom: 8px; */
7757 right: -10px !important;
7758 position: relative !important;
7759 }
7760 .poweredbyimg {
7761 width: 48px;
7762 }
7763
7764 .survey_borders {
7765 margin-left: 10px;
7766 margin-right: 10px;
7767 text-align: start;
7768 }
7769}
7770
7771@media only screen and (max-width: 1024px)
7772{
7773 div#ecm-layout-west {
7774 width: 100%;
7775 clear: both;
7776 }
7777 div#ecm-layout-center {
7778 width: 100%;
7779 }
7780}
7781
7782.menuhider {
7783 width: <?php echo $disableimages ? 'auto' : '44'; ?>px;
7784}
7785
7786/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?> */
7787/* rule to reduce top menu - 1st reduction: Reduce width of top menu icons */
7788@media only screen and (max-width: <?php echo !getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC1') ? round($nbtopmenuentries * 90, 0) + 340 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC1; ?>px) /* reduction 1 */
7789{
7790 div.tmenucenter {
7791 max-width: 56px; /* size of viewport */
7792 white-space: nowrap;
7793 overflow: hidden;
7794 text-overflow: ellipsis;
7795 color: #<?php echo $colortextbackhmenu; ?>;
7796 }
7797 .mainmenuaspan {
7798 font-size: 0.9em;
7799 /* font-weight: 300; */
7800 }
7801 .topmenuimage {
7802 background-size: 24px auto;
7803 margin-top: 0px;
7804 }
7805 li.tmenu, li.tmenusel {
7806 min-width: 34px;
7807 }
7808 div.mainmenu {
7809 min-width: auto;
7810 }
7811 div.tmenuleft {
7812 display: none;
7813 }
7814}
7815/* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again */
7816@media only screen and (max-width: <?php echo !getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC2') ? round($nbtopmenuentries * 69, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2; ?>px) /* reduction 2 */
7817{
7818 li.tmenucompanylogo {
7819 display: none;
7820 }
7821
7822 div.tmenucenter {
7823 max-width: <?php echo max(24, ceil(300 / ($nbtopmenuentriesreal + 2))); ?>px; /* size of viewport */
7824 text-overflow: clip;
7825 }
7826 .menuhider div.tmenucenter {
7827 max-width: 28px;
7828 }
7829 .mainmenuaspan {
7830 font-size: 10px;
7831 padding-left: 0;
7832 padding-right: 0;
7833 }
7834 .topmenuimage {
7835 background-size: 20px auto;
7836 margin-top: 2px;
7837 }
7838}
7839/* rule to reduce top menu - 3rd reduction */
7840@media only screen and (max-width: 570px)
7841{
7842 div.login_block {
7843 border-right: 1px solid rgba(0,0,0,0.3);
7844 top: auto;
7845 }
7846
7847 div#tmenu_tooltip {
7848 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
7849 display:none;
7850 <?php } else { ?>
7851 /* padding-<?php echo $right; ?>: 78px; */
7852 <?php } ?>
7853 }
7854 li.tmenu, li.tmenusel {
7855 min-width: 30px;
7856 }
7857 a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active,
7858 a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
7859 padding-left: 1px;
7860 padding-right: 1px;
7861 }
7862
7863 div.login_block {
7864 border-right: 1px solid rgba(0,0,0,0.3);
7865 }
7866 .loginbuttonexternal {
7867 width: 260px;
7868 }
7869
7870 div.tmenucenter {
7871 text-overflow: clip;
7872 }
7873 .topmenuimage {
7874 background-size: 20px auto;
7875 margin-top: 2px !important;
7876 }
7877 div.mainmenu {
7878 min-width: 20px;
7879 }
7880
7881 #tooltip {
7882 position: absolute;
7883 width: <?php print dol_size(300, 'width'); ?>px;
7884 }
7885 select {
7886 width: 98%;
7887 min-width: 0 !important;
7888 }
7889 div.divphotoref {
7890 padding-right: 5px;
7891 }
7892 img.photoref, div.photoref {
7893 border: 1px solid rgba(0, 0, 0, 0.2);
7894 -webkit-box-shadow: none;
7895 box-shadow: none;
7896 padding: 4px;
7897 object-fit: contain;
7898 }
7899
7900 .titlefield {
7901 width: auto !important; /* We want to ignore the 30%, try to use more if you can */
7902 min-width: unset;
7903 }
7904 .tableforfield>tr>td:first-child, .tableforfield>tbody>tr>td:first-child, div.tableforfield div.tagtr>div.tagtd:first-of-type {
7905 /* max-width: 100px; */ /* but no more than 100px */
7906 }
7907 .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
7908 word-break: break-word;
7909 }
7910
7911 table.table-fiche-title .col-title div.titre{
7912 line-height: unset;
7913 }
7914
7915 input#addedfile {
7916 width: 95%;
7917 }
7918
7919 #divbodywebsite {
7920 word-break: break-word;
7921 }
7922
7923 .websiteselectionsection {
7924 border-left: unset;
7925 border-right: unset;
7926 padding-left: 5px;
7927 }
7928
7929 .a-mesure, .a-mesure-disabled {
7930 display: block;
7931 margin-bottom: 6px;
7932 padding-left: 12px;
7933 padding-right: 12px;
7934 }
7935
7936 .a-mesure, .a-mesure-disabled {
7937 text-align: center;
7938 }
7939
7940
7941 .underbanner.underbanner-before-box {
7942 border-bottom: none;
7943 }
7944
7945 div.divButAction {
7946 margin-bottom: 0.5em;
7947 }
7948
7949 div#card-errors {
7950 max-width: unset;
7951 }
7952
7953 #dolpaymenttable {
7954 padding: 5px;
7955 }
7956
7957 .lilevel1 span.paddingright {
7958 padding-right: 3px;
7959 }
7960
7961 img.userphotopublicvcard {
7962 left: unset;
7963 top: unset;
7964 margin-top: 30px;
7965 }
7966}
7967
7968
7969<?php
7970include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
7971include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
7972include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
7973include dol_buildpath($path.'/theme/eldy/timeline.inc.php', 0); // actually md use same style as eldy theme
7974
7975if (getDolGlobalString('THEME_CUSTOM_CSS')) {
7976 print $conf->global->THEME_CUSTOM_CSS;
7977}
7978
7979if (is_object($db)) {
7980 $db->close();
7981}
7982?>
7983
7984/* This must be at end */
7985::-webkit-scrollbar {
7986 width: 12px;
7987}
7988/*::-webkit-scrollbar-button {
7989 background: #bbb;
7990}*/
7991::-webkit-scrollbar-track-piece {
7992 background: #f4f4f4;
7993}
7994::-webkit-scrollbar-thumb {
7995 background: #ddd;
7996}​
7997
7998
7999
8000/* Must be at end */
8001div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
8002 color: unset;
8003}
Class to manage menu Auguria.
loadMenu($forcemainmenu='', $forceleftmenu='')
Load this->tabMenu.
colorStringToArray($stringcolor, $colorifnotfound=array(88, 88, 88))
Convert a string RGB value ('FFFFFF', '255,255,255') into an array RGB array(255,255,...
price($amount, $form=0, $outlangs='', $trunc=1, $rounding=-1, $forcerounding=-1, $currency_code='')
Function to format a value into an amount for visual output Function used into PDF and HTML pages.
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
dol_size($size, $type='')
Optimize a size for some browsers (phone, smarphone, ...)
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
dol_buildpath($path, $type=0, $returnemptyifnotfound=0)
Return path of url or filesystem.
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.
rtl background position
conf($dolibarr_main_document_root)
Load conf file (file must exists)
Definition inc.php:403
if(!defined( 'NOREQUIREMENU')) if(!empty(GETPOST('seteventmessages', 'alpha'))) if(!function_exists("llxHeader")) top_httphead($contenttype='text/html', $forcenocache=0)
Show HTTP header.
ui dialog ui datepicker calendar ui widget content ui state ui datepicker calendar ui widget header ui state ui datepicker calendar ui button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
$conf db user
Definition repair.php:125
if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
Definition repair.php:121
$conf db name
Only used if Module[ID]Name translation string is not found.
Definition repair.php:124