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