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