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