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