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