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