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