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