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