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