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