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