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