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