dolibarr 23.0.3
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:none;
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:rbg(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@media screen and (prefers-color-scheme: dark) {
2629 .side-nav-vert {
2630 border-bottom: 1px solid #888;
2631 }
2632}
2633
2634.side-nav {
2635<?php if (getDolGlobalString('THEME_STICKY_TOPMENU') == 'scrollleftmenu_after_mainpage') { ?>
2636 position: sticky;
2637 top: 50px;
2638 display: block;
2639<?php } else { ?>
2640 display: table-cell;
2641<?php } ?>
2642 border-<?php echo $right; ?>: 1px solid #ECECEC;
2643 border-bottom: 1px solid #ECECEC;
2644 box-shadow: 3px 0 6px -2px #eee;
2645 background: var(--colorbackvmenu1);
2646 transition: left 0.5s ease;
2647}
2648
2649.side-nav, .login_block {
2650 transition: left 0.5s ease;
2651}
2652
2653div.blockvmenulogo
2654{
2655 border-bottom: 0 !important;
2656}
2657.menulogocontainer {
2658 margin: <?php echo $disableimages ? '0' : '6'; ?>px;
2659 margin-left: 11px;
2660 margin-right: 9px;
2661 padding: 0;
2662 height: <?php echo $disableimages ? '18' : '35'; ?>px;
2663 /* width: 100px; */
2664 max-width: 100px;
2665 vertical-align: middle;
2666}
2667.menulogocontainer img.mycompany {
2668 object-fit: contain;
2669 width: inherit;
2670 height: inherit;
2671 image-rendering: -webkit-optimize-contrast;
2672 border-radius: 3px;
2673}
2674#mainmenutd_companylogo::after, #mainmenutd_menu::after {
2675 content: unset !important;
2676}
2677li#mainmenutd_companylogo .tmenucenter {
2678 width: unset;
2679}
2680li#mainmenutd_companylogo {
2681 min-width: unset !important;
2682}
2683<?php if ($disableimages) { ?>
2684 li#mainmenutd_home {
2685 min-width: unset !important;
2686 }
2687 li#mainmenutd_home .tmenucenter {
2688 width: unset;
2689 }
2690<?php } ?>
2691
2692div.blockvmenupair, div.blockvmenuimpair {
2693 border-top: none !important;
2694 border-left: none !important;
2695 border-right: none !important;
2696 border-bottom: 1px solid #eaeaea;
2697 padding-left: 0 !important;
2698}
2699div.blockvmenuend, div.blockvmenubookmarks {
2700 border: none !important;
2701 padding-left: 0 !important;
2702}
2703div.vmenu, td.vmenu {
2704 padding-right: 10px !important;
2705}
2706.blockvmenu .menu_titre {
2707 margin-top: 4px;
2708 margin-bottom: 1px;
2709}
2710
2711/* Try responsive even not on smartphone
2712#id-container {
2713 width: 100%;
2714}
2715#id-right {
2716 width: calc(100% - 200px) !important;
2717}
2718*/
2719
2720
2721.menuhider { display: none !important; }
2722.menuhider .mainmenu.menu.topmenuimage {
2723 margin-top: 0px !important;
2724}
2725
2726
2727/* rule to reduce top menu - 3rd reduction: We hide the left menu */
2728<?php if (!getDolUserInt('MAIN_OPTIMIZEFORTEXTBROWSER')) { ?>
2729@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3', round($nbtopmenuentries * 47, 0) + 130); ?>px) /* reduction 3 */
2730{
2731 /* no side-nav */
2732 body.sidebar-collapse .side-nav {
2733 display: none;
2734 }
2735
2736 /* if no side-nav, we don't need to have width forced to calc(100% - 210px); */
2737 .classforhorizontalscrolloftabs #id-right {
2738 width: 100%;
2739 /* width: unset; */
2740 /* display: unset; */
2741 }
2742
2743 body.sidebar-collapse .login_block {
2744 display: none;
2745 }
2746
2747 .menuhider { display: block !important; }
2748 .dropdown-user-image { display: none; }
2749 .user-header { height: auto !important; color: var(--colortextbackhmenu); }
2750
2751 #id-container {
2752 display: table; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
2753 table-layout: fixed;
2754 width: 100%;
2755 }
2756 .side-nav {
2757 border-bottom: 1px solid #BBB;
2758 background: #FFF;
2759 padding-left: 20px;
2760 padding-right: 20px;
2761 position: absolute;
2762 z-index: 90;
2763 }
2764 div.blockvmenulogo
2765 {
2766 border-bottom: 0 !important;
2767 }
2768 div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend {
2769 border-top: none !important;
2770 border-left: none !important;
2771 border-right: none !important;
2772 border-bottom: 1px solid #eaeaea;
2773 padding-left: 0 !important;
2774 }
2775 div.vmenu, td.vmenu {
2776 padding-right: 6px !important;
2777 }
2778 div.fiche {
2779 margin-<?php print $left; ?>: 9px !important;
2780 margin-<?php print $right; ?>: 10px !important;
2781 }
2782
2783 .pagination .fa-chevron-left, .pagination .fa-chevron-right {
2784 font-size: 1.2em;
2785 }
2786}
2787
2788@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 */
2789{
2790 div.fiche {
2791 margin-<?php print $left; ?>: 13px !important;
2792 margin-<?php print $right; ?>: 14px !important;
2793 }
2794}
2795<?php } ?>
2796
2797
2798div.fiche {
2799 margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '44' : '6')); ?>px;
2800 margin-<?php print $right; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '38' : '6')); ?>px;
2801 <?php if (!empty($dol_hide_topmenu) || GETPOST('dol_openinpopup', 'aZ09')) {
2802 print 'margin-top: 12px;'."\n";
2803 } ?>
2804 <?php if (!empty($dol_hide_topmenu) || GETPOST('dol_openinpopup', 'aZ09')) {
2805 print 'margin-bottom: 12px;'."\n";
2806 } ?>
2807}
2808.dol_openinpopup div.fiche {
2809 margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '24' : '6')); ?>px;
2810 margin-top: 0px;
2811}
2812.page-modulehelp div.fiche {
2813 width: 100%;
2814 margin-left: 15px;
2815 margin-right: 20px;
2816}
2817body.onlinepaymentbody div.fiche { /* For online payment page */
2818 margin: 20px !important;
2819}
2820div.fiche>table:first-child {
2821 margin-bottom: 15px;
2822}
2823
2824div.fichecenter {
2825 width: 100%;
2826 clear: both; /* This is to have div fichecenter that are true rectangles */
2827}
2828div.fichecenterbis {
2829 margin-top: 8px;
2830}
2831div.fichethirdleft {
2832 <?php if ($conf->browser->layout != 'phone') {
2833 print "float: ".$left.";\n";
2834 } ?>
2835 <?php if ($conf->browser->layout != 'phone') {
2836 print "width: calc(50% - 20px);\n";
2837 } ?>
2838 <?php if ($conf->browser->layout == 'phone') {
2839 print "padding-bottom: 6px;\n";
2840 } ?>
2841}
2842div.fichetwothirdright {
2843 <?php if ($conf->browser->layout != 'phone') {
2844 print "float: ".$right.";\n";
2845 } ?>
2846 <?php if ($conf->browser->layout != 'phone') {
2847 print "width: calc(50% - 20px);\n";
2848 } ?>
2849 <?php if ($conf->browser->layout == 'phone') {
2850 print "padding-bottom: 6px\n";
2851 } ?>
2852}
2853div.fichehalfleft {
2854 <?php if ($conf->browser->layout != 'phone') {
2855 print "float: ".$left.";\n";
2856 } ?>
2857 <?php if ($conf->browser->layout != 'phone') {
2858 print "width: calc(50% - 20px);\n";
2859 } ?>
2860 margin-bottom: 20px;
2861}
2862div.fichehalfright {
2863 <?php if ($conf->browser->layout != 'phone') {
2864 print "float: ".$right.";\n";
2865 } ?>
2866 <?php if ($conf->browser->layout != 'phone') {
2867 print "width: calc(50% - 20px);\n";
2868 } ?>
2869}
2870div.fichehalfright {
2871 <?php if ($conf->browser->layout == 'phone') {
2872 print "margin-top: 10px;\n";
2873 } ?>
2874}
2875
2876/*div.firstcolumn div.box {
2877 padding-right: 10px;
2878}
2879div.secondcolumn div.box {
2880 padding-left: 10px;
2881}*/
2882div.firstcolumn > table.noborder, div.secondcolumn > table.noborder, div.firstcolumn > div > table.noborder, div.secondcolumn > div > table.noborder {
2883 margin-bottom: 14px;
2884}
2885
2886/* Force values on one column for small screen */
2887@media only screen and (max-width: 1024px)
2888{
2889 div.fiche {
2890 margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : ($dol_hide_leftmenu ? '6' : '20')); ?>px;
2891 margin-<?php print $right; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 8 : 6); ?>px;
2892 }
2893 div.fichecenter {
2894 width: 100%;
2895 clear: both; /* This is to have div fichecenter that are true rectangles */
2896 }
2897 div.fichecenterbis {
2898 margin-top: 8px;
2899 }
2900 div.fichethirdleft {
2901 float: none;
2902 width: auto;
2903 padding-bottom: 6px;
2904 }
2905 div.fichetwothirdright {
2906 float: none;
2907 width: auto;
2908 padding-bottom: 6px;
2909 }
2910 div.fichehalfleft {
2911 float: none;
2912 width: auto;
2913 }
2914 div.fichehalfright {
2915 float: none;
2916 width: auto;
2917 }
2918 div.fichehalfright {
2919 margin-top: 10px;
2920 }
2921 div.firstcolumn div.box {
2922 padding-right: 0px;
2923 }
2924 div.secondcolumn div.box {
2925 padding-left: 0px;
2926 }
2927}
2928
2929/* Force values on one column for small screen */
2930@media only screen and (max-width: 1440px)
2931{
2932 div.fichehalfleft-lg {
2933 float: none;
2934 width: auto;
2935 }
2936 div.fichehalfright-lg {
2937 float: none;
2938 width: auto;
2939 }
2940
2941 .fichehalfright-lg .fichehalfright {
2942 padding-left:0;
2943 }
2944}
2945
2946/* For table into table into card */
2947div.fichehalfright tr.liste_titre:first-child td table.nobordernopadding td {
2948 padding: 0 0 0 0;
2949}
2950div.nopadding {
2951 padding: 0 !important;
2952}
2953
2954.containercenter {
2955 display : table;
2956 margin : 0px auto;
2957}
2958
2959td.nobordernopadding.widthpictotitle.col-picto {
2960 color: var(--colortexttitlenotab);
2961 opacity: 0.85;
2962}
2963.table-list-of-attached-files .col-picto, .table-list-of-links .col-picto {
2964 opacity: 0.7 !important;
2965 font-size: 0.7em;
2966 width: 20px;
2967}
2968.table-list-of-attached-files .col-picto .widthpictotitle, .table-list-of-links .col-picto .widthpictotitle {
2969 width: unset;
2970 color: #999;
2971}
2972
2973/*
2974span.widthpictotitle.pictotitle {
2975 background: var(--colortexttitlenotab);
2976 opacity: 0.8;
2977 color: #fff !important;
2978 padding: 7px;
2979 border-radius: 2px;
2980 min-width: 30px;
2981 text-align: center;
2982}
2983*/
2984.pictotitle {
2985 margin-<?php echo $right; ?>: 8px;
2986 /* margin-bottom: 4px; */
2987}
2988
2989.pictoobjectwidth {
2990 width: 14px;
2991}
2992.pictosubstatus {
2993 padding-left: 2px;
2994 padding-right: 2px;
2995}
2996.pictostatus {
2997 width: 15px;
2998 vertical-align: middle;
2999 margin-top: -3px
3000}
3001.pictowarning, .pictoerror, .pictopreview, .pictonopreview, .picto.error {
3002 padding-<?php echo $left; ?>: 3px;
3003}
3004.pictowarning {
3005 /* vertical-align: text-bottom; */
3006 color: <?php echo $badgeWarning ?>;
3007}
3008.pictoerror {
3009 color: <?php echo $badgeDanger ?>;
3010}
3011.pictomodule {
3012 width: 14px;
3013}
3014.pictomodule {
3015 width: 14px;
3016}
3017.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
3018.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
3019.tagtdnote span.pictoedit {
3020 opacity: 0.4;
3021}
3022.pictofixedwidth {
3023 text-align: start;
3024 width: 22px; /* Do not use em unit here */
3025 /* padding-right: 0; */
3026}
3027img.pictofixedwidth {
3028 width: 16px; /* Do not use em unit here */
3029 padding-right: 6px; /* width of img + padding-right must be equal to width of .pictofixedwidth */
3030 margin-right: 4px;
3031}
3032
3033.colorthumb {
3034 padding-left: 1px !important;
3035 padding-right: 1px;
3036 padding-top: 1px;
3037 padding-bottom: 1px;
3038 width: 50px;
3039 text-align:center;
3040 border-radius: 5px;
3041}
3042div.attacharea {
3043 padding-top: 18px;
3044 padding-bottom: 10px;
3045}
3046div.attachareaformuserfileecm {
3047 padding-top: 0;
3048 padding-bottom: 6px;
3049}
3050
3051div.arearef {
3052 padding-top: 2px;
3053 margin-bottom: 10px;
3054 padding-bottom: 10px;
3055}
3056div.arearefnobottom {
3057 padding-top: 2px;
3058 padding-bottom: 4px;
3059}
3060div.heightref {
3061 min-height: 80px;
3062}
3063div.divphotoref:last-child {
3064 padding-<?php echo $right; ?>: 30px;
3065}
3066div.paginationref {
3067 padding-bottom: 10px;
3068}
3069/* TODO
3070div.statusref {
3071 padding: 10px;
3072 border: 1px solid #bbb;
3073 border-radius: 6px;
3074} */
3075div.statusref {
3076 float: <?php echo $right; ?>;
3077 padding-left: 12px;
3078 margin-top: 8px;
3079 margin-bottom: 10px;
3080 clear: both;
3081 text-align: right;
3082}
3083div.statusref img {
3084 padding-left: 8px;
3085 padding-right: 9px;
3086 vertical-align: text-bottom;
3087 width: 18px;
3088}
3089div.statusrefbis {
3090 padding-left: 8px;
3091 padding-right: 9px;
3092 vertical-align: text-bottom;
3093}
3094img.photoref, div.photoref {
3095 /* border: 1px solid #DDD; */
3096 box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
3097 padding: 4px;
3098 height: 80px;
3099 width: 80px;
3100 object-fit: contain;
3101}
3102
3103img.photokanban, div.photokanban {
3104 padding: 0;
3105 border: none;
3106 box-shadow: none;
3107 vertical-align: middle;
3108}
3109div.photoref .fa, div.photoref .fas, div.photoref .far {
3110 font-size: 2.5em;
3111}
3112img.fitcontain {
3113 object-fit: contain;
3114}
3115div.photoref {
3116 display:table-cell;
3117 vertical-align:middle;
3118 text-align:center;
3119}
3120.difforspanimgright {
3121 display: table-cell;
3122 padding-right: 10px;
3123}
3124img.photorefnoborder {
3125 padding: 2px;
3126 height: 48px;
3127 width: 48px;
3128 object-fit: contain;
3129 border: 1px solid #AAA;
3130 border-radius: 100px;
3131}
3132.underrefbanner {
3133}
3134.underbanner {
3135 border-bottom: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
3136 /* border-bottom: 2px solid var(--colorbackhmenu1); */
3137}
3138.trextrafieldseparator td, .trextrafields_collapse_last td {
3139 /* border-bottom: 2px solid var(--colorbackhmenu1) !important; */
3140 /* border-bottom: 2px solid var(--colortopbordertitle1) !important; */
3141}
3142
3143.tdhrthin {
3144 margin: 0 !important;
3145 padding-bottom: 0 !important;
3146}
3147
3148/* ============================================================================== */
3149/* Menu top et 1ere ligne tableau */
3150/* ============================================================================== */
3151
3152#id-top {
3153<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3154 display:none;
3155<?php } else { ?>
3156 background: var(--colorbackhmenu1);
3157 <?php if ($colorbackhmenu1 == $colorbackbody) { ?>
3158 border-bottom: 1px solid var(--colorbackgrey);
3159 box-shadow: 0 0 3px var(--colorbackgrey);
3160 <?php } else { ?>
3161 <?php } } ?>
3162}
3163
3164div#tmenu_tooltip {
3165<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3166 display:none;
3167<?php } else { ?>
3168 padding-<?php echo $right; ?>: <?php echo((float) $maxwidthloginblock - 10); ?>px;
3169<?php } ?>
3170
3171 -webkit-touch-callout: none; /* iOS Safari */
3172 -webkit-user-select: none; /* Safari */
3173 -khtml-user-select: none; /* Konqueror HTML */
3174 -moz-user-select: none; /* Firefox */
3175 -ms-user-select: none; /* Internet Explorer/Edge */
3176 user-select: none; /* Non-prefixed version, currently
3177 supported by Chrome and Opera */
3178
3179
3180}
3181
3182div.topmenuimage {
3183<?php if ($disableimages) { ?>
3184 display: none;
3185<?php } ?>
3186}
3187
3188div.tmenudiv {
3189<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3190 display:none;
3191<?php } else { ?>
3192 position: relative;
3193 display: block;
3194 white-space: nowrap;
3195 border-top: 0px;
3196 border-<?php print $left; ?>: 0px;
3197 border-<?php print $right; ?>: 0px;
3198 padding: 0px 0px 0px 0px; /* t r b l */
3199 margin: 0px 0px 0px 0px; /* t r b l */
3200 font-size: 13px;
3201 font-weight: normal;
3202 text-decoration: none;
3203<?php } ?>
3204}
3205div.tmenudisabled, a.tmenudisabled {
3206 opacity: 0.6;
3207}
3208a.tmenu, a.tmenusel, a.tmenudisabled {
3209 /* font-weight: 300; */
3210}
3211a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
3212 padding: 0px 5px 0px 5px;
3213 white-space: nowrap;
3214 color: var(--colortextbackhmenu);
3215 text-decoration: none;
3216 cursor: not-allowed;
3217}
3218span.mainmenuaspan.tmenudisabled {
3219 color: var(--colortextbackhmenu);
3220 opacity: 0.5;
3221 cursor: not-allowed;
3222}
3223
3224a.disabled, span.tmenu {
3225 color: #aaa;
3226 text-decoration: none !important;
3227 cursor: default;
3228}
3229
3230a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
3231 padding: 0px 2px 0px 2px;
3232 margin: 0px 0px 0px 0px;
3233 white-space: nowrap;
3234 color: var(--colortextbackhmenu);
3235 text-decoration: none;
3236}
3237a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
3238 padding: 0px 2px 0px 2px;
3239 margin: 0px 0px 0px 0px;
3240 white-space: nowrap;
3241 color: var(--colortextbackhmenu);
3242 text-decoration: none !important;
3243}
3244
3245
3246ul.tmenu { /* t r b l */
3247 padding: 0px 0px 0px 0px;
3248 margin: 0px 0px 0px 0px;
3249 list-style: none;
3250 display: table;
3251}
3252ul.tmenu li { /* We need this to have background color when menu entry wraps on new lines */
3253}
3254li#mainmenutd_home {
3255 margin-left: 5px;
3256}
3257li.tmenu, li.tmenusel {
3258 <?php print $minwidthtmenu ? 'min-width: '.$minwidthtmenu.'px;' : ''; ?>
3259 text-align: center;
3260 vertical-align: bottom;
3261 <?php if (!getDolGlobalString('MAIN_MENU_INVERT')) { ?>
3262 float: <?php print $left; ?>;
3263 <?php } ?>
3264 position:relative;
3265 display: block;
3266 padding: 0 0 0 0;
3267 margin: 0 0 0 0;
3268 font-weight: normal;
3269}
3270li.menuhider:hover {
3271 background-image: none !important;
3272}
3273
3274li.tmenusel::after, li.tmenu:hover::after{
3275 content: "";
3276 position:absolute;
3277 bottom:0px;
3278 left: 50%;
3279 left: calc(50% - 6px);
3280 width: 0;
3281 height: 0;
3282 border-style: solid;
3283 border-width: 0px 6px 5px 6px;
3284 border-color: transparent transparent #ffffff transparent;
3285}
3286
3287.tmenuend .tmenuleft { width: 0px; }
3288.tmenuend { display: none; }
3289div.tmenuleft
3290{
3291 float: <?php print $left; ?>;
3292 margin-top: 0px;
3293 <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
3294 width: 5px;
3295 <?php } ?>
3296 <?php if ($disableimages) { ?>
3297 height: 26px;
3298 <?php } else { ?>
3299 height: <?php print $heightmenu; ?>px;
3300 <?php } ?>
3301}
3302div.tmenucenter
3303{
3304 padding-left: 2px;
3305 padding-right: 2px;
3306 color: var(--colortextbackhmenu);
3307 <?php if ($disableimages) { ?>
3308 padding-top: 8px;
3309 height: 26px;
3310 <?php } else { ?>
3311 padding-top: 2px;
3312 height: <?php print $heightmenu; ?>px;
3313 <?php } ?>
3314 /* width: 100%; */
3315}
3316#menu_titre_logo {
3317 padding-top: 0;
3318 padding-bottom: 0;
3319}
3320div.menu_titre {
3321 padding-top: 4px;
3322 padding-bottom: 4px;
3323 overflow: hidden;
3324 text-overflow: ellipsis;
3325 width: <?php echo $leftmenuwidth - 2; ?>px; /* required to have overflow working. must be same than menu_contenu */
3326}
3327.mainmenuaspan
3328{
3329 padding-<?php print $left; ?>: 2px;
3330 padding-<?php print $right; ?>: 2px;
3331 font-family: Roboto,<?php echo $fontlist; ?>;
3332 font-weight: 400;
3333 opacity: 0.9;
3334}
3335
3336div.mainmenu {
3337 position : relative;
3338 background-repeat:no-repeat;
3339 background-position:center top;
3340 height: <?php echo($heightmenu - 22); ?>px;
3341 margin-left: 0px;
3342 min-width: 40px;
3343}
3344
3345a.tmenuimage:focus, .mainmenu.topmenuimage:focus {
3346 outline: none;
3347}
3348button.ui-button.ui-corner-all.ui-widget:focus {
3349 outline: none;
3350}
3351.tmenuimage {
3352 color: var(--colortextbackhmenu);
3353}
3354
3355/* For mainmenu, we always load the img */
3356
3357div.mainmenu.menu {
3358 <?php print $disableimages ? '' : 'top: 10px'; ?>
3359}
3360#mainmenutd_menu a.tmenuimage {
3361 display: unset;
3362}
3363a.tmenuimage {
3364 display: block;
3365}
3366
3367a.tmenuimage:hover{
3368 text-decoration: none;
3369}
3370
3371/* To show text of top menu according to option THEME_TOPMENU_DISABLE_IMAGE */
3372
3373/* Text hidden by default when option THEME_TOPMENU_DISABLE_IMAGE */
3374<?php if (in_array(getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE'), array(2, 3, 4))) { ?>
3375.tmenulabel:not(.menuhider), .tmenulabel:not(.menuhider)::before {
3376 display: none;
3377 /* opacity: 0; To show text after transition */
3378}
3379a.tmenuimage:not(.menuhider), a.tmenuimage:not(.menuhider)::before,
3380div.tmenuimage:not(.menuhider), div.tmenuimage:not(.menuhider)::before,
3381span.tmenuimage:not(.menuhider), span.tmenuimage:not(.menuhider)::before {
3382 font-size: 1.3em;
3383 margin-top: 8px !important;
3384}
3385
3386div.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. */
3387 width: 80px;
3388 overflow: hidden;
3389 text-overflow: ellipsis;
3390}
3391<?php } ?>
3392
3393/* Test of picto visible on hover, for all picto */
3394<?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 2) { ?>
3395ul.tmenu:hover .tmenulabel:not(.menuhider), .ul.tmenu:hover .tmenulabel:not(.menuhider)::before {
3396 display: block;
3397 position: relative;
3398 overflow: hidden;
3399 text-overflow: ellipsis;
3400 /* For transition transition-delay: 1000ms;
3401 transition-property: all; */
3402 opacity: 1;
3403 display: initial !important;
3404 line-height: 0.6em !important;
3405 height: 1em !important;
3406 overflow: hidden;
3407 text-overflow: ellipsis;
3408 color: var(--colortextbackhmenu);
3409 top: 0px;
3410}
3411ul.tmenu:hover .tmenuimage:not(.menuhider), ul.tmenu:hover .tmenuimage:not(.menuhider)::before {
3412 /* For transition transition-delay: 1000ms;
3413 transition-property: all; */
3414 margin-top: 0px !important;
3415}
3416<?php } ?>
3417
3418/* Text of picto visible on hover the picto only */
3419<?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 3) { ?>
3420li.tmenu:hover .tmenulabel:not(.menuhider), li.tmenu:hover .tmenulabel:not(.menuhider)::before {
3421 display: initial !important;
3422}
3423li.tmenu:hover .tmenuimage:not(.menuhider), li.tmenu:hover .tmenuimage:not(.menuhider):before {
3424 font-size: 1.1em !important;
3425 margin-top: 0px !important;
3426}
3427<?php } ?>
3428
3429
3430
3431/* Do not load menu img for other if hidden to save bandwidth */
3432
3433<?php if (empty($dol_hide_topmenu)) { ?>
3434 <?php include dol_buildpath($path.'/theme/'.$theme.'/main_menu_fa_icons.inc.php', 0); ?>
3435
3436 <?php
3437 // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
3438
3439 $moduletomainmenu = array(
3440 'user' => '', 'syslog' => '', 'societe' => 'companies', 'projet' => 'project', 'propale' => 'commercial', 'commande' => 'commercial',
3441 'produit' => 'products', 'service' => 'products', 'stock' => 'products',
3442 'don' => 'accountancy', 'tax' => 'accountancy', 'banque' => 'accountancy', 'facture' => 'accountancy', 'compta' => 'accountancy', 'accounting' => 'accountancy', 'adherent' => 'members', 'import' => 'tools', 'export' => 'tools', 'mailing' => 'tools',
3443 'contrat' => 'commercial', 'ficheinter' => 'commercial', 'ticket' => 'ticket', 'deplacement' => 'commercial',
3444 'fournisseur' => 'companies',
3445 'barcode' => '', 'fckeditor' => '', 'categorie' => '',
3446 );
3447 $mainmenuused = 'home';
3448 foreach ($conf->modules as $val) {
3449 $mainmenuused .= ','.(isset($moduletomainmenu[$val]) ? $moduletomainmenu[$val] : $val);
3450 }
3451 $mainmenuusedarray = array_unique(explode(',', $mainmenuused));
3452
3453 $generic = 1;
3454 // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
3455 $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');
3456 // Put here list of menu entries we are sure we don't want
3457 $divnotrequired = array('multicurrency', 'salaries', 'ticket', 'margin', 'opensurvey', 'paybox', 'expensereport', 'incoterm', 'prelevement', 'propal', 'workflow', 'notification', 'supplier_proposal', 'cron', 'product', 'productbatch', 'expedition');
3458
3459 foreach ($mainmenuusedarray as $val) {
3460 if (empty($val) || in_array($val, $divalreadydefined)) {
3461 continue;
3462 }
3463 if (in_array($val, $divnotrequired)) {
3464 continue;
3465 }
3466
3467 $found = 0;
3468 $url = '';
3469 $constformoduleicon = 'MAIN_MODULE_'.strtoupper($val).'_ICON';
3470 $iconformodule = getDolGlobalString($constformoduleicon);
3471 if ($iconformodule) {
3472 if (preg_match('/^fa\-/', $iconformodule)) {
3473 // This is a fa icon
3474 } else {
3475 $url = dol_buildpath('/'.$val.'/img/'.$iconformodule.'.png', 1);
3476 }
3477 $found = 1;
3478 } else {
3479 // Search img file in module dir
3480 foreach ($conf->file->dol_document_root as $dirroot) {
3481 if (file_exists($dirroot."/".$val."/img/".$val.".png")) {
3482 $url = dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
3483 $found = 1;
3484 break;
3485 }
3486 }
3487 }
3488 //print "XXX".$val."->".$found."\n";
3489
3490 // Output entry for menu icon in CSS
3491 if (!$found) {
3492 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";
3493 print 'div.mainmenu.'.$val.' span::before {'."\n";
3494 print 'content: "\f249";'."\n";
3495 print '}'."\n";
3496 $generic++;
3497 } else {
3498 if ($url) {
3499 print "div.mainmenu.".$val." {\n";
3500 print " background-image: url(".$url.");\n";
3501 print " background-position-y: 3px;\n";
3502 print " filter: saturate(0);\n";
3503 print "}\n";
3504 } else {
3505 print '/* icon for module '.$val.' is a fa icon */'."\n";
3506 }
3507 }
3508 }
3509 // End of part to add more div class css
3510 ?>
3511<?php } // End test if $dol_hide_topmenu?>
3512
3513.tmenuimage {
3514 padding:0 0 0 0 !important;
3515 margin:0 0 0 0 !important;
3516 <?php if ($disableimages) { ?>
3517 display: none;
3518 <?php } ?>
3519}
3520
3521
3522
3523/* Login */
3524
3525.bodylogin
3526{
3527 background: #f0f0f0;
3528 display: table;
3529 position: absolute;
3530 height: 100%;
3531 width: 100%;
3532 font-size: 1em;
3533}
3534.login_center {
3535 display: table-cell;
3536 vertical-align: middle;
3537}
3538.login_vertical_align {
3539 padding: 10px;
3540 padding-bottom: 80px;
3541}
3542form#login {
3543 padding-bottom: 30px;
3544 font-size: 14px;
3545 vertical-align: middle;
3546}
3547.login_table_title {
3548 max-width: 530px;
3549 color: #eee !important;
3550 padding-bottom: 20px;
3551 text-shadow: 1px 1px #444;
3552}
3553.login_table label {
3554 text-shadow: 1px 1px 1px #FFF;
3555}
3556.login_table {
3557 margin: 0px auto; /* Center */
3558 padding-left:6px;
3559 padding-right:6px;
3560 padding-top:16px;
3561 padding-bottom:12px;
3562 max-width: 560px;
3563<?php
3564if (getDolGlobalString('MAIN_LOGIN_BACKGROUND')) {
3565 print ' background-color: rgba(255, 255, 255, 0.99);';
3566} else {
3567 print ' background-color: var(--colorbackbody);';
3568}
3569?>
3570 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);
3571 border-radius: 5px;
3572}
3573.login_table input#username, .login_table input#password, .login_table input#securitycode {
3574 /* border: none; */
3575 border-bottom: solid 1px rgba(180,180,180,.4);
3576 padding: 8px;
3577 padding-left: 12px;
3578 margin-left: 5px;
3579 margin-top: 5px;
3580 margin-bottom: 5px;
3581 margin-right: 10px;
3582}
3583.login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
3584 outline: none !important;
3585}
3586.login_table .trinputlogin {
3587 font-size: 1.2em;
3588 margin: 8px;
3589}
3590.login_table .tdinputlogin {
3591 background-color: transparent;
3592 /* border: 2px solid #ccc; */
3593 min-width: 220px;
3594 border-radius: 2px;
3595}
3596.login_table .tdinputlogin .fa {
3597 padding-left: 10px;
3598 width: 14px;
3599}
3600.login_table .tdinputlogin input#username, .login_table .tdinputlogin input#password, .login_table .tdinputlogin input#securitycode {
3601 font-size: 1.1em;
3602}
3603/* Serve as reference for icon that toggles showing the password */
3604.login_table #tdpasswordlogin {
3605 position: relative;
3606}
3607.login_table #tdpasswordlogin #togglepassword {
3608 position: absolute;
3609 top: 0.8em;
3610 right: 11px;
3611 background: none;
3612 border: none;
3613 opacity: 0.3;
3614}
3615.login_table #tdpasswordlogin #togglepassword .fa {
3616 padding: 0 7px;
3617 width: auto;
3618}
3619#togglepassword .fa::before {
3620 visibility: hidden;
3621}
3622.trinputlogin:hover #togglepassword .fa::before, input#password:focus + #togglepassword .fa::before {
3623 visibility: visible;
3624}
3625
3626
3627
3628/* For the static info message */
3629.login_main_home {
3630 word-break: break-word;
3631 width: fit-content;
3632}
3633/* For the result or error message */
3634.login_main_message {
3635 text-align: center;
3636 max-width: 570px;
3637 margin-bottom: 22px;
3638}
3639.login_main_message .error {
3640 /* border: 1px solid #caa; */
3641 padding: 10px;
3642}
3643div#login_left, div#login_right {
3644 display: inline-block;
3645 min-width: 245px;
3646 padding-top: 10px;
3647 padding-bottom: 10px;
3648 padding-left: 16px;
3649 padding-right: 16px;
3650 text-align: center;
3651 vertical-align: middle;
3652}
3653div#login_right select#entity {
3654 margin-top: 10px;
3655}
3656table.login_table tr td table.none tr td {
3657 padding: 2px;
3658}
3659table.login_table_securitycode {
3660 border-spacing: 0px;
3661}
3662table.login_table_securitycode tr td {
3663 padding-left: 0px;
3664 padding-right: 4px;
3665}
3666#securitycode {
3667 min-width: 60px;
3668}
3669#img_securitycode {
3670 border: 1px solid #DDDDDD;
3671}
3672#img_logo, .img_logo {
3673 max-width: 160px;
3674 max-height: 90px;
3675 border-radius: 4px;
3676}
3677
3678div.backgroundsemitransparent {
3679 background:rgba(255, 255, 255, 0.7);
3680 padding-left: 10px;
3681 padding-right: 10px;
3682}
3683div.login_block {
3684 position: absolute;
3685 text-align: <?php print $right; ?>;
3686 <?php print $right; ?>: 0;
3687 top: <?php print $disableimages ? '4px' : '0'; ?>;
3688 line-height: 10px;
3689 <?php // echo (empty($disableimages) && $maxwidthloginblock)?'max-width: '.$maxwidthloginblock.'px;':'';?>
3690 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3691 display: none;
3692 <?php } ?>
3693}
3694div.login_block a {
3695 color: var(--colortextbackhmenu);
3696 display: inline-block;
3697}
3698div.login_block a .atoploginusername {
3699 display: inline-block;
3700 overflow: hidden;
3701 max-width: 60px;
3702 text-overflow: ellipsis;
3703}
3704div.login_block span.aversion {
3705 color: var(--colortextbackhmenu);
3706 filter: contrast(0.7);
3707}
3708div.login_block table {
3709 display: inline;
3710}
3711div.login {
3712 white-space:nowrap;
3713 font-weight: bold;
3714 float: right;
3715}
3716div.login a {
3717 color: var(--colortextbackvmenu);
3718}
3719div.login a:hover {
3720 color: var(--colortextbackvmenu);
3721 text-decoration:underline;
3722}
3723.login_block_elem a span.atoplogin, .login_block_elem span.atoplogin {
3724 vertical-align: middle;
3725}
3726div.login_block_tools {
3727 margin-<?php echo $right ?>: 8px;
3728 display: inline-block;
3729 vertical-align: middle;
3730 line-height: <?php echo $disableimages ? '25' : '53'; ?>px;
3731 height: <?php echo $disableimages ? '25' : '51'; ?>px;
3732}
3733div.login_block_other {
3734 display: inline-block;
3735 vertical-align: middle;
3736 clear: <?php echo $disableimages ? 'none' : 'both'; ?>;
3737 padding-top: 0;
3738 text-align: <?php echo $right ?>;
3739 max-width: 200px;
3740}
3741div.login_block_user {
3742 display: inline-block;
3743 vertical-align: middle;
3744 line-height: <?php echo $disableimages ? '25' : '51'; ?>px;
3745 height: <?php echo $disableimages ? '25' : '51'; ?>px;
3746}
3747
3748.login_block_elem {
3749 float: <?php echo $right ?>;
3750 vertical-align: top;
3751 padding: 0px 3px 0px 4px !important;
3752}
3753.login_block_other .login_block_elem {
3754 line-height: 25px;
3755 height: 25px;
3756}
3757.atoplogin, .atoplogin:hover {
3758 color: var(--colortextbackhmenu) !important;
3759}
3760.login_block_getinfo {
3761 text-align: center;
3762}
3763.login_block_getinfo div.login_block_tools, .login_block_getinfo div.login_block_user {
3764 display: block;
3765}
3766.login_block_getinfo .atoplogin, .login_block_getinfo .atoplogin:hover {
3767 color: #333 !important;
3768 font-weight: normal !important;
3769}
3770.alogin, .alogin:hover {
3771 font-weight: normal !important;
3772 padding-top: 2px;
3773}
3774.alogin:hover, .atoplogin:hover {
3775 text-decoration:underline !important;
3776}
3777.alogin.aloginpasswordforgotten, .alogin.aloginpasswordforgotten:hover, .alogin.aloginhelp, .alogin.aloginhelp:hover {
3778 opacity: 0.5;
3779}
3780
3781span.fa.atoplogin, span.fa.atoplogin:hover {
3782 font-size: 16px;
3783 text-decoration: none !important;
3784}
3785.atoplogin #dropdown-icon-down, .atoplogin #dropdown-icon-up {
3786 font-size: 0.7em;
3787}
3788img.login, img.printer, img.entity {
3789 /* padding: 0px 0px 0px 4px; */
3790 /* margin: 0px 0px 0px 8px; */
3791 text-decoration: none;
3792 color: white;
3793 font-weight: bold;
3794}
3795.loginbuttonexternal {
3796 width: 300px;
3797 margin: auto;
3798 border: 1px solid #ccc;
3799 padding: 10px;
3800 border-radius: 5px;
3801}
3802
3803
3804.userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto,
3805.userimg.atoplogin span.userphoto, .userimgatoplogin span.userphoto { /* size for user photo in login bar */
3806 width: <?php echo $disableimages ? '26' : '30'; ?>px;
3807 height: <?php echo $disableimages ? '26' : '30'; ?>px;
3808 border-radius: 50%;
3809 background-size: contain;
3810 border: 1px solid;
3811 border-color: rgba(255, 255, 255, 0.2);
3812}
3813img.userphoto { /* size for user photo in lists */
3814 border-radius: 0.72em;
3815 width: 1.4em;
3816 height: 1.4em;
3817 background-size: contain;
3818 vertical-align: middle;
3819}
3820.userimg.atoplogin span.userphoto, .userimgatoplogin span.userphoto {
3821 vertical-align: middle;
3822 color: unset;
3823}
3824.userimg.atoplogin span.userphoto::before, .userimgatoplogin span.userphoto::before {
3825 margin-top: 7px;
3826 display: inline-block;
3827 margin-right: 8px;
3828}
3829
3830span.userimg div.userphoto {
3831 background-color: #eee;
3832 border-radius: 0.72em;
3833 width: 1.4em;
3834 height: 1.4em;
3835 padding-top: 1px;
3836 display: inline-block;
3837}
3838img.userphotosmall { /* size for user photo in lists */
3839 border-radius: 0.6em;
3840 width: 1.2em;
3841 height: 1.2em;
3842 background-size: contain;
3843 vertical-align: middle;
3844 background-color: #FFF;
3845}
3846img.userphotopublicvcard {
3847 width: 60px;
3848 height: 60px;
3849 border-radius: 50%;
3850 background-size: contain;
3851 border: 1px solid;
3852 border-color: rgba(128, 128, 128, 0.5);
3853 position: relative;
3854 top: 25px;
3855 left: -110px;
3856}
3857img.userphoto[alt="Gravatar avatar"], img.photouserphoto.dropdown-user-image[alt="Gravatar avatar"] {
3858 background: #fff;
3859}
3860img.gravatar.photouserphoto {
3861 filter: grayscale(50%);
3862}
3863form[name="addtime"] img.userphoto, form[name="addtime"] img.userphotosmall {
3864 border: 1px solid #444;
3865}
3866.span-icon-user {
3867 background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png', 1); ?>);
3868 background-repeat: no-repeat;
3869}
3870.span-icon-password {
3871 background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png', 1); ?>);
3872 background-repeat: no-repeat;
3873}
3874
3875/* ============================================================================== */
3876/* Menu gauche */
3877/* ============================================================================== */
3878
3879div.vmenu, td.vmenu {
3880 margin-<?php print $right; ?>: 2px;
3881 position: relative;
3882 float: left;
3883 padding: 0px;
3884 padding-bottom: 0px;
3885 padding-top: 1px;
3886}
3887
3888.vmenu {
3889 width: <?php echo $leftmenuwidth; ?>px;
3890 margin-left: 8px;
3891 /* text-transform: capitalize; */
3892 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3893 display: none;
3894 <?php } ?>
3895}
3896.vmenudisabled {
3897 margin-left: 8px !important;
3898}
3899
3900/* Force vmenusearchselectcombo with type=text differently than without because beautify with select2 affect vmenusearchselectcombo differently */
3901input.vmenusearchselectcombo[type=text] {
3902 width: <?php echo $leftmenuwidth - 10; ?>px !important;
3903}
3904.vmenusearchselectcombo {
3905 width: <?php echo $leftmenuwidth - 2; ?>px;
3906 height: 38px !important;
3907}
3908.vmenusearchselectcombo > .select2-selection__rendered, .vmenusearchselectcombo > .select2-selection__arrow {
3909 line-height: 38px !important;
3910 height: 38px !important;
3911}
3912
3913.menu_contenu {
3914 padding-top: 3px;
3915 padding-bottom: 3px;
3916 overflow: hidden;
3917 text-overflow: ellipsis;
3918 width: <?php echo $leftmenuwidth - 2; ?>px; /* required to have overflow working. must be same than .menu_titre */
3919}
3920#menu_contenu_logo { /* padding-top: 0; */ }
3921.companylogo { }
3922.searchform { padding-top: 10px; }
3923.searchform input { font-size: 16px; }
3924
3925
3926a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active, span.vmenu, span.vsmenu {
3927 white-space: nowrap; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>;
3928}
3929a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active,
3930span.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 */
3931span.vmenudisabled {
3932 /* bold = 600, 500 is ko with Edge on 1200x960 */
3933 font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; white-space: nowrap;
3934}
3935a.vmenu:link, a.vmenu:visited {
3936 color: var(--colortextbackvmenu);
3937}
3938
3939a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vmenu, span.vsmenu {
3940 font-family: <?php print $fontlist ?>;
3941 text-align: <?php print $left; ?>;
3942 color: var(--colortextbackvmenu);
3943 margin: 1px 1px 1px 6px;
3944}
3945span.vsmenudisabled, font.vsmenudisabled {
3946 font-family: <?php print $fontlist ?>;
3947 text-align: <?php print $left; ?>;
3948 color: #aaa;
3949 white-space: nowrap;
3950}
3951a.vsmenu:link, a.vsmenu:visited {
3952 color: var(--colortextbackvmenu);
3953 white-space: nowrap;
3954}
3955span.vsmenudisabledmargin, font.vsmenudisabledmargin { margin: 1px 1px 1px 6px; }
3956li a.vsmenudisabled, li.vsmenudisabled { color: #aaa !important; cursor: default !important; }
3957
3958a.help:link, a.help:visited, a.help:hover, a.help:active, span.help {
3959 text-align: <?php print $left; ?>; color: #aaa; text-decoration: none;
3960}
3961.helppresent, .helppresent:hover {
3962 /* color: #f3e4ac !important; */
3963}
3964.helppresentcircle {
3965 /*
3966 color: var(--colorbackhmenu1);
3967 filter: invert(0.5);
3968 */
3969 color: var(--colortextbackhmenu);
3970 margin-<?php echo $left ?>: -4px;
3971 display: inline-block;
3972 font-size: x-small;
3973 vertical-align: super;
3974 opacity: 0.95;
3975 transform: rotate(<?php echo($left == 'left' ? '55deg' : '305deg'); ?>);
3976}
3977
3978.vmenu div.blockvmenufirst, .vmenu div.blockvmenulogo, .vmenu div.blockvmenusearchphone, .vmenu div.blockvmenubookmarks
3979{
3980 border-top: 1px solid #BBB;
3981}
3982a.vsmenu.addbookmarkpicto {
3983 padding-right: 10px;
3984}
3985div.blockvmenusearchphone
3986{
3987 border-bottom: none !important;
3988}
3989.vmenu div.blockvmenuend, .vmenu div.blockvmenulogo
3990{
3991 margin: 0 0 8px 2px;
3992}
3993.vmenu div.blockvmenusearch {
3994 margin-top: 5px;
3995 margin-bottom: 15px;
3996}
3997/*
3998.vmenu div.blockvmenusearch {
3999 border: 1px solid #888;
4000 padding-top: 8px;
4001 padding-bottom: 8px;
4002 padding-left: 0;
4003 padding-right: 0;
4004 border-radius: 6px;
4005 box-sizing: border-box;
4006 margin-left: 3px;
4007 margin-left: 3px;
4008}
4009*/
4010.vmenu div.blockvmenuend
4011{
4012 padding-bottom: 5px;
4013}
4014.vmenu div.blockvmenulogo
4015{
4016 padding-bottom: 10px;
4017 padding-top: 0;
4018}
4019div.blockvmenubookmarks
4020{
4021 padding-top: 10px !important;
4022 padding-bottom: 16px !important;
4023}
4024div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend
4025{
4026 font-family: <?php print $fontlist ?>;
4027 text-align: <?php print $left; ?>;
4028 text-decoration: none;
4029 padding-left: 5px;
4030 padding-right: 1px;
4031 padding-top: 4px;
4032 padding-bottom: 7px;
4033 margin: 0 0 0 2px;
4034
4035 color: var(--colortext);
4036 background: var(--colorbackvmenu1);
4037
4038 border-left: 1px solid #AAA;
4039 border-right: 1px solid #BBB;
4040}
4041
4042div.blockvmenusearch
4043{
4044 font-family: <?php print $fontlist ?>;
4045 color: #000000;
4046 text-align: <?php print $left; ?>;
4047 text-decoration: none;
4048 margin: 1px 0px 0px 2px;
4049 background: var(--colorbackvmenu1);
4050}
4051
4052div.blockvmenusearch > form > div {
4053 padding-top: 3px;
4054}
4055div.blockvmenusearch > form > div > label {
4056 padding-right: 2px;
4057}
4058
4059div.blockvmenuhelp
4060{
4061<?php if (empty($conf->dol_optimize_smallscreen)) { ?>
4062 font-family: <?php print $fontlist ?>;
4063 color: #000000;
4064 text-align: center;
4065 text-decoration: none;
4066 padding-left: 0px;
4067 padding-right: 6px;
4068 padding-top: 3px;
4069 padding-bottom: 3px;
4070 margin: 4px 0px 0px 0px;
4071<?php } else { ?>
4072 display: none;
4073<?php } ?>
4074}
4075
4076
4077td.barre {
4078 border-right: 1px solid #000000;
4079 border-bottom: 1px solid #000000;
4080 background: #b3c5cc;
4081 font-family: <?php print $fontlist ?>;
4082 color: #000000;
4083 text-align: <?php print $left; ?>;
4084 text-decoration: none;
4085}
4086
4087td.barre_select {
4088 background: #b3c5cc;
4089 color: #000000;
4090}
4091
4092td.photo {
4093 background: #F4F4F4;
4094 color: #000000;
4095 border: 1px solid #bbb;
4096}
4097
4098/* ============================================================================== */
4099/* Panes for Main */
4100/* ============================================================================== */
4101
4102/*
4103 * PANES and CONTENT-DIVs
4104 */
4105
4106#mainContent, #leftContent .ui-layout-pane {
4107 padding: 0px;
4108 overflow: auto;
4109}
4110
4111#mainContent, #leftContent .ui-layout-center {
4112 padding: 0px;
4113 position: relative; /* contain floated or positioned elements */
4114 overflow: auto; /* add scrolling to content-div */
4115}
4116
4117
4118/* ============================================================================== */
4119/* Toolbar for ECM or Filemanager */
4120/* ============================================================================== */
4121
4122td.ecmroot {
4123 padding-bottom: 0 !important;
4124}
4125
4126.largebutton {
4127 /* border-top: 1px solid #CCC !important; */
4128 padding: 0px 4px 14px 4px !important;
4129 min-height: 32px;
4130}
4131
4132
4133a.toolbarbutton {
4134 margin-top: 0px;
4135 margin-left: 4px;
4136 margin-right: 4px;
4137 height: 30px;
4138}
4139img.toolbarbutton {
4140 margin-top: 1px;
4141 height: 30px;
4142}
4143
4144li.expanded > a.fmdirlia.jqft.ecmjqft {
4145 font-weight: bold !important;
4146}
4147
4148.divfmdirlia {
4149 width: calc(100% - 100px);
4150}
4151
4152a.fmdirlia {
4153 white-space: break-spaces;
4154 word-break: break-all;
4155}
4156
4157
4158/* ============================================================================== */
4159/* Tabs */
4160/* ============================================================================== */
4161div.tabs {
4162 text-align: <?php print $left; ?>;
4163 margin-top: 10px;
4164 /*padding-left: 6px;
4165 padding-right: 6px;*/
4166 clear:both;
4167 /* height: 100%; Disabled for fix #33965 */
4168}
4169div.tabsElem {
4170 margin-top: 1px;
4171} /* To avoid overlap of tabs when not browser */
4172/*
4173div.tabsElem a.tabactive::before, div.tabsElem a.tabunactive::before {
4174 content: "\f0da";
4175 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
4176 padding-right: 2px;
4177 font-weight: 900;
4178}
4179*/
4180div.tabBar {
4181 color: var(--colortextbacktab);
4182 padding-top: 16px;
4183 padding-left: 0px; padding-right: 0px;
4184 padding-bottom: 2px;
4185 margin: 0px 0px 30px 0px;
4186 border-top: 1px solid #BBB;
4187 /* border-bottom: 1px solid #AAA; */
4188 width: auto;
4189 background: var(--colorbackbody);
4190}
4191
4192div.tabBar tr.titre td {
4193 padding-top: 20px;
4194}
4195div.fiche table:not(.table-fiche-title) tr.titre td {
4196 padding-top: 10px;
4197}
4198div.fiche >.table-fiche-title tr.toptitle td.col-picto,
4199div.fiche >.table-fiche-title tr.toptitle td.col-title,
4200div.fiche >form >.table-fiche-title:not(.nogreyscale) tr.toptitle td.col-picto,
4201div.fiche >form >.table-fiche-title:not(.nogreyscale) tr.toptitle td.col-title {
4202 filter: grayscale(90%);
4203}
4204
4205div.tabBar.tabBarNoTop {
4206 padding-top: 0;
4207 border-top: 0;
4208}
4209
4210/* tabBar used for creation/update/send forms */
4211div.tabBarWithBottom {
4212 padding-bottom: 18px;
4213 border-bottom: 1px solid #bbb;
4214}
4215div.tabBarWithBottom tr {
4216 background: unset !important;
4217}
4218div.tabBarWithBottom table.border>tbody>tr:last-of-type>td {
4219 border-bottom: none !important;
4220}
4221
4222div.tabBar table.tableforservicepart2:last-child {
4223 border-bottom: 1px solid #aaa;
4224}
4225.tableforservicepart1 .tdhrthin {
4226 height: unset;
4227 padding-top: 0 !important;
4228}
4229/* Payment Screen : Pointer cursor in the autofill image */
4230.AutoFillAmount {
4231 cursor:pointer;
4232 padding-left: 5px;
4233 padding-right: 5px;
4234 padding-top: 2px;
4235}
4236
4237div.popuptabset {
4238 padding: 6px;
4239 background: #fff;
4240 border: 1px solid #888;
4241}
4242div.popuptab {
4243 padding-top: 8px;
4244 padding-bottom: 8px;
4245 padding-left: 5px;
4246 padding-right: 5px;
4247}
4248
4249/* ============================================================================== */
4250/* Buttons for actions */
4251/* ============================================================================== */
4252
4253div.tabsAction {
4254 margin: 20px 0em 40px 0em;
4255 padding: 0em 0em;
4256 text-align: right;
4257}
4258div.tabsActionNoBottom {
4259 margin-bottom: 0px;
4260}
4261div.tabsAction > a {
4262 margin-bottom: 16px !important;
4263}
4264div.tabsAction .dropdown .textbutton {
4265 text-align: <?php echo $left; ?>;
4266}
4267
4268a.tabTitle {
4269 color: rgba(0,0,0,0.4) !important;
4270 text-shadow:1px 1px 1px #ffffff;
4271 font-family: <?php print $fontlist ?>;
4272 font-weight: normal !important;
4273 padding: 4px 6px 2px 0px;
4274 margin-<?php print $right; ?>: 10px;
4275 text-decoration: none;
4276 white-space: nowrap;
4277}
4278.imgTabTitle {
4279 max-height: 14px;
4280}
4281/*
4282div.tabs div.tabsElem:first-of-type a.tab {
4283 margin-left: 0px !important;
4284}
4285*/
4286a.tabunactive {
4287 color: var(--colortextlink) !important;
4288}
4289a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
4290 font-family: <?php print $fontlist ?>;
4291 padding: 12px 14px 10px;
4292 margin: 0em 0.2em;
4293 text-decoration: none;
4294 white-space: nowrap;
4295
4296 background-image: none !important;
4297}
4298
4299.tabactive, a.tab#active {
4300 color: var(--colortextbacktab) !important;
4301 /* background: var(--colorbacktabcard1) !important; */
4302 margin: 0 0.2em 0 0.2em !important;
4303
4304 border-right: 1px solid transparent;
4305 border-left: 1px solid transparent;
4306 border-top: 1px solid transparent;
4307 /*border-right: 1px solid #CCC !important;
4308 border-left: 1px solid #CCC !important; */
4309
4310 <?php if ($colorbackhmenu1 == '255,255,255') { ?>
4311 border-bottom: 3px solid var(--colortextbackhmenu) !important;
4312 <?php } else { ?>
4313 border-bottom: 3px solid var(--colorbackhmenu1) !important;
4314 <?php } ?>
4315}
4316.tabunactive, a.tab#unactive {
4317 border-right: 1px solid transparent;
4318 border-left: 1px solid transparent;
4319 border-top: 1px solid transparent;
4320 border-bottom: 0px !important;
4321}
4322a.tab:hover
4323{
4324 /*
4325 background: var(--colorbacktabcard1), 0.5) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png', 1); ?>) 50% 0 repeat-x;
4326 color: var(--colortextbacktab);
4327 */
4328 text-decoration: underline;
4329}
4330a.tabimage {
4331 color: #434956;
4332 font-family: <?php print $fontlist ?>;
4333 text-decoration: none;
4334 white-space: nowrap;
4335}
4336
4337td.tab {
4338 background: #dee7ec;
4339}
4340
4341span.tabspan {
4342 background: #dee7ec;
4343 color: #434956;
4344 font-family: <?php print $fontlist ?>;
4345 padding: 0px 6px;
4346 margin: 0em 0.2em;
4347 text-decoration: none;
4348 white-space: nowrap;
4349 border-radius:4px 4px 0px 0px;
4350
4351 border-<?php print $right; ?>: 1px solid #555555;
4352 border-<?php print $left; ?>: 1px solid #D8D8D8;
4353 border-top: 1px solid #D8D8D8;
4354}
4355
4356/* ============================================================================== */
4357/* Buttons for actions */
4358/* ============================================================================== */
4359<?php include dol_buildpath($path.'/theme/'.$theme.'/btn.inc.php', 0); ?>
4360
4361
4362/* ============================================================================== */
4363/* Tables */
4364/* ============================================================================== */
4365
4366.allwidth {
4367 width: 100%;
4368}
4369
4370#undertopmenu {
4371 background-repeat: repeat-x;
4372 margin-top: <?php echo($dol_hide_topmenu ? '6' : '0'); ?>px;
4373}
4374
4375
4376.paddingrightonly {
4377 border-collapse: collapse;
4378 border: 0px;
4379 margin-left: 0px;
4380 padding-<?php print $left; ?>: 0px !important;
4381 padding-<?php print $right; ?>: 4px !important;
4382}
4383.nocellnopadd {
4384 list-style-type:none;
4385 margin: 0px !important;
4386 padding: 0px !important;
4387}
4388.noborderspacing {
4389 border-spacing: 0;
4390}
4391tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
4392{
4393 border: 0px;
4394}
4395
4396.smallpaddingimp {
4397 padding: 7px !important;
4398 padding-left: 7px !important;
4399 padding-right: 7px !important;
4400 line-height: 1em !important;
4401 border-radius: 3px !important;
4402}
4403input.button.smallpaddingimp, input.buttonreset.smallpaddingimp {
4404 font-size: 0.8em;
4405 font-weight: normal !important;
4406}
4407input.button[name="upload"] {
4408 padding: 5px !important;
4409 font-size: 0.9em;
4410}
4411input.buttonlink {
4412 color: var(--colortextlink);
4413 background-color: transparent;
4414 cursor: pointer;
4415 border: none !important;
4416}
4417input.buttonlink:hover {
4418 text-decoration: underline;
4419}
4420input.buttonreset {
4421 margin-top: 3px;
4422 margin-bottom: 3px;
4423 padding: 8px 15px;
4424 text-decoration: underline;
4425 color: var(--colortextlink);
4426 background-color: transparent;
4427 cursor: pointer;
4428}
4429div.tabs.nopaddingleft {
4430 padding-<?php print $left; ?>: 0px;
4431}
4432.notopnoleft {
4433 border-collapse: collapse;
4434 border: 0px;
4435 padding-top: 0px;
4436 padding-<?php print $left; ?>: 0px;
4437 padding-<?php print $right; ?>: 16px;
4438 padding-bottom: 4px;
4439 margin-right: 0px;
4440}
4441.notopnoleftnoright {
4442 border-collapse: collapse;
4443 border: 0px;
4444 padding-top: 0px;
4445 padding-left: 0px;
4446 padding-right: 0px;
4447 padding-bottom: 4px;
4448 margin: 0px 0px 0px 0px;
4449}
4450
4451table.tableforemailform tr td {
4452 padding-top: 3px;
4453 padding-bottom: 3px;
4454}
4455
4456table.border, table.bordernooddeven, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
4457 border-collapse: collapse !important;
4458 padding: 1px 2px 1px 3px; /* t r b l */
4459}
4460table.borderplus {
4461 border: 1px solid #BBB;
4462}
4463.border tbody tr, .bordernooddeven tbody tr, .border tbody tr td, .bordernooddeven tbody tr td,
4464div.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,
4465tr.liste_titre.box_titre td table td, .bordernooddeven tr td {
4466 height: 2.2em;
4467}
4468
4469div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar .table-val-border-col {
4470 vertical-align: middle;
4471}
4472div .tdtop:not(.tagtdnote) {
4473 vertical-align: top !important;
4474 /*padding-top: 10px !important;
4475 padding-bottom: 2px !important; */
4476 padding-top: 8px !important;
4477 padding-bottom: 0px !important;
4478 height: unset !important;
4479}
4480
4481table.border td, table.bordernooddeven td, div.border div div.tagtd, div.table-border div div.tagtd {
4482 padding: 2px 2px 2px 2px;
4483 border-collapse: collapse;
4484}
4485div.tabBar .fichecenter table.border>tbody>tr>td,
4486div.tabBar .fichecenter div.border div div.tagtd, div.tabBar div.border div div.tagtd
4487{
4488 padding-top: 2px;
4489 border-bottom: 1px solid #E0E0E0;
4490}
4491
4492td.border, div.tagtable div div.border {
4493 border-top: 1px solid #000000;
4494 border-right: 1px solid #000000;
4495 border-bottom: 1px solid #000000;
4496 border-left: 1px solid #000000;
4497}
4498.table-key-border-col {
4499 /* width: 25%; */
4500 vertical-align:top;
4501}
4502.table-val-border-col {
4503 width:auto;
4504}
4505
4506
4507.thsticky, .tdsticky {
4508 position: sticky;
4509 left: 0px;
4510}
4511.thstickyright, .tdstickyright {
4512 position: sticky;
4513 right: 0px;
4514}
4515.thstickygray, .tdstickygray {
4516 background-color: lightgray;
4517}
4518.thstickyghostwhite, .tdstickyghostwhite {
4519 background-color: ghostwhite;
4520}
4521.thstickyinherit, .tdstickyinherit {
4522 background-color: inherit;
4523}
4524
4525/* To have left column sticky */
4526/*.tagtable td[data-key="ref"], .tagtable th[data-key="ref"] {
4527 position: sticky;
4528 left: 0;
4529 top: 0;
4530 max-width: 150px !important;
4531 //background-color: inherit;
4532 background-color: gainsboro;
4533 z-index: 2;
4534}
4535*/
4536
4537/* To have right column sticky */
4538/*.tagtable td.actioncolumn, .tagtable th.actioncolumn {
4539 position: sticky-right;
4540 right: 0;
4541 top: 0;
4542 max-width: 150px !important;
4543 //background-color: inherit;
4544 background-color: gainsboro;
4545 z-index: 2;
4546}
4547*/
4548
4549
4550/* Main boxes */
4551.nobordertop, .nobordertop tr:first-of-type td {
4552 border-top: none !important;
4553}
4554.noborderbottom, tr.noborderbottom td, .noborderbottom tr:last-of-type td {
4555 border-bottom: none !important;
4556}
4557.bordertop {
4558 border-top: 1px solid var(--colortopbordertitle1);
4559}
4560.borderbottom {
4561 border-bottom: 1px solid var(--colortopbordertitle1);
4562}
4563.noborderall {
4564 border: none !important;
4565}
4566
4567table.noborder {
4568 background: var(--colorbacktabcard1);
4569}
4570<?php if (getDolGlobalString('THEME_ELDY_SHADOW_ON_SMALL_BOXES')) { // TODO Disable on smartphone ?>
4571.firstcolumn .div-table-responsive-no-min, .secondcolumn .div-table-responsive-no-min {
4572 overflow-x: unset;
4573}
4574.firstcolumn table.noborder, .secondcolumn table.noborder {
4575 box-shadow: 5px 5px 5px #f0f0f0;
4576}
4577<?php } ?>
4578
4579.fichehalfright table.noborder, .fichehalfleft table.noborder {
4580 margin: 0px 0px 0px 0px;
4581}
4582table.liste, table.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact), table.formdoc, div.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact) {
4583 <?php
4584 if ($userborderontable) { ?>
4585 border-left: 1px solid var(--colortopbordertitle1);
4586 border-right: 1px solid var(--colortopbordertitle1);
4587 <?php } ?>
4588}
4589table.liste, table.noborder, table.formdoc, div.noborder {
4590 width: 100%;
4591 border-collapse: separate !important;
4592 border-spacing: 0px;
4593 border-top-width: <?php echo $borderwidth ?>px;
4594 border-top-color: var(--colortopbordertitle1);
4595 border-top-style: solid;
4596 margin: 0px 0px 20px 0px;
4597}
4598#tablelines, #tablelinesservice {
4599 border-bottom-width: 1px;
4600 border-bottom-color: var(--colortopbordertitle1);
4601 border-bottom-style: solid;
4602}
4603table.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 {
4604 border-bottom-width: 1px;
4605 border-bottom-color: var(--colortopbordertitle1);
4606 border-bottom-style: solid;
4607}
4608/* CSS to remove the interline border */
4609table.nointerlines tr:not(:last-child) td {
4610 border-bottom: unset !important;
4611 border-top: unset !important;
4612}
4613
4614
4615/* Management of border radius */
4616table.noborder:not(.cal_month, .paymenttable) {
4617 border-radius: <?php echo $borderradius; ?>px;
4618}
4619table.noborder.cal_month {
4620 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4621 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4622}
4623table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
4624table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:first-child,
4625table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
4626table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:first-child {
4627 border-top-left-radius: <?php echo $borderradius; ?>px;
4628}
4629table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:last-child,
4630table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
4631table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
4632table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:last-child {
4633 border-top-right-radius: <?php echo $borderradius; ?>px;
4634}
4635table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:first-child,
4636table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:first-child {
4637 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4638}
4639table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:last-child,
4640table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:last-child {
4641 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4642}
4643table.noborder thead tr:last-child td:first-child,
4644table.noborder thead tr:last-child th:first-child {
4645 border-bottom-left-radius: unset !important;
4646}
4647table.noborder thead tr:last-child td:last-child,
4648table.noborder thead tr:last-child th:last-child {
4649 border-bottom-right-radius: unset !important;
4650}
4651
4652table.liste:not(.listwithfilterbefore) {
4653 border-top-left-radius: <?php echo $borderradius; ?>px;
4654 border-top-right-radius: <?php echo $borderradius; ?>px;
4655}
4656table.liste {
4657 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4658 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4659}
4660table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child td:first-child,
4661table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child th:first-child {
4662 border-top-left-radius: <?php echo $borderradius; ?>px;
4663}
4664table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child td:last-child,
4665table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child th:last-child {
4666 border-top-right-radius: <?php echo $borderradius; ?>px;
4667}
4668div.liste_titre_bydiv {
4669 border-top-left-radius: <?php echo $borderradius; ?>px;
4670 border-top-right-radius: <?php echo $borderradius; ?>px;
4671}
4672div.liste_titre_bydiv_nothingafter {
4673 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4674 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4675 border-bottom-width: 1px;
4676 border-bottom-color: var(--colortopbordertitle1);
4677 border-bottom-style: solid;
4678}
4679table.liste tr:last-child td:first-child,
4680table.liste > tr:last-child th:first-child, table.liste tfoot tr:last-child th:first-child {
4681 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4682}
4683table.liste tr:last-child td:last-child,
4684table.liste > tr:last-child th:last-child, table.liste tfoot tr:last-child th:last-child {
4685 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4686}
4687
4688table#tablelines tr:last-of-type td:first-child, table#tablelines tr#trlinefordates, table#tablelines tr#trlinefordates td,
4689table#tablelinesservice tr:last-of-type td:first-child, table#tablelinesservice tr#trlinefordates, table#tablelinesservice tr#trlinefordates td {
4690 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4691}
4692table#tablelines tr:last-of-type td:last-child, table#tablelines tr#trlinefordates, table#tablelines tr#trlinefordates td,
4693table#tablelinesservice tr:last-of-type td:last-child, table#tablelinesservice tr#trlinefordates, table#tablelinesservice tr#trlinefordates td {
4694 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4695}
4696
4697
4698/*
4699div.tabBar div.fichehalfright table.noborder:not(.margintable):not(.paymenttable):not(.lastrecordtable):last-of-type {
4700 border-bottom: 1px solid var(--colortopbordertitle1);
4701}
4702*/
4703div.tabBar .lastrecordtable {
4704 margin-bottom: 15px;
4705}
4706div.tabBar table:not(.nobottom).border>tbody>tr:last-of-type>td {
4707 border-bottom-width: 1px;
4708 border-bottom-color: var(--colortopbordertitle1);
4709 border-bottom-style: solid;
4710}
4711div.tabBar div.fichehalfright table.noborder {
4712 border-bottom: none;
4713}
4714
4715table.paddingtopbottomonly tr td {
4716 padding-top: 1px;
4717 padding-bottom: 2px;
4718}
4719.liste_titre_filter {
4720 background: var(--colorbacktitle1) !important;
4721}
4722.liste_titre2 {
4723 background: var(--colorbackhmenu1) !important;
4724 color: #fff;
4725}
4726table:not(.listwithfilterbefore) tr.liste_titre_filter:first-of-type td.liste_titre {
4727 padding-top: 5px;
4728}
4729
4730tr.liste_titre_filter td.liste_titre {
4731 /* border-bottom: 1px solid #ddd; */
4732 padding-top: 1px;
4733 padding-bottom: 0px;
4734}
4735.liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
4736{
4737 border-bottom-width: 0 !important;
4738 border-top-width: 1px;
4739 border-top-color: var(--colortopbordertitle1);
4740 border-top-style: solid;
4741}
4742tr.liste_titre_create td:not(.linecoldescription) {
4743 padding-right: 4px !important;
4744 padding-left: 4px !important;
4745}
4746tr#trlinefordates td {
4747 border-bottom: 0px !important;
4748}
4749.liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
4750{
4751 border-top-width: 1px;
4752 border-top-color: var(--colortopbordertitle1);
4753 border-top-style: solid;
4754}
4755table.liste tr, table.noborder tr, div.noborder form {
4756 border-top-color: #FEFEFE;
4757 min-height: 20px;
4758}
4759table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
4760 padding: 6px 10px 6px 12px; /* t r b l */
4761}
4762td.linecoldescription {
4763 padding: 6px 10px 6px 12px !important; /* t r b l */
4764}
4765table.tableforfield td, .tagtr.table-border-row .tagtd, table.border.margintable .trforfield td {
4766 padding: 2px 8px 2px 10px; /* t r b l */
4767}
4768table.liste td, table.noborder > tr > td,
4769table.noborder > tbody > tr > td,
4770table.noborder > tfoot > tr > td,
4771div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
4772 padding: 8px 10px 8px 12px; /* t r b l */
4773 /* line-height: 22px; This create trouble on cell login on list of last events of a contract */
4774 height: 32px;
4775}
4776table.liste tr.trkanban td {
4777 padding: 12px 15px 12px 15px; /* t r b l */
4778}
4779div.liste_titre_bydiv .divsearchfield {
4780 padding: 2px 1px 2px 7px; /* t r b l */
4781}
4782
4783tr.box_titre .nobordernopadding td {
4784 padding: 0 ! important;
4785}
4786table.nobordernopadding {
4787 border-collapse: collapse !important;
4788 border: 0;
4789}
4790table.nobordernopadding tr {
4791 border: 0 !important;
4792 padding: 0 0 !important;
4793}
4794table.nobordernopadding tr td {
4795 border: 0 !important;
4796 padding: 0 3px 0 0;
4797}
4798table.border tr td table.nobordernopadding tr td {
4799 padding-top: 0;
4800 padding-bottom: 0;
4801}
4802td.borderright {
4803 border: none; /* to erase value for table.nobordernopadding td */
4804 border-right-width: 1px !important;
4805 border-right-color: #BBB !important;
4806 border-right-style: solid !important;
4807}
4808td.borderleft {
4809 border: none; /* to erase value for table.nobordernopadding td */
4810 border-left-width: 1px !important;
4811 border-left-color: #BBB !important;
4812 border-left-style: solid !important;
4813}
4814
4815
4816/* For table with no filter before */
4817table.listwithfilterbefore {
4818 border-top: none !important;
4819}
4820
4821
4822.tagtable, .table-border { display: table; }
4823.tagtr, .table-border-row { display: table-row; }
4824.tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
4825.confirmquestions .tagtr .tagtd:not(:first-child) { padding-left: 10px; }
4826.confirmquestions { margin-top: 5px; }
4827.confirmquestions .tagtr .tagtd { height: 2em; vertical-align: middle; }
4828
4829/* Pagination */
4830div.refidpadding {
4831 /* padding-top: 3px; */
4832}
4833div.refid {
4834 font-weight: bold;
4835 color: var(--colortexttitlenotab);
4836 font-size: 1.2em;
4837 word-break: break-word;
4838}
4839a.refid {
4840 color: var(--colortexttitlenotab) !important;
4841}
4842div.refidno {
4843 padding-top: 3px;
4844 font-weight: normal;
4845 color: var(--refidnocolor);
4846 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>;
4847 line-height: 1.5em;
4848}
4849div.refaddress div.address {
4850 line-height: 1.2em;
4851 font-size: 0.95em;
4852}
4853div.refidno form {
4854 display: inline-block;
4855}
4856
4857div.pagination {
4858 float: <?php echo $right; ?>;
4859}
4860div.pagination a {
4861 font-weight: normal;
4862}
4863div.pagination ul
4864{
4865 list-style: none;
4866 display: inline-block;
4867 padding-left: 0px;
4868 padding-right: 0px;
4869 margin: 0;
4870}
4871div.pagination li {
4872 display: inline-block;
4873 padding-left: 0px;
4874 padding-right: 0px;
4875 /* padding-top: 10px; */
4876 /* padding-bottom: 5px; */
4877 /* font-size: 1.1em; */
4878}
4879li.pagination.paginationpage.paginationpageleft, li.pagination.paginationpage.paginationpageright {
4880 font-size: 1.1em;
4881}
4882.pagination {
4883 display: inline-block;
4884 padding-left: 0;
4885 border-radius: 4px;
4886}
4887div.pagination li.pagination a,
4888div.pagination li.pagination span {
4889 padding: 6px 12px;
4890 line-height: 1.42857143;
4891 text-decoration: none;
4892 background-repeat: repeat-x;
4893 color: var(--color-black);
4894}
4895div.pagination li.pagination span.inactive {
4896 cursor: default;
4897 color: #ccc;
4898}
4899li.noborder.litext, li.noborder.litext a,
4900div.pagination li a.inactive:hover,
4901div.pagination li span.inactive:hover {
4902 box-shadow: none !important;
4903}
4904div.pagination li.litext a {
4905 border: none;
4906 padding-right: 10px;
4907 padding-left: 4px;
4908 font-weight: bold;
4909}
4910div.pagination li.litext a:hover {
4911 background-color: transparent;
4912 background-image: none;
4913}
4914div.pagination li.noborder a:hover {
4915 border: none;
4916 background-color: transparent;
4917}
4918div.pagination li a,
4919div.pagination li span {
4920 /* background-color: #fff; */
4921 /* border: 1px solid #ddd; */
4922}
4923div.pagination li:first-child a,
4924div.pagination li:first-child span {
4925 margin-left: 0;
4926 /*border-top-left-radius: 4px;
4927 border-bottom-left-radius: 4px;*/
4928}
4929
4930div.pagination li .active a,
4931div.pagination li .active span,
4932div.pagination li .active a:hover,
4933div.pagination li .active span:hover,
4934div.pagination li .active a:focus,
4935div.pagination li .active span:focus {
4936 z-index: 2;
4937 color: #fff;
4938 cursor: default;
4939 background-color: var(--colorbackhmenu1);
4940 border-color: #337ab7;
4941}
4942div.pagination .disabled span,
4943div.pagination .disabled span:hover,
4944div.pagination .disabled span:focus,
4945div.pagination .disabled a,
4946div.pagination .disabled a:hover,
4947div.pagination .disabled a:focus {
4948 color: #777;
4949 cursor: not-allowed;
4950 background-color: #fff;
4951 border-color: #ddd;
4952}
4953div.pagination li.pagination .active {
4954 text-decoration: underline;
4955 box-shadow: none;
4956}
4957.paginationafterarrows .nohover {
4958 box-shadow: none !important;
4959}
4960
4961div.pagination li.paginationafterarrows {
4962 margin-left: 10px;
4963 padding-top: 0;
4964 /*padding-bottom: 10px;*/
4965}
4966.paginationatbottom {
4967 margin-top: 9px;
4968}
4969table.hidepaginationprevious .paginationprevious {
4970 display: none;
4971}
4972table.hidepaginationnext .paginationnext {
4973 display: none;
4974}
4975.tabBar .arearef .pagination.paginationref {
4976 max-width: calc(30%);
4977}
4978.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
4979 /* border: 1px solid var(--btncolorborder); */
4980 border: unset;
4981 background-color: unset;
4982}
4983.paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
4984 /* text-shadow: 0px 0px 5px #ccc; */
4985 /* filter: invert(0.3); */
4986 font-size: 1.1em;
4987}
4988
4989
4990/* Set the color for hover lines */
4991.oddeven:hover:not(.nohover), .evenodd:hover:not(.nohover), .oddevenimport:hover:not(.nohover), .evenoddimport:hover:not(.nohover), .impair:hover:not(.nohover), .pair:hover:not(.nohover) {
4992 background: var(--colorbacklinepairhover) !important; /* Must be background to be stronger than background of odd or even */
4993}
4994
4995.tredited, .tredited td {
4996 background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
4997 border-bottom: 0 !important;
4998}
4999.treditedlinefordate {
5000 background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
5001 border-bottom: 0px;
5002}
5003<?php if ($colorbacklinepairchecked) { ?>
5004.highlight {
5005 background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
5006}
5007<?php } ?>
5008
5009.nohoverborder:hover {
5010 border: unset;
5011 box-shadow: unset;
5012}
5013.oddeven, .evenodd, .impair, .pair, .nohover .impair:hover, tr.impair td.nohover, tr.pair td.nohover, .tagtr.oddeven {
5014 font-family: <?php print $fontlist ?>;
5015 margin-bottom: 1px;
5016 color: var(--oddevencolor);
5017}
5018.impair, .nohover .impair:hover, tr.impair td.nohover {
5019 background-color: var(--colorbacklineimpair2);
5020}
5021.pair, .nohover .pair:hover, tr.pair td.nohover {
5022 background-color: var(--colorbacklinepair2);
5023}
5024tr.oddeven.oddevendouble {
5025 height: 60px !important;
5026}
5027
5028#GanttChartDIV {
5029 background-color: var(--colorbacklineimpair2);
5030}
5031table.dataTable tr.oddeven {
5032 background-color: var(--colorbacklinepair2) !important;
5033}
5034
5035/* For no hover style */
5036td.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 {
5037 background-color: var(--colorbacklineimpair2) !important;
5038 background: var(--colorbacklineimpair2) !important;
5039}
5040td.evenodd, tr.nohoverpair td, #trlinefordates td {
5041 background-color: var(--colorbacklinepair2) !important;
5042 background: var(--colorbacklinepair2) !important;
5043}
5044.trforbreak td {
5045 font-weight: 500;
5046 border-bottom: 1pt solid #aaa !important;
5047 background-color: var(--colorbacklinebreak) !important;
5048}
5049.trforbreak.nobold td a, .trforbreak.nobold span.secondary {
5050 font-weight: normal !important;
5051}
5052tr.trforbreaknobg:nth-of-type(n+3) td, form.trforbreaknobg div.tagtd {
5053 font-weight: 500;
5054 border-top: 1pt dashed #aaa !important;
5055}
5056
5057table.dataTable td {
5058 padding: 5px 8px 5px 8px !important;
5059}
5060tr.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 {
5061 padding: 7px 8px 7px 8px;
5062 border-bottom: 1px solid #ddd;
5063}
5064form.tagtr:last-of-type div.tagtd, tr.pair:last-of-type td, tr.impair:last-of-type td {
5065 border-bottom: 0px !important;
5066}
5067tr.nobottom td {
5068 border-bottom: 0px !important;
5069}
5070div.tableforcontact form.tagtr:last-of-type div.tagtd {
5071 border-bottom: 1px solid #ddd !important;
5072}
5073tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
5074 border-bottom: 0px !important;
5075}
5076table.nobottomiftotal tr.liste_total td {
5077 background-color: var(--inputbackgroundcolor);
5078 <?php if (!$userborderontable) { ?>
5079 border-bottom: 0px !important;
5080 <?php } ?>
5081}
5082table.nobottom, td.nobottom {
5083 border-bottom: 0px !important;
5084}
5085div.liste_titre .tagtd {
5086 vertical-align: middle;
5087}
5088div.liste_titre {
5089 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 */
5090
5091 padding-top: 2px;
5092 padding-bottom: 2px;
5093}
5094div.liste_titre_bydiv {
5095 border-top-width: <?php echo $borderwidth ?>px;
5096 border-top-color: var(--colortopbordertitle1);
5097 border-top-style: solid;
5098 <?php if ($userborderontable) { ?>
5099 border-left: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
5100 border-right: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
5101 <?php } ?>
5102
5103 border-collapse: collapse;
5104 padding: 2px 0px 2px 0;
5105 box-shadow: none;
5106 /*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 */
5107 width: unset;
5108}
5109div.liste_titre_bydiv_inlineblock {
5110 display: inline-block;
5111 width: 100%;
5112}
5113
5114tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr, tagtr.liste_titre
5115{
5116 height: 26px !important;
5117}
5118div.colorback /* for the form "assign user" on time spent view */
5119{
5120 background: #f8f8f8;
5121 padding: 10px;
5122 margin-top: 5px;
5123 border: 1px solid #ddd;
5124}
5125div.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
5126{
5127 background: var(--colorbacktitle1);
5128 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5129
5130 color: var(--colortexttitle);
5131 font-family: <?php print $fontlist ?>;
5132 text-align: <?php echo $left; ?>;
5133}
5134tr.liste_titre th, tr.liste_titre td, th.liste_titre
5135{
5136 border-bottom: 1px solid var(--colortopbordertitle1);
5137}
5138tr.liste_titre:first-child th, tr:first-child th.liste_titre {
5139/* border-bottom: 1px solid #ddd ! important; */
5140 border-bottom: unset;
5141}
5142tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div
5143{
5144 font-family: <?php print $fontlist ?>;
5145 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5146 vertical-align: middle;
5147 height: 2.2em;
5148}
5149tr.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 {
5150 text-shadow: none !important;
5151 color: var(--colortexttitlelink);
5152}
5153tr.liste_titre_topborder td {
5154 border-top-width: <?php echo $borderwidth; ?>px;
5155 border-top-color: var(--colortopbordertitle1);
5156 border-top-style: solid;
5157}
5158.liste_titre td a, .liste_titre td a span {
5159 text-shadow: none !important;
5160 color: var(--colortexttitle) !important;
5161}
5162.liste_titre td a.notasortlink {
5163 color: var(--colortextlink);
5164}
5165.liste_titre td a.notasortlink:hover {
5166 background: transparent;
5167}
5168tr.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 */
5169 /* border-bottom: 1px solid #ddd; */
5170 border-bottom: unset;
5171}
5172
5173div.liste_titre {
5174 padding-left: 3px;
5175}
5176tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
5177{
5178 font-family: <?php print $fontlist ?>;
5179 font-weight: normal;
5180 border-bottom: 1px solid #FDFFFF;
5181 /* text-decoration: underline; */
5182}
5183input.liste_titre {
5184 background: transparent;
5185 border: 0px;
5186}
5187.listactionlargetitle .liste_titre {
5188 line-height: 24px;
5189}
5190.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 {
5191 <?php if (getDolGlobalString('THEME_ELDY_TOTAL_BACKGROUND_LIKE_HEAD')) { ?>background: var(--colorbacktitle1);<?php } ?>
5192 color: var(--listetotal);
5193 font-weight: normal;
5194}
5195.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
5196 white-space: nowrap;
5197}
5198.noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
5199 white-space: normal;
5200}
5201form.liste_total div {
5202 border-top: 1px solid #DDDDDD;
5203}
5204tr.liste_sub_total, tr.liste_sub_total td {
5205 border-bottom: 1px solid #aaa;
5206}
5207/* to avoid too much border on contract card */
5208.tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
5209 background: #FFF;
5210}
5211.tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
5212 border-bottom: none;
5213}
5214table.tableforservicepart1:first-of-type tr:first-of-type td {
5215 border-top: 1px solid #888;
5216}
5217table.tableforservicepart1 tr td {
5218 border-top: 0px;
5219}
5220
5221.paymenttable, .margintable {
5222 border-top: none !important;
5223 margin: 0px 0px 0px 0px !important;
5224}
5225.bordertopimp {
5226 border-top: 1px solid var(--colortopbordertitle1) !important;
5227}
5228table.noborder.paymenttable {
5229 border-bottom: none !important;
5230}
5231.paymenttable tr td:first-child, .margintable tr td:first-child
5232{
5233 /*padding-left: 2px;*/
5234}
5235.paymenttable, .margintable tr td {
5236 height: 22px;
5237}
5238
5239/* Disable-Enable shadows */
5240.noshadow {
5241 box-shadow: 0px 0px 0px #DDD !important;
5242}
5243.shadow {
5244 box-shadow: 1px 1px 7px #CCC !important;
5245}
5246
5247.boxshadow {
5248 box-shadow: 0px 0px 5px #888;
5249}
5250
5251div.tabBar .noborder {
5252 box-shadow: 0px 0px 0px #DDD !important;
5253}
5254
5255#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 {
5256 border-bottom: 1px solid var(--colortopbordertitle1) !important;
5257}
5258#tablelines tr td, #tablelinesservice tr td {
5259/* height: unset; */
5260}
5261
5262/* Prepare to remove class pair - impair */
5263
5264.noborder:not(.editmode) > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven):not(.liste_total),
5265.liste > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven):not(.liste_total),
5266div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven):not(.liste_total),
5267.liste > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven):not(.liste_total),
5268div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre):not(.nooddeven):not(.liste_total)
5269{
5270 background: linear-gradient(bottom, var(----colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5271 background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5272 background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5273 background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5274}
5275.noborder > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
5276.liste > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
5277.noborder .oddeven.tagtr:nth-child(even):not(:last-of-type) .tagtd:not(.liste_titre)
5278{
5279 border-bottom: 1px solid #f0f0f0;
5280}
5281
5282.noborder:not(.editmode) > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven):not(.liste_total),
5283.liste > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven):not(.liste_total),
5284div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven):not(.liste_total),
5285.liste > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven):not(.liste_total),
5286div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre):not(.nooddeven):not(.liste_total)
5287{
5288 background: linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5289 background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5290 background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5291 background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5292}
5293.noborder > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
5294.liste > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
5295.noborder .oddeven.tagtr:nth-child(odd):not(:last-child) .tagtd:not(.liste_titre)
5296{
5297 border-bottom: 1px solid #f0f0f0;
5298}
5299
5300ul.noborder li:nth-child(even):not(.liste_titre) {
5301 background-color: var(--colorbacklinepair2) !important;
5302}
5303
5304
5305/*
5306 * Boxes
5307 */
5308
5309.box {
5310 overflow-x: auto;
5311 min-height: 40px;
5312 padding-right: 0px;
5313 padding-left: 0px;
5314 /* padding-bottom: 10px; */
5315}
5316.boxstatsborder {
5317 /* border: 1px solid #CCC !important; */
5318}
5319/* .boxstats, .boxstats130, .boxstatsempty { */
5320.boxstats, .boxstats130 {
5321 display: inline-block;
5322 margin-left: 8px;
5323 margin-right: 8px;
5324 margin-top: 5px;
5325 margin-bottom: 5px;
5326 text-align: center;
5327
5328 background: var(--colorbackbody);
5329 border: 1px solid var(--colorboxstatsborder);
5330 border-left: 6px solid var(--colorboxstatsborder);
5331 /* box-shadow: 1px 1px 8px var(--colorboxstatsborder); */
5332 border-radius: 4px;
5333}
5334.boxstats, .boxstats130, .boxstatscontent {
5335 white-space: nowrap;
5336 overflow: hidden;
5337 text-overflow: ellipsis;
5338}
5339.boxstats130 {
5340 width: 100%;
5341 height: 59px;
5342 /* padding: 3px; */
5343}
5344.boxstats {
5345 padding-top: 2px;
5346 padding-bottom: 2px;
5347}
5348.boxstats, .boxstatsempty {
5349 padding-left: 6px;
5350 padding-right: 6px;
5351 width: 118px;
5352}
5353
5354.boxtable:not(.widgetstats) td.tdboxstats .boxstats {
5355 box-shadow: 1px 1px 8px var(--colorboxstatsborder);
5356}
5357
5358.tabBar .fichehalfright .boxstats {
5359 padding-top: 8px;
5360 padding-bottom: 4px;
5361}
5362.boxstatscontent {
5363 padding: 3px;
5364}
5365.boxstats150empty {
5366 width: 158px;
5367 padding-left: 3px;
5368 padding-right: 3px;
5369 margin-left: 8px;
5370 margin-right: 8px;
5371}
5372
5373
5374@media only screen and (max-width: 768px)
5375{
5376 .tabBar .arearef .pagination.paginationref {
5377 max-width: calc(50%);
5378 }
5379
5380 div.pagination ul li {
5381 margin-top: 3px;
5382 margin-bottom: 3px;
5383 }
5384 div.pagination .button-title-separator {
5385 display: none;
5386 }
5387
5388 .clearbothonsmartphone {
5389 clear: both;
5390 }
5391 .clearbothonsmartphone:not(.hideonsmartphone) {
5392 display: block !important;
5393 }
5394
5395 div.tabs {
5396 padding-left: 0 !important;
5397 padding-right: 0!important;
5398 margin-left: 0 !important;
5399 margin-right: 0 !important;
5400 }
5401 table.liste tr.trkanban td {
5402 padding: 10px 6px 10px 6px; /* t r b l */
5403 }
5404
5405 a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
5406 padding: 12px 3px 13px;
5407 }
5408 a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
5409 padding: 0px 0px 0px 0px;
5410 }
5411 a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
5412 padding: 0px 0px 0px 0px;
5413 }
5414
5415 td.tdwidgetstate {
5416 text-align: center;
5417 }
5418
5419 .boxstats, .boxstats130 {
5420 margin: 3px;
5421 }
5422 .boxstats130 {
5423 text-align: <?php echo $left; ?>
5424 }
5425 .thumbstat {
5426 flex: 1 1 110px;
5427 margin-bottom: 8px;
5428 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 */
5429 }
5430 .thumbstat150 {
5431 flex: 1 1 110px;
5432 margin-bottom: 8px;
5433 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 */
5434 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 */
5435 /* 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) */
5436 }
5437 .dashboardlineindicator {
5438 float: left;
5439 padding-left: 5px;
5440 }
5441 .boxstats {
5442 width: 111px;
5443 }
5444 .boxstatsempty {
5445 width: 111px;
5446 }
5447
5448}
5449
5450.boxstats:hover {
5451 box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
5452}
5453/*span.boxstatstext span:not(.fas) {
5454 opacity: 0.5;
5455}*/
5456span.boxstatstext {
5457 opacity: 0.5; /* a bug if browser make z-index was discovered when opacity is set, if still present, we must disable it */
5458 line-height: 18px;
5459 color: var(--colortext);
5460 font-size: 0.8em;
5461}
5462span.boxstatstext img, a.dashboardlineindicatorlate img {
5463 border: 0;
5464}
5465a img {
5466 border: 0;
5467}
5468.boxstatsindicator.thumbstat150 { /* If we remove this, box position is ko on ipad */
5469 display: inline-flex;
5470}
5471span.boxstatsindicator {
5472 font-size: 130%;
5473 font-weight: normal;
5474 line-height: 29px;
5475 flex-grow: 1;
5476
5477}
5478span.dashboardlineindicator, span.dashboardlineindicatorlate {
5479 font-size: 130%;
5480 font-weight: normal;
5481}
5482a.dashboardlineindicatorlate:hover {
5483 text-decoration: none;
5484}
5485.dashboardlineindicatorlate img {
5486 width: 16px;
5487}
5488span.dashboardlineok {
5489 color: #008800;
5490}
5491span.dashboardlineko {
5492 color: #FFF;
5493 font-size: 80%;
5494}
5495.dashboardlinelatecoin {
5496 float: right;
5497 position: relative;
5498 text-align: right;
5499 top: -27px;
5500 right: 2px;
5501 padding: 0px 5px 0px 5px;
5502 border-radius: .25em;
5503
5504 background-color: #9f4705;
5505}
5506.imglatecoin {
5507 padding: 1px 3px 1px 1px;
5508 margin-left: 4px;
5509 margin-right: 2px;
5510 background-color: #8c4446;
5511 color: #FFFFFF ! important;
5512 border-radius: .25em;
5513 display: inline-block;
5514 vertical-align: middle;
5515}
5516.divboxtable {
5517 margin-bottom: 25px !important;
5518}
5519
5520
5521.fichecenter .tableforfield:not(.margintable) tr td, .tagtr.table-border-row {
5522 background-color: var(--colorbacklineimpair2);
5523}
5524table.liste tr.oddeven:nth-of-type(odd) {
5525 background-color: var(--colorbacklineimpair2);
5526}
5527table.liste tr.oddeven:nth-of-type(even) {
5528 background-color: var(--colorbacklinepair2);
5529}
5530
5531.boxtable {
5532 border-bottom-width: 1px;
5533 background: var(--colorbackbody);
5534 border-top: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
5535 /* border-top: 2px solid var(--colorbackhmenu1) !important; */
5536}
5537.boxtable tr td.tdboxstats {
5538 background: var(--colorbackbody) !important;
5539}
5540.boxtable tr td.tdboxstats div.boxstats {
5541 background: var(--colorbacklineimpair2) !important;
5542}
5543
5544table.noborder.boxtable tr td {
5545 height: unset;
5546}
5547.boxtablenotop {
5548 border-top-width: 0 !important;
5549}
5550.boxtablenobottom {
5551 border-bottom-width: 0 !important;
5552}
5553.boxtablenomarginbottom {
5554 margin-bottom: 0 !important;
5555}
5556.boxtable .fichehalfright, .boxtable .fichehalfleft {
5557 min-width: 275px; /* increasing this, make chart on box not side by side on laptops */
5558}
5559.tdboxstats {
5560 text-align: center;
5561}
5562.boxworkingboard .tdboxstats {
5563 padding-left: 0px !important;
5564 padding-right: 0px !important;
5565}
5566a.valignmiddle.dashboardlineindicator {
5567 line-height: 30px;
5568}
5569.height30 {
5570 height: 30px !important;
5571}
5572.height50 {
5573 height: 50px !important;
5574}
5575
5576tr.box_titre {
5577 height: 26px;
5578
5579 /* TO MATCH BOOTSTRAP */
5580 /*background: #ddd;
5581 color: #000 !important;*/
5582
5583 /* TO MATCH ELDY */
5584 background: var(--colorbacktitle1);
5585 color: var(--colortexttitle);
5586 font-family: <?php print $fontlist ?>, sans-serif;
5587 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5588 border-bottom: 1px solid #FDFFFF;
5589 white-space: nowrap;
5590}
5591
5592tr.box_titre td.boxclose {
5593 width: 30px;
5594}
5595img.boxhandle, img.boxclose {
5596 padding-left: 5px;
5597}
5598
5599.formboxfilter {
5600 vertical-align: middle;
5601 margin-bottom: 6px;
5602}
5603.formboxfilter input[type=image]
5604{
5605 top: 5px;
5606 position: relative;
5607}
5608.boxfilter {
5609 margin-bottom: 2px;
5610 margin-right: 1px;
5611}
5612.prod_entry_mode_free, .prod_entry_mode_predef {
5613 height: 26px !important;
5614 vertical-align: middle;
5615}
5616
5617.modulebuilderbox {
5618 border: 1px solid #888;
5619 padding: 16px;
5620}
5621
5622.star-selection {
5623 font-size: 1rem;
5624 cursor: pointer;
5625 display: flex;
5626 white-space: nowrap;
5627}
5628.star {
5629 color: #ccc;
5630 transition: color 0.4s;
5631}
5632.star:hover, .star.active {
5633 color: var(--butactionbg);
5634}
5635
5636.search-component-assistance {
5637 display: none;
5638 position: absolute;
5639 background: var(--colorbackbody);
5640 border-width: 1px 1px 2px;
5641 border-style: solid;
5642 border-color: rgb(204, 204, 204);
5643 border-image: none; padding: 9px;
5644 box-shadow: rgba(136, 136, 136, 0.267) 1px 2px 10px;
5645 border-radius: 2px;
5646 z-index: 1000;
5647 top: 208.933px;
5648 left: 352.683px;
5649}
5650.search-component-assistance .assistance-title {
5651 font-size: 15px;
5652 font-weight: bold;
5653 color: #333;
5654 margin: 5px
5655}
5656.search-component-assistance .separator {
5657 padding-left: 8px;
5658 margin-left: 5px
5659}
5660.search-component-assistance .end-separator {
5661 margin-left: 8px;
5662}
5663.search-component-assistance .assistance-errors {
5664 font-size: 12px;
5665 color: #333;
5666 margin: 5px 0px 5px 0px
5667}
5668.search-component-assistance .assistance-errors {
5669 margin-bottom: 0px;
5670 text-align: center;
5671}
5672.add-filter-btn {
5673 margin: 0 !important;
5674}
5675.search-component-assistance .operand, .search-component-assistance .operator, .search-component-assistance .value {
5676 display: inline-block;
5677}
5678.search-component-assistance .btn-div{
5679 margin-top: 10px;
5680 text-align: right;
5681}
5682@media only screen and (max-width: 620px) {
5683 .search-component-assistance .operand, .operator, .value {
5684 display: block !important;
5685 }
5686 .search-component-assistance .separator, .end-separator {
5687 padding: 0px;
5688 margin: 0px
5689 }
5690}
5691
5692
5693/*
5694 * Ok, Warning, Error
5695 */
5696
5697.ok { color: #114466; }
5698.warning { color: #887711 !important; }
5699.error { color: #660000 !important; font-weight: bold; }
5700.green { color: #118822 !important; }
5701.neutral { color: #444 !important; }
5702
5703div.ok {
5704 color: #114466;
5705}
5706
5707div.info, div.warning, div.error, div.green, div.neutral {
5708 padding-top: 16px;
5709 padding-left: 10px;
5710 padding-right: 4px;
5711 padding-bottom: 16px;
5712 margin: 1em 0em 1em 0em;
5713 border-radius: 5px;
5714}
5715
5716div.fiche div.info, div.fiche div.warning, div.fiche div.neutral {
5717 box-shadow: 1px 1px 6px #d4d4d4;
5718 margin: 1em 0em 1.2em 0em;
5719}
5720
5721/* Neutral message */
5722div.neutral {
5723 border-<?php print $left; ?>: solid 5px #aaa;
5724 background: #f8f8f8;
5725}
5726
5727/* Info message */
5728div.info {
5729 border-<?php print $left; ?>: solid 5px #87cfd2;
5730 background: #eff8fc;
5731 color: #558;
5732}
5733
5734/* Ok message */
5735div.green div.greenborder, section.green, section.greenborder {
5736 border-<?php print $left; ?>: solid 5px #118822;
5737}
5738div.green, section.green {
5739 background: #e3f0e3;
5740}
5741
5742/* Warning message */
5743div.warning, div.warningborder, section.warning, section.warningborder {
5744 border-<?php print $left; ?>: solid 5px #f2cf87;
5745}
5746div.warning, section.warning {
5747 background: #fcf8e3;
5748}
5749div.warning a, div.info a, div.error a {
5750 color: var(--colortextlink);
5751}
5752
5753/* Error message */
5754div.error {
5755 border-<?php print $left; ?>: solid 5px #f28787;
5756 background: #EFCFCF;
5757}
5758
5759
5760/*
5761 * Paid/Unpaid Links
5762 */
5763
5764a.normal:link { font-weight: normal }
5765a.normal:visited { font-weight: normal }
5766a.normal:active { font-weight: normal }
5767a.normal:hover { font-weight: normal }
5768
5769a.impayee:link { font-weight: bold; color: #550000; }
5770a.impayee:visited { font-weight: bold; color: #550000; }
5771a.impayee:active { font-weight: bold; color: #550000; }
5772a.impayee:hover { font-weight: bold; color: #550000; }
5773
5774
5775/*
5776 * External web site
5777 */
5778
5779.framecontent {
5780 width: 100%;
5781 height: 100%;
5782}
5783
5784.framecontent iframe {
5785 width: 100%;
5786 height: 100%;
5787}
5788
5789
5790/*
5791 * Other
5792 */
5793
5794.opened-dash-board-wrap {
5795 margin-bottom: 25px;
5796}
5797
5798div.boximport {
5799 min-height: unset;
5800}
5801
5802.product_line_stock_ok { color: var(--productlinestockok); }
5803.product_line_stock_too_low { color: var(--productlinestocktoolow); }
5804
5805.fieldrequired { font-weight: bold; color: var(--fieldrequiredcolor) !important; }
5806#tablesubscribe .fieldrequired {
5807 font-weight: inherit !important;
5808 color: inherit !important;
5809}
5810#tablesubscribe .fieldrequired:after {
5811 content: " *";
5812 color: #660000;
5813 font-weight: bold;
5814}
5815
5816td.widthpictotitle, .table-fiche-title img.widthpictotitle { width: 34px; text-align: <?php echo $left; ?>; }
5817span.widthpictotitle { font-size: 1.5em; }
5818table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
5819
5820.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
5821.dolgraphtitlecssboxes { /* margin: 0px; */ }
5822.dolgraphchart canvas {
5823 /* width: calc(100% - 20px) !important; */
5824}
5825.legendColorBox, .legendLabel { border: none !important; }
5826div.dolgraph div.legend, div.dolgraph div.legend div { background-color: var(--dolgraphbg) !important; }
5827div.dolgraph div.legend table tbody tr { height: auto; }
5828td.legendColorBox { padding: 2px 2px 2px 0 !important; }
5829td.legendLabel { padding: 2px 2px 2px 0 !important; }
5830td.legendLabel {
5831 text-align: <?php echo $left; ?>;
5832}
5833
5834label.radioprivate {
5835 white-space: nowrap;
5836}
5837
5838.photo {
5839 border: 0px;
5840}
5841.photowithmargin {
5842/* margin-bottom: 2px;
5843 margin-top: 2px; */
5844}
5845div.divphotoref > div > .photowithmargin, div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
5846 margin-<?php echo $right; ?>: 15px;
5847}
5848
5849.photowithborder {
5850 border: 1px solid #f0f0f0;
5851}
5852.photointooltip {
5853 margin-top: 6px;
5854 margin-bottom: 6px;
5855 text-align: center;
5856}
5857.photodelete {
5858 margin-top: 6px !important;
5859}
5860
5861.logo_setup
5862{
5863 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg', 1) ?>); /* content is used to best fit the container */
5864 display: inline-block;
5865 opacity: 0.2;
5866}
5867.nographyet
5868{
5869 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg', 1) ?>);
5870 display: inline-block;
5871 opacity: 0.1;
5872 background-repeat: no-repeat;
5873}
5874.nographyettext
5875{
5876 opacity: 0.5;
5877}
5878
5879/* height of top title */
5880.fiche > table.table-fiche-title tr.toptitle, .fiche > form > table.table-fiche-title tr.toptitle {
5881 height: 60px;
5882}
5883/* height of other title */
5884table.table-fiche-title tr.toptitle, table.table-fiche-title tr.toptitle {
5885 height: 44px;
5886}
5887
5888
5889div.titre {
5890 font-size: 1.1em;
5891 text-decoration: none;
5892 /* padding-top: 5px;
5893 padding-bottom: 5px; */
5894 font-weight: 400;
5895}
5896div.titre.small {
5897 font-size: 1em;
5898}
5899div.fiche > table.table-fiche-title:first-of-type div, div.fiche > form > table.table-fiche-title:first-of-type div {
5900 font-size: 1.1em;
5901}
5902div.fiche > table.table-fiche-title:first-of-type div {
5903 color: var(--colortexttitlenotab);
5904}
5905div.titre {
5906 color: var(--colortexttitlenotab);
5907}
5908
5909td.subtitle {
5910 line-height: 1.1em;
5911}
5912
5913.secondary {
5914 color: var(--colortexttitlenotab);
5915}
5916.tertiary {
5917 color: var(--colortexttitlenotab2);
5918}
5919
5920table.table-fiche-title .col-title div.titre > span:not(.print-barre-liste) {
5921 line-height: normal;
5922}
5923
5924table.table-fiche-title, div.fiche>table.table-fiche-title {
5925 margin-bottom: 12px;
5926}
5927.table-list-of-attached-files, .table-list-of-links {
5928 margin-bottom: 0 !important;
5929}
5930.fichehalfleft table.table-fiche-title, .fichehalfright table.table-fiche-title {
5931 margin-bottom: 8px;
5932}
5933
5934
5935div.backgreypublicpayment {
5936 background-color: var(--colorbackgrey);
5937 padding: 20px;
5938 border-bottom: 1px solid #ddd;
5939 text-align: center;
5940 position: sticky;
5941 top: 0;
5942 z-index: 1005;
5943}
5944.backgreypublicpayment a {
5945 color: var(--colorblack) !important;
5946 opacity: 0.9;
5947}
5948.poweredbypublicpayment {
5949 float: right;
5950 top: 8px;
5951 right: 12px;
5952 position: absolute;
5953 font-size: 0.8em;
5954 color: #222;
5955 opacity: 0.3;
5956}
5957
5958#dolpublictable {
5959 min-width: 300px; font-size: 16px;
5960 padding: 6px;
5961}
5962#dolpaymenttable {
5963 min-width: 320px; font-size: 16px;
5964 max-width: 600px;
5965} /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
5966
5967#tablepublicpayment {
5968 border: 2px solid #CCCCCC !important;
5969 width: 100%;
5970 padding: 20px;
5971 margin-bottom: 25px;
5972 border-radius: 4px;
5973}
5974#tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
5975#tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
5976#tablepublicpayment tr.liste_total td { border-top: none; }
5977input#cardholder-name {
5978 font-size: 1em;
5979}
5980
5981.divmainbodylarge { margin-left: 40px; margin-right: 40px; }
5982.publicnewmemberform div.titre { font-size: 2em; }
5983#divsubscribe { max-width: 900px; }
5984#divsubscribe .eventlabel { font-size: 1.5em; }
5985#tablesubscribe { width: 100%; }
5986#tablesubscribe tr td { font-size: 1.15em; }
5987#tablesubscribe .price-registration { font-size: 1.5em; }
5988
5989
5990div#card-element {
5991 border: 1px solid #ccc;
5992}
5993div#card-errors {
5994 color: #fa755a;
5995 text-align: center;
5996 padding-top: 3px;
5997 /* max-width: 320px; */
5998}
5999
6000
6001/*
6002 * Effect Postit
6003 */
6004.effectpostit
6005{
6006 position: relative;
6007}
6008.effectpostit:before, .effectpostit:after
6009{
6010 z-index: -1;
6011 position: absolute;
6012 content: "";
6013 bottom: 15px;
6014 left: 10px;
6015 width: 50%;
6016 top: 80%;
6017 max-width:300px;
6018 background: #777;
6019 box-shadow: 0 15px 10px #777;
6020 -webkit-transform: rotate(-3deg);
6021 -moz-transform: rotate(-3deg);
6022 -o-transform: rotate(-3deg);
6023 -ms-transform: rotate(-3deg);
6024 transform: rotate(-3deg);
6025}
6026.effectpostit:after
6027{
6028 -webkit-transform: rotate(3deg);
6029 -moz-transform: rotate(3deg);
6030 -o-transform: rotate(3deg);
6031 -ms-transform: rotate(3deg);
6032 transform: rotate(3deg);
6033 right: 10px;
6034 left: auto;
6035}
6036
6037
6038
6039/* ============================================================================== */
6040/* Form confirmation (When Ajax JQuery is used) and Dialog popups */
6041/* ============================================================================== */
6042
6043button.ui-button-icon-only.ui-dialog-titlebar-close {
6044 padding: 12px;
6045 margin-top: -15px;
6046 margin-right: 15px;
6047}
6048.ui-dialog-content {
6049 margin-bottom: 10px; /* same than .ui-widget-header */
6050}
6051.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
6052 z-index: 1005 !important; /* Default 101 with ui-jquery, top menu have a z-index of 1000 */
6053}
6054.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
6055 z-index:1006 !important; /* To always be over the dialog box */
6056}
6057.ui-dialog.ui-widget.ui-widget-content {
6058 border: 1px solid #e0e0e0;
6059 border-radius: 6px;
6060}
6061.ui-dialog {
6062 padding-left: 5px;
6063 padding-right: 5px;
6064 padding-top: 5px;
6065 padding-bottom: 5px;
6066}
6067.ui-widget-header {
6068 padding: 8px !important;
6069 background: unset;
6070 border: unset;
6071 border-bottom: 1px solid #AAA;
6072 margin-bottom: 12px;
6073}
6074.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable {
6075 box-shadow: 5px 5px 20px #AAA;
6076}
6077
6078.ui-dialog .ui-dialog-buttonpane {
6079 padding: .5em 1em .3em .4em;
6080}
6081.ui-dialog .ui-dialog-content, .ui-dialog .ui-dialog-titlebar.ui-widget-header {
6082 padding-left: 1em !important;
6083}
6084/*
6085.ui-dialog .ui-dialog-content {
6086 text-align: justify;
6087}
6088*/
6089
6090
6091/* ============================================================================== */
6092/* For content of image preview */
6093/* ============================================================================== */
6094
6095/*
6096.ui-dialog-content.ui-widget-content > object {
6097 max-height: none;
6098 width: auto; margin-left: auto; margin-right: auto; display: block;
6099}
6100*/
6101
6102
6103/* ============================================================================== */
6104/* Formulaire confirmation (When HTML is used) */
6105/* ============================================================================== */
6106
6107table.valid {
6108 /* border-top: solid 1px #E6E6E6; */
6109 border-<?php print $left; ?>: solid 5px #f2cf87;
6110 /* border-<?php print $right; ?>: solid 1px #444444;
6111 border-bottom: solid 1px #555555; */
6112 padding-top: 8px;
6113 padding-left: 10px;
6114 padding-right: 4px;
6115 padding-bottom: 4px;
6116 margin: 0px 0px;
6117 background: var(--tablevalidbgcolor);
6118}
6119
6120.validtitre {
6121 font-weight: bold;
6122}
6123
6124
6125/* ============================================================================== */
6126/* Tooltips */
6127/* ============================================================================== */
6128
6129/* For tooltip using dialog */
6130.ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
6131 z-index: 3000;
6132}
6133
6134div.ui-tooltip {
6135 max-width: <?php print dol_size(700, 'width'); ?>px !important;
6136}
6137div.ui-tooltip.mytooltip {
6138 border: none !important;
6139 padding: 20px 20px;
6140 border-radius: 4px;
6141 margin: 2px;
6142 font-stretch: condensed;
6143 box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
6144 filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=5);
6145 background: var(--tooltipbgcolor) !important;
6146 color: var(--tooltipfontcolor);
6147 line-height: 1.6em;
6148 min-width: 550px;
6149 pointer-events: none;
6150}
6151
6152<?php
6153if (getDolGlobalString('THEME_DARKMODEENABLED')) {
6154 print "/* For dark mode */\n";
6155 if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) {
6156 print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
6157 } else {
6158 print "@media not print {";
6159 } ?>
6160 div.ui-tooltip.mytooltip {
6161 border: 1px solid #bbb !important;
6162 }
6163 <?php
6164 print '}';
6165}
6166?>
6167
6168@media only screen and (max-width: 768px)
6169{
6170 div.ui-tooltip.mytooltip {
6171 max-width: 400px;
6172 }
6173}
6174@media only screen and (max-width: 480px)
6175{
6176 div.ui-tooltip.mytooltip {
6177 max-width: 300px;
6178 }
6179}
6180@media only screen and (max-width: 320px)
6181{
6182 div.ui-tooltip.mytooltip {
6183 max-width: 230px;
6184 }
6185}
6186
6187
6188
6189
6190/* ============================================================================== */
6191/* Calendar date picker */
6192/* ============================================================================== */
6193
6194.ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
6195.ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
6196html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
6197{
6198 border: unset;
6199}
6200
6201div#ui-datepicker-div {
6202 width: 300px;
6203 box-shadow: 2px 5px 15px #aaa;
6204 border: unset;
6205 padding-left: 5px;
6206 padding-right: 5px;
6207 padding-top: 5px;
6208 z-index: 1010 !important; /* must be over menu bar */
6209}
6210.ui-datepicker .ui-datepicker table {
6211 font-size: unset;
6212}
6213.ui-datepicker .ui-widget-header {
6214 border: unset;
6215 background: unset;
6216}
6217
6218/* the button Previous / Next month */
6219.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
6220 width: 2.5em;
6221 height: 2.7em;
6222}
6223
6224
6225img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
6226
6227select.ui-datepicker-year {
6228 margin-left: 2px !important;
6229}
6230.ui-datepicker-trigger, .ui-datepicker-notrigger {
6231 vertical-align: middle;
6232 padding-left: 2px;
6233 padding-right: 2px;
6234}
6235.ui-datepicker-notrigger {
6236 cursor: default;
6237}
6238.ui-datepicker-trigger {
6239 cursor: pointer;
6240}
6241
6242/*
6243.bodyline {
6244 border-radius: 8px;
6245 border: 1px #E4ECEC outset;
6246 padding: 0px;
6247 margin-bottom: 5px;
6248}
6249*/
6250table.dp {
6251 width: 180px;
6252 background-color: var(--inputbackgroundcolor);
6253 border-top: solid 2px #DDDDDD;
6254 border-<?php print $left; ?>: solid 2px #DDDDDD;
6255 border-<?php print $right; ?>: solid 1px #222222;
6256 border-bottom: solid 1px #222222;
6257 padding: 0px;
6258 border-spacing: 0px;
6259 border-collapse: collapse;
6260}
6261.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
6262/* Barre titre */
6263.dpHead,.tpHead,.tpHour td:Hover .tpHead{
6264 font-weight:bold;
6265 background-color:#b3c5cc;
6266 color:white;
6267 font-size:11px;
6268 cursor:auto;
6269}
6270/* Barre navigation */
6271.dpButtons,.tpButtons {
6272 text-align:center;
6273 background-color:#617389;
6274 color:#FFFFFF;
6275 font-weight:bold;
6276 cursor:pointer;
6277}
6278.dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
6279.dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
6280.dpExplanation{ font-weight:normal; font-size:11px;}
6281.dpWeek td{text-align:center}
6282
6283.dpToday,.dpReg,.dpSelected{
6284 cursor:pointer;
6285}
6286.dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
6287.dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
6288
6289/* Jour courant */
6290.dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
6291
6292.tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
6293.tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
6294.tpHour td:Hover {background-color:black;color:white;}
6295
6296.tpMinute {margin-top:5px;}
6297.tpMinute td:Hover {background-color:black; color:white; }
6298.tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
6299
6300/* Bouton X fermer */
6301.dpInvisibleButtons
6302{
6303 border-style:none;
6304 background-color:transparent;
6305 padding:0px;
6306 font-size: 0.85em;
6307 border-width:0px;
6308 color:#0B63A2;
6309 vertical-align:middle;
6310 cursor: pointer;
6311}
6312.datenowlink {
6313 color: var(--colortextlink);
6314 font-size: 0.8em;
6315 opacity: 0.7;
6316}
6317
6318
6319/* ============================================================================== */
6320/* Show/Hide */
6321/* ============================================================================== */
6322
6323div.visible {
6324 display: block;
6325}
6326
6327div.hidden, div.hiddenforpopup, header.hidden, tr.hidden, td.hidden,
6328img.hidden, span.hidden, br.hidden, div.showifmore, input.hidden {
6329 display: none;
6330}
6331.unvisible {
6332 visibility: hidden;
6333}
6334tr.visible {
6335 display: block;
6336}
6337
6338
6339/* ============================================================================== */
6340/* Module website */
6341/* ============================================================================== */
6342
6343.previewnotyetavailable {
6344 opacity: 0.5;
6345}
6346
6347.websiteformtoolbar {
6348 position: sticky;
6349 top: <?php echo empty($dol_hide_topmenu) ? ($disableimages ? '32px' : '52px') : '0'; ?>;
6350 z-index: 1002; /* Dolibarr menu is 1001, Website menu is 1002 */
6351}
6352
6353.exampleapachesetup {
6354 overflow-y: auto;
6355 height: 100px;
6356 font-size: 0.8em;
6357 border: 1px solid #aaa;
6358}
6359
6360span[phptag] {
6361 background: #ddd; border: 1px solid #ccc; border-radius: 4px;
6362}
6363
6364.nobordertransp {
6365 border: 0px;
6366 background-color: transparent;
6367 background-image: none;
6368}
6369.bordertransp {
6370 background-color: transparent;
6371 background-image: none;
6372 border: none;
6373 font-weight: normal;
6374}
6375.websitebar .button.bordertransp, .websitebar .fa-plus-circle.btnTitle-icon {
6376 color: unset;
6377 text-decoration: unset !important;
6378 margin: 0px 4px 0px 4px !important
6379}
6380
6381.websitebar {
6382 border-bottom: 1px solid #ccc;
6383 background: #e6e6e6;
6384 display: inline-block;
6385 z-index: 1000;
6386}
6387.centpercent.websitebar {
6388 width: calc(100% - 10px);
6389 padding: 5px 5px 5px 5px;
6390 font-size: 0.94em;
6391}
6392.websitebar .buttonDelete, .websitebar .button {
6393 text-shadow: none;
6394}
6395.websitebar .button, .websitebar .buttonDelete
6396{
6397 padding: 4px 5px 4px 5px !important;
6398 margin: 2px 4px 2px 4px !important;
6399/* line-height: normal; */
6400 background: #f5f5f5 !important;
6401 border: 1px solid #ccc !important;
6402}
6403.websiteselection {
6404 /* display: inline-block; */
6405 padding-<?php echo $right; ?>: 10px;
6406 vertical-align: middle;
6407 line-height: 2.2em;
6408}
6409.websiteselectionsection {
6410 font-size: 0.85em;
6411}
6412.websiteselection span {
6413 vertical-align: middle;
6414}
6415.websitetools {
6416 float: right;
6417}
6418.websiteselection, .websitetools {
6419 /* margin-top: 3px;
6420 padding-top: 3px;
6421 padding-bottom: 3px; */
6422}
6423.websiteinputurl {
6424 display: inline-block;
6425 vertical-align: middle;
6426 line-height: 26px;
6427}
6428.websiteiframenoborder {
6429 border: 0px;
6430}
6431span.websiteselection span.select2.select2-container.select2-container--default {
6432 margin: 0 0 0 4px;
6433}
6434span.websitebuttonsitepreview, a.websitebuttonsitepreview {
6435 vertical-align: middle;
6436}
6437span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
6438 width: 26px;
6439 display: inline-block;
6440}
6441span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
6442 opacity: 0.2;
6443}
6444.websitehelp {
6445 vertical-align: middle;
6446 float: right;
6447 padding-top: 8px;
6448}
6449.websiteselectionsection {
6450 border-left: 1px solid #bbb;
6451 border-right: 1px solid #bbb;
6452 margin-left: 0px;
6453 padding-left: 8px;
6454 margin-right: 5px;
6455}
6456.websitebar input#previewpageurl {
6457 line-height: 1em;
6458}
6459
6460.websitebar input.bordertransp {
6461 line-height: normal !important;
6462}
6463
6464#divbodywebsite section p {
6465 margin: unset;
6466}
6467
6468#divbodywebsite #websitetemplateconfigpage{
6469 max-width: 1200px;
6470 margin: 50px auto 0;
6471}
6472
6473
6474/* ============================================================================== */
6475/* Module agenda */
6476/* ============================================================================== */
6477
6478.dayevent .tagtr:first-of-type {
6479 height: 24px;
6480}
6481
6482.agendacell { height: 60px; }
6483table.cal_month { border-spacing: 0px; }
6484table.cal_month td:first-child { border-left: 0px; }
6485table.cal_month td:last-child { border-right: 0px; }
6486table.cal_month td { padding-left: 1px !important; padding-right: 1px !important; }
6487table.cal_month.cal_peruser td { padding-left: 0 !important; padding-right: 0 !important; }
6488.cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
6489.cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
6490.cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
6491.cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
6492.cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
6493.cal_current_month_right { border-right: solid 1px #E0E0E0; }
6494.cal_other_month_right { border-right: solid 1px #C0C0C0; }
6495.cal_other_month { /* opacity: 0.6; */ background: #FAFAFA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
6496.cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
6497.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; }
6498.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; }
6499.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; }
6500.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; }
6501.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; }
6502.cal_past { }
6503.cal_peruser { padding-top: 0 !important; padding-bottom: 0 !important; padding-<?php print $left; ?>: 0 !important; padding-<?php print $right; ?>: 0 !important; }
6504.cal_impair {
6505 background: linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6506 background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6507 background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6508 background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6509}
6510.cal_today_peruser_impair { background: #F8F8F0; }
6511.peruser_busy { }
6512.peruser_notbusy { opacity: 0.5; }
6513div.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); }
6514table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; min-height: 20px; filter: saturate(0.8); border-radius: 3px; }
6515table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
6516table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
6517table.cal_event td.cal_event_right { padding: 4px 4px !important; }
6518.cal_event { font-size: 1em; }
6519.cal_event a:link { color: #111111; font-weight: normal !important; }
6520.cal_event a:visited { color: #111111; font-weight: normal !important; }
6521.cal_event a:active { color: #111111; font-weight: normal !important; }
6522.cal_event_notbusy a.cal_event_title:hover { color: #111111; font-weight: normal !important; }
6523.cal_event_busy { }
6524.cal_peruserviewname { max-width: 140px; height: 30px !important; }
6525.cal_event span.badge.badge-status { border: 1px solid #aaa; }
6526table.cal_month tr td table.nobordernopadding tr td { padding: 0 2px 0 2px; }
6527table.cal_month tr.liste_titre td.tdfordaytitle { min-width: 120px; }
6528a.dayevent-aday {
6529 margin-left: 8px;
6530}
6531td.small.cal_event {
6532 font-size: 0.9em;
6533}
6534
6535.calendarviewcontainertr { height: 100px; }
6536
6537td.cal_other_month {
6538 opacity: 0.7;
6539}
6540td.event-past span {
6541 opacity: 0.5;
6542}
6543td.peruser_holiday_imp {
6544 background-color: #aaa !important;
6545}
6546
6547.cal_available { background: #0060d450; }
6548.cal_chosen { background: #0060d4; }
6549
6550
6551/* ============================================================================== */
6552/* UI features */
6553/* ============================================================================== */
6554
6555.ui-widget-content {
6556 border: solid 1px rgba(0,0,0,.3);
6557 background: var(--colorbackbody) !important;
6558 color: var(--colortext) !important;
6559}
6560
6561/* Style to overwrites UI JQuery styles */
6562.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
6563 /* border: 1px solid #888; */
6564 background: var(--colorbacktitle1);
6565 color: unset;
6566 font-weight: bold;
6567}
6568.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 {
6569 background: var(--colorbackhmenu1);
6570 color: #ffffff !important;
6571 border: 1px solid var(--colorbackhmenu1);
6572}
6573.ui-menu {
6574 padding: 5px;
6575/*
6576 border-bottom-left-radius: 6px;
6577 border-bottom-right-radius: 6px;
6578 */
6579}
6580.ui-menu .ui-menu-item a {
6581 text-decoration:none;
6582 display:block;
6583 padding:.5em .6em;
6584 line-height:1.5;
6585 font-weight: normal;
6586 font-family:<?php echo $fontlist; ?>;
6587 font-size:1em;
6588}
6589.ui-widget {
6590 font-family:<?php echo $fontlist; ?>;
6591}
6592/* .ui-button { margin-left: -2px; <?php print(preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> } */
6593.ui-button { margin-left: -2px; }
6594.ui-button-icon-only .ui-button-text { height: 8px; }
6595.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
6596.ui-button-text
6597{
6598 line-height: 1em !important;
6599}
6600
6601
6602/* ============================================================================== */
6603/* Ajax combo list for autocompletion */
6604/* ============================================================================== */
6605
6606.ui-autocomplete-loading {
6607 background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat;
6608}
6609.ui-autocomplete {
6610 position:absolute;
6611 width:auto;
6612 font-size: 1.0em;
6613 background-color: var(--inputbackgroundcolor);
6614 border:1px solid #888;
6615 margin:0px;
6616/* padding:0px; This make combo crazy */
6617 }
6618.ui-autocomplete ul {
6619 list-style-type:none;
6620 margin:0px;
6621 padding:0px;
6622 }
6623.ui-autocomplete ul li.selected {
6624 background-color: var(--inputbackgroundcolor);
6625}
6626.ui-autocomplete ul li {
6627 list-style-type:none;
6628 display:block;
6629 margin:0;
6630 padding:2px;
6631 height:18px;
6632 cursor:pointer;
6633 }
6634.ui-autocomplete-input { margin: 0; padding: 4px; }
6635
6636
6637/* ============================================================================== */
6638/* jQuery - jeditable for inline edit */
6639/* ============================================================================== */
6640
6641.editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
6642 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
6643 cursor: pointer;
6644 margin-right: 3px;
6645 margin-top: 3px;
6646}
6647
6648.editkey_datepicker {
6649 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
6650 margin-right: 3px;
6651 cursor: pointer;
6652 margin-right: 3px;
6653 margin-top: 3px;
6654}
6655
6656.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 {
6657 background: white;
6658 cursor: pointer;
6659}
6660
6661.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 {
6662 background: white;
6663 cursor: pointer;
6664}
6665
6666.viewval_hover {
6667 background: white;
6668}
6669
6670
6671/* ============================================================================== */
6672/* Admin Menu */
6673/* ============================================================================== */
6674
6675/* CSS for treeview */
6676.treeview ul { background-color: transparent !important; margin-top: 0 !important; /* margin-bottom: 4px !important; padding-top: 2px !important; */ }
6677.treeview li { background-color: transparent !important; padding: 0 0 0 20px !important; min-height: 30px; }
6678.treeview .hitarea { width: 20px !important; margin-left: -20px !important; margin-top: 3px; }
6679.treeview li table { min-height: 30px; }
6680.treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
6681
6682
6683/* ============================================================================== */
6684/* Show Excel tabs */
6685/* ============================================================================== */
6686
6687.table_data
6688{
6689 border-style:ridge;
6690 border:1px solid;
6691}
6692.tab_base
6693{
6694 background:#C5D0DD;
6695 font-weight:bold;
6696 border-style:ridge;
6697 border: 1px solid;
6698 cursor:pointer;
6699}
6700.table_sub_heading
6701{
6702 background:#CCCCCC;
6703 font-weight:bold;
6704 border-style:ridge;
6705 border: 1px solid;
6706}
6707.table_body
6708{
6709 background:#F0F0F0;
6710 font-weight:normal;
6711 font-family:sans-serif;
6712 border-style:ridge;
6713 border: 1px solid;
6714 border-spacing: 0px;
6715 border-collapse: collapse;
6716}
6717.tab_loaded
6718{
6719 background:#222222;
6720 color:white;
6721 font-weight:bold;
6722 border-style:groove;
6723 border: 1px solid;
6724 cursor:pointer;
6725}
6726
6727
6728/* ============================================================================== */
6729/* CSS for color picker */
6730/* ============================================================================== */
6731
6732div.jPicker table.jPicker {
6733 padding-bottom: 20px;
6734 padding-right: 20px;
6735 padding-left: 20px;
6736}
6737table.jPicker tr:first-of-type td {
6738 height: 2px !important;
6739 line-height: 2px;
6740}
6741.jPicker .Icon {
6742 margin-left: 2px;
6743}
6744.jPicker .Move {
6745 background: unset !important;
6746 border: unset !important;
6747}
6748.jPicker .Preview div span {
6749 border: unset !important;
6750 width: unset !important;
6751 height: 50% !important;
6752}
6753.jPicker div[class="Map"] {
6754 max-width: 150px;
6755}
6756table.jPicker {
6757 border-radius: 5px;
6758 border: 1px solid #bbb !important;
6759 background-color: var(--colorbackbody) !important;
6760 box-shadow: 0px 0px 10px #ccc;
6761 width: 300px !important;
6762}
6763span.jPicker {
6764 vertical-align: middle;
6765}
6766.jPicker .Grid {
6767 background-image: unset !important;
6768}
6769.jPicker .Grid span.QuickColor {
6770 border: unset !important;
6771}
6772.jPicker td.Radio {
6773 min-width: 34px;
6774}
6775.jPicker td.Text {
6776 white-space: nowrap;
6777}
6778.jPicker .Preview div {
6779 height: 36px !important;
6780}
6781.jPicker input[type="button"] {
6782 background: var(--butactionbg);
6783 color: var(--textbutaction);
6784 border-radius: 4px;
6785 border-collapse: collapse;
6786 border: none;
6787}
6788.jPicker tr.Hex td.Text input {
6789 width: 60px !important;
6790}
6791.jPicker td.Text input {
6792 min-width: 40px;
6793 padding: 8px;
6794 border: 1px solid #bbb !important;
6795 border-radius: 4px;
6796}
6797
6798A.color, A.color:active, A.color:visited {
6799 position : relative;
6800 display : block;
6801 text-decoration : none;
6802 width : 10px;
6803 height : 10px;
6804 line-height : 10px;
6805 margin : 0px;
6806 padding : 0px;
6807 border : 1px inset white;
6808}
6809A.color:hover {
6810 border : 1px outset white;
6811}
6812A.none, A.none:active, A.none:visited, A.none:hover {
6813 position : relative;
6814 display : block;
6815 text-decoration : none;
6816 width : 10px;
6817 height : 10px;
6818 line-height : 10px;
6819 margin : 0px;
6820 padding : 0px;
6821 cursor : default;
6822 border : 1px solid #b3c5cc;
6823}
6824.tblColor {
6825 display : none;
6826}
6827.tdColor {
6828 padding : 1px;
6829}
6830.tblContainer {
6831 background-color : #b3c5cc;
6832}
6833.tblGlobal {
6834 position : absolute;
6835 top : 0px;
6836 left : 0px;
6837 display : none;
6838 background-color : #b3c5cc;
6839 border : 2px outset;
6840}
6841.tdContainer {
6842 padding : 5px;
6843}
6844.tdDisplay {
6845 width : 50%;
6846 height : 20px;
6847 line-height : 20px;
6848 border : 1px outset white;
6849}
6850.tdDisplayTxt {
6851 width : 50%;
6852 height : 24px;
6853 line-height : 12px;
6854 font-family : <?php print $fontlist ?>;
6855 font-size : 8pt;
6856 color : black;
6857 text-align : center;
6858}
6859.btnColor {
6860 width : 100%;
6861 font-family : <?php print $fontlist ?>;
6862 font-size : 10pt;
6863 padding : 0px;
6864 margin : 0px;
6865}
6866.btnPalette {
6867 width : 100%;
6868 font-family : <?php print $fontlist ?>;
6869 font-size : 8pt;
6870 padding : 0px;
6871 margin : 0px;
6872}
6873.colorselector {
6874 border: solid 1px #ddd !important;
6875}
6876input.colorpicker {
6877 color: unset !important;
6878 background-color: unset !important;
6879}
6880
6881
6882/* ============================================================================== */
6883/* CKEditor */
6884/* ============================================================================== */
6885
6886textarea.dolibarr_mailings > div.cke body.cke_show_borders {
6887 margin: 0 !important;
6888}
6889/*body.cke_show_borders {
6890 margin: 5px !important;
6891}*/
6892.cke_source {
6893 margin: 5px !important;
6894}
6895.cke_dialog {
6896 border: 1px #bbb solid ! important;
6897}
6898/*.cke_editor table, .cke_editor tr, .cke_editor td
6899{
6900 border: 0px solid #FF0000 !important;
6901}
6902span.cke_skin_kama { padding: 0 !important; }*/
6903.cke_wrapper { padding: 4px !important; }
6904a.cke_dialog_ui_button
6905{
6906 font-family: <?php print $fontlist ?> !important;
6907 background-image: url(<?php echo $img_button ?>) !important;
6908 background-position: bottom !important;
6909 border: 1px solid #C0C0C0 !important;
6910 border-radius:0px 5px 0px 5px !important;
6911 box-shadow: 3px 3px 4px #DDD !important;
6912}
6913.cke_dialog_ui_hbox_first {
6914 vertical-align: middle !important;
6915}
6916.cke_combo_text {
6917 width: 40px !important;
6918}
6919/*
6920.cke_editable
6921{
6922 line-height: 1.4 !important;
6923 margin: 6px !important;
6924}
6925*/
6926a.cke_dialog_ui_button_ok span {
6927 text-shadow: none !important;
6928 color: #333 !important;
6929}
6930a.cke_button, a.cke_combo_button {
6931 height: 18px !important;
6932}
6933div.cke_notifications_area .cke_notification_warning {
6934 visibility: hidden;
6935}
6936
6937.cke.cke_reset {
6938 margin-top: 8px;
6939 margin-bottom: 8px;
6940}
6941
6942/* CSS to round border */
6943.cke.cke_reset, .cke_inner.cke_reset, .cke_top.cke_reset_all {
6944 border-top-left-radius: <?php echo $borderradius; ?>px;
6945 border-top-right-radius: <?php echo $borderradius; ?>px;
6946}
6947.cke.cke_reset, .cke_inner.cke_reset, .cke_contents.cke_reset {
6948 border-bottom-left-radius: <?php echo $borderradius; ?>px;
6949 border-bottom-right-radius: <?php echo $borderradius; ?>px;
6950}
6951
6952/* CSS To hide the picto menu on smartphone, except when maximize */
6953@media only screen and (max-width: 768px)
6954{
6955 .cke_inner:not(.cke_maximized) .cke_toolbar_separator,
6956 .cke_inner:not(.cke_maximized) .cke_combo,
6957 .cke_inner:not(.cke_maximized) .cke_button:not(.cke_button__maximize) {
6958 display: none;
6959 }
6960}
6961
6962
6963/* ============================================================================== */
6964/* ACE editor */
6965/* ============================================================================== */
6966.ace_editor {
6967 border: 1px solid #ddd;
6968 margin: 0;
6969}
6970.aceeditorstatusbar {
6971 margin: 0;
6972 padding: 0;
6973 padding-<?php echo $left; ?>: 10px;
6974 left: 0;
6975 right: 0;
6976 bottom: 0;
6977 background-color: #ebebeb;
6978 height: 2.2em;
6979 line-height: 2.2em;
6980}
6981.ace_status-indicator {
6982 color: gray;
6983 position: relative;
6984 right: 0;
6985 border-<?php echo $left; ?>: 1px solid;
6986 padding-<?php echo $left; ?>: 10px;
6987}
6988pre#editfilecontentaceeditorid {
6989 margin-top: 5px;
6990}
6991
6992
6993/* ============================================================================== */
6994/* File upload */
6995/* ============================================================================== */
6996
6997.template-upload {
6998 height: 72px !important;
6999}
7000
7001
7002/* ============================================================================== */
7003/* Custom reports */
7004/* ============================================================================== */
7005
7006.customreportsoutput, .customreportsoutputnotdata {
7007 padding-top: 20px;
7008}
7009.customreportsoutputnotdata {
7010 text-align: center;
7011}
7012
7013
7014/* ============================================================================== */
7015/* Holiday */
7016/* ============================================================================== */
7017
7018#types .btn {
7019 cursor: pointer;
7020}
7021
7022#types .btn-primary {
7023 font-weight: bold;
7024}
7025
7026#types form {
7027 padding: 20px;
7028}
7029
7030#types label {
7031 display:inline-block;
7032 width:100px;
7033 margin-right: 20px;
7034 padding: 4px;
7035 text-align: right;
7036 vertical-align: top;
7037}
7038
7039#types input.text, #types textarea {
7040 width: 400px;
7041}
7042
7043#types textarea {
7044 height: 100px;
7045}
7046
7047
7048/* ============================================================================== */
7049/* Comments */
7050/* ============================================================================== */
7051
7052#comment div {
7053 box-sizing:border-box;
7054}
7055#comment .comment {
7056 border-radius:7px;
7057 margin-bottom:10px;
7058 overflow:hidden;
7059}
7060#comment .comment-table {
7061 display:table;
7062 height:100%;
7063}
7064#comment .comment-cell {
7065 display:table-cell;
7066}
7067#comment .comment-info {
7068 font-size:0.8em;
7069 border-right:1px solid #dedede;
7070 margin-right:10px;
7071 width:160px;
7072 text-align:center;
7073 background:rgba(255,255,255,0.5);
7074 vertical-align:middle;
7075 padding:10px 2px;
7076}
7077#comment .comment-info a {
7078 color:inherit;
7079}
7080#comment .comment-right {
7081 vertical-align:top;
7082}
7083#comment .comment-description {
7084 padding:10px;
7085 vertical-align:top;
7086}
7087#comment .comment-delete {
7088 width: 100px;
7089 text-align:center;
7090 vertical-align:middle;
7091}
7092#comment .comment-delete:hover {
7093 background:rgba(250,20,20,0.8);
7094}
7095#comment .comment-edit {
7096 width: 100px;
7097 text-align:center;
7098 vertical-align:middle;
7099}
7100#comment .comment-edit:hover {
7101 background:rgba(0,184,148,0.8);
7102}
7103#comment textarea {
7104 width: 100%;
7105}
7106
7107
7108
7109/* ============================================================================== */
7110/* JSGantt */
7111/* ============================================================================== */
7112
7113div.scroll2 {
7114 width: <?php print isset($_SESSION['dol_screenwidth']) ? max((int) $_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
7115}
7116
7117div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
7118 line-height: 2;
7119}
7120
7121.gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
7122 font-size: unset !important;
7123}
7124
7125div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
7126 font-size: unset !important;
7127 font-weight: normal !important;
7128 color: #000 !important;
7129}
7130div.gTaskInfo {
7131 background: #f0f0f0 !important;
7132}
7133.gtaskblue {
7134 background: rgb(108,152,185) !important;
7135}
7136.gtaskgreen {
7137 background: rgb(160,173,58) !important;
7138}
7139td.gtaskname {
7140 overflow: hidden;
7141 text-overflow: ellipsis;
7142}
7143td.gminorheadingwkend {
7144 color: #888 !important;
7145}
7146td.gminorheading {
7147 color: #666 !important;
7148}
7149.glistlbl, .glistgrid {
7150 width: 582px !important;
7151}
7152/*.gtaskname div, .gtaskname {
7153 min-width: 250px !important;
7154 max-width: 250px !important;
7155 width: 250px !important;
7156}*/
7157.gtaskname div, .gtaskname {
7158 min-width: 250px !important;
7159 max-width: 500px !important;
7160 width: unset !important;
7161}
7162.gpccomplete div, .gpccomplete {
7163 min-width: 40px !important;
7164 max-width: 40px !important;
7165 width: 40px !important;
7166}
7167td.gtaskheading.gstartdate, td.gtaskheading.genddate {
7168 white-space: break-spaces;
7169}
7170.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) {
7171 color: transparent !important;
7172 border-left: none;
7173 border-right: none;
7174 border-top: none;
7175}
7176
7177/* ============================================================================== */
7178/* jFileTree */
7179/* ============================================================================== */
7180
7181.ecmfiletree {
7182 width: 99%;
7183 height: 99%;
7184 padding-left: 2px;
7185 font-weight: normal;
7186}
7187
7188.fileview {
7189 width: 99%;
7190 height: 99%;
7191 background: #FFF;
7192 padding-left: 2px;
7193 padding-top: 4px;
7194 font-weight: normal;
7195}
7196
7197div.filedirelem {
7198 position: relative;
7199 display: block;
7200 text-decoration: none;
7201}
7202
7203ul.filedirelem {
7204 padding: 2px;
7205 margin: 0 5px 5px 5px;
7206}
7207ul.filedirelem li {
7208 list-style: none;
7209 padding: 2px;
7210 margin: 0 10px 20px 10px;
7211 width: 160px;
7212 height: 120px;
7213 text-align: center;
7214 display: block;
7215 float: <?php print $left; ?>;
7216 border: solid 1px #DDDDDD;
7217}
7218
7219ul.ecmjqft {
7220 line-height: 32px;
7221 padding: 0px;
7222 margin: 0px;
7223 font-weight: normal;
7224}
7225
7226ul.ecmjqft li {
7227 list-style: none;
7228 padding: 0px;
7229 padding-left: 20px;
7230 margin: 0px;
7231 white-space: nowrap;
7232 display: block;
7233}
7234
7235ul.ecmjqft a {
7236 line-height: 24px;
7237 vertical-align: middle;
7238 color: unset;
7239 padding: 0px 0px;
7240 font-weight:normal;
7241 display: inline-block !important;
7242}
7243ul.ecmjqft > a {
7244 width: calc(100% - 100px);
7245 overflow: hidden;
7246 white-space: break-spaces;
7247 word-break: break-all;
7248}
7249ul.ecmjqft a:active {
7250 font-weight: bold !important;
7251}
7252ul.ecmjqft a:hover {
7253 text-decoration: underline;
7254}
7255div.ecmjqft {
7256 vertical-align: middle;
7257 display: inline-block !important;
7258 text-align: <?php echo $right; ?>;
7259 float: <?php echo $right; ?>;
7260 right:4px;
7261 clear: both;
7262 height: 16px;
7263}
7264#ecm-layout-north {
7265 min-height: 40px;
7266}
7267#ecm-layout-north div.attachareaformuserfileecm {
7268 padding-bottom: 0px;
7269}
7270div#ecm-layout-west {
7271 width: 380px;
7272 vertical-align: top;
7273}
7274div#ecm-layout-center {
7275 width: calc(100% - 405px);
7276 vertical-align: top;
7277 float: <?php echo $right; ?>;
7278}
7279
7280.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; }
7281.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; }
7282.ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
7283
7284
7285/* ============================================================================== */
7286/* jNotify */
7287/* ============================================================================== */
7288
7289.jnotify-container {
7290 position: fixed !important;
7291<?php if (getDolGlobalString('MAIN_JQUERY_JNOTIFY_BOTTOM')) { ?>
7292 top: auto !important;
7293 bottom: 4px !important;
7294<?php } ?>
7295 text-align: center;
7296 min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
7297 width: auto;
7298 max-width: 1024px;
7299 padding-left: 10px !important;
7300 padding-right: 10px !important;
7301 padding-top: 10px !important;
7302 word-wrap: break-word;
7303 max-height: 320px;
7304}
7305.jnotify-container .jnotify-notification .jnotify-message {
7306 font-weight: normal;
7307 text-align: start;
7308 word-break: break-word;
7309}
7310.jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
7311 color: #a28918 !important;
7312}
7313.jnotify-container .jnotify-close {
7314 top: 4px !important;
7315 font-size: 1.6em !important;
7316}
7317
7318/* use or not ? */
7319div.jnotify-background {
7320 opacity : 0.95 !important;
7321 box-shadow: 2px 2px 4px #8888 !important;
7322}
7323
7324/* jnotify for the login page */
7325.bodylogin .jnotify-container {
7326 position: fixed;
7327 top: 0;
7328 left: 0;
7329 width: 100%;
7330 z-index: 100000;
7331 max-width: unset;
7332 padding-left: unset !important;
7333 padding-right: unset !important;
7334 padding-top: unset !important;
7335}
7336.bodylogin .jnotify-container .jnotify-notification {
7337 margin: unset !important;
7338}
7339.bodylogin .jnotify-container .jnotify-notification .jnotify-background {
7340 border-radius: unset !important;
7341}
7342.bodylogin .jnotify-container .jnotify-notification .jnotify-message {
7343 text-align: center;
7344 font-size: 1.1em;
7345 font-weight: bold;
7346}
7347
7348
7349/* ============================================================================== */
7350/* blockUI */
7351/* ============================================================================== */
7352
7353/*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
7354div.dolEventValid h1, div.dolEventValid h2 {
7355 color: #567b1b;
7356 background-color: #e3f0db;
7357 padding: 5px 5px 5px 5px;
7358 text-align: left;
7359}
7360div.dolEventError h1, div.dolEventError h2 {
7361 color: #a72947;
7362 background-color: #d79eac;
7363 padding: 5px 5px 5px 5px;
7364 text-align: left;
7365}
7366
7367/* ============================================================================== */
7368/* Maps */
7369/* ============================================================================== */
7370
7371.divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
7372}
7373
7374
7375/* ============================================================================== */
7376/* Datatable */
7377/* ============================================================================== */
7378
7379table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
7380 background: none !important;
7381}
7382.sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
7383.sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
7384.sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
7385.sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
7386.dataTables_paginate {
7387 margin-top: 8px;
7388}
7389.paginate_button_disabled {
7390 opacity: 1 !important;
7391 color: #888 !important;
7392 cursor: default !important;
7393}
7394.paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
7395{
7396 font-weight: normal;
7397}
7398.paginate_enabled_previous:hover, .paginate_enabled_next:hover
7399{
7400 text-decoration: underline !important;
7401}
7402.paginate_active
7403{
7404 text-decoration: underline !important;
7405}
7406.paginate_button
7407{
7408 font-weight: normal !important;
7409 text-decoration: none !important;
7410}
7411.paging_full_numbers {
7412 height: inherit !important;
7413}
7414.paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
7415 background-color: var(--colorbackbody) !important;
7416}
7417.paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
7418 background-color: var(--colorbackbody) !important;
7419 border-radius: inherit !important;
7420}
7421.paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
7422 background-color: var(--colorbackbody) !important;
7423}
7424.paginate_button, .paginate_active {
7425 border: 1px solid #ddd !important;
7426 padding: 6px 12px !important;
7427 margin-left: -1px !important;
7428 line-height: 1.42857143 !important;
7429 margin: 0 0 !important;
7430}
7431
7432/* For jquery plugin combobox */
7433/* Disable this. It breaks wrapping of boxes
7434.ui-corner-all { white-space: nowrap; } */
7435
7436.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
7437 opacity: .35;
7438 background-image: none;
7439}
7440
7441div.dataTables_length {
7442 float: right !important;
7443 padding-left: 8px;
7444}
7445div.dataTables_length select {
7446 background: #fff;
7447}
7448.dataTables_wrapper .dataTables_paginate {
7449 padding-top: 0px !important;
7450}
7451
7452
7453/* ============================================================================== */
7454/* Select2 */
7455/* ============================================================================== */
7456
7457.heightofcombo:not(.pageplusone) {
7458 height: 28px;
7459}
7460.select2-container .select2-selection--single {
7461 height: 28px;
7462}
7463
7464span.select2-selection--single.flat[aria-disabled="true"] span.select2-selection__rendered {
7465 opacity: 0.5;
7466}
7467
7468.select2-container--default .select2-results__option--highlighted[aria-selected] {
7469 background-color: var(--colorbackhmenu1);
7470 color: var(--colortextbackhmenu);
7471}
7472.select2-container--default .select2-results__option--highlighted[aria-selected] span {
7473 color: #fff !important;
7474}
7475
7476span.select2.select2-container.select2-container--default {
7477 text-align: initial;
7478 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7479 border-left: none;
7480 border-top: none;
7481 border-right: none;
7482 /*border-bottom: solid 1px var(--inputbordercolor);*/
7483 <?php } ?>
7484}
7485
7486input.select2-input {
7487 border-bottom: none ! important;
7488}
7489.select2-choice {
7490 border: none;
7491 border-bottom: solid 1px var(--inputbordercolor) !important; /* required to avoid to lose bottom line when focus is lost on select2. */
7492}
7493li.select2-selection__choice {
7494 white-space: break-spaces;
7495}
7496.select2-results .select2-highlighted.optionblue {
7497 color: #FFF !important;
7498}
7499.select2-container .select2-selection--multiple {
7500 min-height: 2em !important;
7501}
7502.tableforfield .select2-container .select2-selection--single {
7503 height: 28px;
7504}
7505
7506.select2-container--default .select2-selection--multiple .select2-selection__choice {
7507 border: none;
7508}
7509.select2-container--focus span.select2-selection.select2-selection--single {
7510 border-bottom: 1px solid var(--inputbordercolor) !important;
7511 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7512 border-bottom-left-radius: 0;
7513 border-bottom-right-radius: 0;
7514 <?php } ?>
7515}
7516
7517.blockvmenusearch .select2-container--default .select2-selection--single
7518{
7519 /* background-color: var(--colorbackvmenu1); */
7520}
7521.blockvmenubookmarks .select2-container--default .select2-selection--single
7522{
7523 background-color: var(--colorbackvmenu1);
7524}
7525.select2-container--default .select2-selection--single {
7526 background-color: var(--inputbackgroundcolor);
7527}
7528#blockvmenusearch .select2-container--default .select2-selection--single .select2-selection__placeholder {
7529 color: var(--colortextbackvmenu);
7530}
7531.select2-container--default .select2-selection--single .select2-selection__rendered {
7532 color: var(--colortext);
7533 /* background-color: var(--inputbackgroundcolor); */
7534}
7535.select2-default {
7536 color: #999 !important;
7537}
7538.select2-choice, .select2-container .select2-choice {
7539 border-bottom: solid 1px rgba(0,0,0,.4);
7540}
7541.select2-container .select2-choice > .select2-chosen {
7542 margin-right: 23px;
7543}
7544.select2-container .select2-choice .select2-arrow {
7545 border-radius: 0;
7546 background: transparent;
7547}
7548.select2-container-multi .select2-choices {
7549 background-image: none;
7550}
7551.select2-container .select2-choice {
7552 color: var(--colortext);
7553 border-radius: 0;
7554}
7555.selectoptiondisabledwhite {
7556 background: #FFFFFF !important;
7557}
7558.select2-arrow {
7559 border: none;
7560 border-left: none !important;
7561 background: none !important;
7562}
7563.select2-choice
7564{
7565 border-top: none !important;
7566 border-left: none !important;
7567 border-right: none !important;
7568}
7569.select2-drop.select2-drop-above {
7570 box-shadow: none !important;
7571}
7572.select2-container--open .select2-dropdown--above {
7573 border-bottom: solid 1px var(--inputbordercolor);
7574}
7575.select2-drop.select2-drop-above.select2-drop-active {
7576 border-top: 1px solid #ccc;
7577 border-bottom: solid 1px var(--inputbordercolor);
7578}
7579.select2-container--default .select2-selection--single:not(.selectwidget) {
7580 outline: none;
7581 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7582 border-top: none;
7583 border-left: none;
7584 border-right: none;
7585 border-radius: 3px;
7586 <?php } else { ?>
7587 border-radius: 5px;
7588 <?php } ?>
7589
7590 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor);
7591
7592 box-shadow: none !important;
7593}
7594.liste_titre .select2-container--default .select2-selection--single:not(.selectwidget),
7595.liste_titre .select2-container--default .select2-selection--multiple {
7596 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(--colorbacktitle1);
7597}
7598
7599
7600.select2-container--default .select2-selection--single.selectwidget,
7601.select2-container--default .select2-selection--single.selectwidget:hover,
7602.select2-container--default .select2-selection--single.selectwidget:focus {
7603 outline: none;
7604 border-top: none;
7605 border-left: none;
7606 border-right: none;
7607 border-bottom: solid 1px var(--inputbordercolor);
7608 border-radius: 0;
7609 box-shadow: none !important;
7610}
7611.select2-container--default .select2-selection--multiple {
7612 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor);
7613}
7614<?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7615.select2-container--focus .select2-container--default .select2-selection--single {
7616 border-bottom-left-radius: 0;
7617 border-bottom-right-radius: 0;
7618}
7619.select2-container--default.select2-container--focus .select2-selection--multiple {
7620 border-top: none;
7621 border-left: none;
7622 border-right: none;
7623 border-bottom-left-radius: 0;
7624 border-bottom-right-radius: 0;
7625}
7626.select2-container--default .select2-selection--multiple {
7627 border-top: none;
7628 border-left: none;
7629 border-right: none;
7630 border-radius: 3px;
7631}
7632<?php } ?>
7633.select2-container--default .select2-selection--multiple {
7634 background: var(--inputbackgroundcolor);
7635 line-height: normal;
7636}
7637.select2-container--default .select2-selection--multiple .select2-selection__rendered {
7638 line-height: 1.4em;
7639}
7640.select2-container--default .select2-selection--multiple .select2-selection__choice {
7641 background-color: #ddd;
7642 margin-top: 0.25em !important;
7643}
7644.select2-selection--multiple input.select2-search__field {
7645 border: none !important;
7646}
7647
7648.select2-search__field
7649{
7650 outline: none;
7651 border-top: none !important;
7652 border-left: none !important;
7653 border-right: none !important;
7654 border-bottom: solid 1px var(--inputbordercolor) !important;
7655 box-shadow: none !important;
7656 border-radius: 0 !important;
7657 /* color: black; */
7658}
7659.select2-container-active .select2-choice, .select2-container-active .select2-choices
7660{
7661 outline: none;
7662 border-top: none;
7663 border-left: none;
7664 border-bottom: none;
7665 box-shadow: none !important;
7666}
7667.select2-dropdown {
7668 /*background-color: var(--colorbackvmenu1);
7669 border: 1px solid var(--colorbackvmenu1); */
7670 box-shadow: 1px 2px 10px #8884;
7671 background-color: var(--colorbackbody);
7672 color: var(--colortext);
7673}
7674.select2-dropdown-open {
7675 background-color: var(--colorbackvmenu1);
7676}
7677.select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
7678{
7679 outline: none;
7680 border-top: none;
7681 border-left: none;
7682 border-bottom: none;
7683 box-shadow: none !important;
7684 background-color: var(--colorbackvmenu1);
7685}
7686.select2-disabled
7687{
7688 color: #888;
7689}
7690.select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
7691 border-radius: 0;
7692}
7693.select2-drop.select2-drop-above {
7694 border-radius: 0;
7695}
7696.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
7697 background-image: none;
7698 border-radius: 0 !important;
7699}
7700div.select2-drop-above
7701{
7702 background: var(--colorbackvmenu1);
7703 box-shadow: none !important;
7704}
7705.select2-drop-active
7706{
7707 border: 1px solid #ccc;
7708 padding-top: 4px;
7709}
7710.select2-search input {
7711 border: none;
7712}
7713a span.select2-chosen
7714{
7715 font-weight: normal !important;
7716}
7717.select2-container .select2-choice {
7718 background-image: none;
7719 /* line-height: 24px; */
7720}
7721.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
7722{
7723 background: var(--colorbackvmenu1);
7724}
7725.select2-results {
7726 max-height: 400px;
7727}
7728.select2-results__option {
7729 word-break: break-word;
7730 text-align: <?php echo $left; ?>;
7731}
7732.select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
7733 background-color: var(--colorbackvmenu1);
7734 background-image: none;
7735 border: none;
7736 cursor: default;
7737}
7738.select2-container-disabled .select2-choice .select2-arrow b {
7739 opacity: 0.4;
7740}
7741.select2-container-multi .select2-choices .select2-search-choice {
7742 margin-bottom: 3px;
7743}
7744.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
7745.select2-container-multi.select2-container-active .select2-choices
7746{
7747 border-bottom: 1px solid #ccc;
7748 border-right: none;
7749 border-top: none;
7750 border-left: none;
7751
7752}
7753.select2-container--default .select2-results>.select2-results__options{
7754 max-height: 400px;
7755}
7756
7757/* special case for some select2 component */
7758
7759.selecttype span.select2-dropdown.ui-dialog {
7760 min-width: 200px;
7761}
7762span#select2-taskid-container[title^='--'] {
7763 opacity: 0.3;
7764}
7765
7766/* Special case for the select2 add widget */
7767
7768#addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
7769 text-align: <?php echo $left; ?>;
7770 opacity: 0.4;
7771}
7772.select2-container--default .select2-selection--single .select2-selection__placeholder {
7773 color: var(--colortext);
7774 opacity: 0.4;
7775}
7776span#select2-boxbookmark-container, span#select2-boxcombo-container {
7777 text-align: <?php echo $left; ?>;
7778}
7779span#select2-boxbookmark-container {
7780 opacity: 0.4;
7781}
7782.select2-container .select2-selection--single .select2-selection__rendered {
7783 padding-left: 6px;
7784}
7785/* Style used before the select2 js is executed on boxcombo */
7786#boxbookmark.boxcombo, #boxcombo.boxcombo {
7787 text-align: left;
7788 opacity: 0.4;
7789 border-bottom: solid 1px rgba(0,0,0,.4) !important;
7790 height: 26px;
7791 line-height: 24px;
7792 padding: 0 0 2px 0;
7793 vertical-align: top;
7794}
7795
7796/* To emulate select 2 style */
7797.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
7798 padding: 3px 5px 3px 5px;
7799 margin: 0 0 2px 3px;
7800 position: relative;
7801 /* line-height: 1em; */
7802 color: #333;
7803 cursor: default;
7804 border: 1px solid #aaaaaa;
7805 border-radius: 3px;
7806 box-shadow: 0 0 2px var(--inputbackgroundcolor) inset, 0 1px 0 rgba(0, 0, 0, 0.05);
7807 background-clip: padding-box;
7808 -webkit-touch-callout: none;
7809 -webkit-user-select: none;
7810 -moz-user-select: none;
7811 -ms-user-select: none;
7812 user-select: none;
7813 background-color: var(--inputbackgroundcolor);
7814 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));
7815 background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7816 background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7817 background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7818}
7819.mytooltip .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
7820 padding: 1px 3px 1px 3px;
7821}
7822.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
7823 font-weight: normal;
7824}
7825.select2-container-multi-dolibarr .select2-choices-dolibarr li {
7826 float: <?php echo $left; ?>;
7827 list-style: none;
7828}
7829.select2-container-multi-dolibarr .select2-choices-dolibarr {
7830 height: auto !important;
7831 height: 1%;
7832 margin: 0;
7833 padding: 0 5px 0 0;
7834 position: relative;
7835 cursor: text;
7836 overflow: hidden;
7837}
7838.select2-results__option {
7839 padding: 8px;
7840}
7841span.select2-dropdown--below {
7842 margin-top: -1px;
7843 min-width: 100px;
7844}
7845span.select2-dropdown--above {
7846 margin-bottom: -1px;
7847 min-width: 100px;
7848}
7849
7850.parentonrightofpage {
7851 direction: rtl;
7852}
7853
7854select.multiselectononeline {
7855 padding: 0;
7856 vertical-align: middle;
7857 min-height: unset;
7858 height: 2.2em !important;
7859 opacity: 0;
7860 min-width: 50px;
7861 /* width: 1px !important; */
7862}
7863
7864@media only screen and (min-width: 768px)
7865{
7866 /* CSS to have the dropdown boxes larger that the input search area */
7867 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown.ui-dialog {
7868 min-width: 260px !important;
7869 padding: 8px;
7870 }
7871 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown--below:not(.onrightofpage),
7872 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown--above:not(.onrightofpage) {
7873 min-width: 260px !important;
7874 padding: 8px;
7875 }
7876 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
7877 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above {
7878 min-width: 140px !important;
7879 }
7880 .combolargeelem.select2-container.select2-container--open .select2-dropdown.ui-dialog {
7881 min-width: 320px !important;
7882 }
7883
7884 .select2-container--open .select2-dropdown--below {
7885 border-top: 1px solid var(--inputbordercolor);
7886 /* border-top: 1px solid #aaaaaa; */
7887 }
7888}
7889
7890/* must be after the other .select2-container.select2-container--open .select2-dropdown.ui-dialog */
7891.limit.select2-container.select2-container--open .select2-dropdown.ui-dialog {
7892 min-width: 100px !important;
7893}
7894
7895
7896/* ============================================================================== */
7897/* For categories */
7898/* ============================================================================== */
7899
7900.noborderoncategories {
7901 border: none !important;
7902 border-radius: 5px !important;
7903 box-shadow: none;
7904 box-shadow: none !important;
7905 margin-top: 1px !important;
7906 margin-bottom: 0 !important;
7907 margin-<?php echo $left ?>: 0px !important;
7908 margin-<?php echo $right ?>: 3px !important;
7909}
7910span.noborderoncategories a, li.noborderoncategories a {
7911 line-height: normal;
7912 /* vertical-align: top; */
7913}
7914span.noborderoncategories {
7915 padding: 3px 5px 3px 5px;
7916 display: inline-block;
7917}
7918.categtextwhite, .treeview .categtextwhite.hover {
7919 color: #fff !important;
7920}
7921.categtextblack {
7922 color: #000 !important;
7923}
7924
7925
7926/* ============================================================================== */
7927/* External lib multiselect with checkbox */
7928/* ============================================================================== */
7929
7930.multi-select-menu {
7931 z-index: 10;
7932}
7933
7934.multi-select-container {
7935 display: inline-block;
7936 position: relative;
7937}
7938
7939.multi-select-menu {
7940 position: absolute;
7941 left: 0;
7942 top: 0.8em;
7943 float: left;
7944 min-width: 100%;
7945 background: var(--inputbackgroundcolor);
7946 margin: 1em 0;
7947 padding: 0.4em 0;
7948 border: 1px solid #aaa;
7949 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
7950 display: none;
7951}
7952
7953div.multi-select-menu[role="menu"] {
7954 min-width: 220px !important;
7955}
7956
7957.multi-select-menu input {
7958 margin-right: 0.3em;
7959 /* vertical-align: 0.1em; */
7960}
7961
7962.multi-select-button {
7963 display: inline-block;
7964 max-width: 20em;
7965 white-space: nowrap;
7966 overflow: hidden;
7967 text-overflow: ellipsis;
7968 vertical-align: middle;
7969 background-color: var(--inputbackgroundcolor);
7970 cursor: default;
7971
7972 border: none;
7973 border-bottom: solid 1px var(--inputbordercolor);
7974 padding: 5px;
7975 padding-left: 6px;
7976 height: 17px;
7977 border-radius: 3px;
7978
7979 text-align: start;
7980}
7981.multi-select-button:focus {
7982 outline: none;
7983 border-bottom: 1px solid #666;
7984 border-bottom-left-radius: 0;
7985 border-bottom-right-radius: 0;
7986}
7987
7988.multi-select-button:after {
7989 content: "";
7990 display: inline-block;
7991 width: 0;
7992 height: 0;
7993 border-style: solid;
7994 border-width: 0.4em 0.3em 0em 0.3em;
7995 border-color: #888 transparent transparent transparent;
7996 margin-left: 0.4em;
7997 position: absolute;
7998 right: 10px;
7999 top: 12px;
8000}
8001
8002.multi-select-container--open .multi-select-menu { display: block; }
8003
8004.multi-select-container--open .multi-select-button:after {
8005 border-width: 0 0.4em 0.4em 0.4em;
8006 border-color: transparent transparent #888 transparent;
8007}
8008
8009.multi-select-menuitem {
8010 clear: both;
8011 float: left;
8012 padding-left: 10px;
8013}
8014label.multi-select-menuitem {
8015 line-height: 32px;
8016 text-align: start;
8017}
8018
8019
8020/* ============================================================================== */
8021/* Native multiselect with checkbox */
8022/* ============================================================================== */
8023
8024ul.ulselectedfields {
8025 z-index: 95; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
8026}
8027dl.dropdown {
8028 margin:0px;
8029 margin-left: 2px;
8030 margin-right: 2px;
8031 padding:0px;
8032 vertical-align: middle;
8033 display: inline-block;
8034}
8035.dropdown dd, .dropdown dt {
8036 margin:0px;
8037 padding:0px;
8038}
8039.dropdown ul {
8040 margin: -1px 0 0 0;
8041 text-align: <?php echo $left; ?>;
8042}
8043.dropdown dd {
8044 position:relative;
8045}
8046.dropdown dt a {
8047 display:block;
8048 overflow: hidden;
8049 border:0;
8050}
8051.dropdown dt a span, .multiSel span {
8052 cursor:pointer;
8053 display:inline-block;
8054 padding: 0 3px 2px 0;
8055}
8056.maxwidthsearch .dropdown dt a span, .multiSel span {
8057 padding: 3px 3px 2px 3px;
8058}
8059.dropdown span.value {
8060 display:none;
8061}
8062.dropdown dd ul {
8063 background-color: var(--inputbackgroundcolor);
8064 box-shadow: 1px 1px 10px #aaa;
8065 display:none;
8066 <?php echo $right; ?>:0px; /* pop is align on right */
8067 padding: 0 0 0 0;
8068 position:absolute;
8069 top:2px;
8070 list-style:none;
8071 max-height: 264px;
8072 overflow: auto;
8073 border-radius: 4px;
8074 z-index: 1;
8075}
8076.dropdown dd ul.selectedfieldsleft {
8077 <?php echo $right; ?>: auto;
8078}
8079.dropdown dd ul li {
8080 white-space: nowrap;
8081 font-weight: normal;
8082 padding: 7px 8px 7px 8px;
8083 /* color: var(--colortext); */
8084 color: var(--colortext);
8085}
8086.dropdown dd ul li:hover:not(.liinputsearch) {
8087 background: #eee;
8088}
8089.dropdown dd ul li input[type="checkbox"] {
8090 margin-<?php echo $right; ?>: 3px;
8091}
8092.dropdown dd ul li a, .dropdown dd ul li span {
8093 padding: 3px;
8094}
8095.dropdown dd ul li a {
8096 display: block;
8097}
8098.dropdown dd ul li span {
8099 color: #888;
8100}
8101/*.dropdown dd ul li a:hover {
8102 background-color: var(--inputbackgroundcolor);
8103}*/
8104dd.dropdowndd ul li {
8105 text-overflow: ellipsis;
8106 overflow: hidden;
8107 white-space: nowrap;
8108}
8109
8110/* ============================================================================== */
8111/* Kanban */
8112/* ============================================================================== */
8113
8114.info-box-label {
8115 max-width: 180px;
8116 overflow: hidden;
8117 text-overflow: ellipsis;
8118 white-space: nowrap;
8119}
8120
8121div.kanban.column div.ui-sortable-helper {
8122 transform: rotate(4deg);
8123}
8124
8125/* ============================================================================== */
8126/* Markdown rendering */
8127/* ============================================================================== */
8128
8129.imgmd {
8130 width: 90%;
8131}
8132.moduledesclong h1 {
8133 padding-top: 10px;
8134 padding-bottom: 20px;
8135}
8136
8137
8138/* ============================================================================== */
8139/* JMobile - Android */
8140/* ============================================================================== */
8141
8142.searchpage .tagtr .tagtd {
8143 padding-top: 5px;
8144 padding-bottom: 5px;
8145}
8146.searchpage .tagtr .tagtd .button {
8147 background: unset;
8148 border: unset;
8149}
8150.searchpage .searchform input {
8151 font-size: 1.15em;
8152 height: inherit;
8153}
8154.searchpage :focus-visible {
8155 outline: none;
8156}
8157
8158li.ui-li-divider .ui-link {
8159 color: #FFF !important;
8160}
8161.ui-btn {
8162 margin: 0 2px;
8163}
8164a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
8165 text-decoration: none !important;
8166}
8167.ui-body-c {
8168 background: #fff;
8169}
8170
8171.ui-btn-inner {
8172 min-width: .4em;
8173 padding-left: 6px;
8174 padding-right: 6px;
8175 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
8176 /* white-space: normal; */ /* Warning, enable this break the truncate feature */
8177}
8178.ui-btn-icon-right .ui-btn-inner {
8179 padding-right: 30px;
8180}
8181.ui-btn-icon-left .ui-btn-inner {
8182 padding-left: 30px;
8183}
8184.ui-select .ui-btn-icon-right .ui-btn-inner {
8185 padding-right: 30px;
8186}
8187.ui-select .ui-btn-icon-left .ui-btn-inner {
8188 padding-left: 30px;
8189}
8190.ui-select .ui-btn-icon-right .ui-icon {
8191 right: 8px;
8192}
8193.ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
8194 margin-top: -10px;
8195}
8196select {
8197 /* display: inline-block; */ /* We can't set this. This disable ability to make */
8198 overflow:hidden;
8199 white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
8200 text-overflow: ellipsis;
8201}
8202.fiche .ui-controlgroup {
8203 margin: 0px;
8204 padding-bottom: 0px;
8205}
8206div.ui-controlgroup-controls div.tabsElem
8207{
8208 margin-top: 2px;
8209}
8210div.ui-controlgroup-controls div.tabsElem a
8211{
8212 box-shadow: 0 -3px 6px rgba(0,0,0,.2);
8213}
8214div.ui-controlgroup-controls div.tabsElem a#active {
8215 box-shadow: 0 -3px 6px rgba(0,0,0,.3);
8216}
8217
8218a.tab span.ui-btn-inner
8219{
8220 border: none;
8221 padding: 0;
8222}
8223
8224.ui-link {
8225 color: var(--colortext);
8226}
8227.liste_titre .ui-link {
8228 color: var(--colortexttitle) !important;
8229}
8230
8231a.ui-link {
8232 word-wrap: break-word;
8233}
8234
8235/* force wrap possible onto field overflow does not works */
8236.formdoc .ui-btn-inner
8237{
8238 white-space: normal;
8239 overflow: hidden;
8240 text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
8241}
8242
8243/* Warning: setting this may make screen not being refreshed after a combo selection */
8244/*.ui-body-c {
8245 background: #fff;
8246}*/
8247
8248div.ui-radio, div.ui-checkbox
8249{
8250 display: inline-block;
8251 border-bottom: 0px !important;
8252}
8253.ui-checkbox input, .ui-radio input {
8254 height: auto;
8255 width: auto;
8256 margin: 4px;
8257 position: static;
8258}
8259div.ui-checkbox label+input, div.ui-radio label+input {
8260 position: absolute;
8261}
8262.ui-mobile fieldset
8263{
8264 padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
8265}
8266
8267ul.ulmenu {
8268 border-radius: 0;
8269}
8270
8271.ui-field-contain label.ui-input-text {
8272 vertical-align: middle !important;
8273}
8274.ui-mobile fieldset {
8275 border-bottom: none !important;
8276}
8277
8278/* Style for first level menu with jmobile */
8279.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
8280 padding: 1em 15px;
8281 display: block;
8282}
8283.ui-btn-up-c {
8284 font-weight: normal;
8285}
8286.ui-focus, .ui-btn:focus {
8287 box-shadow: none;
8288}
8289.ui-bar-b {
8290 /*border: 1px solid #888;*/
8291 border: none;
8292 background: none;
8293 text-shadow: none;
8294 color: var(--colortexttitlenotab) !important;
8295}
8296.ui-bar-b, .lilevel0 {
8297 background-repeat: repeat-x;
8298 border: none;
8299 background: none;
8300 text-shadow: none;
8301 color: var(--colortexttitlenotab) !important;
8302}
8303.alilevel0 {
8304 font-weight: normal !important;
8305}
8306
8307.ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
8308 border-bottom-width: 0px !important;
8309}
8310.alilevel0 {
8311 color: var(--colortexttitle) !important;
8312 background: var(--colorbackmobilemenu);
8313}
8314.ulmenu {
8315 box-shadow: none !important;
8316 border-bottom: 1px solid #ccc;
8317}
8318.ui-btn-icon-right {
8319 border-right: 1px solid #ccc !important;
8320}
8321.ui-body-c {
8322 border: 1px solid #ccc;
8323 text-shadow: none;
8324}
8325.ui-btn-up-c, .ui-btn-hover-c {
8326 /* border: 1px solid #ccc; */
8327 text-shadow: none;
8328}
8329.ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
8330 color: var(--colortextlink);
8331}
8332.ui-btn-up-c .vsmenudisabled {
8333 color: #<?php echo $colorshadowtitle; ?> !important;
8334 text-shadow: none !important;
8335}
8336div.tabsElem a.tab {
8337 background: transparent;
8338}
8339.alilevel1 {
8340 color: var(--colortexttitlenotab) !important;
8341}
8342.lilevel1 {
8343 border-top: 2px solid #444;
8344 background: #fff ! important;
8345}
8346.lilevel1 div div a {
8347 font-weight: bold !important;
8348}
8349.lilevel2
8350{
8351 padding-left: 22px;
8352 background: #fff ! important;
8353}
8354.lilevel3
8355{
8356 padding-left: 44px;
8357 background: #fff ! important;
8358 font-size: 0.9em;
8359}
8360.lilevel4
8361{
8362 padding-left: 66px;
8363 background: #fff ! important;
8364 font-size: 0.9em;
8365}
8366.lilevel5
8367{
8368 padding-left: 88px;
8369 background: #fff ! important;
8370 font-size: 0.9em;
8371}
8372
8373
8374
8375/* ============================================================================== */
8376/* POS */
8377/* ============================================================================== */
8378
8379.menu_choix1,.menu_choix2 {
8380 font-size: 1.4em;
8381 text-align: left;
8382 border: 1px solid #666;
8383 margin-right: 20px;
8384}
8385.menu_choix1 a, .menu_choix2 a {
8386 display: block;
8387 color: #fff;
8388 text-decoration: none;
8389 padding-top: 18px;
8390 padding-left: 10px;
8391 font-size: 14px;
8392 height: 38px;
8393}
8394.menu_choix1 a:hover,.menu_choix2 a:hover {
8395 color: #6d3f6d;
8396}
8397.menu li.menu_choix1 {
8398 padding-top: 6px;
8399 padding-right: 10px;
8400 padding-bottom: 2px;
8401}
8402.menu li.menu_choix2 {
8403 padding-top: 6px;
8404 padding-right: 10px;
8405 padding-bottom: 2px;
8406}
8407@media only screen and (max-width: 768px)
8408{
8409 .menu_choix1 a, .menu_choix2 a {
8410 background-size: 36px 36px;
8411 height: 30px;
8412 padding-left: 40px;
8413 }
8414 .menu li.menu_choix1, .menu li.menu_choix2 {
8415 padding-left: 4px;
8416 padding-right: 0;
8417 }
8418 .liste_articles {
8419 margin-right: 0 !important;
8420 }
8421}
8422
8423
8424/* ============================================================================== */
8425/* Public */
8426/* ============================================================================== */
8427
8428/* The theme for public pages */
8429.public_body {
8430 margin: 20px;
8431}
8432.public_border {
8433 border: 1px solid #888;
8434}
8435.publicnewmemberform div.tabBarWithBottom {
8436 border: 2px solid #e8e8e8;
8437 padding: 30px;
8438 border-radius: 8px;
8439 /* background-color: var(--colorbackgrey); */
8440 box-shadow: 2px 2px 10px #ddd;
8441}
8442
8443.publicnewmemberform #tablesubscribe {
8444 color: var(--colortextbackvmenu);
8445}
8446
8447@media only screen and (max-width: 768px)
8448{
8449 .publicnewmemberform div.tabBarWithBottom {
8450 padding: 10px;
8451 }
8452}
8453
8454
8455/* ============================================================================== */
8456/* Ticket module */
8457/* ============================================================================== */
8458
8459#KWwithajax ul {
8460 padding-left: 20px;
8461}
8462
8463.ticketpublictable td {
8464 height: 2.2em;
8465}
8466
8467.ticketpublicarea {
8468 margin-left: 15%;
8469 margin-right: 15%;
8470}
8471.publicnewticketform {
8472 /* margin-top: 25px !important; */
8473}
8474.ticketlargemargin {
8475 padding-left: 50px;
8476 padding-right: 50px;
8477 padding-top: 30px;
8478}
8479@media only screen and (max-width: 768px)
8480{
8481 .ticketlargemargin {
8482 padding-left: 5px; padding-right: 5px;
8483 padding-top: 10px;
8484 }
8485 .ticketpublicarea {
8486 margin-left: 10px;
8487 margin-right: 10px;
8488 }
8489}
8490
8491#cd-timeline {
8492 position: relative;
8493 padding: 2em 0;
8494 margin-bottom: 2em;
8495}
8496#cd-timeline::before {
8497 /* this is the vertical line */
8498 content: '';
8499 position: absolute;
8500 top: 0;
8501 left: 18px;
8502 height: 100%;
8503 width: 4px;
8504 background: #d7e4ed;
8505}
8506@media only screen and (min-width: 1170px) {
8507 #cd-timeline {
8508 margin-bottom: 3em;
8509 }
8510 #cd-timeline::before {
8511 left: 50%;
8512 margin-left: -2px;
8513 }
8514}
8515
8516.cd-timeline-block {
8517 position: relative;
8518 margin: 2em 0;
8519}
8520.cd-timeline-block:after {
8521 content: "";
8522 display: table;
8523 clear: both;
8524}
8525.cd-timeline-block:first-child {
8526 margin-top: 0;
8527}
8528.cd-timeline-block:last-child {
8529 margin-bottom: 0;
8530}
8531@media only screen and (min-width: 1170px) {
8532 .cd-timeline-block {
8533 margin: 4em 0;
8534 }
8535 .cd-timeline-block:first-child {
8536 margin-top: 0;
8537 }
8538 .cd-timeline-block:last-child {
8539 margin-bottom: 0;
8540 }
8541}
8542
8543.cd-timeline-img {
8544 position: absolute;
8545 top: 0;
8546 left: 0;
8547 width: 40px;
8548 height: 40px;
8549 border-radius: 50%;
8550 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);
8551 background: #d7e4ed;
8552}
8553.cd-timeline-img img {
8554 display: block;
8555 width: 24px;
8556 height: 24px;
8557 position: relative;
8558 left: 50%;
8559 top: 50%;
8560 margin-left: -12px;
8561 margin-top: -12px;
8562}
8563.cd-timeline-img.cd-picture {
8564 background: #75ce66;
8565}
8566.cd-timeline-img.cd-movie {
8567 background: #c03b44;
8568}
8569.cd-timeline-img.cd-location {
8570 background: #f0ca45;
8571}
8572@media only screen and (min-width: 1170px) {
8573 .cd-timeline-img {
8574 width: 60px;
8575 height: 60px;
8576 left: 50%;
8577 margin-left: -30px;
8578 /* Force Hardware Acceleration in WebKit */
8579 -webkit-transform: translateZ(0);
8580 -webkit-backface-visibility: hidden;
8581 }
8582 .cssanimations .cd-timeline-img.is-hidden {
8583 visibility: hidden;
8584 }
8585 .cssanimations .cd-timeline-img.bounce-in {
8586 visibility: visible;
8587 -webkit-animation: cd-bounce-1 0.6s;
8588 -moz-animation: cd-bounce-1 0.6s;
8589 animation: cd-bounce-1 0.6s;
8590 }
8591}
8592
8593@-webkit-keyframes cd-bounce-1 {
8594 0% {
8595 opacity: 0;
8596 -webkit-transform: scale(0.5);
8597 }
8598
8599 60% {
8600 opacity: 1;
8601 -webkit-transform: scale(1.2);
8602 }
8603
8604 100% {
8605 -webkit-transform: scale(1);
8606 }
8607}
8608@-moz-keyframes cd-bounce-1 {
8609 0% {
8610 opacity: 0;
8611 -moz-transform: scale(0.5);
8612 }
8613
8614 60% {
8615 opacity: 1;
8616 -moz-transform: scale(1.2);
8617 }
8618
8619 100% {
8620 -moz-transform: scale(1);
8621 }
8622}
8623@keyframes cd-bounce-1 {
8624 0% {
8625 opacity: 0;
8626 -webkit-transform: scale(0.5);
8627 -moz-transform: scale(0.5);
8628 -ms-transform: scale(0.5);
8629 -o-transform: scale(0.5);
8630 transform: scale(0.5);
8631 }
8632
8633 60% {
8634 opacity: 1;
8635 -webkit-transform: scale(1.2);
8636 -moz-transform: scale(1.2);
8637 -ms-transform: scale(1.2);
8638 -o-transform: scale(1.2);
8639 transform: scale(1.2);
8640 }
8641
8642 100% {
8643 -webkit-transform: scale(1);
8644 -moz-transform: scale(1);
8645 -ms-transform: scale(1);
8646 -o-transform: scale(1);
8647 transform: scale(1);
8648 }
8649}
8650.cd-timeline-content {
8651 position: relative;
8652 margin-left: 60px;
8653 background: white;
8654 border-radius: 0.25em;
8655 padding: 1em;
8656 background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8657 background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8658 background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8659 background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8660}
8661.cd-timeline-content:after {
8662 content: "";
8663 display: table;
8664 clear: both;
8665}
8666.cd-timeline-content h2 {
8667 color: #303e49;
8668}
8669.cd-timeline-content .cd-date {
8670 font-size: 13px;
8671 font-size: 0.8125rem;
8672}
8673.cd-timeline-content .cd-date {
8674 display: inline-block;
8675}
8676.cd-timeline-content p {
8677 margin: 1em 0;
8678 line-height: 1.6;
8679}
8680
8681.cd-timeline-content .cd-date {
8682 float: left;
8683 padding: .2em 0;
8684 opacity: .7;
8685}
8686.cd-timeline-content::before {
8687 content: '';
8688 position: absolute;
8689 top: 16px;
8690 right: 100%;
8691 height: 0;
8692 width: 0;
8693 border: 7px solid transparent;
8694 border-right: 7px solid white;
8695}
8696@media only screen and (min-width: 768px) {
8697 .cd-timeline-content h2 {
8698 font-size: 20px;
8699 font-size: 1.25rem;
8700 }
8701 .cd-timeline-content {
8702 font-size: 16px;
8703 font-size: 1rem;
8704 }
8705 .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
8706 font-size: 14px;
8707 font-size: 0.875rem;
8708 }
8709}
8710@media only screen and (min-width: 1170px) {
8711 .cd-timeline-content {
8712 margin-left: 0;
8713 padding: 1.6em;
8714 width: 43%;
8715 }
8716 .cd-timeline-content::before {
8717 top: 24px;
8718 left: 100%;
8719 border-color: transparent;
8720 border-left-color: white;
8721 }
8722 .cd-timeline-content .cd-read-more {
8723 float: left;
8724 }
8725 .cd-timeline-content .cd-date {
8726 position: absolute;
8727 width: 55%;
8728 left: 115%;
8729 top: 6px;
8730 font-size: 16px;
8731 font-size: 1rem;
8732 }
8733 .cd-timeline-block:nth-child(even) .cd-timeline-content {
8734 float: right;
8735 }
8736 .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
8737 top: 24px;
8738 left: auto;
8739 right: 100%;
8740 border-color: transparent;
8741 border-right-color: white;
8742 }
8743 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
8744 float: right;
8745 }
8746 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
8747 left: auto;
8748 right: 115%;
8749 text-align: right;
8750 }
8751
8752}
8753
8754
8755/* ============================================================================== */
8756/* CSS style for debugbar */
8757/* ============================================================================== */
8758
8759div.phpdebugbar * {
8760 font-weight: unset;
8761}
8762span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
8763 width: 250px !important;
8764}
8765.phpdebugbar-indicator span.phpdebugbar-tooltip {
8766 opacity: .95 !important;
8767}
8768a.phpdebugbar-tab.phpdebugbar-active {
8769 background-image: unset !important;
8770}
8771.phpdebugbar-fa-tags:before {
8772 content: "\f121";
8773 font-weight: 600 !important;
8774}
8775.phpdebugbar-fa-tasks:before {
8776 content: "\f550";
8777 font-weight: 600 !important;
8778}
8779.phpdebugbar-fa-tags, .phpdebugbar-fa-tasks, .phpdebugbar-indicator .fa {
8780 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
8781 font-weight: 600;
8782}
8783div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
8784div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
8785div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
8786div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
8787div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
8788div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
8789div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
8790div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
8791div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
8792div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
8793div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
8794div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
8795div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
8796div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
8797{
8798 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>" !important;
8799}
8800
8801/* ============================================================================== */
8802/* CSS style used for jCrop */
8803/* ============================================================================== */
8804
8805.jcrop-holder { background: unset !important; }
8806
8807
8808/* ============================================================================== */
8809/* CSS style used for jFlot */
8810/* ============================================================================== */
8811
8812.dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
8813 text-orientation: sideways;
8814 font-weight: 400;
8815 writing-mode: vertical-rl;
8816 white-space: nowrap;
8817}
8818
8819
8820/* ============================================================================== */
8821/* For dolUIBlock() feature */
8822/* ============================================================================== */
8823
8824#dol-block-ui {
8825 position: fixed;
8826 top: 0;
8827 left: 0;
8828 width: 100%;
8829 height: 100%;
8830 background-color: rgba(0, 0, 0, 0.6);
8831 z-index: 9999;
8832 display: flex;
8833 justify-content: center;
8834 align-items: center;
8835}
8836
8837#dol-block-ui .message {
8838 padding: 15px 20px 15px 50px;
8839 color: #fff;
8840 background: #000 no-repeat 10px center;
8841 border-radius: 10px;
8842 font-family: sans-serif;
8843}
8844
8845
8846/* ============================================================================== */
8847/* For copy-paste feature */
8848/* ============================================================================== */
8849
8850span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
8851 display: inline-block;
8852}
8853span.clipboardCPValue.hidewithsize {
8854 width: 0 !important;
8855 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 */
8856 color: transparent;
8857 white-space: nowrap;
8858 overflow-x: hidden;
8859 vertical-align: middle;
8860}
8861div.clipboardCPValue.hidewithsize {
8862 width: 0 !important;
8863 display: none;
8864 color: transparent;
8865 white-space: nowrap;
8866}
8867
8868.clipboardCPShowOnHover{
8869 cursor: copy;
8870}
8871
8872.clipboardCPShowOnHover .clipboardCPButton {
8873 display: none;
8874}
8875
8876/* To make a div popup, we must use a position absolute inside a position relative */
8877.clipboardCPText {
8878 position: relative;
8879}
8880.clipboardCPTextDivInside {
8881 position: absolute;
8882 background: #f8f8fa;
8883 color: #888;
8884 border: 1px solid #E0E0E0;
8885 opacity: 1;
8886 z-index: 20;
8887 padding: 2px;
8888 padding-left: 5px;
8889 padding-right: 5px;
8890 top: -5px;
8891 left: 0px;
8892 border-radius: 5px;
8893 white-space: nowrap;
8894 font-size: 0.9em;
8895 box-shadow: 1px 1px 6px #ddd;
8896}
8897
8898
8899/* ============================================================================== */
8900/* CSS style used for HRM skill/rank (may be we can remove this) */
8901/* ============================================================================== */
8902
8903.radio_js_bloc_number {
8904 display:inline-block;
8905 padding:5px 7px;
8906 min-width:20px;
8907 border-radius:3px;
8908 border:1px solid #ccc;
8909 background:#eee;
8910 color:#555;
8911 cursor:pointer;
8912 margin:2px;
8913 text-align:center;
8914}
8915.radio_js_bloc_number.selected {
8916 transition:0.2s ease background;
8917 background:#888;
8918 color:#fff;
8919 border-color:#555;
8920}
8921
8922
8923/* ============================================================================== */
8924/* Virtual business card */
8925/* ============================================================================== */
8926
8927.virtualcard-div {
8928 overflow: hidden;
8929 vertical-align: top;
8930 /* background: #aaa; */
8931}
8932
8933#virtualcard-iframe {
8934 border: 1px solid #aaa;
8935 vertical-align: top;
8936 width: 10%;
8937 min-width: 100px;
8938 border-radius: 10px;
8939 aspect-ratio: 0.6;
8940 box-shadow: 0 0 5px #bbb;
8941}
8942.nopointervent {
8943 pointer-events: none;
8944}
8945.scalepreview {
8946 /* transform: scale(0.5); */
8947 zoom: 0.20;
8948 /* filter: blur(4px); */
8949}
8950
8951/* ============================================================================== */
8952/* For drag and drop file feature */
8953/* ============================================================================== */
8954
8955.cssDragDropArea{
8956 position: relative;
8957}
8958.highlightDragDropArea{
8959 border: 2px #000 dashed !important;
8960 background-color: #eee !important;
8961}
8962.highlightDragDropArea * :not(.dragDropAreaMessage *){
8963 opacity:0.8;
8964 filter: blur(1px) grayscale(90%);
8965}
8966.dragDropAreaMessage {
8967 position: absolute;
8968 left:50%;
8969 top:50%;
8970 transform: translate(-50%, -50%);
8971 text-align:center;
8972 font-size: 2em;
8973}
8974
8975/* ============================================================================== */
8976/* CSS style used for color jPicker */
8977/* ============================================================================== */
8978
8979table.jPicker {
8980 border: 1px solid #bbb !important;
8981}
8982
8983/* ============================================================================== */
8984/* CSS style used for survey */
8985/* ============================================================================== */
8986
8987.opensurveydescription * {
8988 width: 100%;
8989}
8990.imgopensurveywizard
8991{
8992 padding: 0 4px 0 4px;
8993}
8994.survey_borders {
8995 margin-left: 100px;
8996 margin-right: 100px;
8997 text-align: start;
8998}
8999.survey_intro {
9000 background-color: #f0f0f0;
9001 padding: 15px;
9002 border-radius: 8px;
9003}
9004.survey_borders .resultats .nom {
9005 text-align: <?php echo $left; ?>
9006}
9007.survey_borders .resultats .sujet, .survey_borders .resultats .jour {
9008 min-width: 100px;
9009}
9010
9011/* ============================================================================== */
9012/* CSS style used for BookCal */
9013/* ============================================================================== */
9014
9015.center.bookingtab {
9016 margin-left: 20px;
9017}
9018#bookinghoursection {
9019 width: 145px;
9020 height: 320px;
9021 overflow-y: auto;
9022 overflow-x: hidden;
9023 text-align: left;
9024}
9025.bookcalform {
9026 border: 1px solid #000;
9027 padding: 20px;
9028 border-radius: 5px;
9029 margin-bottom: 15px;
9030 box-shadow: 10px 10px 10px #ddd;
9031}
9032.bookcalsearch {
9033 padding-bottom: 10px;
9034}
9035
9036.topmenuimage {
9037 background-size: 22px auto;
9038 top: 2px;
9039}
9040
9041
9042/* ============================================================================== */
9043/* CSS style used for AI */
9044/* ============================================================================== */
9045
9046.ai_dropdown {
9047 min-width: 400px !important;
9048 padding: 12px;
9049 left: inherit !important;
9050 top: inherit !important;
9051 border-radius: <?php echo $borderradius; ?>px !important;
9052}
9053.ai_feature {
9054 background-color: var(--colorbackgrey);
9055 padding: 10px;
9056 padding-bottom: 6px;
9057 padding-top: 6px;
9058 border-radius: <?php echo $borderradius; ?>px;
9059}
9060
9061
9062/* ============================================================================== */
9063/* CSS style used for small screen */
9064/* ============================================================================== */
9065
9066/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?> */
9067/* rule to reduce top menu - 1st reduction: Reduce width of top menu icons */
9068@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px) /* reduction 1 */
9069{
9070 div.tmenucenter {
9071 width: <?php echo round(52); ?>px; /* size of viewport */
9072 white-space: nowrap;
9073 overflow: hidden;
9074 text-overflow: ellipsis;
9075
9076 color: var(--colortextbackhmenu);
9077 /* color: var(--colorbackhmenu1); */
9078 }
9079 .tmenuimage {
9080 color: var(--colortextbackhmenu);
9081 }
9082
9083 .mainmenuaspan {
9084 font-size: 0.9em;
9085 padding-right: 0;
9086 padding-left: 0;
9087 }
9088 .topmenuimage {
9089 background-size: 22px auto;
9090 margin-top: 0px;
9091 }
9092
9093 li.tmenu, li.tmenusel {
9094 min-width: 36px;
9095 }
9096 div.mainmenu {
9097 min-width: auto;
9098 }
9099 div.tmenuleft {
9100 display: none;
9101 }
9102
9103 .dropdown dd ul {
9104 max-width: 370px;
9105 }
9106}
9107/* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again (<?php echo $nbtopmenuentries ?> menu entries) */
9108@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC2', round($nbtopmenuentries * 69, 0) + 130); ?>px) /* reduction 2 */
9109{
9110 li.tmenucompanylogo {
9111 display: none;
9112 }
9113 div.mainmenu {
9114 height: 23px;
9115 }
9116 div.tmenucenter {
9117 max-width: <?php echo max(26, ceil(300 / ($nbtopmenuentriesreal + 2))); ?>px; /* size of viewport */
9118 text-overflow: clip;
9119 }
9120 span.mainmenuaspan {
9121 margin-left: 1px;
9122 }
9123 .mainmenuaspan {
9124 font-size: 0.9em;
9125 padding-left: 0;
9126 padding-right: 0;
9127 }
9128 .topmenuimage {
9129 background-size: 20px auto;
9130 margin-top: 2px;
9131 left: 4px;
9132 }
9133
9134 .dropdown dd ul {
9135 max-width: 300px;
9136 }
9137}
9138/* rule to reduce top menu - 3rd reduction: The menu for user is now on left */
9139<?php if (!getDolUserInt('MAIN_OPTIMIZEFORTEXTBROWSER')) { ?>
9140@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3', round($nbtopmenuentries * 47, 0) + 130); ?>px) /* reduction 3 */
9141{
9142 <?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 2) { ?>
9143 .tmenudiv:hover .tmenuimage:not(.menuhider), .tmenudiv:hover .tmenuimage:not(.menuhider):before {
9144 margin-top: 8px !important;
9145 }
9146 <?php } ?>
9147
9148 .side-nav {
9149 z-index: 200;
9150 background: var(--colorbackvmenu1);
9151 padding-top: 75px;
9152 /*position: relative;
9153 top: 75px;*/
9154 width: 245px; /* must be same than div.login_block */
9155 box-shadow: none;
9156 }
9157 #id-left {
9158 z-index: 201;
9159 background: var(--colorbackvmenu1);
9160 }
9161 #id-right { /* This must stay id-right and not be replaced with echo $right */
9162 padding-top: 8px;
9163 }
9164
9165 .login_vertical_align {
9166 padding-left: 20px;
9167 padding-right: 20px;
9168 }
9169
9170 /* Reduce login top right info */
9171 .help {
9172 <?php if ($disableimages) { ?>
9173 display: none;
9174 <?php } ?>
9175 }
9176 div#tmenu_tooltip {
9177 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
9178 display:none;
9179 <?php } else { ?>
9180 padding-<?php echo $right; ?>: 0;
9181 <?php } ?>
9182 }
9183 div.login_block_user {
9184 min-width: 0;
9185 width: 100%;
9186 }
9187 div.login_block_tools, div.login_block_user {
9188 line-height: unset;
9189 height: unset;
9190 }
9191 div.login_block a {
9192 color: unset;
9193 }
9194 div.login_block {
9195 /* Style when phone layout or when using the menuhider */
9196 padding-top: 10px;
9197 padding-left: 20px;
9198 padding-right: 20px;
9199 padding-bottom: 16px;
9200 top: auto;
9201 left: 0 !important;
9202 text-align: center;
9203 vertical-align: middle;
9204
9205 background: var(--colorbackvmenu1);
9206
9207 height: 50px;
9208
9209 z-index: 202;
9210 min-width: 245px; /* must be width of menu + padding + padding of sidenav */
9211 max-width: 245px; /* must be width of menu + padding + padding of sidenav */
9212 width: 245px; /* must be width of menu + padding + padding of sidenav */
9213 }
9214 .loginbuttonexternal {
9215 width: 260px;
9216 }
9217
9218 .side-nav-vert .user-menu .dropdown-menu,
9219 #topmenu-global-search-dropdown .dropdown-menu, #topmenu-bookmark-dropdown .dropdown-menu, #topmenu-quickadd-dropdown .dropdown-menu {
9220 width: 285px !important; /* must be width of menu + padding + padding of sidenav */
9221 min-width: unset !important;
9222 }
9223
9224 div.login_block_other {
9225 margin-right: unset;
9226 }
9227 div.login_block_tools, div.login_block_user, div.login_block_other { clear: both; }
9228
9229 .atoplogin, .atoplogin:hover
9230 {
9231 color:unset !important;
9232 padding-left: 4px;
9233 padding-right: 4px;
9234 }
9235 .login_block_elem {
9236 padding: 0 !important;
9237 height: 38px;
9238 }
9239 li.tmenu, li.tmenusel {
9240 min-width: 32px;
9241 }
9242 div.mainmenu {
9243 height: 23px;
9244 }
9245 div.tmenucenter {
9246 text-overflow: clip;
9247 }
9248 .topmenuimage {
9249 background-size: 20px auto;
9250 margin-top: 2px !important;
9251 left: 2px;
9252 }
9253 div.mainmenu {
9254 min-width: 20px;
9255 }
9256
9257 .titlefield {
9258 width: auto !important; /* We want to ignore the 30%, try to use more if you can */
9259 }
9260 .tableforfield>tr>td:first-child, .tableforfield>tbody>tr>td:first-child, div.tableforfield div.tagtr>div.tagtd:first-of-type {
9261 /* max-width: 100px; */ /* but no more than 100px */
9262 }
9263 .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
9264 word-break: break-word;
9265 }
9266 .badge {
9267 min-width: auto;
9268 font-size: 0.94em;
9269 }
9270
9271 table.table-fiche-title .col-title div.titre{
9272 line-height: unset;
9273 }
9274
9275 input#addedfile {
9276 width: 95%;
9277 }
9278
9279 #divbodywebsite {
9280 word-break: break-word;
9281 }
9282
9283 .websiteselectionsection {
9284 border-left: unset;
9285 border-right: unset;
9286 padding-left: 5px;
9287 }
9288
9289 .a-mesure, .a-mesure-disabled {
9290 display: block;
9291 margin-bottom: 6px;
9292 padding-left: 12px;
9293 padding-right: 12px;
9294 }
9295
9296 .a-mesure, .a-mesure-disabled {
9297 text-align: center;
9298 }
9299
9300
9301 .underbanner.underbanner-before-box {
9302 border-bottom: none;
9303 }
9304
9305 .valuefield.fieldname_type span.badgeneutral {
9306 margin-top: 5px;
9307 display: inline-block;
9308 }
9309
9310 tr.trextrafieldseparator td, tr.trextrafields_collapse_last td {
9311 /* border-bottom: 2px solid var(--colorbackhmenu1) !important; */
9312 border-bottom: 1px solid var(--colortopbordertitle1) !important;
9313 }
9314
9315 div#card-errors {
9316 max-width: unset;
9317 }
9318
9319 #dolpaymenttable {
9320 padding: 5px;
9321 }
9322
9323 .lilevel1 span.paddingright {
9324 padding-right: 4px;
9325 }
9326
9327 img.userphotopublicvcard {
9328 left: unset;
9329 top: unset;
9330 margin-top: 30px;
9331 }
9332}
9333<?php } ?>
9334
9335@media only screen and (max-width: 1024px)
9336{
9337 div#ecm-layout-west {
9338 width: calc(100% - 4px);
9339 clear: both;
9340 }
9341 div#ecm-layout-center {
9342 width: 100%;
9343 }
9344}
9345
9346@media only screen and (max-width: 768px)
9347{
9348 body {
9349 font-size: 0.91em;
9350 }
9351 .pictofixedwidth {
9352 text-align: start;
9353 width: 1.5em;
9354 /* padding-right: 0; */
9355 }
9356 table.titlemodulehelp tr td img.widthpictotitle {
9357 width: 1.5em;
9358 }
9359
9360 .ai_dropdown{
9361 min-width : 280px !important;
9362 width: calc(100% - 50px);
9363 }
9364
9365 .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
9366
9367 .fiche > .listactionsfilter .table-fiche-title .col-title .titre {
9368 display: none;
9369 }
9370
9371 .navselectiondate {
9372 width: 220px;
9373 }
9374 .maxwidthdate {
9375 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 */
9376 }
9377
9378 #tooltip {
9379 position: absolute;
9380 width: <?php print dol_size(350, 'width'); ?>px;
9381 }
9382
9383 div.tabBar {
9384 padding-left: 0px;
9385 padding-right: 0px;
9386 border-radius: 0px;
9387 border-right: none;
9388 border-left: none;
9389 }
9390
9391 td.widthpictotitle { width: 30px; }
9392
9393 .logopublicpayment #dolpaymentlogo {
9394 max-width: 260px;
9395 }
9396 #tablepublicpayment {
9397 width: auto !important;
9398 /* border: none !important; */
9399 }
9400 .poweredbypublicpayment {
9401 float: unset !important;
9402 top: unset !important;
9403 /* bottom: 8px; */
9404 right: -10px !important;
9405 position: relative !important;
9406 }
9407 .poweredbyimg {
9408 width: 48px;
9409 }
9410
9411 .survey_borders {
9412 margin-left: 10px;
9413 margin-right: 10px;
9414 text-align: start;
9415 }
9416
9417 .bookcalform {
9418 padding: 8px;
9419 box-shadow: none;
9420 }
9421 .bookcalform.boxtable .minwidth75 {
9422 min-width: auto;
9423 }
9424 .center.bookingtab {
9425 margin-left: 6px;
9426 }
9427 #bookinghoursection {
9428 font-size: small;
9429 width: 122px;
9430 }
9431
9432 #dolpublictable {
9433 padding: 14px;
9434 }
9435
9436 input[type=checkbox], input[type=radio] {
9437 margin: 0 5px 0 1px;
9438 transform: scale(1.1);
9439 }
9440
9441 pre {
9442 white-space: normal;
9443 word-break: break-word;
9444 }
9445}
9446
9447@media only screen and (max-width: 320px)
9448{
9449 .dropdown dd ul {
9450 max-width: 270px; /* must always be 50 slower than width */
9451 }
9452}
9453@media only screen and (max-width: 300px)
9454{
9455 .dropdown dd ul {
9456 max-width: 250px;
9457 }
9458}
9459@media only screen and (max-width: 280px)
9460{
9461 .dropdown dd ul {
9462 max-width: 230px;
9463 }
9464}
9465
9466
9467/* Test to have 2 columns for invoice type selection */
9468/*
9469@media only screen and (min-width: 1024px)
9470{
9471 .listofinvoicetypetable {
9472 display: inline-grid;
9473 grid-template-columns: repeat(2, 1fr);
9474 gap: 10px
9475 }
9476 .listofinvoicetype {
9477 display: block;
9478 }
9479}
9480*/
9481
9482
9484:where(#fourn-invoices-paiments-list,#customer-invoices-paiments-list)[data-display-all-invoices="1"] tr[data-row-type="2"]{
9485 font-weight: bold;
9486}
9487
9488<?php
9489if (getDolUserString('MAIN_OPTIMIZEFORTEXTBROWSER')) {
9490 // Set a max height on multiselect when using multiselect
9491 ?>
9492 select[multiple] {
9493 height: 42px;
9494 }
9495 <?php
9496}
9497
9498
9499include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
9500include dol_buildpath($path.'/theme/'.$theme.'/emaillayout.inc.php', 0);
9501include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
9502include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
9503include dol_buildpath($path.'/theme/'.$theme.'/timeline.inc.php', 0);
9504include dol_buildpath($path.'/theme/'.$theme.'/search-input.inc.css', 0);
9505include dol_buildpath($path.'/theme/'.$theme.'/tooltips.inc.css', 0);
9506
9507
9508// Add custom CSS if defined
9509print getDolGlobalString('THEME_CUSTOM_CSS');
9510
9511?>
9512
9513/* Remove text selection - Intuitive table selection */
9514.row-with-select[data-is-last-changed] * {
9515 -webkit-touch-callout: none; /* iOS Safari */
9516 -webkit-user-select: none; /* Safari */
9517 -khtml-user-select: none; /* Konqueror HTML */
9518 -moz-user-select: none; /* Old versions of Firefox */
9519 -ms-user-select: none; /* Internet Explorer/Edge */
9520 user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
9521}
9522
9523div.extra_inline_chkbxlst, div.extra_inline_checkbox {
9524 min-width:150px;
9525}
9526
9527/* Must be at end */
9528div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
9529 color: unset;
9530}
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:466
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:464
$conf db user
Active Directory does not allow anonymous connections.
Definition repair.php:129
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:125
$conf db name
Only used if Module[ID]Name translation string is not found.
Definition repair.php:128