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