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