dolibarr 24.0.0-beta
style.css.php
Go to the documentation of this file.
1<?php
2/* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
3 * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
4 * Copyright (C) 2007-2017 Regis Houssin <regis.houssin@inodbox.com>
5 * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
6 * Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
7 * Copyright (C) 2015 Alexandre Spangaro <aspangaro@open-dsi.fr>
8 * Copyright (C) 2018 Ferran Marcet <fmarcet@2byte.es>
9 * Copyright (C) 2021-2023 Anthony Berton <anthony.berton@bb2a.fr>
10 * Copyright (C) 2024-2026 MDW <mdeweerd@users.noreply.github.com>
11 * Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
12 * Copyright (C) 2025 Marc de Lima Lucio <marc-dll@user.noreply.github.com>
13 *
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 3 of the License, or
17 * (at your option) any later version.
18 *
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program. If not, see <https://www.gnu.org/licenses/>.
26 */
27
33//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
34//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
35if (!defined('NOREQUIRESOC')) {
36 define('NOREQUIRESOC', '1');
37}
38//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
39if (!defined('NOCSRFCHECK')) {
40 define('NOCSRFCHECK', 1);
41}
42if (!defined('NOTOKENRENEWAL')) {
43 define('NOTOKENRENEWAL', 1);
44}
45if (!defined('NOLOGIN')) {
46 define('NOLOGIN', 1); // File must be accessed by logon page so without login
47}
48//if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
49if (!defined('NOREQUIREHTML')) {
50 define('NOREQUIREHTML', 1);
51}
52if (!defined('NOREQUIREAJAX')) {
53 define('NOREQUIREAJAX', '1');
54}
55
56
57define('ISLOADEDBYSTEELSHEET', '1');
58
59
60require __DIR__.'/theme_vars.inc.php';
61if (defined('THEME_ONLY_CONSTANT')) {
62 return;
63}
64// Types from theme_vars
65'
66@phan-var-force string $badgeDanger
67@phan-var-force string $badgeWarning
68@phan-var-force string $butactionbg
69@phan-var-force string $colorbackbody
70@phan-var-force string $colorbackhmenu1
71@phan-var-force string $colorbacklinebreak
72@phan-var-force string $colorbacklineimpair1
73@phan-var-force string $colorbacklineimpair2
74@phan-var-force string $colorbacklinepair1
75@phan-var-force string $colorbacklinepair2
76@phan-var-force string $colorbacklinepairchecked
77@phan-var-force string $colorbacklinepairhover
78@phan-var-force string $colorbacktabactive
79@phan-var-force string $colorbacktabcard1
80@phan-var-force string $colorbacktitle1
81@phan-var-force string $colorbackvmenu1
82@phan-var-force string $colorblind_deuteranopes_textSuccess
83@phan-var-force string $colorblind_deuteranopes_textWarning
84@phan-var-force string $colortext
85@phan-var-force string $colortextlink
86@phan-var-force string $colortexttitle
87@phan-var-force string $colortexttitlelink
88@phan-var-force string $colortexttitlenotab
89@phan-var-force string $colortexttitlenotab2
90@phan-var-force string $colortopbordertitle1
91@phan-var-force string $fontsize
92@phan-var-force string $textDanger
93@phan-var-force string $textSuccess
94@phan-var-force string $textWarning
95@phan-var-force string $textbutaction
96@phan-var-force string $toolTipBgColor
97@phan-var-force string $toolTipFontColor
98';
99
100session_cache_limiter('public');
101
102
103require_once __DIR__.'/../../main.inc.php'; // __DIR__ allow this script to be included in custom themes
104require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
105
147$menumanager = null;
148
149// Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
150// and permission, so we can later calculate number of top menu ($nbtopmenuentries) according to user profile.
151if (empty($user->id) && !empty($_SESSION['dol_login'])) {
152 $user->fetch(0, $_SESSION['dol_login'], '', 1);
153 $user->loadRights();
154 //$user->loadPersonalConf();
155
156 // Reload menu now we have the good user (and we need the good menu to have ->showmenu('topnb') correct.
157 // @phan-suppress-next-line PhanRedefinedClassReference
158 $menumanager = new MenuManager($db, empty($user->socid) ? 0 : 1);
159 // @phan-suppress-next-line PhanRedefinedClassReference
160 $menumanager->loadMenu();
161}
162
163
164// Define css type
165top_httphead('text/css');
166// Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
167header('Cache-Control: max-age=10800, public, must-revalidate');
168
169if (GETPOST('theme', 'aZ09')) {
170 $conf->theme = GETPOST('theme', 'aZ09'); // If theme was forced on URL
171}
172if (GETPOST('lang', 'aZ09')) {
173 $langs->setDefaultLang(GETPOST('lang', 'aZ09')); // If language was forced on URL
174}
175
176if (GETPOSTISSET('THEME_DARKMODEENABLED')) {
177 $conf->global->THEME_DARKMODEENABLED = GETPOSTINT('THEME_DARKMODEENABLED'); // If darkmode was forced on URL
178}
179
180$langs->load("main", 0, 1);
181$right = ($langs->trans("DIRECTION") == 'rtl' ? 'left' : 'right');
182$left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left');
183
184$path = ''; // This value may be used in future for external module to overwrite theme
185$theme = 'md'; // Value of theme
186if (getDolGlobalString('MAIN_OVERWRITE_THEME_RES')) {
187 $path = '/' . getDolGlobalString('MAIN_OVERWRITE_THEME_RES');
188 $theme = getDolGlobalString('MAIN_OVERWRITE_THEME_RES');
189}
190
191// Define image path files and other constants
192$fontlist = 'roboto,arial,tahoma,verdana,helvetica'; //$fontlist='verdana,helvetica,arial,sans-serif';
193if (getDolGlobalString('THEME_FONT_FAMILY')) {
194 $fontlist = getDolGlobalString('THEME_FONT_FAMILY').', '.$fontlist;
195}
196
197$img_head = '';
198$img_button = dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png', 1);
199$dol_hide_topmenu = $conf->dol_hide_topmenu;
200$dol_hide_leftmenu = $conf->dol_hide_leftmenu;
201$dol_optimize_smallscreen = $conf->dol_optimize_smallscreen;
202$dol_no_mouse_hover = $conf->dol_no_mouse_hover;
203
204
205//$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
206//$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
207//var_dump($user->conf->THEME_ELDY_RGB);
208
209$useboldtitle = getDolGlobalInt('THEME_ELDY_USEBOLDTITLE');
210$borderwidth = 2;
211$userborderontable = getDolGlobalInt('THEME_ELDY_USEBORDERONTABLE');
212
213// Case of option always editable
214if (!isset($conf->global->THEME_ELDY_BACKBODY)) {
215 $conf->global->THEME_ELDY_BACKBODY = $colorbackbody;
216}
217if (!isset($conf->global->THEME_ELDY_TOPMENU_BACK1)) {
218 $conf->global->THEME_ELDY_TOPMENU_BACK1 = $colorbackhmenu1;
219}
220if (!isset($conf->global->THEME_ELDY_VERMENU_BACK1)) {
221 $conf->global->THEME_ELDY_VERMENU_BACK1 = $colorbackvmenu1;
222}
223if (!isset($conf->global->THEME_ELDY_BACKTITLE1)) {
224 $conf->global->THEME_ELDY_BACKTITLE1 = $colorbacktitle1;
225}
226if (!isset($conf->global->THEME_ELDY_USE_HOVER)) {
227 $conf->global->THEME_ELDY_USE_HOVER = $colorbacklinepairhover;
228}
229if (!isset($conf->global->THEME_ELDY_USE_CHECKED)) {
230 $conf->global->THEME_ELDY_USE_CHECKED = $colorbacklinepairchecked;
231}
232if (!isset($conf->global->THEME_ELDY_LINEBREAK)) {
233 $conf->global->THEME_ELDY_LINEBREAK = $colorbacklinebreak;
234}
235if (!isset($conf->global->THEME_ELDY_TEXTTITLENOTAB)) {
236 $conf->global->THEME_ELDY_TEXTTITLENOTAB = $colortexttitlenotab;
237}
238if (!isset($conf->global->THEME_ELDY_TEXTLINK)) {
239 $conf->global->THEME_ELDY_TEXTLINK = $colortextlink;
240}
241if (!isset($conf->global->THEME_ELDY_BTNACTION)) {
242 $conf->global->THEME_ELDY_BTNACTION = $butactionbg;
243}
244if (!isset($conf->global->THEME_ELDY_TEXTBTNACTION)) {
245 $conf->global->THEME_ELDY_TEXTBTNACTION = $textbutaction;
246}
247
248// Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
249if (!getDolGlobalString('THEME_ELDY_ENABLE_PERSONALIZED')) {
250 // 90A4AE, 607D8B, 455A64, 37474F
251 $conf->global->THEME_ELDY_BACKTABCARD1 = '255,255,255'; // card
252 $conf->global->THEME_ELDY_BACKTABACTIVE = '234,234,234';
253 $conf->global->THEME_ELDY_TEXT = '0,0,0';
254 $conf->global->THEME_ELDY_FONT_SIZE1 = $fontsize;
255 $conf->global->THEME_ELDY_FONT_SIZE2 = '0.7em';
256}
257
258// Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
259$colorbackhmenu1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_TOPMENU_BACK1', $colorbackhmenu1) : getDolUserString('THEME_ELDY_TOPMENU_BACK1', $colorbackhmenu1);
260$colorbackvmenu1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_VERMENU_BACK1', $colorbackvmenu1) : getDolUserString('THEME_ELDY_VERMENU_BACK1', $colorbackvmenu1);
261$colortopbordertitle1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_TOPBORDER_TITLE1', $colortopbordertitle1) : getDolUserString('THEME_ELDY_TOPBORDER_TITLE1', $colortopbordertitle1);
262$colorbacktitle1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_BACKTITLE1', $colorbacktitle1) : getDolUserString('THEME_ELDY_BACKTITLE1', $colorbacktitle1);
263$colorbacktabcard1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_BACKTABCARD1', $colorbacktabcard1) : getDolUserString('THEME_ELDY_BACKTABCARD1', $colorbacktabcard1);
264$colorbacktabactive = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_BACKTABACTIVE', $colorbacktabactive) : getDolUserString('THEME_ELDY_BACKTABACTIVE', $colorbacktabactive);
265$colorbacklineimpair1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_LINEIMPAIR1', $colorbacklineimpair1) : getDolUserString('THEME_ELDY_LINEIMPAIR1', $colorbacklineimpair1);
266$colorbacklineimpair2 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_LINEIMPAIR2', $colorbacklineimpair2) : getDolUserString('THEME_ELDY_LINEIMPAIR2', $colorbacklineimpair2);
267$colorbacklinepair1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_LINEPAIR1', $colorbacklinepair1) : getDolUserString('THEME_ELDY_LINEPAIR1', $colorbacklinepair1);
268$colorbacklinepair2 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_LINEPAIR2', $colorbacklinepair2) : getDolUserString('THEME_ELDY_LINEPAIR2', $colorbacklinepair2);
269$colorbacklinebreak = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_LINEBREAK', $colorbacklinebreak) : getDolUserString('THEME_ELDY_LINEBREAK', $colorbacklinebreak);
270$colorbackbody = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_BACKBODY', $colorbackbody) : getDolUserString('THEME_ELDY_BACKBODY', $colorbackbody);
271$colortexttitlenotab = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_TEXTTITLENOTAB', $colortexttitlenotab) : getDolUserString('THEME_ELDY_TEXTTITLENOTAB', $colortexttitlenotab);
272$colortexttitle = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_TEXTTITLE', $colortext) : getDolUserString('THEME_ELDY_TEXTTITLE', $colortexttitle);
273$colortexttitlelink = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_TEXTTITLELINK', $colortexttitlelink) : getDolUserString('THEME_ELDY_TEXTTITLELINK', $colortexttitlelink);
274$colortext = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_TEXT', $colortext) : getDolUserString('THEME_ELDY_TEXT', $colortext);
275$colortextlink = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_TEXTLINK', $colortext) : getDolUserString('THEME_ELDY_TEXTLINK', $colortextlink);
276$colortextlinkHsla = colorHexToHsl($colortextlink, false, true);
277$butactionbg = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_BTNACTION', $butactionbg) : getDolUserString('THEME_ELDY_BTNACTION', $butactionbg);
278$textbutaction = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_TEXTBTNACTION', $textbutaction) : getDolUserString('THEME_ELDY_TEXTBTNACTION', $textbutaction);
279$fontsize = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_FONT_SIZE1', $fontsize) : getDolUserString('THEME_ELDY_FONT_SIZE1', $fontsize);
280$fontsizesmaller = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? getDolGlobalString('THEME_ELDY_FONT_SIZE2', $fontsize) : getDolUserString('THEME_ELDY_FONT_SIZE2', $fontsize);
281$heightrow = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (getDolGlobalString('THEME_ELDY_USECOMOACTROW') ? '300%' : '155%') : (getDolUserString('THEME_ELDY_USECOMOACTROW') ? '300%' : '155%');
282
283// Hover color
284$colorbacklinepairhover = ((!isset($conf->global->THEME_ELDY_USE_HOVER) || getDolGlobalString('THEME_ELDY_USE_HOVER') === '255,255,255') ? '' : (getDolGlobalString('THEME_ELDY_USE_HOVER') === '1' ? 'edf4fb' : getDolGlobalString('THEME_ELDY_USE_HOVER')));
285$colorbacklinepairchecked = ((!isset($conf->global->THEME_ELDY_USE_CHECKED) || getDolGlobalString('THEME_ELDY_USE_CHECKED') === '255,255,255') ? '' : (getDolGlobalString('THEME_ELDY_USE_CHECKED') === '1' ? 'edf4fb' : getDolGlobalString('THEME_ELDY_USE_CHECKED')));
286if (!empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)) {
287 $colorbacklinepairhover = ((!isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '255,255,255') ? '' : (getDolUserString('THEME_ELDY_USE_HOVER') === '1' ? 'edf4fb' : getDolUserString('THEME_ELDY_USE_HOVER')));
288 $colorbacklinepairchecked = ((!isset($user->conf->THEME_ELDY_USE_CHECKED) || $user->conf->THEME_ELDY_USE_CHECKED === '255,255,255') ? '' : (getDolUserString('THEME_ELDY_USE_CHECKED') === '1' ? 'edf4fb' : getDolUserString('THEME_ELDY_USE_CHECKED')));
289}
290
291if (empty($colortopbordertitle1)) {
292 $colortopbordertitle1 = $colorbackhmenu1;
293}
294
295// Set text color to black or white
296$colorbackhmenu1 = implode(',', colorStringToArray($colorbackhmenu1)); // Normalize value to 'x,y,z'
297$tmppart = explode(',', $colorbackhmenu1);
298$tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
299if ($tmpval <= 460) {
300 $colortextbackhmenu = 'FFFFFF';
301} else {
302 $colortextbackhmenu = '000000';
303}
304
305$colorbackvmenu1 = implode(',', colorStringToArray($colorbackvmenu1)); // Normalize value to 'x,y,z'
306$tmppart = explode(',', $colorbackvmenu1);
307$tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
308if ($tmpval <= 460) {
309 $colortextbackvmenu = 'FFFFFF';
310} else {
311 $colortextbackvmenu = '222222';
312}
313
314$colortopbordertitle1 = implode(',', colorStringToArray($colortopbordertitle1)); // Normalize value to 'x,y,z'
315
316$colorbacktitle1 = implode(',', colorStringToArray($colorbacktitle1)); // Normalize value to 'x,y,z'
317$tmppart = explode(',', $colorbacktitle1);
318if ($colortexttitle == '') {
319 $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
320 if ($tmpval <= 460) {
321 $colortexttitle = 'FFFFFF';
322 $colorshadowtitle = '888888';
323 } else {
324 $colortexttitle = '101010';
325 $colorshadowtitle = 'FFFFFF';
326 }
327} else {
328 $colorshadowtitle = '888888';
329}
330
331$colorbacktabcard1 = implode(',', colorStringToArray($colorbacktabcard1)); // Normalize value to 'x,y,z'
332$tmppart = explode(',', $colorbacktabcard1);
333$tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
334if ($tmpval <= 460) {
335 $colortextbacktab = 'FFFFFF';
336} else {
337 $colortextbacktab = '111111';
338}
339
340// Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
341$colorbackhmenu1 = implode(',', colorStringToArray($colorbackhmenu1));
342$colorbackvmenu1 = implode(',', colorStringToArray($colorbackvmenu1));
343$colorbacktitle1 = implode(',', colorStringToArray($colorbacktitle1));
344$colorbacktabcard1 = implode(',', colorStringToArray($colorbacktabcard1));
345$colorbacktabactive = implode(',', colorStringToArray($colorbacktabactive));
346$colorbacklineimpair1 = implode(',', colorStringToArray($colorbacklineimpair1));
347$colorbacklineimpair2 = implode(',', colorStringToArray($colorbacklineimpair2));
348$colorbacklinepair1 = implode(',', colorStringToArray($colorbacklinepair1));
349$colorbacklinepair2 = implode(',', colorStringToArray($colorbacklinepair2));
350if ($colorbacklinepairhover != '') {
351 $colorbacklinepairhover = implode(',', colorStringToArray($colorbacklinepairhover));
352}
353if ($colorbacklinepairchecked != '') {
354 $colorbacklinepairchecked = implode(',', colorStringToArray($colorbacklinepairchecked));
355}
356$colorbackbody = implode(',', colorStringToArray($colorbackbody));
357$colortexttitlenotab = implode(',', colorStringToArray($colortexttitlenotab));
358$colortexttitle = implode(',', colorStringToArray($colortexttitle));
359$colortext = implode(',', colorStringToArray($colortext));
360$colortextlink = implode(',', colorStringToArray($colortextlink));
361
362// @phan-suppress-next-line PhanRedefinedClassReference
363$nbtopmenuentries = (is_object($menumanager) && method_exists($menumanager, 'showmenu')) ? $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) {
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}
4720table.noborder.cal_month {
4721 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4722 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4723}
4724table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
4725table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:first-child,
4726table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
4727table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:first-child {
4728 border-top-left-radius: <?php echo $borderradius; ?>px;
4729}
4730table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:last-child,
4731table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
4732table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
4733table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:last-child {
4734 border-top-right-radius: <?php echo $borderradius; ?>px;
4735}
4736table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:first-child,
4737table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:first-child {
4738 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4739}
4740table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:last-child,
4741table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:last-child {
4742 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4743}
4744table.noborder thead tr:last-child td:first-child,
4745table.noborder thead tr:last-child th:first-child {
4746 border-bottom-left-radius: unset !important;
4747}
4748table.noborder thead tr:last-child td:last-child,
4749table.noborder thead tr:last-child th:last-child {
4750 border-bottom-right-radius: unset !important;
4751}
4752
4753table.liste:not(.listwithfilterbefore) {
4754 border-top-left-radius: <?php echo $borderradius; ?>px;
4755 border-top-right-radius: <?php echo $borderradius; ?>px;
4756}
4757table.liste {
4758 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4759 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4760}
4761table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child td:first-child,
4762table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child th:first-child {
4763 border-top-left-radius: <?php echo $borderradius; ?>px;
4764}
4765table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child td:last-child,
4766table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child th:last-child {
4767 border-top-right-radius: <?php echo $borderradius; ?>px;
4768}
4769div.liste_titre_bydiv {
4770 border-top-left-radius: <?php echo $borderradius; ?>px;
4771 border-top-right-radius: <?php echo $borderradius; ?>px;
4772}
4773div.liste_titre_bydiv_nothingafter {
4774 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4775 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4776 border-bottom-width: 1px;
4777 border-bottom-color: #BBB;
4778 border-bottom-style: solid;
4779}
4780table.liste tr:last-child td:first-child,
4781table.liste > tr:last-child th:first-child, table.liste tfoot tr:last-child th:first-child {
4782 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4783}
4784table.liste tr:last-child td:last-child,
4785table.liste > tr:last-child th:last-child, table.liste tfoot tr:last-child th:last-child {
4786 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4787}
4788
4789table#tablelines tr:last-of-type td:first-child, table#tablelines tr#trlinefordates, table#tablelines tr#trlinefordates td,
4790table#tablelinesservice tr:last-of-type td:first-child, table#tablelinesservice tr#trlinefordates, table#tablelinesservice tr#trlinefordates td {
4791 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4792}
4793table#tablelines tr:last-of-type td:last-child, table#tablelines tr#trlinefordates, table#tablelines tr#trlinefordates td,
4794table#tablelinesservice tr:last-of-type td:last-child, table#tablelinesservice tr#trlinefordates, table#tablelinesservice tr#trlinefordates td {
4795 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4796}
4797
4798
4799
4800.liste_titre_filter {
4801 background: var(--colorbacktitle1) !important;
4802}
4803tr.liste_titre_filter td.liste_titre {
4804 padding-top: 4px;
4805 padding-bottom: 3px;
4806}
4807.liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
4808{
4809 border-top-width: 1px;
4810 border-top-color: var(--colortopbordertitle1);
4811 border-top-style: solid;
4812}
4813tr#trlinefordates td {
4814 border-bottom: 0px !important;
4815}
4816.liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
4817{
4818 border-top-width: 2px;
4819 border-top-color: var(--colortopbordertitle1);
4820 border-top-style: solid;
4821}
4822.liste_titre_add td, .liste_titre_add .tagtd
4823{
4824 border-top-width: 1px;
4825 border-top-color: var(--colortopbordertitle1);
4826 border-top-style: solid;
4827}
4828
4829td.linecoldescription {
4830 padding: 6px 10px 6px 12px !important; /* t r b l */
4831}
4832
4833table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
4834 padding: 8px 8px 8px 10px; /* t r b l */
4835}
4836
4837table.liste td, table.noborder > tr > td,
4838table.noborder > tbody > tr > td,
4839div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
4840 padding: 8px 12px 8px 12px; /* t r b l */
4841 height: 32px;
4842}
4843table.liste tr.trkanban td {
4844 padding: 12px 15px 12px 15px; /* t r b l */
4845}
4846
4847form.tagtable {
4848 padding: unset !important;
4849 border: unset !important;
4850}
4851
4852table.liste td, table.noborder td, div.noborder form div {
4853 padding: 8px 8px 8px 8px; /* t r b l */
4854}
4855div.liste_titre_bydiv .divsearchfield {
4856 padding: 2px 1px 2px 6px; /* t r b l */
4857}
4858
4859table.nobordernopadding {
4860 border-collapse: collapse !important;
4861 border: 0;
4862}
4863table.nobordernopadding tr {
4864 border: 0 !important;
4865 padding: 0 0 !important;
4866}
4867table.nobordernopadding tr td {
4868 border: 0 !important;
4869 padding: 0 3px 0 0;
4870}
4871table.border tr td table.nobordernopadding tr td {
4872 padding-top: 0;
4873 padding-bottom: 0;
4874}
4875td.borderright {
4876 border: none; /* to erase value for table.nobordernopadding td */
4877 border-right-width: 1px !important;
4878 border-right-color: #BBB !important;
4879 border-right-style: solid !important;
4880}
4881td.borderleft {
4882 border: none; /* to erase value for table.nobordernopadding td */
4883 border-left-width: 1px !important;
4884 border-left-color: #BBB !important;
4885 border-left-style: solid !important;
4886}
4887
4888/* For table with no filter before */
4889table.listwithfilterbefore {
4890 border-top: none !important;
4891}
4892
4893.tagtable, .table-border { display: table; }
4894.tagtr, .table-border-row { display: table-row; }
4895.tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
4896.confirmquestions .tagtr .tagtd:not(:first-child) { padding-left: 10px; }
4897.confirmquestions { margin-top: 5px; }
4898.confirmquestions .tagtr .tagtd { height: 2em; vertical-align: middle; }
4899
4900
4901/* Pagination */
4902div.refidpadding {
4903 padding-top: 3px;
4904}
4905div.refid {
4906 font-weight: bold;
4907 color: var(--colortexttitlenotab);
4908 font-size: 120%;
4909}
4910a.refid {
4911 color: var(--colortexttitlenotab) !important;
4912}
4913div.refidno {
4914 padding-top: 8px;
4915 font-weight: normal;
4916 color: var(--refidnocolor);
4917 font-size: 92%;
4918 line-height: 1.5em;
4919}
4920div.refidno form {
4921 display: inline-block;
4922}
4923div.refaddress div.address {
4924 line-height: 1.2em;
4925 font-size: 0.9em;
4926}
4927
4928div.pagination {
4929 float:<?php echo $right; ?>
4930}
4931div.pagination a {
4932 font-weight: normal;
4933}
4934div.pagination ul
4935{
4936 list-style: none;
4937 display: inline-block;
4938 padding-left: 0px;
4939 padding-right: 0px;
4940 margin: 0;
4941}
4942div.pagination li {
4943 display: inline-block;
4944 padding-left: 0px;
4945 padding-right: 0px;
4946 /* padding-top: 6px;
4947 padding-bottom: 5px; */
4948}
4949.pagination {
4950 display: inline-block;
4951 padding-left: 0;
4952 border-radius: 4px;
4953}
4954
4955div.pagination li.pagination a,
4956div.pagination li.pagination span {
4957 padding: 6px 12px;
4958 padding-top: 8px;
4959 line-height: 1.42857143;
4960 color: var(--color-black);
4961 text-decoration: none;
4962}
4963div.pagination li.pagination span.inactive {
4964 cursor: default;
4965 color: #ccc;
4966}
4967
4968div.pagination li.litext a {
4969border: none;
4970 padding-right: 10px;
4971 padding-left: 4px;
4972 font-weight: bold;
4973}
4974div.pagination li.noborder a:hover {
4975 border: none;
4976 background-color: transparent;
4977}
4978div.pagination li:first-child a,
4979div.pagination li:first-child span {
4980 margin-left: 0;
4981 border-top-left-radius: 4px;
4982 border-bottom-left-radius: 4px;
4983}
4984div.pagination li:last-child a,
4985div.pagination li:last-child span {
4986 border-top-right-radius: 4px;
4987 border-bottom-right-radius: 4px;
4988}
4989div.pagination li a:hover,
4990div.pagination li span:hover,
4991div.pagination li a:focus,
4992div.pagination li span:focus {
4993 color: #000;
4994 background-color: #eee;
4995 border-color: #ddd;
4996 /* padding-top: 8px; */
4997}
4998div.pagination li .active a,
4999div.pagination li .active span,
5000div.pagination li .active a:hover,
5001div.pagination li .active span:hover,
5002div.pagination li .active a:focus,
5003div.pagination li .active span:focus {
5004 z-index: 2;
5005 color: #fff;
5006 cursor: default;
5007 background-color: var(--colorbackhmenu1);
5008 border-color: #337ab7;
5009}
5010div.pagination .disabled span,
5011div.pagination .disabled span:hover,
5012div.pagination .disabled span:focus,
5013div.pagination .disabled a,
5014div.pagination .disabled a:hover,
5015div.pagination .disabled a:focus {
5016 color: #777;
5017 cursor: not-allowed;
5018 background-color: #fff;
5019 border-color: #ddd;
5020}
5021div.pagination li.pagination .active {
5022 text-decoration: underline;
5023 box-shadow: none;
5024}
5025.paginationafterarrows .nohover {
5026 box-shadow: none !important;
5027}
5028div.pagination li.paginationafterarrows {
5029 margin-left: 10px;
5030}
5031.paginationatbottom {
5032 margin-top: 9px;
5033}
5034table.hidepaginationprevious .paginationprevious {
5035 display: none;
5036}
5037table.hidepaginationnext .paginationnext {
5038 display: none;
5039}
5040.paginationafterarrows a.btnTitlePlus:hover span:before {
5041 /* text-shadow: 0px 0px 5px #ccc; */
5042 /* filter: invert(0.3); */
5043 font-size: 1.03em;
5044}
5045
5046ul.noborder li:nth-child(odd):not(.liste_titre) {
5047 background-color: var(--colorbacklinepair2) !important;
5048}
5049
5050
5051/* Set the color for hover lines */
5052.tmenucompanylogo.nohover, .tmenucompanylogo.nohover:hover {
5053 opacity: unset !important;
5054}
5055.nohoverborder:hover {
5056 border: unset;
5057 box-shadow: unset;
5058}
5059.oddeven:hover:not(.nohover), .evenodd:hover:not(.nohover), .oddevenimport:hover:not(.nohover), .evenoddimport:hover:not(.nohover), .impair:hover:not(.nohover), .pair:hover:not(.nohover) {
5060 background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
5061}
5062
5063.tredited {
5064 background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
5065}
5066<?php if ($colorbacklinepairchecked) { ?>
5067.highlight {
5068 background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
5069}
5070<?php } ?>
5071
5072.nohover:hover {
5073 background: unset !important;
5074}
5075.nohoverborder:hover {
5076 border: unset;
5077 box-shadow: unset;
5078}
5079
5080.oddeven, .evenodd, .impair, .pair, .nohover .impair:hover, tr.impair td.nohover, tr.pair td.nohover, .tagtr.oddeven
5081{
5082 font-family: <?php print $fontlist ?>;
5083 border: 0px;
5084 margin-bottom: 1px;
5085 color: var(--oddevencolor);
5086}
5087.impair, .nohover .impair:hover, tr.impair td.nohover
5088{
5089 background: var(--colorbacklineimpair2);
5090}
5091.pair, .nohover .pair:hover, tr.pair td.nohover {
5092 background-color: var(--colorbacklinepair1);
5093}
5094tr.oddeven.oddevendouble {
5095 height: 60px !important;
5096}
5097
5098#GanttChartDIV {
5099 background-color: var(--colorbacklineimpair2);
5100}
5101table.dataTable tr.oddeven {
5102 background-color: var(--colorbacklinepair1) !important;
5103}
5104
5105/* For no hover style */
5106td.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 {
5107 background-color: var(--colorbacklineimpair2) !important;
5108 background: var(--colorbacklineimpair2) !important;
5109}
5110td.evenodd, tr.nohoverpair td, #trlinefordates td {
5111 background-color: var(--colorbacklinepair2) !important;
5112 background: var(--colorbacklinepair2) !important;
5113}
5114.trforbreak td {
5115 font-weight: bold;
5116 border-bottom: 1pt solid #aaa !important;
5117 background-color: var(--colorbacklinebreak) !important;
5118}
5119.trforbreak.nobold td a, .trforbreak.nobold span.secondary {
5120 font-weight: normal !important;
5121}
5122tr.trforbreaknobg:nth-of-type(n+3) td {
5123 font-weight: 500;
5124 border-top: 1pt dashed #aaa !important;
5125}
5126
5127table.dataTable td {
5128 padding: 5px 2px 5px 3px !important;
5129}
5130tr.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 {
5131 padding: 5px 2px 5px 3px;
5132 border-bottom: 1px solid #eee;
5133}
5134form.pair, form.impair {
5135 font-weight: normal;
5136}
5137tr.pair:last-of-type td, tr.impair:last-of-type td {
5138 border-bottom: 0px !important;
5139}
5140tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
5141 border-bottom: 0px !important;
5142}
5143/*
5144table.nobottomiftotal tr.liste_total td {
5145 background-color: var(--inputbackgroundcolor);
5146 <?php if (!$userborderontable) { ?>
5147 border-bottom: 0px !important;
5148 <?php } ?>
5149}
5150*/
5151div.liste_titre .tagtd {
5152 vertical-align: middle;
5153}
5154div.liste_titre {
5155 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 */
5156
5157 padding-top: 2px;
5158 padding-bottom: 2px;
5159
5160 /*border-right-width: 1px;
5161 border-right-color: #BBB;
5162 border-right-style: solid;
5163
5164 border-left-width: 1px;
5165 border-left-color: #BBB;
5166 border-left-style: solid;*/
5167
5168 border-top-width: 1px;
5169 border-top-color: #BBB;
5170 border-top-style: solid;
5171}
5172div.liste_titre_bydiv {
5173 <?php if ($userborderontable) { ?>
5174 border-top-width: <?php echo $borderwidth ?>px;
5175 border-top-color: var(--colortopbordertitle1);
5176 border-top-style: solid;
5177 <?php } ?>
5178 border-collapse: collapse;
5179 /* display: table; */
5180 padding: 2px 0px 2px 0;
5181 box-shadow: none;
5182 width: calc(100% - 2px); /* -2px because the width for table class="tagtable" under this is cal(100% - 2px) so it is aligned. */
5183}
5184div.liste_titre_bydiv_inlineblock {
5185 display: inline-block;
5186 width: 100%;
5187}
5188
5189tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr, tagtr.liste_titre
5190{
5191 height: 26px !important;
5192}
5193div.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
5194{
5195 background: var(--colorbacktitle1);
5196 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5197 /* border-bottom: 1px solid #FDFFFF; */
5198
5199 color: var(--colortexttitle);
5200 font-family: <?php print $fontlist ?>;
5201 text-align: <?php echo $left; ?>;
5202}
5203tr.liste_titre th, tr.liste_titre td, th.liste_titre
5204{
5205 border-bottom: 1px solid #aaa;
5206}
5207/* 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 */
5208tr:first-child th.liste_titre, tr:first-child th.liste_titre_sel {
5209 border-bottom: 1px solid #FFF ! important;
5210}
5211tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div, div.liste_titre
5212{
5213 font-family: <?php print $fontlist ?>;
5214 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5215 vertical-align: middle;
5216 /* height: 28px; */
5217}
5218tr.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 {
5219 text-shadow: none !important;
5220 color: var(--colortexttitlelink);
5221}
5222tr.liste_titre_topborder td {
5223 border-top-width: <?php echo $borderwidth; ?>px;
5224 border-top-color: var(--colortopbordertitle1);
5225 border-top-style: solid;
5226}
5227.liste_titre td a {
5228 text-shadow: none !important;
5229 color: var(--colortexttitle);
5230}
5231.liste_titre td a.notasortlink {
5232 color: var(--colortextlink);
5233}
5234.liste_titre td a.notasortlink:hover {
5235 background: transparent;
5236}
5237
5238/* For last line of table headers only */
5239table > 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,
5240table > 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,
5241form.liste_titre div.tagtd {
5242 border-bottom: none;
5243}
5244
5245tr.liste_titre_filter th.liste_titre:not(.center), tr.liste_titre_filter th.liste_titre_sel:not(.center) {
5246 text-align: unset;
5247}
5248
5249/*
5250div.liste_titre {
5251 padding-left: 3px;
5252}
5253*/
5254tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
5255{
5256 font-family: <?php print $fontlist ?>;
5257 font-weight: normal;
5258 border-bottom: 1px solid #FDFFFF;
5259 /* text-decoration: underline; */
5260}
5261input.liste_titre {
5262 background: transparent;
5263 border: 0px;
5264}
5265
5266.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 {
5267 color: #332266;
5268 /* padding: 4px; */
5269}
5270.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
5271 white-space: nowrap;
5272 line-height: 1.5em;
5273}
5274.noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
5275 white-space: normal;
5276}
5277
5278tr.liste_sub_total, tr.liste_sub_total td {
5279 border-bottom: 2px solid #aaa;
5280}
5281
5282.tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
5283 background: #FFF;
5284}
5285.tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
5286 border-bottom: none;
5287}
5288
5289.paymenttable, .margintable {
5290 margin: 0px 0px 0px 0px !important;
5291}
5292.paymenttable, .margintable:not(.margintablenotop) {
5293 border-top-width: <?php echo $borderwidth ?>px !important;
5294 border-top-color: var(--colortopbordertitle1) !important;
5295 border-top-style: solid !important;
5296}
5297.margintable.margintablenotop {
5298 border-top-width: 0;
5299}
5300.paymenttable tr td:first-child, .margintable tr td:first-child
5301{
5302 /*padding-left: 2px;*/
5303}
5304.paymenttable, .margintable tr td {
5305 height: 22px;
5306}
5307
5308/* Disable shadows */
5309.noshadow {
5310 box-shadow: 0px 0px 0px #f4f4f4 !important;
5311}
5312.shadow {
5313 box-shadow: 2px 2px 5px #CCC !important;
5314}
5315
5316.boxshadow {
5317 box-shadow: 0px 0px 5px #888;
5318}
5319
5320div.tabBar .noborder {
5321 box-shadow: 0px 0px 0px #f4f4f4 !important;
5322}
5323div .tdtop:not(.tagtdnote) {
5324 vertical-align: top !important;
5325 padding-top: 6px !important;
5326 padding-bottom: 0px !important;
5327}
5328
5329#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 {
5330 border-bottom: 1px solid #AAA !important;
5331}
5332#tablelines tr td, #tablelinesservice tr td {
5333/* height: unset; */
5334}
5335
5336
5337/* Prepare to remove class pair - impair */
5338
5339.noborder > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
5340.liste > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
5341div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > table:not(.tableforfieldedit) > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
5342.liste > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
5343div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre):not(.nooddeven)
5344{
5345 background: linear-gradient(to bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5346 background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5347 background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5348 background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5349}
5350.noborder > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
5351.liste > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
5352.noborder .tagtr:nth-child(even):not(:last-of-type) .oddeven.tagtd:not(.liste_titre)
5353{
5354 border-bottom: 1px solid #e8e8e8;
5355}
5356
5357.noborder > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
5358.liste > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
5359div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > table:not(.tableforfieldedit) > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
5360.liste > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
5361div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre):not(.nooddeven)
5362{
5363 background: linear-gradient(to bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
5364 background: -o-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
5365 background: -moz-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
5366 background: -webkit-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
5367}
5368.noborder > tbody > tr:nth-child(odd):not(:last-child):not(.lastvisible) td:not(.liste_titre),
5369.liste > tbody > tr:nth-child(odd):not(:last-child):not(.lastvisible) td:not(.liste_titre),
5370.noborder .tagtr:nth-child(odd):not(:last-child):not(.lastvisible) .oddeven.tagtd:not(.liste_titre)
5371{
5372 border-bottom: 1px solid #e8e8e8;
5373}
5374
5375ul.noborder li:nth-child(even):not(.liste_titre) {
5376 background-color: var(--colorbacklinepair2) !important;
5377}
5378
5379
5380/*
5381 * Boxes
5382 */
5383
5384.box {
5385 overflow-x: auto;
5386 min-height: 40px;
5387 padding-right: 0px;
5388 padding-left: 0px;
5389 padding-bottom: 12px;
5390}
5391.boxstats, .boxstats130 {
5392 display: inline-block;
5393 margin: 8px;
5394 text-align: center;
5395 border-radius: 6px;
5396 background: var(--colorbackbody);
5397}
5398.boxstats, .boxstats130, .boxstatscontent {
5399 white-space: nowrap;
5400 overflow: hidden;
5401 text-overflow: ellipsis;
5402}
5403.boxstats {
5404 padding: 8px;
5405 width: 100px;
5406 min-height: 40px;
5407}
5408.boxstats130 {
5409 width: 135px;
5410 height: 54px;
5411 padding: 8px;
5412}
5413
5414@media only screen and (max-width: 768px)
5415{
5416 .tabBar .arearef .pagination.paginationref {
5417 max-width: calc(50%);
5418 }
5419
5420 div.pagination ul li {
5421 margin-top: 3px;
5422 margin-bottom: 3px;
5423 }
5424 div.pagination .button-title-separator {
5425 display: none;
5426 }
5427
5428 .clearbothonsmartphone {
5429 clear: both;
5430 }
5431 .clearbothonsmartphone:not(.hideonsmartphone) {
5432 display: block !important;
5433 }
5434
5435 div.tabs {
5436 padding-left: 0 !important;
5437 margin-left: 0 !important;
5438 margin-right: 0 !important;
5439 }
5440
5441 td.tdwidgetstate {
5442 text-align: center;
5443 }
5444
5445 .boxstats, .boxstats130 {
5446 margin: 3px;
5447 border: 1px solid #ddd;
5448 box-shadow: none;
5449 background: #eee;
5450 }
5451 .thumbstat {
5452 flex: 1 1 110px;
5453 }
5454 .thumbstat150 {
5455 flex: 1 1 110px;
5456 }
5457 .dashboardlineindicator {
5458 float: left;
5459 padding-left: 5px;
5460 }
5461 .boxstats130 {
5462 width: 148px;
5463 }
5464 .boxstats {
5465 width: 100px;
5466 }
5467}
5468.boxstats:hover {
5469 box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
5470}
5471span.boxstatstext {
5472 opacity: 0.9; /* a bug if browser make z-index was discovered when opacity is set, if still present, we must disable it */
5473 line-height: 18px;
5474 color: #000;
5475 font-size: 0.8em;
5476}
5477span.boxstatstext span.fas {
5478 filter: grayscale(100%);
5479}
5480.boxstatsindicator.thumbstat150 { /* If we remove this, box position is ko on ipad */
5481 display: inline-flex;
5482}
5483span.boxstatsindicator {
5484 font-size: 110%;
5485 font-weight: normal;
5486 color: rgb(<?php print $colortextlink; ?>);
5487}
5488span.dashboardlineindicator, span.dashboardlineindicatorlate {
5489 font-size: 120%;
5490 font-weight: normal;
5491}
5492a.dashboardlineindicatorlate:hover {
5493 text-decoration: none;
5494}
5495.dashboardlineindicatorlate img {
5496 width: 16px;
5497}
5498span.dashboardlineok {
5499 color: #008800;
5500}
5501span.dashboardlineko {
5502 color: #FFF;
5503 font-size: 80%;
5504}
5505.dashboardlinelatecoin {
5506 float: right;
5507 position: relative;
5508 text-align: right;
5509 top: -24px;
5510 padding: 1px 6px 1px 6px;
5511 background-color: #8c4446;
5512 color: #FFFFFF ! important;
5513 border-radius: .25em;
5514}
5515.divboxtable {
5516 margin-bottom: 20px !important;
5517}
5518.boxtable {
5519 border-bottom-width: 1px;
5520}
5521.boxtablenotop {
5522 /* border-top-width: 0 !important; */
5523}
5524.boxtablenobottom {
5525 /* border-bottom-width: 0 !important; */
5526}
5527.boxtablenomarginbottom {
5528 margin-bottom: 0 !important;
5529}
5530.boxtable .fichehalfright, .boxtable .fichehalfleft {
5531 min-width: 275px;
5532}
5533.tdboxstats {
5534 text-align: center;
5535}
5536.boxworkingboard .tdboxstats {
5537 padding-left: 1px !important;
5538 padding-right: 1px !important;
5539}
5540a.valignmiddle.dashboardlineindicator {
5541 line-height: 30px;
5542}
5543.height30 {
5544 height: 30px !important;
5545}
5546.height50 {
5547 height: 50px !important;
5548}
5549
5550tr.box_titre {
5551 height: 26px !important;
5552
5553 /* TO MATCH BOOTSTRAP */
5554 /*background: #ddd;
5555 color: #000 !important; */
5556
5557 /* TO MATCH ELDY */
5558 background: var(--colorbacktitle1);
5559 color: var(--colortexttitle);
5560 font-family: <?php print $fontlist ?>, sans-serif;
5561 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5562 border-bottom: 1px solid #FDFFFF;
5563 white-space: nowrap;
5564}
5565
5566tr.box_titre td.boxclose {
5567 width: 30px;
5568}
5569img.boxhandle, img.boxclose {
5570 padding-left: 5px;
5571}
5572
5573.formboxfilter {
5574 vertical-align: middle;
5575 margin-bottom: 6px;
5576}
5577.formboxfilter input[type=image]
5578{
5579 top: 5px;
5580 position: relative;
5581}
5582.boxfilter {
5583 margin-bottom: 2px;
5584 margin-right: 1px;
5585}
5586
5587.prod_entry_mode_free, .prod_entry_mode_predef {
5588 height: 26px !important;
5589 vertical-align: middle;
5590}
5591
5592.modulebuilderbox {
5593 border: 1px solid #888;
5594 padding: 16px;
5595}
5596.star-selection {
5597 font-size: 1rem;
5598 cursor: pointer;
5599 display: flex;
5600 white-space: nowrap;
5601}
5602.star {
5603 color: #ccc;
5604 transition: color 0.4s;
5605}
5606.star:hover, .star.active {
5607 color: var(--butactionbg);
5608}
5609
5610.search-component-assistance {
5611 display: none;
5612 position: absolute;
5613 background: var(--colorbackbody);
5614 border-width: 1px 1px 2px;
5615 border-style: solid;
5616 border-color: rgb(204, 204, 204);
5617 border-image: none; padding: 9px;
5618 box-shadow: rgba(136, 136, 136, 0.267) 1px 2px 10px;
5619 border-radius: 2px;
5620 z-index: 1000;
5621 top: 208.933px;
5622 left: 352.683px;
5623}
5624.search-component-assistance .assistance-title {
5625 font-size: 15px;
5626 font-weight: bold;
5627 color: #333;
5628 margin: 5px
5629}
5630.search-component-assistance .separator {
5631 padding-left: 8px;
5632 margin-left: 5px
5633}
5634.search-component-assistance .end-separator {
5635 margin-left: 8px;
5636}
5637.search-component-assistance .assistance-errors {
5638 font-size: 12px;
5639 color: #333;
5640 margin: 5px 0px 5px 0px
5641}
5642.search-component-assistance .assistance-errors {
5643 margin-bottom: 0px;
5644 text-align: center;
5645}
5646.add-filter-btn {
5647 margin: 0 !important;
5648}
5649.search-component-assistance .operand, .search-component-assistance .operator, .search-component-assistance .value {
5650 display: inline-block;
5651}
5652.search-component-assistance .btn-div{
5653 margin-top: 10px;
5654 text-align: right;
5655}
5656@media only screen and (max-width: 620px) {
5657 .search-component-assistance .operand, .operator, .value {
5658 display: block !important;
5659 }
5660 .search-component-assistance .separator, .end-separator {
5661 padding: 0px;
5662 margin: 0px
5663 }
5664}
5665
5666
5667/*
5668 * Ok, Warning, Error
5669 */
5670.ok { color: #114466; }
5671.warning { color: #887711 !important; }
5672.error { color: #550000 !important; font-weight: bold; }
5673.green { color: #118822 !important; }
5674.neutral { color: #444 !important; }
5675
5676div.ok {
5677 color: #114466;
5678}
5679
5680div.info, div.warning, div.error, div.green, div.neutral, section.neutral {
5681 padding-top: 16px;
5682 padding-left: 20px;
5683 padding-right: 10px;
5684 padding-bottom: 16px;
5685 margin: 1em 0em 1em 0em;
5686 border-radius: 4px;
5687}
5688
5689div.fiche div.info, div.fiche div.warning, div.fiche div.neutral {
5690 box-shadow: 1px 1px 6px #e4e4e4;
5691 margin: 1em 0em 1.2em 0em;
5692}
5693
5694/* Neutral message */
5695div.neutral, section.neutral {
5696 background: #f8f8f8;
5697}
5698div.neutral {
5699 border-<?php print $left; ?>: solid 5px #aaa;
5700}
5701
5702
5703/* Info message */
5704div.info {
5705 border-<?php print $left; ?>: solid 5px #87bfc2;
5706 background: #eff8fc;
5707 color: #558;
5708}
5709
5710/* Ok message */
5711div.green div.greenborder, section.green, section.greenborder {
5712 border-<?php print $left; ?>: solid 5px #118822;
5713}
5714div.green, section.green {
5715 background: #e3f0e3;
5716}
5717
5718/* Warning message */
5719div.warning, div.warningborder, section.warning, section.warningborder {
5720 border-<?php print $left; ?>: solid 5px #f2cf87;
5721}
5722div.warning, section.warning {
5723 background: #fcf8e3;
5724}
5725div.warning a, div.info a, div.error a {
5726 color: rgb(<?php echo $colortextlink; ?>);
5727}
5728
5729/* Error message */
5730div.error {
5731 border-<?php print $left; ?>: solid 5px #f28787;
5732 background: #EFCFCF;
5733}
5734
5735
5736/*
5737 * Paid/Unpaid Links
5738 */
5739
5740a.normal:link { font-weight: normal }
5741a.normal:visited { font-weight: normal }
5742a.normal:active { font-weight: normal }
5743a.normal:hover { font-weight: normal }
5744
5745a.impayee:link { font-weight: bold; color: #550000; }
5746a.impayee:visited { font-weight: bold; color: #550000; }
5747a.impayee:active { font-weight: bold; color: #550000; }
5748a.impayee:hover { font-weight: bold; color: #550000; }
5749
5750
5751
5752/*
5753 * External web site
5754 */
5755
5756.framecontent {
5757 width: 100%;
5758 height: 100%;
5759}
5760
5761.framecontent iframe {
5762 width: 100%;
5763 height: 100%;
5764}
5765
5766
5767
5768/*
5769 * Other
5770 */
5771
5772.opened-dash-board-wrap {
5773 margin-bottom: 25px;
5774}
5775
5776div.boximport {
5777 min-height: unset;
5778}
5779
5780.product_line_stock_ok { color: #002200; }
5781.product_line_stock_too_low { color: #884400; }
5782
5783.fieldrequired { font-weight: bold; }
5784#tablesubscribe .fieldrequired {
5785 font-weight: inherit !important;
5786 color: inherit !important;
5787}
5788#tablesubscribe .fieldrequired:after {
5789 content: " *";
5790 color: #660000;
5791 font-weight: bold;
5792}
5793
5794td.widthpictotitle, .table-fiche-title img.widthpictotitle { width: 32px; font-size: 1.4em; text-align: <?php echo $left; ?>; }
5795table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
5796
5797.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
5798.dolgraphtitlecssboxes { /* margin: 0px; */ }
5799.dolgraphchart canvas {
5800 /* width: calc(100% - 20px) !important; */
5801}
5802.legendColorBox, .legendLabel { border: none !important; }
5803div.dolgraph div.legend, div.dolgraph div.legend div { background-color: rgba(255,255,255,0) !important; }
5804div.dolgraph div.legend table tbody tr { height: auto; }
5805td.legendColorBox { padding: 2px 2px 2px 0 !important; }
5806td.legendLabel { padding: 2px 2px 2px 0 !important; }
5807td.legendLabel {
5808 text-align: <?php echo $left; ?>;
5809}
5810
5811label.radioprivate {
5812 white-space: nowrap;
5813}
5814
5815.photo {
5816 border: 0px;
5817}
5818.photowithmargin {
5819/* margin-bottom: 2px;
5820 margin-top: 2px; */
5821}
5822div.divphotoref > div > .photowithmargin, div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
5823 margin-<?php echo $right; ?>: 15px;
5824}
5825.photowithborder {
5826 border: 1px solid #f0f0f0;
5827}
5828.photointooltip {
5829 margin-top: 8px;
5830 margin-bottom: 6px;
5831 text-align: center !important;
5832}
5833.photodelete {
5834 margin-top: 6px !important;
5835}
5836
5837.logo_setup
5838{
5839 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg', 1) ?>); /* content is used to best fit the container */
5840 display: inline-block;
5841 opacity: 0.2;
5842}
5843.nographyet
5844{
5845 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg', 1) ?>);
5846 display: inline-block;
5847 opacity: 0.1;
5848 background-repeat: no-repeat;
5849}
5850.nographyettext
5851{
5852 opacity: 0.5;
5853}
5854
5855table.table-fiche-title tr.toptitle {
5856 height: 60px;
5857}
5858div.titre {
5859 font-size: 14px;
5860 text-decoration: none;
5861 text-transform: uppercase;
5862}
5863div.titre.small {
5864 font-size: 1em;
5865}
5866div.titre, tr.liste_titre .print-barre-liste {
5867 color: var(--colortexttitlenotab);
5868}
5869
5870td.subtitle {
5871 line-height: 1.1em;
5872}
5873
5874.secondary {
5875 color: var(--colortexttitlenotab);
5876}
5877.tertiary {
5878 color: var(--colortexttitlenotab2);
5879}
5880
5881table.notopnoleftnoright.table-fiche-title {
5882 margin-bottom: 15px;
5883}
5884.fichehalfleft table.table-fiche-title, .fichehalfright table.table-fiche-title {
5885 margin-bottom: 8px;
5886}
5887
5888/*
5889table.table-fiche-title .col-title div.titre, .col-center .btnTitle-icon, .col-right .btnTitle-icon {
5890 line-height: 40px;
5891}
5892*/
5893table.table-fiche-title .col-title div.titre span {
5894 line-height: normal;
5895}
5896
5897div.backgreypublicpayment {
5898 background-color: #f0f0f0;
5899 padding: 20px;
5900 border-bottom: 1px solid #ddd;
5901 text-align: center;
5902 position: sticky;
5903 top: 0;
5904 z-index: 1005;
5905}
5906.backgreypublicpayment a { color: #222 !important; }
5907.poweredbypublicpayment {
5908 float: right;
5909 top: 8px;
5910 right: 12px;
5911 position: absolute;
5912 font-size: 0.8em;
5913 color: #222;
5914 opacity: 0.3;
5915}
5916a.poweredbyhref {
5917 text-decoration: none;
5918}
5919
5920span.buttonpaymentsmall {
5921 text-shadow: none;
5922}
5923
5924#dolpublictable {
5925 min-width: 300px;
5926 max-width: 800px;
5927 font-size: 16px;
5928 padding: 6px;
5929}
5930#dolpaymenttable {
5931 min-width: 320px; font-size: 16px;
5932} /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
5933
5934#tablepublicpayment {
5935 border: 1px solid #CCCCCC !important;
5936 width: 100%;
5937 padding: 20px;
5938 margin-bottom: 20px;
5939 border-radius: 10px;
5940}
5941#tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
5942#tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
5943#tablepublicpayment tr.liste_total td { border-top: none; }
5944
5945.divmainbodylarge { margin-left: 40px; margin-right: 40px; }
5946.publicnewmemberform div.titre { font-size: 2em; }
5947#divsubscribe { max-width: 900px; }
5948#divsubscribe .eventlabel { font-size: 1.5em; }
5949#tablesubscribe { width: 100%; }
5950#tablesubscribe tr td { font-size: 1.15em; }
5951#tablesubscribe .price-registration { font-size: 1.5em; }
5952
5953
5954div#card-element {
5955 border: 1px solid #ccc;
5956}
5957div#card-errors {
5958 color: #fa755a;
5959 text-align: center;
5960 padding-top: 3px;
5961 /* max-width: 320px; */
5962}
5963
5964
5965/*
5966 * Effect Postit
5967 */
5968
5969.effectpostit
5970{
5971 position: relative;
5972}
5973.effectpostit:before, .effectpostit:after
5974{
5975 z-index: -1;
5976 position: absolute;
5977 content: "";
5978 bottom: 15px;
5979 left: 10px;
5980 width: 50%;
5981 top: 80%;
5982 max-width:300px;
5983 background: #777;
5984 box-shadow: 0 15px 10px #777;
5985 -webkit-transform: rotate(-3deg);
5986 -moz-transform: rotate(-3deg);
5987 -o-transform: rotate(-3deg);
5988 -ms-transform: rotate(-3deg);
5989 transform: rotate(-3deg);
5990}
5991.effectpostit:after
5992{
5993 -webkit-transform: rotate(3deg);
5994 -moz-transform: rotate(3deg);
5995 -o-transform: rotate(3deg);
5996 -ms-transform: rotate(3deg);
5997 transform: rotate(3deg);
5998 right: 10px;
5999 left: auto;
6000}
6001
6002
6003
6004/* ============================================================================== */
6005/* Form confirmation (When Ajax JQuery is used) and Dialog popups */
6006/* ============================================================================== */
6007
6008button.ui-button-icon-only.ui-dialog-titlebar-close {
6009 padding: 12px;
6010 margin-top: -15px;
6011 margin-right: 15px;
6012}
6013.ui-dialog-content {
6014 maring-bottom: 10px; /* same than .ui-widget-header */
6015 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?> !important;
6016}
6017.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
6018 z-index: 1005 !important; /* Default 101 with ui-jquery, top menu have a z-index of 1000 */
6019}
6020.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
6021 z-index:1006 !important; /* To always be over the dialog box */
6022}
6023
6024.ui-dialog.ui-widget.ui-widget-content {
6025 border: 1px solid #e0e0e0;
6026 border-radius: 6px;
6027}
6028
6029div#dialogforpopup {
6030 background-color: #f8f8f8 !important;
6031}
6032
6033.ui-dialog .ui-dialog-buttonpane {
6034 padding: .5em 1em .3em .4em;
6035}
6036.ui-dialog .ui-dialog-content, .ui-dialog .ui-dialog-titlebar.ui-widget-header {
6037 padding-left: 1em !important;
6038}
6039button.ui-button-icon-only.ui-dialog-titlebar-close {
6040 margin-right: 8px !important;
6041}
6042/*
6043.ui-dialog .ui-dialog-content {
6044 text-align: justify;
6045}
6046*/
6047
6048
6049/* ============================================================================== */
6050/* For content of image preview */
6051/* ============================================================================== */
6052
6053/*
6054.ui-dialog-content.ui-widget-content > object {
6055 max-height: none;
6056 width: auto; margin-left: auto; margin-right: auto; display: block;
6057}
6058*/
6059
6060
6061/* ============================================================================== */
6062/* Formulaire confirmation (When HTML is used) */
6063/* ============================================================================== */
6064
6065table.valid, div.valid {
6066 /* border-top: solid 1px #E6E6E6; */
6067 border-<?php print $left; ?>: solid 5px #f2cf87;
6068 /* border-<?php print $right; ?>: solid 1px #444444;
6069 border-bottom: solid 1px #555555; */
6070 padding-top: 8px;
6071 padding-left: 10px;
6072 padding-right: 4px;
6073 padding-bottom: 4px;
6074 margin: 0px 0px;
6075 background: #fcf8e3;
6076}
6077
6078.validtitre {
6079 font-weight: bold;
6080}
6081
6082
6083/* ============================================================================== */
6084/* Tooltips */
6085/* ============================================================================== */
6086
6087/* For tooltip using dialog */
6088.ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
6089 z-index: 3000;
6090}
6091
6092div.ui-tooltip {
6093 max-width: <?php print dol_size(700, 'width'); ?>px !important;
6094}
6095
6096div.ui-tooltip.mytooltip {
6097 padding: 20px 20px;
6098 border-radius: 4px;
6099 box-shadow: 0 0 4px #888;
6100 margin: 2px;
6101 font-stretch: condensed;
6102 background: var(--colorbacklineimpair2) !important;
6103 /* color : var(--tooltipfontcolor);*/
6104 line-height: 1.6em;
6105 min-width: 550px;
6106}
6107@media only screen and (max-width: 768px)
6108{
6109 div.ui-tooltip.mytooltip {
6110 max-width: 400px;
6111 }
6112}
6113@media only screen and (max-width: 480px)
6114{
6115 div.ui-tooltip.mytooltip {
6116 max-width: 300px;
6117 }
6118}
6119@media only screen and (max-width: 320px)
6120{
6121 div.ui-tooltip.mytooltip {
6122 max-width: 230px;
6123 }
6124}
6125
6126
6127/* ============================================================================== */
6128/* Calendar date picker */
6129/* ============================================================================== */
6130
6131.ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
6132.ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
6133html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
6134{
6135 border: unset;
6136}
6137
6138div#ui-datepicker-div {
6139 width: 300px;
6140 box-shadow: 2px 5px 15px #aaa;
6141 border: unset;
6142 padding-left: 5px;
6143 padding-right: 5px;
6144 padding-top: 5px;
6145 z-index: 1010 !important; /* must be over menu bar */
6146}
6147.ui-datepicker .ui-datepicker table {
6148 font-size: unset;
6149}
6150.ui-datepicker .ui-widget-header {
6151 border: unset;
6152 background: unset;
6153}
6154
6155/* the button Previous / Next month */
6156.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
6157 width: 2.5em;
6158 height: 2.7em;
6159}
6160
6161img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
6162
6163select.ui-datepicker-year {
6164 margin-left: 2px !important;
6165}
6166.ui-datepicker-trigger, .ui-datepicker-notrigger {
6167 vertical-align: middle;
6168 padding-left: 2px;
6169 padding-right: 2px;
6170}
6171.ui-datepicker-notrigger {
6172 cursor: default;
6173}
6174.ui-datepicker-trigger {
6175 cursor: pointer;
6176}
6177
6178/*
6179.bodyline {
6180 border-radius: 4px;
6181 border: 1px #E4ECEC outset;
6182 padding: 0px;
6183 margin-bottom: 5px;
6184}
6185*/
6186table.dp {
6187 width: 180px;
6188 background-color: #FFFFFF;
6189 /*border-top: solid 2px #f4f4f4;
6190 border-<?php print $left; ?>: solid 2px #f4f4f4;
6191 border-<?php print $right; ?>: solid 1px #222222;
6192 border-bottom: solid 1px #222222; */
6193 padding: 0px;
6194 border-spacing: 0px;
6195 border-collapse: collapse;
6196}
6197.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
6198/* Barre titre */
6199.dpHead,.tpHead,.tpHour td:Hover .tpHead{
6200 font-weight:bold;
6201 background-color: #888;
6202 color:white;
6203 font-size:11px;
6204 cursor:auto;
6205}
6206/* Barre navigation */
6207.dpButtons,.tpButtons {
6208 text-align:center;
6209 background-color: #888;
6210 color:#FFFFFF;
6211 font-weight:bold;
6212 cursor:pointer;
6213}
6214.dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
6215.dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
6216.dpExplanation{ font-weight:normal; font-size:11px;}
6217.dpWeek td{text-align:center}
6218
6219.dpToday,.dpReg,.dpSelected{
6220 cursor:pointer;
6221}
6222.dpToday{font-weight:bold; color:black; background-color:#f4f4f4;}
6223.dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
6224
6225/* Jour courant */
6226.dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
6227
6228.tpHour{border-top:1px solid #f4f4f4; border-right:1px solid #f4f4f4;}
6229.tpHour td {border-left:1px solid #f4f4f4; border-bottom:1px solid #f4f4f4; cursor:pointer;}
6230.tpHour td:Hover {background-color:black;color:white;}
6231
6232.tpMinute {margin-top:5px;}
6233.tpMinute td:Hover {background-color:black; color:white; }
6234.tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
6235
6236/* Bouton X fermer */
6237.dpInvisibleButtons
6238{
6239 border-style:none;
6240 background-color:transparent;
6241 padding:0px;
6242 font-size: 0.85em;
6243 border-width:0px;
6244 color: #eee;
6245 vertical-align:middle;
6246 cursor: pointer;
6247}
6248.datenowlink {
6249 color: rgb(<?php print $colortextlink; ?>);
6250 font-size: 0.8em;
6251 opacity: 0.7;
6252}
6253
6254.categtextwhite, .treeview .categtextwhite.hover {
6255 color: #fff !important;
6256}
6257.categtextblack {
6258 color: #000 !important;
6259}
6260
6261
6262/* ============================================================================== */
6263/* Show/Hide */
6264/* ============================================================================== */
6265
6266div.visible {
6267 display: block;
6268}
6269
6270div.hidden, div.hiddenforpopup, header.hidden, tr.hidden, td.hidden,
6271img.hidden, span.hidden, br.hidden, div.showifmore, input.hidden {
6272 display: none;
6273}
6274
6275.unvisible {
6276 visibility: hidden;
6277}
6278
6279tr.visible {
6280 display: block;
6281}
6282
6283
6284/* ============================================================================== */
6285/* Module website */
6286/* ============================================================================== */
6287
6288
6289.previewnotyetavailable {
6290 opacity: 0.5;
6291}
6292
6293.websiteformtoolbar {
6294 position: sticky;
6295 top: <?php echo empty($dol_hide_topmenu) ? ($disableimages ? '36px' : '50px') : '0'; ?>;
6296 z-index: 1002; /* Dolibarr menu is 1001, Website menu is 1002 */
6297}
6298
6299.exampleapachesetup {
6300 overflow-y: auto;
6301 max-height: 100px;
6302 font-size: 0.8em;
6303 border: 1px solid #aaa;
6304}
6305
6306span[phptag] {
6307 background: #ddd; border: 1px solid #ccc; border-radius: 4px;
6308}
6309
6310.nobordertransp {
6311 border: 0px;
6312 background-color: transparent;
6313 background-image: none;
6314 color: #000 !important;
6315 text-shadow: none;
6316}
6317.bordertransp:not(.nobordertransp) {
6318 background-color: transparent;
6319 background-image: none;
6320 border: 1px solid #aaa;
6321 font-weight: normal;
6322 color: #444 !important;
6323}
6324.websitebar .button.bordertransp {
6325 color: unset;
6326 text-decoration: unset !important;
6327 border: unset !important;
6328 /* margin: 0px 4px 0px 4px !important */
6329 box-shadow: none;
6330}
6331.websitebar .fa-plus-circle.btnTitle-icon {
6332 margin: 0px 4px 0px 4px !important;
6333}
6334
6335.websitebar {
6336 border-bottom: 1px solid #ccc;
6337 background: #eee;
6338 display: inline-block;
6339}
6340.centpercent.websitebar {
6341 width: calc(100% - 10px);
6342 padding: 5px 5px 5px 5px;
6343 font-size: 0.94em;
6344}
6345.websitebar .buttonDelete, .websitebar .button {
6346 text-shadow: none;
6347}
6348.websitebar .button, .websitebar .buttonDelete
6349{
6350 padding: 2px 4px 2px 4px !important;
6351 margin: 2px 4px 2px 4px !important;
6352 line-height: normal;
6353}
6354.websitebar input.button.bordertransp, .websitebar input.buttonDelete.bordertransp {
6355 color: #444 !important;
6356 text-shadow: none;
6357}
6358.websiteselection {
6359 /* display: inline-block; */
6360 padding-<?php echo $right; ?>: 10px;
6361 vertical-align: middle;
6362}
6363.websitetools {
6364 float: right;
6365}
6366.websiteselection, .websitetools {
6367 /* margin-top: 3px;
6368 padding-top: 3px;
6369 padding-bottom: 3px; */
6370}
6371.websiteinputurl {
6372 display: inline-block;
6373 vertical-align: top;
6374 line-height: 26px;
6375}
6376.websiteiframenoborder {
6377 border: 0px;
6378}
6379span.websitebuttonsitepreview, a.websitebuttonsitepreview {
6380 vertical-align: middle;
6381}
6382span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
6383 width: 26px;
6384 display: inline-block;
6385}
6386span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
6387 opacity: 0.2;
6388}
6389.websiteiframenoborder {
6390 border: 0px;
6391}
6392.websitehelp {
6393 vertical-align: middle;
6394 float: right;
6395 padding-top: 5px;
6396}
6397.websiteselectionsection {
6398 border-left: 1px solid #bbb;
6399 border-right: 1px solid #bbb;
6400 margin-left: 0px;
6401 padding-left: 8px;
6402 margin-right: 5px;
6403}
6404.websitebar input#previewpageurl {
6405 line-height: 1em;
6406}
6407
6408#divbodywebsite section p {
6409 margin: unset;
6410}
6411
6412#divbodywebsite #websitetemplateconfigpage{
6413 max-width: 1200px;
6414 margin: 50px auto 0;
6415}
6416
6417
6418/* ============================================================================== */
6419/* Module agenda */
6420/* ============================================================================== */
6421
6422.dayevent .tagtr:first-of-type {
6423 height: 24px;
6424}
6425.agendacell { height: 60px; }
6426table.cal_month { border-spacing: 0px; }
6427table.cal_month td:first-child { border-left: 0px; }
6428table.cal_month td:last-child { border-right: 0px; }
6429table.cal_month td { padding-left: 1px !important; padding-right: 1px !important; }
6430table.cal_month.cal_peruser td { padding-left: 0 !important; padding-right: 0 !important; }
6431.cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
6432.cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
6433.cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
6434.cal_other_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
6435.cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
6436.cal_current_month_right { border-right: solid 1px #E0E0E0; }
6437.cal_other_month_right { border-right: solid 1px #C0C0C0; }
6438.cal_other_month { /* opacity: 0.6; */ background: #FCFCFC; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
6439.cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
6440.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; }
6441.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; }
6442.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; }
6443.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; }
6444.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; }
6445.cal_today_peruser_impair { /* background: #FDFDF0; */ }
6446.cal_past { }
6447.cal_peruser { padding: 0px; height: 22px !important; }
6448.cal_peruserviewname { max-width: 140px; height: 22px !important; }
6449.cal_impair { background: #FBFBFB; }
6450.cal_showmore { opacity: 0.5 }
6451.peruser_busy { background: #CC8888; }
6452.peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
6453div.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); }
6454table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; border-radius: 3px; min-height: 20px; }
6455table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
6456table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
6457table.cal_event td.cal_event_right { padding: 4px 4px !important; }
6458tr.trcalweek { height: 300px; }
6459tr.trcalday { height: 300px; }
6460.cal_event { font-size: 1em; }
6461.cal_event a:link { color: #111111; font-weight: normal !important; }
6462.cal_event a:visited { color: #111111; font-weight: normal !important; }
6463.cal_event a:active { color: #111111; font-weight: normal !important; }
6464.cal_event_busy a:hover { color: #111111; font-weight: normal !important; color:rgba(255,255,255,.75); }
6465.cal_event_busy { }
6466a.dayevent-aday {
6467 margin-left: 8px;
6468}
6469td.small.cal_event {
6470 font-size: 0.9em;
6471}
6472
6473.calendarviewcontainertr { height: 100px; }
6474
6475.topmenuimage {
6476 background-size: 24px auto;
6477}
6478
6479td.cal_other_month {
6480 /* opacity: 0.7; */
6481}
6482td.event-past span {
6483 opacity: 0.5;
6484}
6485td.peruser_holiday_imp {
6486 background-color: #aaa !important;
6487}
6488
6489.cal_available { background: #0060d450; }
6490.cal_chosen { background: #0060d4; }
6491
6492
6493
6494/* ============================================================================== */
6495/* UI features */
6496/* ============================================================================== */
6497
6498.ui-widget-content {
6499 border: solid 1px rgba(0,0,0,.3);
6500 background: var(--colorbackbody) !important;
6501 color: var(--colortext) !important;
6502}
6503
6504/* Style to overwrites UI JQuery styles */
6505.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
6506 /* border: 1px solid #888; */
6507 background: rgb(<?php echo $colorbacktitle1; ?>);
6508 color: unset;
6509 font-weight: bold;
6510}
6511.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 {
6512 background: #007fff !important;
6513 color: #ffffff !important;
6514}
6515
6516.ui-menu .ui-menu-item a {
6517 text-decoration:none;
6518 display:block;
6519 padding:.2em .4em;
6520 line-height:1.5;
6521 font-weight: normal;
6522 font-family:<?php echo $fontlist; ?>;
6523 font-size:1em;
6524}
6525.ui-widget {
6526 font-family:<?php echo $fontlist; ?>;
6527}
6528.ui-button { margin-left: -2px; <?php print(preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> }
6529.ui-button-icon-only .ui-button-text { height: 8px; }
6530.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
6531.ui-button-text
6532{
6533 line-height: 1em !important;
6534}
6535
6536
6537/* ============================================================================== */
6538/* Ajax combo list for autocompletion */
6539/* ============================================================================== */
6540
6541.ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat; }
6542.ui-autocomplete {
6543 position:absolute;
6544 width:auto;
6545 font-size: 1.0em;
6546 background-color:white;
6547 border:1px solid #888;
6548 margin:0px;
6549/* padding:0px; This make combo crazy */
6550 }
6551.ui-autocomplete ul {
6552 list-style-type:none;
6553 margin:0px;
6554 padding:0px;
6555 }
6556.ui-autocomplete ul li.selected { background-color: #D3E5EC;}
6557.ui-autocomplete ul li {
6558 list-style-type:none;
6559 display:block;
6560 margin:0;
6561 padding:2px;
6562 height:18px;
6563 cursor:pointer;
6564 }
6565.ui-autocomplete-input { margin: 0; padding: 4px; }
6566
6567
6568/* ============================================================================== */
6569/* Gantt */
6570/* ============================================================================== */
6571
6572td.gtaskname {
6573 overflow: hidden;
6574 text-overflow: ellipsis;
6575}
6576
6577
6578/* ============================================================================== */
6579/* Edit in place */
6580/* ============================================================================== */
6581
6582.editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
6583 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
6584 cursor: pointer;
6585 margin-right: 3px;
6586 margin-top: 3px;
6587}
6588
6589.editkey_datepicker {
6590 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
6591 cursor: pointer;
6592 margin-right: 3px;
6593 margin-top: 3px;
6594}
6595
6596.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 {
6597 background: white;
6598 cursor: pointer;
6599}
6600
6601.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 {
6602 background: white;
6603 cursor: pointer;
6604}
6605
6606.viewval_hover {
6607 background: white;
6608}
6609
6610
6611/* ============================================================================== */
6612/* Admin Menu */
6613/* ============================================================================== */
6614
6615/* CSS for treeview */
6616.treeview ul { background-color: transparent !important; margin-top: 0 !important; /* margin-bottom: 4px !important; padding-top: 2px !important; */ }
6617.treeview li { background-color: transparent !important; padding: 0 0 0 20px !important; min-height: 30px; }
6618.treeview .hitarea { width: 20px !important; margin-left: -20px !important; margin-top: 3px; }
6619.treeview li table { min-height: 30px; }
6620.treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
6621
6622
6623
6624/* ============================================================================== */
6625/* Show Excel tabs */
6626/* ============================================================================== */
6627
6628.table_data
6629{
6630 border-style:ridge;
6631 border:1px solid;
6632}
6633.tab_base
6634{
6635 background:#C5D0DD;
6636 font-weight:bold;
6637 border-style:ridge;
6638 border: 1px solid;
6639 cursor:pointer;
6640}
6641.table_sub_heading
6642{
6643 background:#CCCCCC;
6644 font-weight:bold;
6645 border-style:ridge;
6646 border: 1px solid;
6647}
6648.table_body
6649{
6650 background:#F0F0F0;
6651 font-weight:normal;
6652 font-family:sans-serif;
6653 border-style:ridge;
6654 border: 1px solid;
6655 border-spacing: 0px;
6656 border-collapse: collapse;
6657}
6658.tab_loaded
6659{
6660 background:#222222;
6661 color:white;
6662 font-weight:bold;
6663 border-style:groove;
6664 border: 1px solid;
6665 cursor:pointer;
6666}
6667
6668
6669/* ============================================================================== */
6670/* CSS for color picker */
6671/* ============================================================================== */
6672
6673div.jPicker table.jPicker {
6674 padding-bottom: 20px;
6675 padding-right: 20px;
6676 padding-left: 20px;
6677}
6678table.jPicker tr:first-of-type td {
6679 height: 2px !important;
6680 line-height: 2px;
6681}
6682.jPicker .Icon {
6683 margin-left: 2px;
6684}
6685.jPicker .Move {
6686 background: unset !important;
6687 border: unset !important;
6688}
6689.jPicker .Preview div span {
6690 border: unset !important;
6691 width: unset !important;
6692 height: 50% !important;
6693}
6694.jPicker div[class="Map"] {
6695 max-width: 150px;
6696}
6697table.jPicker {
6698 border-radius: 5px;
6699 border: 1px solid #bbb !important;
6700 background-color: var(--colorbackbody) !important;
6701 box-shadow: 0px 0px 10px #ccc;
6702 width: 300px !important;
6703}
6704span.jPicker {
6705 vertical-align: middle;
6706}
6707.jPicker .Grid {
6708 background-image: unset !important;
6709}
6710.jPicker .Grid span.QuickColor {
6711 border: unset !important;
6712}
6713.jPicker td.Radio {
6714 min-width: 34px;
6715}
6716.jPicker td.Text {
6717 white-space: nowrap;
6718}
6719.jPicker .Preview div {
6720 height: 36px !important;
6721}
6722.jPicker input[type="button"] {
6723 background: var(--butactionbg);
6724 color: var(--textbutaction);
6725 border-radius: 4px;
6726 border-collapse: collapse;
6727 border: none;
6728}
6729.jPicker tr.Hex td.Text input {
6730 width: 60px !important;
6731}
6732.jPicker td.Text input {
6733 min-width: 40px;
6734 padding: 8px;
6735 border: 1px solid #bbb !important;
6736 border-radius: 4px;
6737}
6738
6739A.color, A.color:active, A.color:visited {
6740 position : relative;
6741 display : block;
6742 text-decoration : none;
6743 width : 10px;
6744 height : 10px;
6745 line-height : 10px;
6746 margin : 0px;
6747 padding : 0px;
6748 border : 1px inset white;
6749}
6750A.color:hover {
6751 border : 1px outset white;
6752}
6753A.none, A.none:active, A.none:visited, A.none:hover {
6754 position : relative;
6755 display : block;
6756 text-decoration : none;
6757 width : 10px;
6758 height : 10px;
6759 line-height : 10px;
6760 margin : 0px;
6761 padding : 0px;
6762 cursor : default;
6763 border : 1px solid #b3c5cc;
6764}
6765.tblColor {
6766 display : none;
6767}
6768.tdColor {
6769 padding : 1px;
6770}
6771.tblContainer {
6772 background-color : #b3c5cc;
6773}
6774.tblGlobal {
6775 position : absolute;
6776 top : 0px;
6777 left : 0px;
6778 display : none;
6779 background-color : #b3c5cc;
6780 border : 2px outset;
6781}
6782.tdContainer {
6783 padding : 5px;
6784}
6785.tdDisplay {
6786 width : 50%;
6787 height : 20px;
6788 line-height : 20px;
6789 border : 1px outset white;
6790}
6791.tdDisplayTxt {
6792 width : 50%;
6793 height : 24px;
6794 line-height : 12px;
6795 font-family : <?php print $fontlist ?>;
6796 font-size : 8pt;
6797 color : black;
6798 text-align : center;
6799}
6800.btnColor {
6801 width : 100%;
6802 font-family : <?php print $fontlist ?>;
6803 font-size : 10pt;
6804 padding : 0px;
6805 margin : 0px;
6806}
6807.btnPalette {
6808 width : 100%;
6809 font-family : <?php print $fontlist ?>;
6810 font-size : 8pt;
6811 padding : 0px;
6812 margin : 0px;
6813}
6814.colorselector {
6815 border: solid 1px #ddd !important;
6816}
6817input.colorpicker {
6818 color: unset !important;
6819 background-color: unset !important;
6820}
6821
6822
6823/* ============================================================================== */
6824/* CKEditor */
6825/* ============================================================================== */
6826
6827body.cke_show_borders {
6828 margin: 5px !important;
6829}
6830table.cke_dialog.cke_browser_webkit {
6831 border-collapse: separate;
6832 border-radius: 10px;
6833}
6834.cke_dialog {
6835 border: 1px #bbb solid ! important;
6836}
6837/*.cke_editor table, .cke_editor tr, .cke_editor td
6838{
6839 border: 0px solid #FF0000 !important;
6840}
6841span.cke_skin_kama { padding: 0 !important; }*/
6842.cke_wrapper { padding: 4px !important; }
6843a.cke_dialog_ui_button
6844{
6845 font-family: <?php print $fontlist ?> !important;
6846 background-image: url(<?php echo $img_button ?>) !important;
6847 background-position: bottom !important;
6848 border: 1px solid #C0C0C0 !important;
6849 border-radius:0px 2px 0px 2px !important;
6850 box-shadow: 3px 3px 4px #f4f4f4 !important;
6851}
6852.cke_combo_text {
6853 width: 40px !important;
6854}
6855/*
6856.cke_editable
6857{
6858 line-height: 1.4 !important;
6859 margin: 6px !important;
6860}
6861*/
6862a.cke_dialog_ui_button_ok span {
6863 text-shadow: none !important;
6864 color: #333 !important;
6865}
6866a.cke_button, a.cke_combo_button {
6867 height: 18px !important;
6868}
6869div.cke_notifications_area .cke_notification_warning {
6870 visibility: hidden;
6871}
6872
6873.cke.cke_reset {
6874 margin-top: 8px;
6875 margin-bottom: 8px;
6876}
6877
6878/* CSS to round border */
6879.cke.cke_reset, .cke_inner.cke_reset, .cke_top.cke_reset_all {
6880 border-top-left-radius: <?php echo $borderradius; ?>px;
6881 border-top-right-radius: <?php echo $borderradius; ?>px;
6882}
6883.cke.cke_reset, .cke_inner.cke_reset, .cke_contents.cke_reset {
6884 border-bottom-left-radius: <?php echo $borderradius; ?>px;
6885 border-bottom-right-radius: <?php echo $borderradius; ?>px;
6886}
6887
6888/* CSS To hide the picto menu on smartphone, except when maximize */
6889@media only screen and (max-width: 768px)
6890{
6891 .cke_inner:not(.cke_maximized) .cke_toolbar_separator,
6892 .cke_inner:not(.cke_maximized) .cke_combo,
6893 .cke_inner:not(.cke_maximized) .cke_button:not(.cke_button__maximize) {
6894 display: none;
6895 }
6896}
6897
6898
6899/* ============================================================================== */
6900/* TinyMCE */
6901/* ============================================================================== */
6902
6903td.linecoldescription .tox.tox-tinymce {
6904 margin-top: 8px;
6905}
6906.tox .tox-edit-area::before {
6907 border: none !important;
6908}
6909.tox.tox-tinymce {
6910 margin-bottom: 6px;
6911}
6912.tox:not(.tox-tinymce-inline) .tox-editor-header {
6913 padding: 0 !important;
6914}
6915.tox .tox-tbtn:not(.tox-tbtn--select):not(.tox-tbtn--bespoke):not(.tox-split-button__chevron) {
6916 width: 30px !important;
6917}
6918.tox .tox-toolbar__group {
6919 padding-left: 5px !important;
6920 padding-right: 5px !important;
6921}
6922button.tox-tbtn.tox-tbtn--select.tox-tbtn--bespoke[data-mce-name="fontsize"] {
6923 width: 70px;
6924}
6925.tox:not(.tox-tinymce-inline) .tox-editor-header {
6926 /*border-bottom: 1px solid #ddd !important;
6927 box-shadow: unset !important; */
6928 box-shadow: 0 2px 2px -2px rgba(34,47,62,.1),0 5px 5px -4px rgba(34,47,62,.09) !important;
6929}
6930.mce-content-body p {
6931 margin: unset;
6932}
6933
6934
6935/* ============================================================================== */
6936/* ACE editor */
6937/* ============================================================================== */
6938.ace_editor {
6939 border: 1px solid #ddd;
6940 margin: 0;
6941}
6942.aceeditorstatusbar {
6943 margin: 0;
6944 padding: 0;
6945 padding-<?php echo $left; ?>: 10px;
6946 left: 0;
6947 right: 0;
6948 bottom: 0;
6949 color: #666;
6950 height: 28px;
6951 line-height: 2.2em;
6952}
6953.ace_status-indicator {
6954 color: gray;
6955 position: relative;
6956 right: 0;
6957 border-left: 1px solid;
6958}
6959pre#editfilecontentaceeditorid {
6960 margin-top: 5px;
6961}
6962
6963
6964/* ============================================================================== */
6965/* File upload */
6966/* ============================================================================== */
6967
6968.template-upload {
6969 height: 72px !important;
6970}
6971
6972
6973/* ============================================================================== */
6974/* Custom reports */
6975/* ============================================================================== */
6976
6977.customreportsoutput, .customreportsoutputnotdata {
6978 padding-top: 20px;
6979}
6980.customreportsoutputnotdata {
6981 text-align: center;
6982}
6983
6984
6985/* ============================================================================== */
6986/* Holiday */
6987/* ============================================================================== */
6988
6989#types .btn {
6990 cursor: pointer;
6991}
6992
6993#types .btn-primary {
6994 font-weight: bold;
6995}
6996
6997#types form {
6998 padding: 20px;
6999}
7000
7001#types label {
7002 display:inline-block;
7003 width:100px;
7004 margin-right: 20px;
7005 padding: 4px;
7006 text-align: right;
7007 vertical-align: top;
7008}
7009
7010#types input.text, #types textarea {
7011 width: 400px;
7012}
7013
7014#types textarea {
7015 height: 100px;
7016}
7017
7018
7019/* ============================================================================== */
7020/* Comments */
7021/* ============================================================================== */
7022
7023#comment div {
7024 box-sizing:border-box;
7025}
7026#comment .comment {
7027 border-radius:7px;
7028 margin-bottom:10px;
7029 overflow:hidden;
7030}
7031#comment .comment-table {
7032 display:table;
7033 height:100%;
7034}
7035#comment .comment-cell {
7036 display:table-cell;
7037}
7038#comment .comment-info {
7039 font-size:0.8em;
7040 border-right:1px solid #dedede;
7041 margin-right:10px;
7042 width:160px;
7043 text-align:center;
7044 background:rgba(255,255,255,0.5);
7045 vertical-align:middle;
7046 padding:10px 2px;
7047}
7048#comment .comment-info a {
7049 color:inherit;
7050}
7051#comment .comment-right {
7052 vertical-align:top;
7053}
7054#comment .comment-description {
7055 padding:10px;
7056 vertical-align:top;
7057}
7058#comment .comment-delete {
7059 width: 100px;
7060 text-align:center;
7061 vertical-align:middle;
7062}
7063#comment .comment-delete:hover {
7064 background:rgba(250,20,20,0.8);
7065}
7066#comment .comment-edit {
7067 width: 100px;
7068 text-align:center;
7069 vertical-align:middle;
7070}
7071#comment .comment-edit:hover {
7072 background:rgba(0,184,148,0.8);
7073}
7074#comment textarea {
7075 width: 100%;
7076}
7077
7078
7079/* ============================================================================== */
7080/* JSGantt */
7081/* ============================================================================== */
7082
7083div.scroll2 {
7084 width: <?php print isset($_SESSION['dol_screenwidth']) ? max((int) $_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
7085}
7086
7087div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
7088 line-height: 2;
7089}
7090
7091.gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
7092 font-size: unset !important;
7093}
7094
7095div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
7096 font-size: unset !important;
7097 font-weight: normal !important;
7098 color: #000 !important;
7099}
7100div.gTaskInfo {
7101 background: #f0f0f0 !important;
7102}
7103.gtaskblue {
7104 background: rgb(108,152,185) !important;
7105}
7106.gtaskgreen {
7107 background: rgb(160,173,58) !important;
7108}
7109td.gtaskname {
7110 overflow: hidden;
7111 text-overflow: ellipsis;
7112}
7113td.gminorheadingwkend {
7114 color: #888 !important;
7115}
7116td.gminorheading {
7117 color: #666 !important;
7118}
7119.glistlbl, .glistgrid {
7120 width: 582px !important;
7121}
7122.gtaskname div, .gtaskname {
7123 min-width: 250px !important;
7124 max-width: 250px !important;
7125 width: 250px !important;
7126}
7127.gpccomplete div, .gpccomplete {
7128 min-width: 40px !important;
7129 max-width: 40px !important;
7130 width: 40px !important;
7131}
7132td.gtaskheading.gstartdate, td.gtaskheading.genddate {
7133 white-space: break-spaces;
7134}
7135.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) {
7136 color: transparent !important;
7137 border-left: none;
7138 border-right: none;
7139 border-top: none;
7140}
7141
7142
7143/* ============================================================================== */
7144/* jFileTree */
7145/* ============================================================================== */
7146
7147.ecmfiletree {
7148 width: 99%;
7149 height: 99%;
7150 padding-left: 2px;
7151 font-weight: normal;
7152}
7153
7154.fileview {
7155 width: 99%;
7156 height: 99%;
7157 background: #FFF;
7158 padding-left: 2px;
7159 padding-top: 4px;
7160 font-weight: normal;
7161}
7162
7163div.filedirelem {
7164 position: relative;
7165 display: block;
7166 text-decoration: none;
7167}
7168
7169ul.filedirelem {
7170 padding: 2px;
7171 margin: 0 5px 5px 5px;
7172}
7173ul.filedirelem li {
7174 list-style: none;
7175 padding: 2px;
7176 margin: 0 10px 20px 10px;
7177 width: 160px;
7178 height: 120px;
7179 text-align: center;
7180 display: block;
7181 float: <?php print $left; ?>;
7182 border: solid 1px #f4f4f4;
7183}
7184
7185ul.ecmjqft {
7186 line-height: 16px;
7187 padding: 0px;
7188 margin: 0px;
7189 font-weight: normal;
7190}
7191
7192ul.ecmjqft li {
7193 list-style: none;
7194 padding: 0px;
7195 padding-left: 20px;
7196 margin: 0px;
7197 display: block;
7198}
7199
7200ul.ecmjqft a {
7201 line-height: 24px;
7202 vertical-align: middle;
7203 color: #333;
7204 padding: 0px 0px;
7205 font-weight:normal;
7206 display: inline-block !important;
7207}
7208ul.ecmjqft > a {
7209 width: calc(100% - 100px);
7210 overflow: hidden;
7211 white-space: break-spaces;
7212 word-break: break-all;
7213}
7214ul.ecmjqft a:active {
7215 font-weight: bold !important;
7216}
7217ul.ecmjqft a:hover {
7218 text-decoration: underline;
7219}
7220
7221div.ecmjqft {
7222 vertical-align: middle;
7223 display: inline-block !important;
7224 text-align: <?php echo $right; ?>;
7225 float: <?php echo $right; ?>;
7226 right:4px;
7227 clear: both;
7228}
7229div#ecm-layout-west {
7230 width: 380px;
7231 vertical-align: top;
7232}
7233div#ecm-layout-center {
7234 width: calc(100% - 405px);
7235 vertical-align: top;
7236 float: <?php echo $right; ?>;
7237}
7238
7239.ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png', 1); ?>) left top no-repeat; }
7240.ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png', 1); ?>) left top no-repeat; }
7241.ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
7242
7243
7244/* ============================================================================== */
7245/* jNotify */
7246/* ============================================================================== */
7247
7248.jnotify-container {
7249 position: fixed !important;
7250<?php if (getDolGlobalString('MAIN_JQUERY_JNOTIFY_BOTTOM')) { ?>
7251 top: auto !important;
7252 bottom: 4px !important;
7253<?php } ?>
7254 <?php if (getDolGlobalString('MAIN_JQUERY_JNOTIFY_UNDER_MENU')) { ?>
7255 top: <?php print $disableimages ? '32' : ($heightmenu + 4); ?>px;
7256 <?php } ?>
7257 text-align: center;
7258 min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
7259 width: auto;
7260 max-width: 1024px;
7261 padding-left: 10px !important;
7262 padding-right: 10px !important;
7263 padding-top: 10px !important;
7264 word-wrap: break-word;
7265 max-height: 320px;
7266}
7267.jnotify-container .jnotify-notification .jnotify-message {
7268 font-weight: normal;
7269 text-align: start;
7270 word-break: break-word;
7271}
7272.jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
7273 color: #a28918 !important;
7274}
7275.jnotify-container .jnotify-close {
7276 top: 4px !important;
7277 font-size: 1.6em !important;
7278}
7279
7280/* use or not ? */
7281div.jnotify-background {
7282 opacity : 0.95 !important;
7283 box-shadow: 2px 2px 4px #8888 !important;
7284}
7285
7286/* jnotify for the login page */
7287.bodylogin .jnotify-container {
7288 position: fixed;
7289 top: 0;
7290 left: 0;
7291 width: 100%;
7292 z-index: 100000;
7293 max-width: unset;
7294 padding-left: unset !important;
7295 padding-right: unset !important;
7296 padding-top: unset !important;
7297}
7298.bodylogin .jnotify-container .jnotify-notification {
7299 margin: unset !important;
7300}
7301.bodylogin .jnotify-container .jnotify-notification .jnotify-background {
7302 border-radius: unset !important;
7303}
7304.bodylogin .jnotify-container .jnotify-notification .jnotify-message {
7305 text-align: center;
7306 font-size: 1.1em;
7307 font-weight: bold;
7308}
7309
7310
7311/* ============================================================================== */
7312/* blockUI */
7313/* ============================================================================== */
7314
7315/*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
7316div.dolEventValid h1, div.dolEventValid h2 {
7317 color: #567b1b;
7318 background-color: #e3f0db;
7319 padding: 5px 5px 5px 5px;
7320 text-align: left;
7321}
7322div.dolEventError h1, div.dolEventError h2 {
7323 color: #a72947;
7324 background-color: #d79eac;
7325 padding: 5px 5px 5px 5px;
7326 text-align: left;
7327}
7328
7329/* ============================================================================== */
7330/* Maps */
7331/* ============================================================================== */
7332
7333.divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
7334}
7335
7336
7337/* ============================================================================== */
7338/* Datatable */
7339/* ============================================================================== */
7340
7341table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
7342 background: none !important;
7343}
7344.sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
7345.sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
7346.sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
7347.sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
7348.dataTables_paginate {
7349 margin-top: 8px;
7350}
7351.paginate_button_disabled {
7352 opacity: 1 !important;
7353 color: #888 !important;
7354 cursor: default !important;
7355}
7356.paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
7357{
7358 font-weight: normal;
7359}
7360.paginate_enabled_previous:hover, .paginate_enabled_next:hover
7361{
7362 text-decoration: underline !important;
7363}
7364.paginate_active
7365{
7366 text-decoration: underline !important;
7367}
7368.paginate_button
7369{
7370 font-weight: normal !important;
7371 text-decoration: none !important;
7372}
7373.paging_full_numbers {
7374 height: inherit !important;
7375}
7376.paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
7377 background-color: #DDD !important;
7378}
7379.paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
7380 background-color: #FFF !important;
7381 border-radius: inherit !important;
7382}
7383.paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
7384 background-color: #FFF !important;
7385}
7386.paginate_button, .paginate_active {
7387 border: 1px solid #ddd !important;
7388 padding: 6px 12px !important;
7389 margin-left: -1px !important;
7390 line-height: 1.42857143 !important;
7391 margin: 0 0 !important;
7392}
7393
7394/* For jquery plugin combobox */
7395/* Disable this. It breaks wrapping of boxes
7396.ui-corner-all { white-space: nowrap; } */
7397
7398.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
7399 opacity: .35;
7400 background-image: none;
7401}
7402
7403div.dataTables_length {
7404 float: right !important;
7405 padding-left: 8px;
7406}
7407div.dataTables_length select {
7408 background: #fff;
7409}
7410.dataTables_wrapper .dataTables_paginate {
7411 padding-top: 0px !important;
7412}
7413
7414
7415/* ============================================================================== */
7416/* Select2 */
7417/* ============================================================================== */
7418
7419.heightofcombo:not(.pageplusone) {
7420 height: 28px;
7421}
7422.select2-container .select2-selection--single {
7423 height: 28px;
7424}
7425
7426span.select2-selection--single.flat[aria-disabled="true"] span.select2-selection__rendered {
7427 opacity: 0.5;
7428}
7429
7430span.select2.select2-container.select2-container--default {
7431 text-align: initial;
7432 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7433 border-left: none;
7434 border-top: none;
7435 border-right: none;
7436 /*border-bottom: solid 1px var(--inputbordercolor);*/
7437 <?php } ?>
7438}
7439
7440input.select2-input {
7441 border-bottom: none ! important;
7442}
7443
7444.select2-container--default .select2-results__option--highlighted[aria-selected] {
7445 background-color: var(--colorbackhmenu1);
7446 color: var(--colortextbackhmenu);
7447}
7448.select2-container--default .select2-results__option--highlighted[aria-selected] span {
7449 color: #fff !important;
7450}
7451
7452.select2-choice {
7453 border: none;
7454 border-bottom: 1px solid #ccc !important;
7455}
7456li.select2-selection__choice {
7457 white-space: break-spaces;
7458}
7459
7460.select2-results .select2-highlighted.optionblue {
7461 color: #FFF !important;
7462}
7463
7464.select2-container .select2-selection--multiple {
7465 min-height: 28px !important;
7466}
7467.select2-container--default .select2-selection--multiple {
7468 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor);
7469}
7470<?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7471.select2-container--default .select2-selection--multiple .select2-selection__choice {
7472 /* border: 1px solid #e4e4e4; */
7473 border: none;
7474}
7475<?php } ?>
7476
7477.blockvmenusearch .select2-container--default .select2-selection--single
7478{
7479 /* background-color: var(--colorbackvmenu1); */
7480}
7481.blockvmenubookmarks .select2-container--default .select2-selection--single
7482{
7483 background-color: var(--colorbackvmenu1);
7484}
7485.select2-container--default .select2-selection--single {
7486 background-color: var(--inputbackgroundcolor);
7487}
7488#blockvmenusearch .select2-container--default .select2-selection--single .select2-selection__placeholder {
7489 color: var(--colortextbackvmenu);
7490}
7491.select2-container--default .select2-selection--single .select2-selection__rendered {
7492 color: unset;
7493}
7494.select2-container .select2-choice {
7495 border-bottom: 1px solid #ccc;
7496}
7497.select2-container .select2-choice > .select2-chosen {
7498 margin-right: 23px;
7499}
7500.select2-container .select2-choice .select2-arrow {
7501 border-radius: 0;
7502}
7503.select2-container-multi .select2-choices {
7504 background-image: none;
7505}
7506.select2-container .select2-choice {
7507 color: #000;
7508 border-radius: 0;
7509}
7510.selectoptiondisabledwhite {
7511 background: #FFFFFF !important;
7512}
7513
7514.select2-arrow {
7515 border: none;
7516 border-left: none !important;
7517 background: none !important;
7518}
7519.select2-choice
7520{
7521 border-top: none !important;
7522 border-left: none !important;
7523 border-right: none !important;
7524 border-bottom: 1px solid #ccc;
7525}
7526.select2-drop.select2-drop-above {
7527 box-shadow: none !important;
7528}
7529.select2-container--open .select2-dropdown--above {
7530 border-bottom: solid 1px rgba(0,0,0,.2);
7531}
7532.select2-drop.select2-drop-above.select2-drop-active {
7533 border-top: 1px solid #ccc;
7534 border-bottom: 1px solid #ccc;
7535}
7536.select2-container--default .select2-selection--single:not(.selectwidget) {
7537 outline: none;
7538 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7539 border-top: none;
7540 border-left: none;
7541 border-right: none;
7542 border-radius: 3px;
7543 <?php } else { ?>
7544 border-radius: 5px;
7545 <?php } ?>
7546
7547 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor);
7548
7549 box-shadow: none !important;
7550}
7551.select2-container--default .select2-selection--single.selectwidget,
7552.select2-container--default .select2-selection--single.selectwidget:hover,
7553.select2-container--default .select2-selection--single.selectwidget:focus {
7554 outline: none;
7555 border-top: none;
7556 border-left: none;
7557 border-right: none;
7558 border-bottom: solid 1px var(--inputbordercolor);
7559 border-radius: 0;
7560 box-shadow: none !important;
7561}
7562<?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7563.select2-container--default.select2-container--focus .select2-selection--multiple {
7564 border-top: none;
7565 border-left: none;
7566 border-right: none;
7567}
7568.select2-container--default .select2-selection--multiple {
7569 border-bottom: solid 1px rgba(0,0,0,.2);
7570 border-top: none;
7571 border-left: none;
7572 border-right: none;
7573 border-radius: 0 !important;
7574 line-height: normal;
7575}
7576<?php } ?>
7577.select2-container--default .select2-selection--multiple .select2-selection__rendered {
7578 line-height: 1.4em;
7579}
7580.select2-container--default .select2-selection--multiple .select2-selection__choice {
7581 margin-top: 4px !important;
7582}
7583.select2-selection--multiple input.select2-search__field {
7584 border: none !important;
7585}
7586.select2-search__field
7587{
7588 outline: none;
7589 border-top: none !important;
7590 border-left: none !important;
7591 border-right: none !important;
7592 border-bottom: solid 1px rgba(0,0,0,.2) !important;
7593 box-shadow: none !important;
7594 border-radius: 0 !important;
7595}
7596.select2-container-active .select2-choice, .select2-container-active .select2-choices
7597{
7598 outline: none;
7599 border-top: none;
7600 border-left: none;
7601 border-bottom: none;
7602 box-shadow: none !important;
7603}
7604.select2-dropdown {
7605 /*background-color: var(--colorbackvmenu1);
7606 border: 1px solid var(--colorbackvmenu1); */
7607 box-shadow: 1px 2px 10px #8884;
7608 background-color: var(--colorbackbody);
7609 color: var(--colortext);
7610}
7611.select2-dropdown-open {
7612 background-color: var(--colorbackvmenu1);
7613}
7614.select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
7615{
7616 outline: none;
7617 border-top: none;
7618 border-left: none;
7619 border-bottom: none;
7620 box-shadow: none !important;
7621 background-color: var(--colorbackvmenu1);
7622}
7623.select2-disabled
7624{
7625 color: #888;
7626}
7627.select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
7628 border-radius: 0;
7629}
7630.select2-drop.select2-drop-above {
7631 border-radius: 0;
7632}
7633.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
7634 background-image: none;
7635 border-radius: 0 !important;
7636}
7637div.select2-drop-above
7638{
7639 background: var(--colorbackvmenu1);
7640 box-shadow: none !important;
7641}
7642.select2-drop-active
7643{
7644 border: 1px solid #ccc;
7645 padding-top: 4px;
7646}
7647.select2-search input {
7648 border: none;
7649}
7650a span.select2-chosen
7651{
7652 font-weight: normal !important;
7653}
7654.select2-container .select2-choice {
7655 background-image: none;
7656 line-height: 24px;
7657}
7658.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
7659{
7660 background: var(--colorbackvmenu1);
7661}
7662.select2-results {
7663 max-height: 400px;
7664}
7665.select2-results__option {
7666 word-break: break-word;
7667 text-align: <?php echo $left; ?>;
7668}
7669.select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
7670 background-color: var(--colorbackvmenu1);
7671 background-image: none;
7672 border: none;
7673 cursor: default;
7674}
7675.select2-container-disabled .select2-choice .select2-arrow b {
7676 opacity: 0.5;
7677}
7678.select2-container-multi .select2-choices .select2-search-choice {
7679 margin-bottom: 3px;
7680}
7681.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
7682.select2-container-multi.select2-container-active .select2-choices
7683{
7684 border-bottom: 1px solid #ccc;
7685 border-right: none;
7686 border-top: none;
7687 border-left: 1px solid #ddd;
7688}
7689.select2-container--default .select2-results>.select2-results__options{
7690 max-height: 400px;
7691}
7692
7693/* special case for some select2 component */
7694
7695.selecttype span.select2-dropdown.ui-dialog {
7696 min-width: 200px;
7697}
7698span#select2-taskid-container[title^='--'] {
7699 opacity: 0.3;
7700}
7701
7702/* Special case for the select2 add widget */
7703
7704#addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
7705 text-align: <?php echo $left; ?>;
7706 opacity: 0.3;
7707}
7708.select2-container--default .select2-selection--single .select2-selection__placeholder {
7709 color: unset;
7710 opacity: 0.5;
7711}
7712span#select2-boxbookmark-container, span#select2-boxcombo-container {
7713 text-align: <?php echo $left; ?>;
7714}
7715span#select2-boxcombo-container {
7716 /* opacity: 0.5; */
7717}
7718.select2-container .select2-selection--single .select2-selection__rendered {
7719 padding-left: 6px;
7720}
7721
7722/* Style used before the select2 js is executed on boxcombo */
7723
7724#boxbookmark.boxcombo, #boxcombo.boxcombo {
7725 text-align: left;
7726 opacity: 0.3;
7727 border-bottom: solid 1px rgba(0,0,0,.4) !important;
7728 height: 26px;
7729 line-height: 24px;
7730 padding: 0 0 5px 5px;
7731 vertical-align: top;
7732}
7733
7734/* To emulate select 2 style */
7735.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
7736 padding: 3px 5px 3px 5px;
7737 margin: 0 0 2px 3px;
7738 position: relative;
7739 /* line-height: 1em; */
7740 color: #444;
7741 cursor: default;
7742 border: 1px solid #ddd;
7743 border-radius: 3px;
7744 box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
7745 background-clip: padding-box;
7746 -webkit-touch-callout: none;
7747 -webkit-user-select: none;
7748 -moz-user-select: none;
7749 -ms-user-select: none;
7750 user-select: none;
7751 background-color: #e4e4e4;
7752 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));
7753 background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7754 background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7755 background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7756}
7757.mytooltip .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
7758 padding: 1px 3px 1px 3px;
7759}
7760.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
7761 font-weight: normal;
7762}
7763.select2-container-multi-dolibarr .select2-choices-dolibarr li {
7764 float: <?php echo $left; ?>;
7765 list-style: none;
7766}
7767.select2-container-multi-dolibarr .select2-choices-dolibarr {
7768 height: auto !important;
7769 height: 1%;
7770 margin: 0;
7771 padding: 0 5px 0 0;
7772 position: relative;
7773 cursor: text;
7774 overflow: hidden;
7775}
7776
7777span.select2.select2-container.select2-container--default {
7778 text-align: initial;
7779}
7780
7781ul.select2-results__options li {
7782 font-size: 0.95em;
7783}
7784
7785select.multiselectononeline {
7786 padding: 0;
7787 vertical-align: middle;
7788 min-height: unset;
7789 height: 28px !important;
7790 opacity: 0;
7791 /* width: 1px !important; */
7792 min-width: 50px;
7793}
7794
7795@media only screen and (min-width: 767px)
7796{
7797 /* CSS to have the dropdown boxes larger that the input search area */
7798 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown.ui-dialog {
7799 min-width: 300px !important;
7800 padding: 8px;
7801 }
7802 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown--below:not(.onrightofpage),
7803 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown--above:not(.onrightofpage) {
7804 min-width: 300px !important;
7805 padding: 8px;
7806 }
7807 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
7808 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above {
7809 min-width: 140px !important;
7810 }
7811 .combolargeelem.select2-container.select2-container--open .select2-dropdown.ui-dialog {
7812 min-width: 320px !important;
7813 }
7814
7815 .select2-container--open .select2-dropdown--below {
7816 border-top: 1px solid var(--inputbordercolor);
7817 /* border-top: 1px solid #aaaaaa; */
7818 }
7819}
7820
7821/* must be after the other .select2-container.select2-container--open .select2-dropdown.ui-dialog */
7822.limit.select2-container.select2-container--open .select2-dropdown.ui-dialog {
7823 min-width: 100px !important;
7824}
7825
7826.parentonrightofpage {
7827 direction: rtl;
7828}
7829
7830
7831/* ============================================================================== */
7832/* For categories */
7833/* ============================================================================== */
7834
7835.noborderoncategories {
7836 border: none !important;
7837 border-radius: 5px !important;
7838 box-shadow: none;
7839 box-shadow: none !important;
7840 margin-top: 1px !important;
7841 margin-bottom: 0 !important;
7842 margin-<?php echo $left ?>: 0px !important;
7843 margin-<?php echo $right ?>: 3px !important;
7844}
7845span.noborderoncategories a, li.noborderoncategories a {
7846 line-height: normal;
7847}
7848span.noborderoncategories {
7849 padding: 3px 5px 3px 5px;
7850}
7851.categtextwhite, .treeview .categtextwhite.hover {
7852 color: #fff !important;
7853}
7854.categtextblack {
7855 color: #000 !important;
7856}
7857
7858
7859/* ============================================================================== */
7860/* External lib multiselect with checkbox */
7861/* ============================================================================== */
7862
7863.multi-select-menu {
7864 z-index: 10;
7865}
7866
7867.multi-select-container {
7868 display: inline-block;
7869 position: relative;
7870}
7871
7872.multi-select-menu {
7873 position: absolute;
7874 left: 0;
7875 top: 0.8em;
7876 float: left;
7877 min-width: 100%;
7878 background: #fff;
7879 margin: 1em 0;
7880 padding: 0.4em 0;
7881 border: 1px solid #aaa;
7882 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
7883 display: none;
7884}
7885
7886div.multi-select-menu[role="menu"] {
7887 min-width: 220px !important;
7888}
7889
7890.multi-select-menu input {
7891 margin-right: 0.3em;
7892 /* vertical-align: 0.1em; */
7893}
7894
7895.multi-select-button {
7896 display: inline-block;
7897 max-width: 20em;
7898 white-space: nowrap;
7899 overflow: hidden;
7900 text-overflow: ellipsis;
7901 vertical-align: middle;
7902 background-color: #fff;
7903 cursor: default;
7904
7905 border: none;
7906 border-bottom: solid 1px rgba(0,0,0,.2);
7907 padding: 5px;
7908 padding-left: 6px;
7909 height: 17px;
7910 <?php if ($right == 'left') { ?>
7911 padding-right: 22px;
7912 <?php } ?>
7913
7914 text-align: start;
7915}
7916.multi-select-button:focus {
7917 outline: none;
7918 border-bottom: 1px solid #666;
7919}
7920
7921.multi-select-button:after {
7922 content: "";
7923 display: inline-block;
7924 width: 0;
7925 height: 0;
7926 border-style: solid;
7927 border-width: 0.4em 0.3em 0em 0.3em;
7928 border-color: #888 transparent transparent transparent;
7929 margin-left: 0.4em;
7930 position: absolute;
7931 right: 10px;
7932 top: 12px;
7933}
7934
7935.multi-select-container--open .multi-select-menu { display: block; }
7936
7937.multi-select-container--open .multi-select-button:after {
7938 border-width: 0 0.4em 0.4em 0.4em;
7939 border-color: transparent transparent #888 transparent;
7940}
7941
7942.multi-select-menuitem {
7943 clear: both;
7944 float: left;
7945 padding-left: 10px
7946}
7947label.multi-select-menuitem {
7948 line-height: 32px;
7949 text-align: start;
7950}
7951
7952
7953/* ============================================================================== */
7954/* Native multiselect with checkbox */
7955/* ============================================================================== */
7956
7957ul.ulselectedfields {
7958 z-index: 90; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
7959}
7960dl.dropdown {
7961 margin:0px;
7962 padding:0px;
7963 margin-left: 2px;
7964 margin-right: 2px;
7965 vertical-align: middle;
7966 display: inline-block;
7967}
7968.dropdown dd, .dropdown dt {
7969 margin:0px;
7970 padding:0px;
7971}
7972.dropdown ul {
7973 margin: -1px 0 0 0;
7974 text-align: <?php echo $left; ?>;
7975}
7976.dropdown dd {
7977 position:relative;
7978}
7979.dropdown dt a {
7980 display:block;
7981 overflow: hidden;
7982 border:0;
7983}
7984.dropdown dt a span, .multiSel span {
7985 cursor:pointer;
7986 display:inline-block;
7987 padding: 0 3px 2px 0;
7988}
7989.maxwidthsearch .dropdown dt a span, .multiSel span {
7990 padding: 0 3px 2px 3px;
7991}
7992.dropdown span.value {
7993 display:none;
7994}
7995.dropdown dd ul {
7996 background-color: #FFF;
7997 box-shadow: 1px 1px 10px #aaa;
7998 display:none;
7999 <?php echo $right; ?>:0px; /* pop is align on right */
8000 padding: 0 0 0 0;
8001 position:absolute;
8002 top:2px;
8003 list-style:none;
8004 max-height: 264px;
8005 overflow: auto;
8006 z-index: 1;
8007}
8008.dropdown dd ul.selectedfieldsleft {
8009 <?php echo $right; ?>: auto;
8010}
8011.dropdown dd ul li {
8012 white-space: nowrap;
8013 font-weight: normal;
8014 padding: 7px 8px 7px 8px;
8015 color: var(--colortext);
8016}
8017.dropdown dd ul li:hover:not(.liinputsearch) {
8018 background: #eee;
8019}
8020.dropdown dd ul li input[type="checkbox"] {
8021 margin-<?php echo $right; ?>: 3px;
8022}
8023.dropdown dd ul li a, .dropdown dd ul li span {
8024 padding: 3px;
8025}
8026.dropdown dd ul li a {
8027 display: block;
8028}
8029.dropdown dd ul li span {
8030 color: #888;
8031}
8032.dropdown dd ul li a:hover {
8033 background-color: #eee;
8034}
8035
8036dd.dropdowndd ul li {
8037 text-overflow: ellipsis;
8038 overflow: hidden;
8039 white-space: nowrap;
8040}
8041
8042
8043/* ============================================================================== */
8044/* Kanban */
8045/* ============================================================================== */
8046
8047.info-box-label {
8048 max-width: 180px;
8049 overflow: hidden;
8050 text-overflow: ellipsis;
8051 white-space: nowrap;
8052}
8053
8054div.kanban.column div.ui-sortable-helper {
8055 transform: rotate(4deg);
8056}
8057
8058
8059/* ============================================================================== */
8060/* Markdown rendering */
8061/* ============================================================================== */
8062
8063.imgmd {
8064 width: 90%;
8065}
8066.moduledesclong h1 {
8067 padding-top: 10px;
8068 padding-bottom: 20px;
8069}
8070
8071
8072/* ============================================================================== */
8073/* JMobile - Android */
8074/* ============================================================================== */
8075
8076.searchpage .tagtr .tagtd {
8077 padding-top: 2px;
8078 padding-bottom: 2px;
8079}
8080.searchpage .tagtr .tagtd .button {
8081 background: unset;
8082 border: unset;
8083}
8084.searchpage .searchform input {
8085 font-size: 1.15em;
8086 height: inherit;
8087}
8088.searchpage :focus-visible {
8089 outline: none;
8090}
8091
8092li.ui-li-divider .ui-link {
8093 color: #FFF !important;
8094}
8095.ui-btn {
8096 margin: 0.1em 2px
8097}
8098a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
8099 text-decoration: none !important;
8100}
8101.ui-body-c {
8102 background: #fff;
8103}
8104
8105.ui-btn-inner {
8106 min-width: .4em;
8107 padding-left: 6px;
8108 padding-right: 6px;
8109 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
8110 /* white-space: normal; */ /* Warning, enable this break the truncate feature */
8111}
8112.ui-btn-icon-right .ui-btn-inner {
8113 padding-right: 30px;
8114}
8115.ui-btn-icon-left .ui-btn-inner {
8116 padding-left: 30px;
8117}
8118.ui-select .ui-btn-icon-right .ui-btn-inner {
8119 padding-right: 30px;
8120}
8121.ui-select .ui-btn-icon-left .ui-btn-inner {
8122 padding-left: 30px;
8123}
8124.ui-select .ui-btn-icon-right .ui-icon {
8125 right: 8px;
8126}
8127.ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
8128 margin-top: -10px;
8129}
8130select {
8131 /* display: inline-block; */ /* We can't set this. This disable ability to make */
8132 overflow:hidden;
8133 white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
8134 text-overflow: ellipsis;
8135}
8136.fiche .ui-controlgroup {
8137 margin: 0px;
8138 padding-bottom: 0px;
8139}
8140div.ui-controlgroup-controls div.tabsElem
8141{
8142 margin-top: 2px;
8143}
8144div.ui-controlgroup-controls div.tabsElem a
8145{
8146 box-shadow: 0 -3px 6px rgba(0,0,0,.2);
8147}
8148div.ui-controlgroup-controls div.tabsElem a#active {
8149 box-shadow: 0 -3px 6px rgba(0,0,0,.3);
8150}
8151
8152a.tab span.ui-btn-inner
8153{
8154 border: none;
8155 padding: 0;
8156}
8157
8158.ui-link {
8159 color: rgb(<?php print $colortext; ?>);
8160}
8161.liste_titre .ui-link {
8162 color: rgb(<?php print $colortexttitle; ?>) !important;
8163}
8164
8165a.ui-link {
8166 word-wrap: break-word;
8167}
8168
8169/* force wrap possible onto field overflow does not works */
8170.formdoc .ui-btn-inner
8171{
8172 white-space: normal;
8173 overflow: hidden;
8174 text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
8175}
8176
8177/* Warning: setting this may make screen not being refreshed after a combo selection */
8178/*.ui-body-c {
8179 background: #fff;
8180}*/
8181
8182div.ui-radio, div.ui-checkbox
8183{
8184 display: inline-block;
8185 border-bottom: 0px !important;
8186}
8187.ui-checkbox input, .ui-radio input {
8188 height: auto;
8189 width: auto;
8190 margin: 4px;
8191 position: static;
8192}
8193div.ui-checkbox label+input, div.ui-radio label+input {
8194 position: absolute;
8195}
8196.ui-mobile fieldset
8197{
8198 padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
8199}
8200
8201ul.ulmenu {
8202 border-radius: 0;
8203}
8204
8205.ui-field-contain label.ui-input-text {
8206 vertical-align: middle !important;
8207}
8208.ui-mobile fieldset {
8209 border-bottom: none !important;
8210}
8211
8212/* Style for first level menu with jmobile */
8213.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
8214 padding: 1em 15px;
8215 display: block;
8216}
8217.ui-btn-up-c {
8218 font-weight: normal;
8219}
8220.ui-focus, .ui-btn:focus {
8221 box-shadow: none;
8222}
8223.ui-bar-b {
8224 /*border: 1px solid #888;*/
8225 border: none;
8226 background: none;
8227 text-shadow: none;
8228 color: rgb(<?php print $colortexttitlenotab; ?>) !important;
8229}
8230.ui-bar-b, .lilevel0 {
8231 background-repeat: repeat-x;
8232 border: none;
8233 background: none;
8234 text-shadow: none;
8235 color: rgb(<?php print $colortexttitlenotab; ?>) !important;
8236}
8237.alilevel0 {
8238 font-weight: normal !important;
8239}
8240
8241.ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
8242 border-bottom-width: 0px !important;
8243}
8244.alilevel0 {
8245 color: rgb(<?php echo $colortexttitle; ?>) !important;
8246}
8247.ulmenu {
8248 box-shadow: none !important;
8249 border-bottom: 1px solid #ccc;
8250}
8251.ui-btn-icon-right {
8252 border-right: 1px solid #ccc !important;
8253}
8254.ui-body-c {
8255 border: 1px solid #ccc;
8256 text-shadow: none;
8257}
8258.ui-btn-up-c, .ui-btn-hover-c {
8259 /* border: 1px solid #ccc; */
8260 text-shadow: none;
8261}
8262.ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
8263 color: rgb(<?php print $colortextlink; ?>);
8264}
8265.ui-btn-up-c .vsmenudisabled {
8266 color: #<?php echo $colorshadowtitle; ?> !important;
8267 text-shadow: none !important;
8268}
8269/*
8270.ui-btn-up-c {
8271 background: transparent;
8272}
8273*/
8274div.tabsElem a.tab {
8275 background: transparent;
8276}
8277
8278/*.ui-controlgroup-horizontal .ui-btn.ui-first-child {
8279-webkit-border-top-left-radius: 6px;
8280border-top-left-radius: 6px;
8281}
8282.ui-controlgroup-horizontal .ui-btn.ui-last-child {
8283-webkit-border-top-right-radius: 6px;
8284border-top-right-radius: 6px;
8285}*/
8286
8287.alilevel1 {
8288 color: rgb(<?php print $colortexttitlenotab; ?>) !important;
8289}
8290.lilevel1 {
8291 border-top: 2px solid #444;
8292 background: #fff ! important;
8293}
8294.lilevel1 div div a {
8295 font-weight: bold !important;
8296}
8297.lilevel2
8298{
8299 padding-left: 22px;
8300 background: #fff ! important;
8301}
8302.lilevel3
8303{
8304 padding-left: 44px;
8305 background: #fff ! important;
8306 font-size: 0.9em;
8307}
8308.lilevel4
8309{
8310 padding-left: 66px;
8311 background: #fff ! important;
8312 font-size: 0.9em;
8313}
8314.lilevel5
8315{
8316 padding-left: 88px;
8317 background: #fff ! important;
8318 font-size: 0.9em;
8319}
8320
8321
8322
8323/* ============================================================================== */
8324/* POS */
8325/* ============================================================================== */
8326
8327.menu_choix1 a {
8328 background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png', 1) ?>') top left no-repeat;
8329 background-position-y: 15px;
8330}
8331
8332.menu_choix2 a {
8333 background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png', 1) ?>') top left no-repeat;
8334 background-position-y: 15px;
8335}
8336.menu_choix1,.menu_choix2 {
8337 font-size: 1.4em;
8338 text-align: left;
8339 border: 1px solid #666;
8340 margin-right: 20px;
8341}
8342.menu_choix1 a, .menu_choix2 a {
8343 display: block;
8344 color: #fff;
8345 text-decoration: none;
8346 padding-top: 18px;
8347 padding-left: 54px;
8348 font-size: 14px;
8349 height: 40px;
8350}
8351.menu_choix1 a:hover,.menu_choix2 a:hover {
8352 color: #6d3f6d;
8353}
8354.menu li.menu_choix1 {
8355 padding-top: 6px;
8356 padding-right: 10px;
8357 padding-bottom: 2px;
8358}
8359.menu li.menu_choix2 {
8360 padding-top: 6px;
8361 padding-right: 10px;
8362 padding-bottom: 2px;
8363}
8364@media only screen and (max-width: 767px)
8365{
8366 .menu_choix1 a, .menu_choix2 a {
8367 background-size: 36px 36px;
8368 background-position-y: 6px;
8369 padding-left: 40px;
8370 }
8371 .menu li.menu_choix1, .menu li.menu_choix2 {
8372 padding-left: 4px;
8373 padding-right: 0;
8374 }
8375 .liste_articles {
8376 margin-right: 0 !important;
8377 }
8378}
8379
8380
8381/* ============================================================================== */
8382/* Public */
8383/* ============================================================================== */
8384
8385/* The theme for public pages */
8386.public_body {
8387 margin: 20px;
8388}
8389.public_border {
8390 border: 1px solid #888;
8391}
8392.publicnewmemberform div.tabBarWithBottom {
8393 border: 2px solid #e8e8e8;
8394 padding: 30px;
8395 border-radius: 8px;
8396 /* background-color: #f8f8f8; */
8397 box-shadow: 2px 2px 10px #ddd;
8398}
8399
8400.publicnewmemberform #tablesubscribe {
8401 color: #666;
8402}
8403
8404
8405/* ============================================================================== */
8406/* Ticket module */
8407/* ============================================================================== */
8408
8409#KWwithajax ul {
8410 padding-left: 20px;
8411}
8412
8413.ticketpublicarea {
8414 margin-left: 15%;
8415 margin-right: 15%;
8416}
8417.publicnewticketform {
8418 /* margin-top: 25px !important; */
8419}
8420.ticketlargemargin {
8421 padding-left: 50px;
8422 padding-right: 50px;
8423 padding-top: 10px;
8424}
8425@media only screen and (max-width: 767px)
8426{
8427 .ticketlargemargin {
8428 padding-left: 5px; padding-right: 5px;
8429 }
8430 .ticketpublicarea {
8431 margin-left: 10px;
8432 margin-right: 10px;
8433 }
8434}
8435
8436#cd-timeline {
8437 position: relative;
8438 padding: 2em 0;
8439 margin-bottom: 2em;
8440}
8441#cd-timeline::before {
8442 /* this is the vertical line */
8443 content: '';
8444 position: absolute;
8445 top: 0;
8446 left: 18px;
8447 height: 100%;
8448 width: 4px;
8449 background: #d7e4ed;
8450}
8451@media only screen and (min-width: 1170px) {
8452 #cd-timeline {
8453 margin-bottom: 3em;
8454 }
8455 #cd-timeline::before {
8456 left: 50%;
8457 margin-left: -2px;
8458 }
8459}
8460
8461.cd-timeline-block {
8462 position: relative;
8463 margin: 2em 0;
8464}
8465.cd-timeline-block:after {
8466 content: "";
8467 display: table;
8468 clear: both;
8469}
8470.cd-timeline-block:first-child {
8471 margin-top: 0;
8472}
8473.cd-timeline-block:last-child {
8474 margin-bottom: 0;
8475}
8476@media only screen and (min-width: 1170px) {
8477 .cd-timeline-block {
8478 margin: 4em 0;
8479 }
8480 .cd-timeline-block:first-child {
8481 margin-top: 0;
8482 }
8483 .cd-timeline-block:last-child {
8484 margin-bottom: 0;
8485 }
8486}
8487
8488.cd-timeline-img {
8489 position: absolute;
8490 top: 0;
8491 left: 0;
8492 width: 40px;
8493 height: 40px;
8494 border-radius: 50%;
8495 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);
8496 background: #d7e4ed;
8497}
8498.cd-timeline-img img {
8499 display: block;
8500 width: 24px;
8501 height: 24px;
8502 position: relative;
8503 left: 50%;
8504 top: 50%;
8505 margin-left: -12px;
8506 margin-top: -12px;
8507}
8508.cd-timeline-img.cd-picture {
8509 background: #75ce66;
8510}
8511.cd-timeline-img.cd-movie {
8512 background: #c03b44;
8513}
8514.cd-timeline-img.cd-location {
8515 background: #f0ca45;
8516}
8517@media only screen and (min-width: 1170px) {
8518 .cd-timeline-img {
8519 width: 60px;
8520 height: 60px;
8521 left: 50%;
8522 margin-left: -30px;
8523 /* Force Hardware Acceleration in WebKit */
8524 -webkit-transform: translateZ(0);
8525 -webkit-backface-visibility: hidden;
8526 }
8527 .cssanimations .cd-timeline-img.is-hidden {
8528 visibility: hidden;
8529 }
8530 .cssanimations .cd-timeline-img.bounce-in {
8531 visibility: visible;
8532 -webkit-animation: cd-bounce-1 0.6s;
8533 -moz-animation: cd-bounce-1 0.6s;
8534 animation: cd-bounce-1 0.6s;
8535 }
8536}
8537
8538@-webkit-keyframes cd-bounce-1 {
8539 0% {
8540 opacity: 0;
8541 -webkit-transform: scale(0.5);
8542 }
8543
8544 60% {
8545 opacity: 1;
8546 -webkit-transform: scale(1.2);
8547 }
8548
8549 100% {
8550 -webkit-transform: scale(1);
8551 }
8552}
8553@-moz-keyframes cd-bounce-1 {
8554 0% {
8555 opacity: 0;
8556 -moz-transform: scale(0.5);
8557 }
8558
8559 60% {
8560 opacity: 1;
8561 -moz-transform: scale(1.2);
8562 }
8563
8564 100% {
8565 -moz-transform: scale(1);
8566 }
8567}
8568@keyframes cd-bounce-1 {
8569 0% {
8570 opacity: 0;
8571 -webkit-transform: scale(0.5);
8572 -moz-transform: scale(0.5);
8573 -ms-transform: scale(0.5);
8574 -o-transform: scale(0.5);
8575 transform: scale(0.5);
8576 }
8577
8578 60% {
8579 opacity: 1;
8580 -webkit-transform: scale(1.2);
8581 -moz-transform: scale(1.2);
8582 -ms-transform: scale(1.2);
8583 -o-transform: scale(1.2);
8584 transform: scale(1.2);
8585 }
8586
8587 100% {
8588 -webkit-transform: scale(1);
8589 -moz-transform: scale(1);
8590 -ms-transform: scale(1);
8591 -o-transform: scale(1);
8592 transform: scale(1);
8593 }
8594}
8595.cd-timeline-content {
8596 position: relative;
8597 margin-left: 60px;
8598 background: white;
8599 border-radius: 0.25em;
8600 padding: 1em;
8601 background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8602 background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8603 background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8604 background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8605}
8606.cd-timeline-content:after {
8607 content: "";
8608 display: table;
8609 clear: both;
8610}
8611.cd-timeline-content h2 {
8612 color: #303e49;
8613}
8614.cd-timeline-content .cd-date {
8615 font-size: 13px;
8616 font-size: 0.8125rem;
8617}
8618.cd-timeline-content .cd-date {
8619 display: inline-block;
8620}
8621.cd-timeline-content p {
8622 margin: 1em 0;
8623 line-height: 1.6;
8624}
8625
8626.cd-timeline-content .cd-date {
8627 float: left;
8628 padding: .2em 0;
8629 opacity: .7;
8630}
8631.cd-timeline-content::before {
8632 content: '';
8633 position: absolute;
8634 top: 16px;
8635 right: 100%;
8636 height: 0;
8637 width: 0;
8638 border: 7px solid transparent;
8639 border-right: 7px solid white;
8640}
8641@media only screen and (min-width: 768px) {
8642 .cd-timeline-content h2 {
8643 font-size: 20px;
8644 font-size: 1.25rem;
8645 }
8646 .cd-timeline-content {
8647 font-size: 16px;
8648 font-size: 1rem;
8649 }
8650 .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
8651 font-size: 14px;
8652 font-size: 0.875rem;
8653 }
8654}
8655@media only screen and (min-width: 1170px) {
8656 .cd-timeline-content {
8657 margin-left: 0;
8658 padding: 1.6em;
8659 width: 43%;
8660 }
8661 .cd-timeline-content::before {
8662 top: 24px;
8663 left: 100%;
8664 border-color: transparent;
8665 border-left-color: white;
8666 }
8667 .cd-timeline-content .cd-read-more {
8668 float: left;
8669 }
8670 .cd-timeline-content .cd-date {
8671 position: absolute;
8672 width: 55%;
8673 left: 115%;
8674 top: 6px;
8675 font-size: 16px;
8676 font-size: 1rem;
8677 }
8678 .cd-timeline-block:nth-child(even) .cd-timeline-content {
8679 float: right;
8680 }
8681 .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
8682 top: 24px;
8683 left: auto;
8684 right: 100%;
8685 border-color: transparent;
8686 border-right-color: white;
8687 }
8688 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
8689 float: right;
8690 }
8691 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
8692 left: auto;
8693 right: 115%;
8694 text-align: right;
8695 }
8696
8697}
8698
8699
8700/* ============================================================================== */
8701/* CSS style for debugbar */
8702/* ============================================================================== */
8703
8704span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
8705 width: 250px !important;
8706}
8707.phpdebugbar-indicator span.phpdebugbar-tooltip {
8708 opacity: .95 !important;
8709}
8710a.phpdebugbar-tab.phpdebugbar-active {
8711 background-image: unset !important;
8712}
8713.phpdebugbar-indicator .fa {
8714 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
8715 font-weight: 600;
8716}
8717div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
8718div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
8719div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
8720div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
8721div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
8722div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
8723div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
8724div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
8725div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
8726div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
8727div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
8728div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
8729div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
8730div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
8731{
8732 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>" !important;
8733}
8734
8735
8736/* ============================================================================== */
8737/* CSS style used for jCrop */
8738/* ============================================================================== */
8739
8740.jcrop-holder { background: unset !important; }
8741
8742
8743/* ============================================================================== */
8744/* CSS style used for jFlot */
8745/* ============================================================================== */
8746
8747.dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
8748 text-orientation: sideways;
8749 font-weight: 400;
8750 writing-mode: vertical-rl;
8751 white-space: nowrap;
8752}
8753
8754
8755/* ============================================================================== */
8756/* For dolUIBlock() feature */
8757/* ============================================================================== */
8758
8759#dol-block-ui {
8760 position: fixed;
8761 top: 0;
8762 left: 0;
8763 width: 100%;
8764 height: 100%;
8765 background-color: rgba(0, 0, 0, 0.6);
8766 z-index: 9999;
8767 display: flex;
8768 justify-content: center;
8769 align-items: center;
8770}
8771
8772#dol-block-ui .message {
8773 padding: 15px 20px 15px 50px;
8774 color: #fff;
8775 background: #000 no-repeat 10px center;
8776 border-radius: 10px;
8777 font-family: sans-serif;
8778}
8779
8780
8781/* ============================================================================== */
8782/* For copy-paste feature */
8783/* ============================================================================== */
8784
8785span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
8786 display: inline-block;
8787}
8788span.clipboardCPValue.hidewithsize {
8789 width: 0 !important;
8790 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 */
8791 color: transparent;
8792 white-space: nowrap;
8793 overflow-x: hidden;
8794 vertical-align: middle;
8795}
8796div.clipboardCPValue.hidewithsize {
8797 width: 0 !important;
8798 display: none;
8799 color: transparent;
8800 white-space: nowrap;
8801}
8802
8803.clipboardCPShowOnHover .clipboardCPButton {
8804 display: none;
8805}
8806
8807/* To make a div popup, we must use a position absolute inside a position relative */
8808
8809.clipboardCPText {
8810 position: relative;
8811}
8812.clipboardCPTextDivInside {
8813 position: absolute;
8814 background: #EEE;
8815 color: #888;
8816 border: 1px solid #DDD;
8817 opacity: 1;
8818 z-index: 20;
8819 padding: 2px;
8820 padding-left: 4px;
8821 padding-right: 4px;
8822 top: -5px;
8823 left: 0px;
8824 border-radius: 5px;
8825 white-space: nowrap;
8826 font-size: 0.95em;
8827 box-shadow: 1px 1px 6px #ddd;
8828}
8829
8830
8831/* ============================================================================== */
8832/* CSS style used for hrm skill/rank (may be we can remove this) */
8833/* ============================================================================== */
8834
8835.radio_js_bloc_number {
8836 display:inline-block;
8837 padding:5px 7px;
8838 min-width:20px;
8839 border-radius:3px;
8840 border:1px solid #ccc;
8841 background:#eee;
8842 color:#555;
8843 cursor:pointer;
8844 margin:2px;
8845 text-align:center;
8846}
8847.radio_js_bloc_number.selected {
8848 transition:0.2s ease background;
8849 background:#888;
8850 color:#fff;
8851 border-color:#555;
8852}
8853
8854
8855/* ============================================================================== */
8856/* Virtual business card */
8857/* ============================================================================== */
8858
8859.virtualcard-div {
8860 overflow: hidden;
8861 vertical-align: top;
8862 /* background: #aaa; */
8863}
8864
8865#virtualcard-iframe {
8866 border: 1px solid #aaa;
8867 vertical-align: top;
8868 width: 10%;
8869 min-width: 100px;
8870 border-radius: 10px;
8871 aspect-ratio: 0.6;
8872 box-shadow: 0 0 5px #bbb;
8873}
8874.nopointervent {
8875 pointer-events: none;
8876}
8877.scalepreview {
8878 /* transform: scale(0.5); */
8879 zoom: 0.20;
8880}
8881
8882/* ============================================================================== */
8883/* For drag and drop file feature */
8884/* ============================================================================== */
8885
8886.cssDragDropArea{
8887 position: relative;
8888}
8889.highlightDragDropArea{
8890 border: 2px #000 dashed !important;
8891 background-color: #eee !important;
8892}
8893.highlightDragDropArea * :not(.dragDropAreaMessage *){
8894 opacity:0.8;
8895 filter: blur(1px) grayscale(90%);
8896}
8897.dragDropAreaMessage {
8898 position: absolute;
8899 left:50%;
8900 top:50%;
8901 transform: translate(-50%, -50%);
8902 text-align:center;
8903 font-size: 2em;
8904}
8905
8906/* ============================================================================== */
8907/* CSS style used for color jPicker */
8908/* ============================================================================== */
8909
8910table.jPicker {
8911 border: 1px solid #bbb !important;
8912}
8913
8914/* ============================================================================== */
8915/* CSS style used for survey */
8916/* ============================================================================== */
8917
8918.opensurveydescription * {
8919 width: 100%;
8920}
8921.imgopensurveywizard
8922{
8923 padding: 0 4px 0 4px;
8924}
8925.survey_borders {
8926 margin-left: 100px;
8927 margin-right: 100px;
8928 text-align: start;
8929}
8930.survey_intro {
8931 background-color: #f0f0f0;
8932 padding: 15px;
8933 border-radius: 8px;
8934}
8935.survey_borders .resultats .nom {
8936 text-align: <?php echo $left; ?>
8937}
8938.survey_borders .resultats .sujet {
8939 min-width: 100px;
8940}
8941
8942
8943/* ============================================================================== */
8944/* CSS style used for BookCal */
8945/* ============================================================================== */
8946
8947.center.bookingtab {
8948 margin-left: 20px;
8949}
8950#bookinghoursection {
8951 width: 145px;
8952 height: 320px;
8953 overflow-y: auto;
8954 overflow-x: hidden;
8955 text-align: left;
8956}
8957.bookcalform {
8958 border: 1px solid #000;
8959 padding: 20px;
8960 border-radius: 5px;
8961 margin-bottom: 15px;
8962 box-shadow: 10px 10px 10px #ddd;
8963}
8964.bookcalsearch {
8965 padding-bottom: 10px;
8966}
8967
8968
8969/* ============================================================================== */
8970/* CSS style used for AI */
8971/* ============================================================================== */
8972
8973.ai_dropdown {
8974 min-width: 500px !important;
8975 padding: 12px;
8976 left: inherit !important;
8977 top: inherit !important;
8978 border-radius: <?php echo $borderradius; ?>px !important;
8979}
8980.ai_feature {
8981 background-color: var(--colorbackgrey);
8982 padding: 10px;
8983 padding-bottom: 6px;
8984 padding-top: 6px;
8985 border-radius: <?php echo $borderradius; ?>px;
8986}
8987
8988
8989/* ============================================================================== */
8990/* CSS style used for small screen */
8991/* ============================================================================== */
8992
8993/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?> */
8994/* rule to reduce top menu - 1st reduction: Reduce width of top menu icons */
8995@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px) /* reduction 1 */
8996{
8997 div.tmenucenter {
8998 max-width: 56px; /* size of viewport */
8999 width: 52px;
9000 white-space: nowrap;
9001 overflow: hidden;
9002 text-overflow: ellipsis;
9003 color: #<?php echo $colortextbackhmenu; ?>;
9004 }
9005 .mainmenuaspan {
9006 font-size: 0.9em;
9007 /* font-weight: 300; */
9008 }
9009 .topmenuimage {
9010 background-size: 24px auto;
9011 margin-top: 0px;
9012 }
9013 li.tmenu, li.tmenusel {
9014 min-width: 34px;
9015 }
9016 div.mainmenu {
9017 min-width: auto;
9018 }
9019 div.tmenuleft {
9020 display: none;
9021 }
9022}
9023/* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again */
9024@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC2', round($nbtopmenuentries * 66, 0) + 220); ?>px) /* reduction 2 */
9025{
9026 li.tmenucompanylogo {
9027 display: none;
9028 }
9029
9030 div.tmenucenter {
9031 max-width: <?php echo max(34, ceil(300 / ($nbtopmenuentriesreal + 2))); ?>px; /* size of viewport */
9032 text-overflow: clip;
9033 }
9034 div.tmenucenter a.tmenulabel span.mainmenuaspan {
9035 display: inline-block;
9036 overflow: hidden;
9037 max-width: 30px;
9038 }
9039 a.tmenulabel:link, a.tmenulabel:visited, a.tmenulabel:hover, a.tmenulabel:active {
9040 padding-left: 2px;
9041 padding-right: 2px;
9042 max-width: 30px;
9043 }
9044
9045 .menuhider div.tmenucenter {
9046 max-width: 28px;
9047 }
9048 .mainmenuaspan {
9049 font-size: 10px;
9050 padding-left: 0;
9051 padding-right: 0;
9052 }
9053 .topmenuimage {
9054 background-size: 20px auto;
9055 margin-top: 2px;
9056 }
9057 div.login_block a .atoploginusername {
9058 display: none;
9059 }
9060 div.login_block_tools > div {
9061 right: 53px !important;
9062 }
9063}
9064/* rule to reduce top menu - 3rd reduction */
9065@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3', round($nbtopmenuentries * 44, 0) + 320); ?>px) /* reduction 2 */
9066{
9067 div.login_block_tools > div {
9068 position: unset;
9069 }
9070 div#topmenu-global-search-dropdown,
9071 div#topmenu-quickadd-dropdown,
9072 div#topmenu-bookmark-dropdown,
9073 div#topmenu-uploadfile-dropdown,
9074 div#topmenu-login-dropdown {
9075 position: unset;
9076 }
9077
9078 div#topmenu-global-search-dropdown,
9079 div#topmenu-quickadd-dropdown,
9080 div#topmenu-bookmark-dropdown,
9081 div#topmenu-uploadfile-dropdown {
9082 line-height: unset;
9083 }
9084
9085 /*
9086 div.login_block {
9087 border-right: 1px solid rgba(0,0,0,0.3);
9088 top: auto;
9089 }
9090 */
9091
9092 div#tmenu_tooltip {
9093 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
9094 display:none;
9095 <?php } else { ?>
9096 /* padding-<?php echo $right; ?>: 78px; */
9097 <?php } ?>
9098 }
9099 li.tmenu, li.tmenusel {
9100 min-width: 30px;
9101 }
9102 a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active,
9103 a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
9104 padding-left: 1px;
9105 padding-right: 1px;
9106 }
9107
9108 /*
9109 div.login_block {
9110 border-right: 1px solid rgba(0,0,0,0.3);
9111 }
9112 */
9113 div.login_block_other, div.login_block_tools {
9114 display: inline-block;
9115 }
9116
9117 .loginbuttonexternal {
9118 width: 260px;
9119 }
9120
9121 div.tmenucenter {
9122 text-overflow: clip;
9123 }
9124 .topmenuimage {
9125 background-size: 20px auto;
9126 margin-top: 2px !important;
9127 }
9128 div.mainmenu {
9129 min-width: 20px;
9130 }
9131
9132 #tooltip {
9133 position: absolute;
9134 width: <?php print dol_size(300, 'width'); ?>px;
9135 }
9136 select {
9137 /* width: 98%; */
9138 min-width: 40px;
9139 }
9140 div.divphotoref {
9141 padding-<?php echo $right; ?>: 5px;
9142 }
9143 img.photoref, div.photoref {
9144 border: 1px solid rgba(0, 0, 0, 0.2);
9145 box-shadow: none;
9146 padding: 4px;
9147 object-fit: contain;
9148 }
9149
9150 .titlefield {
9151 width: auto !important; /* We want to ignore the 30%, try to use more if you can */
9152 min-width: unset;
9153 }
9154 .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
9155 word-break: break-word;
9156 }
9157
9158 table.table-fiche-title .col-title div.titre{
9159 line-height: unset;
9160 }
9161
9162 input#addedfile {
9163 width: 95%;
9164 }
9165
9166 #divbodywebsite {
9167 word-break: break-word;
9168 }
9169
9170 .websiteselectionsection {
9171 border-left: unset;
9172 border-right: unset;
9173 padding-left: 5px;
9174 }
9175
9176 .a-mesure, .a-mesure-disabled {
9177 display: block;
9178 margin-bottom: 6px;
9179 padding-left: 12px;
9180 padding-right: 12px;
9181 }
9182
9183 .a-mesure, .a-mesure-disabled {
9184 text-align: center;
9185 }
9186
9187
9188 .underbanner.underbanner-before-box {
9189 border-bottom: none;
9190 }
9191
9192 div.divButAction {
9193 margin-bottom: 0.5em;
9194 }
9195
9196 div#card-errors {
9197 max-width: unset;
9198 }
9199
9200 #dolpaymenttable {
9201 padding: 5px;
9202 }
9203
9204 .lilevel1 span.paddingright {
9205 padding-right: 3px;
9206 }
9207
9208 img.userphotopublicvcard {
9209 left: unset;
9210 top: unset;
9211 margin-top: 30px;
9212 }
9213}
9214
9215@media only screen and (max-width: 767px)
9216{
9217 body {
9218 font-size: 0.91em;
9219 }
9220
9221 .ui-dialog {
9222 min-width: 280px;
9223 max-width: 95%;
9224 }
9225
9226 td.widthpictotitle, table.titlemodulehelp tr td img.widthpictotitle {
9227 width: 30px;
9228 }
9229
9230 .ai_dropdown{
9231 min-width : 280px !important;
9232 }
9233
9234 .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
9235
9236 #tooltip {
9237 position: absolute;
9238 width: <?php print dol_size(350, 'width'); ?>px;
9239 }
9240
9241 .maxwidthdate {
9242 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 */
9243 }
9244
9245 div.tabBar {
9246 padding-left: 8px;
9247 padding-right: 8px;
9248 border-radius: 0px;
9249 border-right: none;
9250 border-left: none;
9251 }
9252
9253 .logopublicpayment #dolpaymentlogo {
9254 max-width: 260px;
9255 }
9256 #tablepublicpayment {
9257 width: auto !important;
9258 border: none !important;
9259 }
9260 .poweredbypublicpayment {
9261 float: unset !important;
9262 top: unset !important;
9263 /* bottom: 8px; */
9264 right: -10px !important;
9265 position: relative !important;
9266 }
9267 .poweredbyimg {
9268 width: 48px;
9269 }
9270
9271 .survey_borders {
9272 margin-left: 10px;
9273 margin-right: 10px;
9274 text-align: start;
9275 }
9276
9277 .bookcalform.boxtable .minwidth75 {
9278 min-width: auto;
9279 }
9280 .center.bookingtab {
9281 margin-left: 6px;
9282 }
9283 #bookinghoursection {
9284 font-size: small;
9285 width: 122px;
9286 }
9287
9288 a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
9289 padding: 10px 3px 10px;
9290 }
9291
9292 pre {
9293 white-space: normal;
9294 word-break: break-word;
9295 }
9296}
9297
9298@media only screen and (max-width: 1024px)
9299{
9300 div#ecm-layout-west {
9301 width: 100%;
9302 clear: both;
9303 }
9304 div#ecm-layout-center {
9305 width: 100%;
9306 }
9307
9308 input[type=checkbox], input[type=radio] {
9309 margin: 0 5px 0 1px;
9310 transform: scale(1.1);
9311 }
9312}
9313
9314
9315<?php
9316if (getDolUserString('MAIN_OPTIMIZEFORTEXTBROWSER')) {
9317 // Set a max height on multiselect when using multiselect
9318 ?>
9319 select[multiple] {
9320 height: 42px;
9321 }
9322 <?php
9323}
9324
9325include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
9326include dol_buildpath($path.'/theme/eldy/emaillayout.inc.php', 0); // actually md use same style as eldy theme
9327include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
9328include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
9329include dol_buildpath($path.'/theme/eldy/timeline.inc.php', 0); // actually md use same style as eldy theme
9330include dol_buildpath($path.'/theme/'.$theme.'/search-input.inc.css', 0); // actually md use same style as eldy theme
9331include dol_buildpath($path.'/theme/'.$theme.'/tooltips.inc.css', 0);
9332include dol_buildpath($path.'/theme/eldy/input-feedback.css', 0); // actually md use same style as eldy theme
9333
9334if (getDolGlobalString('THEME_CUSTOM_CSS')) {
9335 print getDolGlobalString('THEME_CUSTOM_CSS');
9336}
9337
9338if (is_object($db)) {
9339 $db->close();
9340}
9341?>
9342
9343/* This must be at end */
9344::-webkit-scrollbar {
9345 width: 12px;
9346}
9347/*::-webkit-scrollbar-button {
9348 background: #bbb;
9349}*/
9350::-webkit-scrollbar-track-piece {
9351 background: #f4f4f4;
9352}
9353::-webkit-scrollbar-thumb {
9354 background: #ddd;
9355}
9356
9357/* Remove text selection - Intuitive table selection */
9358.row-with-select[data-is-last-changed] * {
9359 -webkit-touch-callout: none; /* iOS Safari */
9360 -webkit-user-select: none; /* Safari */
9361 -khtml-user-select: none; /* Konqueror HTML */
9362 -moz-user-select: none; /* Old versions of Firefox */
9363 -ms-user-select: none; /* Internet Explorer/Edge */
9364 user-select: none; /* Non-prefixed version, currently
9365 supported by Chrome, Edge, Opera and Firefox */
9366}
9367
9368/* Must be at end */
9369div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
9370 color: unset;
9371}
9372
9373
9374.noselect {
9375 -webkit-touch-callout: none; /* iOS Safari */
9376 -webkit-user-select: none; /* Safari */
9377 -khtml-user-select: none; /* Konqueror HTML */
9378 -moz-user-select: none; /* Old versions of Firefox */
9379 -ms-user-select: none; /* Internet Explorer/Edge */
9380 user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
9381}
print $object position
Definition edit.php:206
Class to manage menu Auguria.
if(!isModEnabled('ai')||!getDolGlobalString('AI_ASSISTANT_ENABLED')) global $conf
The main.inc.php has been included so the following variable are now defined:
if(!isModEnabled('ai')||!getDolGlobalString('AI_ASSISTANT_ENABLED')) global $db
API class for accounts.
colorStringToArray($stringcolor, $colorifnotfound=array(88, 88, 88))
Convert a string RGB value ('FFFFFF', '255,255,255') into an array RGB array(255,255,...
colorHexToHsl($hex, $alpha=false, $returnArray=false)
Color Hex to Hsl (used for style)
GETPOSTINT($paramname, $method=0)
Return the value of a $_GET or $_POST supervariable, converted into integer.
price($amount, $form=0, $outlangs='', $trunc=1, $rounding=-1, $forcerounding=-1, $currency_code='')
Function to format a value into an amount for visual output Function used into PDF and HTML pages.
getDolUserString($key, $default='', $tmpuser=null)
Return Dolibarr user constant string value.
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
dol_size($size, $type='')
Optimize a size for some browsers (phone, smarphone...)
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
dol_buildpath($path, $type=0, $returnemptyifnotfound=0)
Return path of url or filesystem.
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
multi select button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
treeview li table
No Email.
a disabled
editval_textarea active
if(!defined( 'NOREQUIREMENU')) if(!empty(GETPOST('seteventmessages', 'alpha'))) if(!function_exists("llxHeader")) top_httphead($contenttype='text/html', $forcenocache=0)
Show HTTP header.
$fontlist
Definition style.css.php:75
print $langs trans('Date')." left Ref Label right Qty right Price right TotalHT right TotalTTC right right right right right right right right right centpercent right TotalHT right n right VAT right n right TotalVAT right n No sujeto a RE IRPF right TotalLT1 right n right TotalLT2 right n right TotalTTC right n takeposcustomercurrency takeposcustomercurrency takeposcustomercurrency takeposcustomercurrency right TotalTTC takeposcustomercurrency right takeposcustomercurrency n right Paid right PaymentTypeShortLIQ right SELECT p pos_change as p datep as p p num_paiement as f pf amount as amount
Definition receipt.php:489
print $langs trans('Date')." left Ref Label right Qty right Price right TotalHT right TotalTTC right right right right right right right right right centpercent right TotalHT right n right VAT right n right TotalVAT right n No sujeto a RE IRPF right TotalLT1 right n right TotalLT2 right n right TotalTTC right n takeposcustomercurrency takeposcustomercurrency takeposcustomercurrency takeposcustomercurrency right TotalTTC takeposcustomercurrency right takeposcustomercurrency n right Paid right PaymentTypeShortLIQ right SELECT p pos_change as p datep as date
Definition receipt.php:487
$conf db user
Active Directory does not allow anonymous connections.
Definition repair.php:134
if(preg_match('/(crypted|dolcrypt):/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
'integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter[:Sortfield]]]',...
Definition repair.php:130
$conf db name
Only used if Module[ID]Name translation string is not found.
Definition repair.php:133