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