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