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