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