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