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