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