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-2026 Frédéric France <frederic.france@free.fr>
4 * Copyright (C) 2024-2026 MDW <mdeweerd@users.noreply.github.com>
5 * Copyright (C) 2025 Marc de Lima Lucio <marc-dll@user.noreply.github.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
25if (!defined('ISLOADEDBYSTEELSHEET')) {
26 die('Must be called by steelsheet');
27}
28
29$leftmenuwidth = 240;
30
31// Variables defined in style.css.php (includes this file).
97'
98@phan-var-force int<0,1> $dol_hide_topmenu
99@phan-var-force int<0,1> $dol_hide_leftmenu
100@phan-var-force int<0,1> $dol_optimize_smallscreen
101@phan-var-force int<0,1> $dol_no_mouse_hover
102@phan-var-force string $badgeDanger
103@phan-var-force string $badgeWarning
104@phan-var-force string $borderwidth
105@phan-var-force string $colorbackbody
106@phan-var-force string $colorbackhmenu1
107@phan-var-force string $colorbacklinebreak
108@phan-var-force string $colorbacklineimpair1
109@phan-var-force string $colorbacklineimpair2
110@phan-var-force string $colorbacklinepair1
111@phan-var-force string $colorbacklinepair2
112@phan-var-force string $colorbacklinepairchecked
113@phan-var-force string $colorbacklinepairhover
114@phan-var-force string $colorbacktabactive
115@phan-var-force string $colorbacktabcard1
116@phan-var-force string $colorbacktitle1
117@phan-var-force string $colorbackvmenu1
118@phan-var-force string $colorblind_deuteranopes_textSuccess
119@phan-var-force string $colorblind_deuteranopes_textWarning
120@phan-var-force string $colorshadowtitle
121@phan-var-force string $colortext
122@phan-var-force string $colortextbackhmenu
123@phan-var-force string $colortextbacktab
124@phan-var-force string $colortextbackvmenu
125@phan-var-force string $colortextlink
126@phan-var-force string $colortexttitle
127@phan-var-force string $colortexttitlelink
128@phan-var-force string $colortexttitlenotab
129@phan-var-force string $colortexttitlenotab2
130@phan-var-force string $colortopbordertitle1
131@phan-var-force int<0,1> $disableimages
132@phan-var-force int<0,1> $dol_hide_leftmenu
133@phan-var-force int<0,1> $dol_hide_topmenu
134@phan-var-force int<0,1> $dol_optimize_smallscreen
135@phan-var-force string $fontlist
136@phan-var-force string $fontsize
137@phan-var-force int $heightmenu
138@phan-var-force string $heightrow
139@phan-var-force string $img_button
140@phan-var-force string $left
141@phan-var-force string $maxwidthloginblock
142@phan-var-force int $minwidthtmenu
143@phan-var-force int $nbtopmenuentries
144@phan-var-force int $nbtopmenuentriesreal
145@phan-var-force string $path
146@phan-var-force string $theme
147@phan-var-force string $left
148@phan-var-force string $right
149@phan-var-force string $textDanger
150@phan-var-force string $textSuccess
151@phan-var-force string $textWarning
152@phan-var-force string $toolTipBgColor
153@phan-var-force string $toolTipFontColor
154@phan-var-force int<0,1> $useboldtitle
155@phan-var-force int $userborderontable
156@phan-var-force array{h:int,l:int,s:int,a:int} $colortextlinkHsla
157';
158
159$borderradius = getDolGlobalString('THEME_ELDY_USEBORDERONTABLE') ? getDolGlobalInt('THEME_ELDY_BORDER_RADIUS', 6) : 0;
160
161?>
162/* IDE Hack <style type="text/css"> */
163
164/* ============================================================================== */
165/* Default styles */
166/* ============================================================================== */
167
168:root {
169 --colorbackhmenu1: rgb(<?php print $colorbackhmenu1; ?>);
170 --colorbackvmenu1: rgb(<?php print $colorbackvmenu1; ?>);
171 --colorbacktitle1: rgb(<?php print $colorbacktitle1; ?>);
172 --colorbacktabcard1: rgb(<?php print $colorbacktabcard1; ?>);
173 --colorbacktabactive: rgb(<?php print $colorbacktabactive; ?>);
174 --colorbacklineimpair1: rgb(<?php print $colorbacklineimpair1; ?>);
175 --colorbacklineimpair2: rgb(<?php print $colorbacklineimpair2; ?>);
176 --colorbacklinepair1: rgb(<?php print $colorbacklinepair1; ?>);
177 --colorbacklinepair2: rgb(<?php print $colorbacklinepair2; ?>);
178 --colorbacklinepairhover: rgb(<?php print $colorbacklinepairhover; ?>);
179 --colorbacklinepairchecked: rgb(<?php print $colorbacklinepairchecked; ?>);
180 --colorbacklinebreak: rgb(<?php print $colorbacklinebreak; ?>);
181 --colorbackbody: rgb(<?php print $colorbackbody; ?>);
182 --colorbackmobilemenu: #f8f8f8;
183 --colorbackgrey: #f6f6f6;
184 --colortexttitlenotab: rgb(<?php print $colortexttitlenotab; ?>);
185 --colortexttitlenotab2: rgb(<?php print $colortexttitlenotab2; ?>);
186 --colortexttitle: rgba(<?php print $colortexttitle; ?>, 0.9);
187 --colortexttitlelink: rgba(<?php print $colortexttitlelink; ?>, 0.9);
188 --colortext: rgb(<?php print $colortext; ?>);
189 --colortextlink: rgb(<?php print $colortextlink; ?>);
190 --colortextlink-h: <?php print $colortextlinkHsla['h']; ?>;
191 --colortextlink-l: <?php print $colortextlinkHsla['l']; ?>%;
192 --colortextlink-s: <?php print $colortextlinkHsla['s']; ?>%;
193 --colortextlink-a: 1;
194 --colortextbackhmenu: #<?php print $colortextbackhmenu; ?>;
195 --colortextbackvmenu: #<?php print $colortextbackvmenu; ?>;
196 --colortopbordertitle1: rgb(<?php print $colortopbordertitle1; ?>);
197 --listetotal: #888888;
198 --inputbackgroundcolor: #FFF;
199 --inputbackgroundcolordisabled: #eee;
200 --inputcolordisabled: rgb(80, 80, 80);
201 --inputbordercolor: rgba(0,0,0,.15);
202 --tooltipbgcolor: <?php print $toolTipBgColor; ?>;
203 --tooltipfontcolor : <?php print $toolTipFontColor; ?>;
204 --oddevencolor: #202020;
205 --colorboxstatsborder: #e0e0e0;
206 --dolgraphbg: rgba(255,255,255,0);
207 --fieldrequiredcolor: #000;
208 --colortextbacktab: #<?php print $colortextbacktab; ?>;
209 --colorboxiconbg: #eee;
210 --refidnocolor:#444;
211 --tableforfieldcolor:#666;
212 --amountremaintopaycolor:#880000;
213 --amountpaymentcomplete:#008855;
214 --amountremaintopaybackcolor:none;
215 --productlinestockod: #002200;
216 --productlinestocktoolow: #884400;
217 --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #fff, #fff, #fff, #e4efe8);
218 --tablevalidbgcolor: rgb(252, 248, 227);
219 --colorblack: #000;
220 --colorwhite: #fff;
221 --colorwhitelight: #eee;
222 --heightrow: <?php print $heightrow; ?>;
223}
224
225<?php
226if (getDolGlobalInt('THEME_DARKMODEENABLED')) {
227 print "/* For dark mode */\n";
228 if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) {
229 print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
230 } else {
231 print "@media not print {";
232 }
233 print ":root {
234 --colorbackhmenu1: #3d3e40;
235 --colorbackvmenu1: #2b2c2e;
236 --colorbacktitle1: #3b3c3e;
237 --colorbacktabcard1: #1d1e20; /* Must be same than colorbackbody */
238 --colorbacktabactive: rgb(220,220,220);
239 --colorbacklineimpair1: #38393d;
240 --colorbacklineimpair2: #2b2d2f;
241 --colorbacklinepair1: #38393d;
242 --colorbacklinepair2: #2b2d2f;
243 --colorbacklinepairhover: #2b2d2f;
244 --colorbacklinepairchecked: #0e5ccd;
245 --colorbackbody: #1d1e20;
246 --colorbackmobilemenu: #080808;
247 --colorbackgrey: #0f0f0f;
248 --tooltipbgcolor: #2b2d2f;
249 --colortexttitlenotab: rgb(220,220,220);
250 --colortexttitlenotab2: rgb(220,220,220);
251 --colortexttitle: rgb(220,220,220);
252 --colortext: rgb(220,220,220);
253 --colortextlink: #4390dc;
254 --colortexttitlelink: #4390dc;
255 --colortextbackhmenu: rgb(220,220,220);
256 --colortextbackvmenu: rgb(220,220,220);
257 --tooltipfontcolor : rgb(220,220,220);
258 --listetotal: rgb(245, 83, 158);
259 --inputbackgroundcolor: rgb(70, 70, 70);
260 --inputbackgroundcolordisabled: rgb(60, 60, 60);
261 --inputcolordisabled: rgb(140, 140, 140);
262 --inputbordercolor: rgb(220,220,220);
263 --oddevencolor: rgb(220,220,220);
264 --colorboxstatsborder: rgb(65,100,138);
265 --dolgraphbg: #1d1e20;
266 --fieldrequiredcolor: #fff;
267 --colortextbacktab: rgb(220,220,220);
268 --colorboxiconbg: rgb(36,38,39);
269 --refidnocolor: rgb(220,220,220);
270 --tableforfieldcolor:rgb(220,220,220);
271 --amountremaintopaycolor:rgb(252,84,91);
272 --amountpaymentcomplete:rgb(101,184,77);
273 --amountremaintopaybackcolor:rbg(245,130,46);
274 --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #000, #000, #000, #274231);
275 --tablevalidbgcolor: rgb(80, 64, 33);
276 --colorblack: #fff;
277 --colorwhite: #000;
278 --colorwhitelight: #333;
279 }
280
281 body, button {
282 color: #bbb;
283 }\n
284 }\n";
285}
286?>
287
288body {
289<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
290 background-color: #FFFFFF;
291<?php } ?>
292 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
293 line-height: 1.4;
294 font-family: <?php print $fontlist ?>;
295 margin-top: 0;
296 margin-bottom: 0;
297 margin-right: 0;
298 margin-left: 0;
299 font-weight: 400;
300 background-color: var(--colorbackbody);
301 <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
302 /*transform: scale(1.2);
303 transform-origin: 0 0;*/
304 <?php
305 //print getDolUserInt('MAIN_OPTIMIZEFORTEXTBROWSER') ? (getDolUserInt('MAIN_OPTIMIZEFORTEXTBROWSER') > 100 ? 'zoom: '.getDolUserInt('MAIN_OPTIMIZEFORTEXTBROWSER').'%;' : 'zoom: 150%;') : '';
306 ?>
307 /* zoom: 105%; */ /* not supported by all browsers. pb for popup position with select2. */
308}
309
310/* Style used to protect html content in output to avoid attack by replacing full page with js content */
311.sensiblehtmlcontent * {
312 position: static !important;
313}
314
315.thumbstat { font-weight: bold !important; }
316th a { font-weight: <?php echo($useboldtitle ? 'bold' : 'normal'); ?> !important; }
317a.tab { font-weight: 500 !important; }
318
319a:link, a:visited, a:hover, a:active, .classlink { color: var(--colortextlink); text-decoration: none; }
320a:hover { text-decoration: underline; color: var(--colortextlink); }
321a.commonlink { color: var(--colortextlink) !important; text-decoration: none; }
322
323th.liste_titre a div div:hover, th.liste_titre_sel a div div:hover { text-decoration: underline; }
324tr.liste_titre th.liste_titre_sel:not(.maxwidthsearch), tr.liste_titre td.liste_titre_sel:not(.maxwidthsearch),
325tr.liste_titre th.liste_titre:not(.maxwidthsearch), tr.liste_titre td.liste_titre:not(.maxwidthsearch) { opacity: 0.8; }
326tr.liste_titre_filter th.liste_titre:not(.center), tr.liste_titre_filter th.liste_titre_sel:not(.center) {
327 text-align: unset;
328}
329.liste_titre.trheight5em {
330 height: 4em !important;
331}
332
333input {
334 font-size: unset;
335 box-sizing: border-box;
336}
337input[type="text"]:not(.input-icon-security, .input-icon-user, .input-icon-password),
338input[type="password"]:not(.input-icon-security, .input-icon-user, .input-icon-password) {
339 height: 28px;
340}
341input.downloadexternallink {
342 padding-left: 3px;
343}
344.input-icon-user, .input-icon-password {
345 padding-right: 28px !important;
346}
347
348select.vmenusearchselectcombo {
349 background-color: unset;
350}
351
352table.liste th.wrapcolumntitle.liste_titre:not(.maxwidthsearch), table.liste td.wrapcolumntitle.liste_titre:not(.maxwidthsearch),
353table.liste th.wrapcolumntitle.liste_titre_sel:not(.maxwidthsearch), table.liste td.wrapcolumntitle.liste_titre_sel:not(.maxwidthsearch) {
354 overflow: hidden;
355 white-space: nowrap;
356 max-width: 100px;
357 text-overflow: ellipsis;
358}
359th.wrapcolumntitle dl dt a span.fas.fa-list {
360 vertical-align: middle;
361 padding-bottom: 4px;
362}
363
364.liste_titre input[name=search_month], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end] {
365 margin-right: 4px;
366}
367
368select#date_startday, select#date_startmonth, select#date_endday, select#date_endmonth, select#reday, select#remonth,
369input, input.flat, form.flat select, select, select.flat, .dataTables_length label select {
370 border: none;
371}
372input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
373 color: var(--colortext);
374 <?php if (getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
375 border-radius: 5px;
376 <?php } ?>
377 font-family: <?php print $fontlist ?>;
378 outline: none;
379 margin: 0px 0px 0px 0px;
380 background-color: var(--inputbackgroundcolor);
381 <?php if (!getDolGlobalString('THEME_ADD_BACKGROUND_ON_INPUT')) { ?>
382 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor);
383 <?php } ?>
384}
385
386/* this cases always use an input with only a background border */
387span.massactionselect, input.inputsearch_dropdownselectedfields {
388 border-radius: 0 !important;
389 border-top: 0 !important;
390 border-left: 0 !important;
391 border-right: 0 !important;
392 background-color: unset;
393}
394
395.liste_titre input:not(#search_component_params_input):not(.select2-search__field), .liste_titre select {
396 border: none;
397 border-style: solid;
398 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>-width: 1px !important;
399 border-color: var(<?php echo (getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') && getDolGlobalString('THEME_ELDY_BACKTITLE1') != '255,255,255') ? '--colorbacktitle1' : '--inputbordercolor'; ?>) !important;
400}
401
402.divadvancedsearchfieldcompinput,
403div.tabBar input:not(.pageplusone), div.tabBar input.flat:not(.pageplusone), div.tabBar textarea:not(.cke_source), div.tabBar textarea.flat, div.tabBar form.flat select, div.tabBar select, div.tabBar select.flat, div.tabBar .dataTables_length label select
404{
405 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor);
406 <?php if (getDolGlobalString('THEME_ADD_BACKGROUND_ON_INPUT')) { ?>
407 background-color: #f8f8fa;
408 border-bottom-left-radius: 0;
409 border-bottom-right-radius: 0;
410 <?php } ?>
411}
412
413.divadvancedsearchfieldcompinput {
414 background: #fff;
415 border-bottom: solid 1px var(--inputbordercolor);
416 border-radius: 3px;
417}
418input[name=duration_value], input[name=durationhour]
419{
420 margin-right: 4px !important;
421}
422input[type=submit], input[type=submit]:hover {
423 margin-left: 5px;
424}
425input[type=checkbox], input[type=radio] {
426 margin: 0 5px 1px 1px;
427 transform: scale(1.25);
428}
429
430.integrated-radio {
431 display: inline-block;
432 cursor : pointer;
433 border-radius: 3px;
434 padding: 4px;
435 background-color: #ededed;
436}
437.integrated-radio input[type="radio"] {
438 display: none;
439}
440.integrated-radio:has(input:checked) {
441 background-color: var(--colortextlink, #0a58ca);
442}
443
444/* input fields */
445.kanban input.checkforselect {
446 margin-right: 0px;
447 margin-top: 5px;
448}
449input {
450 padding: 5px;
451 padding-left: 5px;
452 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
453 border-bottom-left-radius: 0;
454 border-bottom-right-radius: 0;
455 <?php } ?>
456}
457.liste_titre input {
458 line-height: 1.3em;
459 padding: 3px;
460 padding-left: 4px;
461}
462.tableforfield input {
463 padding-left: 4px;
464}
465.refidno input {
466 margin-top: 0 !important;
467 padding: 0;
468 padding-left: 6px;
469}
470.refidno .button.smallpaddingimp {
471 padding: 4px !important;
472 padding-left: 6px !important;
473 padding-right: 6px !important;
474}
475.refid input[type="text"] {
476 height:22px;
477}
478
479select {
480 padding-top: 4px;
481 padding-right: 4px;
482 padding-bottom: 5px;
483 padding-left: 2px;
484}
485input, select {
486 margin-left: 0px;
487 margin-bottom: 1px;
488 margin-top: 1px;
489}
490#mainbody input.button:not(.buttongen):not(.bordertransp), #mainbody a.button:not(.buttongen):not(.bordertransp) {
491 background: var(--butactionbg);
492 color: var(--textbutaction);
493 border-radius: 4px;
494 border-collapse: collapse;
495 border: none;
496}
497#mainbody span.websitetools input.button:not(.buttongen):not(.bordertransp) {
498 color: #000 !important;
499}
500#mainbody input.buttongen, #mainbody button.buttongen {
501 padding: 3px 4px;
502}
503input.button:hover {
504 box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
505}
506input.button:focus {
507 border-bottom: 0;
508}
509
510input.button.massactionconfirmed {
511 margin: 4px;
512}
513
514input:invalid, select:invalid, input.--error , select.--error {
515 border-color: #ea1212;
516}
517
518section.setupsection {
519 padding: 20px !important;
520 background-color: var(--colorbackgrey);
521 border-radius: 5px;
522 box-shadow: 0 0 4px rgb(0, 0, 0, 0.18);
523}
524section.setupsection:hover {
525 box-shadow: 0 0 5px #aaa;
526}
527
528
529.field-error-icon { color: #ea1212 !important; }
530
531/* Focus definitions must be after standard definition */
532div.tabBar textarea:focus:not(.textarea-ai_feature):not(.cke_source) {
533 border: 1px solid #aaa !important;
534}
535input:focus:not(.noborderfocus):not(.inputsearch_dropdownselectedfields):not(.button):not(.buttonwebsite):not(.buttonreset):not(.select2-search__field):not(#top-bookmark-search-input):not(.search_component_input):not(.input-nobottom),
536 select:focus, .select2-container--open [aria-expanded="false"].select2-selection--single,
537 .select2-container--focus span.selection span.select2-selection:not(.noborderfocus):not(.massactionselect) {
538<?php if (getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
539 border: 1px solid #666 !important;
540<?php } else { ?>
541 border-bottom: 1px solid #666 !important;
542 border-bottom-left-radius: 0 !important;
543 border-bottom-right-radius: 0 !important;
544<?php } ?>
545}
546textarea.cke_source:focus
547{
548 box-shadow: none;
549}
550div#cke_dp_desc {
551 margin-top: 5px;
552}
553textarea {
554 border-radius: 3px;
555 border-top: solid 1px var(--inputbordercolor);
556 border-left: solid 1px var(--inputbordercolor);
557 border-right: solid 1px var(--inputbordercolor);
558 border-bottom: solid 1px var(--inputbordercolor);
559
560 padding:8px;
561 margin-left:0px;
562 margin-bottom:1px;
563 margin-top:1px;
564 }
565input.removedassigned, input.removedassignedresource {
566 padding: 2px !important;
567 vertical-align: text-bottom;
568 margin-bottom: -3px;
569}
570input.smallpadd { /* Used for timesheet input */
571 padding-left: 0px !important;
572 padding-right: 0px !important;
573}
574input.buttongen {
575 vertical-align: middle;
576}
577input.buttonpayment, button.buttonpayment, div.buttonpayment {
578 min-width: 290px;
579 margin-bottom: 15px;
580 margin-top: 15px;
581 height: 60px;
582 background-image: none;
583 line-height: 24px;
584 padding: 8px;
585 background: none;
586 text-align: center;
587 border: 0;
588 background-color: #9999bb;
589 white-space: normal;
590 box-shadow: 1px 1px 4px #bbb;
591 color: #fff;
592 border-radius: 4px;
593 cursor: pointer;
594 max-width: 350px;
595}
596input.short {
597 width: 40px;
598}
599input.shortbis {
600 width: 48px;
601}
602.nofocusvisible:focus-visible {
603 outline: none;
604}
605
606div.buttonpayment input:focus {
607 color: #008;
608}
609.buttonpaymentsmall {
610 font-size: 0.65em;
611 padding-left: 5px;
612 padding-right: 5px;
613}
614div.buttonpayment input {
615 background-color: unset;
616 color: #fff;
617 border: unset;
618 font-weight: bold;
619 text-transform: uppercase;
620 cursor: pointer;
621}
622input.buttonpaymentcb {
623 background-image: url(<?php echo dol_buildpath($path.'/theme/common/credit_card.png', 1) ?>);
624 background-size: 26px;
625 background-repeat: no-repeat;
626 background-position: 5px 11px;
627}
628input.buttonpaymentcheque {
629 background-image: url(<?php echo dol_buildpath($path.'/theme/common/cheque.png', 1) ?>);
630 background-size: 24px;
631 background-repeat: no-repeat;
632 background-position: 5px 8px;
633}
634input.buttonpaymentpaypal {
635 background-image: url(<?php echo dol_buildpath($path.'/paypal/img/object_paypal.png', 1) ?>);
636 background-repeat: no-repeat;
637 background-position: 8px 11px;
638}
639input.buttonpaymentpaybox {
640 background-image: url(<?php echo dol_buildpath($path.'/paybox/img/object_paybox.png', 1) ?>);
641 background-repeat: no-repeat;
642 background-position: 8px 11px;
643}
644input.buttonpaymentstripe {
645 background-image: url(<?php echo dol_buildpath($path.'/stripe/img/object_stripe.png', 1) ?>);
646 background-repeat: no-repeat;
647 background-position: 8px 11px;
648}
649.logopublicpayment #dolpaymentlogo {
650 max-height: 80px;
651 max-width: 300px;
652 image-rendering: -webkit-optimize-contrast; /* better rendering on public page header */
653 border-radius: 4px;
654}
655
656a.butStatus {
657 padding-left: 5px;
658 padding-right: 5px;
659 background-color: transparent;
660 color: var(--colortext) !important;
661 border: 1px solid #888 !important;
662 margin: 0 0.45em !important;
663}
664
665span.userimg.notfirst, div.userimg.notfirst {
666 margin-left: -5px;
667}
668div.userimg.notfirst {
669 display: block-inline;
670}
671.cell2linesheight {
672 line-height: 1.4em;
673}
674.celldateheight {
675 padding-top: 5px !important;
676 padding-bottom: 5px !important;
677 line-height: 1.2em;
678}
679.dateborderright {
680 padding-right: 4px !important;
681 margin-right: 4px !important;
682 border-right: 1px solid #ddd;
683}
684.dateborderleft {
685}
686.center.inline-block.dateheight {
687 line-height: 1.1em;
688}
689.smallheight {
690 line-height: 1em;
691}
692tr.tdsmallheight, tr.tdsmallheight td {
693 height: 1.5em !important;
694}
695
696
697/* Used by timesheets */
698span.timesheetalreadyrecorded input {
699 border: none;
700 margin-right: 1px !important;
701}
702td.onholidaymorning, td.onholidayafternoon {
703 background-color: #fdf6f2;
704}
705td.onholidayallday {
706 background-color: #f4eede;
707}
708td.onholidayallday:not(.weekend) input {
709 background-color: #f8f7f0;
710}
711td.weekend { /* must be after td.onholidayallday */
712 background-color: #f8f4f4;
713}
714td.weekend input {
715 /* background-color: #f8f8f8; */
716}
717tr:hover td.weekend {
718 background: var(--colorbacklinepairhover) !important;
719}
720
721/*
722td.leftborder, td.hide0 {
723 border-left: 1px solid #ccc;
724}
725td.leftborder, td.hide6 {
726 border-right: 1px solid #ccc;
727}
728*/
729td.rightborder {
730 border-right: 1px solid #ccc;
731}
732
733td.linecoldescription.bomline {
734 width: 400px;
735}
736
737td.amount {
738 color: #006666;
739}
740span.amount, div.amount, b.amount {
741 color: #006666;
742 /*
743 background-color: #006666;
744 color: #FFF;
745 border-radius: 3px;
746 padding: 2px 4px 2px 4px;
747 */
748}
749td.amountneg, span.amountneg, div.amountneg, b.amountneg
750{
751 color: #660000;
752}
753td.amount.amountbadge, span.amount.amountbadge, div.amount.amountbadge, b.amount.amountbadge {
754 background-color: <?php echo $badgeStatus4; ?>;
755 color: #FFF;
756 padding: 4px;
757 border-radius: 4px;
758}
759td.amountneg.amountbadge, span.amountneg.amountbadge, div.amountneg.amountbadge, b.amountneg.amountbadge
760{
761 background-color: #660000;
762 color: #FFF;
763 padding: 4px;
764 border-radius: 4px;
765}
766
767td.amount, span.amount, div.amount, b.amount,
768td.amountneg, span.amountneg, div.amountneg, b.amountneg,
769span.amount, span.amountneg {
770 white-space: nowrap;
771}
772td.actionbuttons a {
773 padding-left: 6px;
774}
775select.flat, form.flat select, .pageplusone {
776 font-weight: normal;
777 font-size: unset;
778}
779input.pageplusone {
780 padding-bottom: 4px;
781 padding-top: 4px;
782 margin-right: 4px;
783 margin-left: 3px;
784 width: 32px;
785 border-top: 0;
786 border-left: 0;
787 border-right: 0;
788}
789.paginationlastpage a {
790 padding-left: 6px;
791}
792
793.saturatemedium {
794 filter: saturate(0.8);
795}
796
797.optionblue {
798 color: var(--colortextlink);
799}
800.optiongrey, .opacitymedium {
801 opacity: 0.5;
802}
803.opacitymediumbycolor {
804 color: rgba(0, 0, 0, 0.4);
805}
806.opacitylow {
807 opacity: 0.6;
808}
809.opacityhigh {
810 opacity: 0.24;
811}
812.opacitytransp {
813 opacity: 0;
814}
815.noopacity {
816 opacity: unset !important;
817}
818.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: 5px;
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, it varies on font size */
3075 /* padding-right: 0; */
3076}
3077img.pictofixedwidth {
3078 width: 16px; /* Do not use em unit here, it varies on font size */
3079 padding-right: 6px; /* img width + 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 overflow: hidden; /* Firefox does not clip cell backgrounds to the table border-radius without this */
4674}
4675table.noborder.cal_month {
4676 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4677 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4678}
4679table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
4680table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:first-child,
4681table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
4682table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:first-child {
4683 border-top-left-radius: <?php echo $borderradius; ?>px;
4684}
4685table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:last-child,
4686table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
4687table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
4688table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:last-child {
4689 border-top-right-radius: <?php echo $borderradius; ?>px;
4690}
4691table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:first-child,
4692table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:first-child {
4693 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4694}
4695table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:last-child,
4696table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:last-child {
4697 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4698}
4699table.noborder thead tr:last-child td:first-child,
4700table.noborder thead tr:last-child th:first-child {
4701 border-bottom-left-radius: unset !important;
4702}
4703table.noborder thead tr:last-child td:last-child,
4704table.noborder thead tr:last-child th:last-child {
4705 border-bottom-right-radius: unset !important;
4706}
4707
4708table.liste:not(.listwithfilterbefore) {
4709 border-top-left-radius: <?php echo $borderradius; ?>px;
4710 border-top-right-radius: <?php echo $borderradius; ?>px;
4711}
4712table.liste {
4713 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4714 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4715 overflow: hidden; /* Firefox does not clip cell backgrounds to the table border-radius without this */
4716}
4717table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child td:first-child,
4718table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child th:first-child {
4719 border-top-left-radius: <?php echo $borderradius; ?>px;
4720}
4721table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child td:last-child,
4722table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child th:last-child {
4723 border-top-right-radius: <?php echo $borderradius; ?>px;
4724}
4725div.liste_titre_bydiv {
4726 border-top-left-radius: <?php echo $borderradius; ?>px;
4727 border-top-right-radius: <?php echo $borderradius; ?>px;
4728}
4729div.liste_titre_bydiv_nothingafter {
4730 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4731 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4732 border-bottom-width: 1px;
4733 border-bottom-color: var(--colortopbordertitle1);
4734 border-bottom-style: solid;
4735}
4736table.liste tr:last-child td:first-child,
4737table.liste > tr:last-child th:first-child, table.liste tfoot tr:last-child th:first-child {
4738 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4739}
4740table.liste tr:last-child td:last-child,
4741table.liste > tr:last-child th:last-child, table.liste tfoot tr:last-child th:last-child {
4742 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4743}
4744
4745table#tablelines tr:last-of-type td:first-child, table#tablelines tr#trlinefordates, table#tablelines tr#trlinefordates td,
4746table#tablelinesservice tr:last-of-type td:first-child, table#tablelinesservice tr#trlinefordates, table#tablelinesservice tr#trlinefordates td {
4747 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4748}
4749table#tablelines tr:last-of-type td:last-child, table#tablelines tr#trlinefordates, table#tablelines tr#trlinefordates td,
4750table#tablelinesservice tr:last-of-type td:last-child, table#tablelinesservice tr#trlinefordates, table#tablelinesservice tr#trlinefordates td {
4751 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4752}
4753
4754
4755div.tabBar .lastrecordtable {
4756 margin-bottom: 15px;
4757}
4758div.tabBar table:not(.nobottom).border>tbody>tr:last-of-type>td {
4759 border-bottom-width: 1px;
4760 border-bottom-color: var(--colortopbordertitle1);
4761 border-bottom-style: solid;
4762}
4763div.tabBar div.fichehalfright table.noborder {
4764 border-bottom: none;
4765}
4766
4767table.paddingtopbottomonly tr td {
4768 padding-top: 1px;
4769 padding-bottom: 2px;
4770}
4771.liste_titre_filter {
4772 background: var(--colorbacktitle1) !important;
4773}
4774.liste_titre2 {
4775 background: var(--colorbackhmenu1) !important;
4776 color: #fff;
4777}
4778table:not(.listwithfilterbefore) tr.liste_titre_filter:first-of-type td.liste_titre {
4779 padding-top: 5px;
4780}
4781
4782tr.liste_titre_filter td.liste_titre {
4783 /* border-bottom: 1px solid #ddd; */
4784 padding-top: 1px;
4785 padding-bottom: 0px;
4786}
4787.liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
4788{
4789 border-bottom-width: 0 !important;
4790 border-top-width: 1px;
4791 border-top-color: var(--colortopbordertitle1);
4792 border-top-style: solid;
4793}
4794tr.liste_titre_create td:not(.linecoldescription) {
4795 padding-right: 4px !important;
4796 padding-left: 4px !important;
4797}
4798tr#trlinefordates td {
4799 border-bottom: 0px !important;
4800}
4801.liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
4802{
4803 border-top-width: 1px;
4804 border-top-color: var(--colortopbordertitle1);
4805 border-top-style: solid;
4806}
4807table.liste tr, table.noborder tr, div.noborder form {
4808 border-top-color: #FEFEFE;
4809 min-height: 20px;
4810}
4811table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
4812 padding: 6px 10px 6px 12px; /* t r b l */
4813}
4814td.linecoldescription {
4815 padding: 6px 10px 6px 12px !important; /* t r b l */
4816}
4817table.tableforfield td, .tagtr.table-border-row .tagtd, table.border.margintable .trforfield td {
4818 padding: 2px 8px 2px 10px; /* t r b l */
4819}
4820table.liste td, table.noborder > tr > td,
4821table.noborder > tbody > tr > td,
4822table.noborder > tfoot > tr > td,
4823div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
4824 padding: 8px 10px 8px 12px; /* t r b l */
4825 /* line-height: 22px; This create trouble on cell login on list of last events of a contract */
4826 height: 32px;
4827}
4828table.liste tr.trkanban td {
4829 padding: 12px 15px 12px 15px; /* t r b l */
4830}
4831div.liste_titre_bydiv .divsearchfield {
4832 padding: 2px 1px 2px 7px; /* t r b l */
4833}
4834
4835tr.box_titre .nobordernopadding td {
4836 padding: 0 ! important;
4837}
4838table.nobordernopadding {
4839 border-collapse: collapse !important;
4840 border: 0;
4841}
4842table.nobordernopadding tr {
4843 border: 0 !important;
4844 padding: 0 0 !important;
4845}
4846table.nobordernopadding tr td {
4847 border: 0 !important;
4848 padding: 0 3px 0 0;
4849}
4850table.border tr td table.nobordernopadding tr td {
4851 padding-top: 0;
4852 padding-bottom: 0;
4853}
4854td.borderright {
4855 border: none; /* to erase value for table.nobordernopadding td */
4856 border-right-width: 1px !important;
4857 border-right-color: #BBB !important;
4858 border-right-style: solid !important;
4859}
4860td.borderleft {
4861 border: none; /* to erase value for table.nobordernopadding td */
4862 border-left-width: 1px !important;
4863 border-left-color: #BBB !important;
4864 border-left-style: solid !important;
4865}
4866
4867
4868/* For table with no filter before */
4869table.listwithfilterbefore {
4870 border-top: none !important;
4871}
4872
4873
4874.tagtable, .table-border { display: table; }
4875.tagtr, .table-border-row { display: table-row; }
4876.tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
4877.tagtd { padding-top: 5px; padding-bottom: 5px; }
4878.confirmquestions .tagtr .tagtd:not(:first-child) { padding-left: 10px; }
4879.confirmquestions { margin-top: 5px; }
4880.confirmquestions .tagtr .tagtd { height: 2em; vertical-align: middle; }
4881
4882/* Pagination */
4883div.refidpadding {
4884 /* padding-top: 3px; */
4885}
4886div.refid {
4887 font-weight: bold;
4888 color: var(--colortexttitlenotab);
4889 font-size: 1.2em;
4890 word-break: break-word;
4891}
4892a.refid {
4893 color: var(--colortexttitlenotab) !important;
4894}
4895div.refidno {
4896 padding-top: 3px;
4897 font-weight: normal;
4898 color: var(--refidnocolor);
4899 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>;
4900 line-height: 1.5em;
4901}
4902div.refaddress div.address {
4903 line-height: 1.2em;
4904 font-size: 0.95em;
4905}
4906div.refidno form {
4907 display: inline-block;
4908}
4909
4910div.pagination {
4911 float: <?php echo $right; ?>;
4912}
4913div.pagination a {
4914 font-weight: normal;
4915}
4916div.pagination ul
4917{
4918 list-style: none;
4919 display: inline-block;
4920 padding-left: 0px;
4921 padding-right: 0px;
4922 margin: 0;
4923}
4924div.pagination li {
4925 display: inline-block;
4926 padding-left: 0px;
4927 padding-right: 0px;
4928 /* padding-top: 10px; */
4929 /* padding-bottom: 5px; */
4930 /* font-size: 1.1em; */
4931}
4932li.pagination.paginationpage.paginationpageleft, li.pagination.paginationpage.paginationpageright {
4933 font-size: 1.1em;
4934}
4935.pagination {
4936 display: inline-block;
4937 padding-left: 0;
4938 border-radius: 4px;
4939}
4940div.pagination li.pagination a,
4941div.pagination li.pagination span {
4942 padding: 6px 12px;
4943 line-height: 1.42857143;
4944 text-decoration: none;
4945 background-repeat: repeat-x;
4946 color: var(--color-black);
4947}
4948div.pagination li.pagination span.inactive {
4949 cursor: default;
4950 color: #ccc;
4951}
4952li.noborder.litext, li.noborder.litext a,
4953div.pagination li a.inactive:hover,
4954div.pagination li span.inactive:hover {
4955 box-shadow: none !important;
4956}
4957div.pagination li.litext a {
4958 border: none;
4959 padding-right: 10px;
4960 padding-left: 4px;
4961 font-weight: bold;
4962}
4963div.pagination li.litext a:hover {
4964 background-color: transparent;
4965 background-image: none;
4966}
4967div.pagination li.noborder a:hover {
4968 border: none;
4969 background-color: transparent;
4970}
4971div.pagination li a,
4972div.pagination li span {
4973 /* background-color: #fff; */
4974 /* border: 1px solid #ddd; */
4975}
4976div.pagination li:first-child a,
4977div.pagination li:first-child span {
4978 margin-left: 0;
4979 /*border-top-left-radius: 4px;
4980 border-bottom-left-radius: 4px;*/
4981}
4982
4983div.pagination li .active a,
4984div.pagination li .active span,
4985div.pagination li .active a:hover,
4986div.pagination li .active span:hover,
4987div.pagination li .active a:focus,
4988div.pagination li .active span:focus {
4989 z-index: 2;
4990 color: #fff;
4991 cursor: default;
4992 background-color: var(--colorbackhmenu1);
4993 border-color: #337ab7;
4994}
4995div.pagination .disabled span,
4996div.pagination .disabled span:hover,
4997div.pagination .disabled span:focus,
4998div.pagination .disabled a,
4999div.pagination .disabled a:hover,
5000div.pagination .disabled a:focus {
5001 color: #777;
5002 cursor: not-allowed;
5003 background-color: #fff;
5004 border-color: #ddd;
5005}
5006div.pagination li.pagination .active {
5007 text-decoration: underline;
5008 box-shadow: none;
5009}
5010.paginationafterarrows .nohover {
5011 box-shadow: none !important;
5012}
5013
5014div.pagination li.paginationafterarrows {
5015 margin-left: 10px;
5016 padding-top: 0;
5017 /*padding-bottom: 10px;*/
5018}
5019.paginationatbottom {
5020 margin-top: 9px;
5021}
5022table.hidepaginationprevious .paginationprevious {
5023 display: none;
5024}
5025table.hidepaginationnext .paginationnext {
5026 display: none;
5027}
5028.tabBar .arearef .pagination.paginationref {
5029 max-width: calc(30%);
5030}
5031.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
5032 /* border: 1px solid var(--btncolorborder); */
5033 border: unset;
5034 background-color: unset;
5035}
5036.paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
5037 /* text-shadow: 0px 0px 5px #ccc; */
5038 /* filter: invert(0.3); */
5039 font-size: 1.1em;
5040}
5041
5042
5043/* Set the color for hover lines */
5044table.liste .oddeven:hover:not(.nohover), table.liste .evenodd:hover:not(.nohover), table.liste .oddevenimport:hover:not(.nohover), table.liste .evenoddimport:hover:not(.nohover),
5045table.liste .impair:hover:not(.nohover), table.liste .pair:hover:not(.nohover) {
5046 background: var(--colorbacklinepairhover) !important; /* Must be background to be stronger than background of odd or even */
5047}
5048
5049.tredited, .tredited td {
5050 background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
5051 border-bottom: 0 !important;
5052}
5053.treditedlinefordate {
5054 background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
5055 border-bottom: 0px;
5056}
5057<?php if ($colorbacklinepairchecked) { ?>
5058.highlight {
5059 background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
5060}
5061<?php } ?>
5062
5063.nohoverborder:hover {
5064 border: unset;
5065 box-shadow: unset;
5066}
5067.oddeven, .evenodd, .impair, .pair, .nohover .impair:hover, tr.impair td.nohover, tr.pair td.nohover, .tagtr.oddeven {
5068 font-family: <?php print $fontlist ?>;
5069 margin-bottom: 1px;
5070 color: var(--oddevencolor);
5071}
5072.impair, .nohover .impair:hover, tr.impair td.nohover {
5073 background-color: var(--colorbacklineimpair2);
5074}
5075.pair, .nohover .pair:hover, tr.pair td.nohover {
5076 background-color: var(--colorbacklinepair2);
5077}
5078tr.oddeven.oddevendouble {
5079 height: 60px !important;
5080}
5081
5082#GanttChartDIV {
5083 background-color: var(--colorbacklineimpair2);
5084}
5085table.dataTable tr.oddeven {
5086 background-color: var(--colorbacklinepair2) !important;
5087}
5088
5089/* For no hover style */
5090td.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 {
5091 background-color: var(--colorbacklineimpair2) !important;
5092 background: var(--colorbacklineimpair2) !important;
5093}
5094td.evenodd, tr.nohoverpair td, #trlinefordates td {
5095 background-color: var(--colorbacklinepair2) !important;
5096 background: var(--colorbacklinepair2) !important;
5097}
5098.trforbreak td {
5099 font-weight: 500;
5100 border-bottom: 1pt solid #aaa !important;
5101 background-color: var(--colorbacklinebreak) !important;
5102}
5103.trforbreak.nobold td a, .trforbreak.nobold span.secondary {
5104 font-weight: normal !important;
5105}
5106tr.trforbreaknobg:nth-of-type(n+3) td, form.trforbreaknobg div.tagtd {
5107 font-weight: 500;
5108 border-top: 1pt dashed #aaa !important;
5109}
5110
5111table.dataTable td {
5112 padding: 5px 8px 5px 8px !important;
5113}
5114tr.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 {
5115 padding: 7px 8px 7px 8px;
5116 border-bottom: 1px solid #ddd;
5117}
5118form.tagtr:last-of-type div.tagtd, tr.pair:last-of-type td, tr.impair:last-of-type td {
5119 border-bottom: 0px !important;
5120}
5121tr.nobottom td {
5122 border-bottom: 0px !important;
5123}
5124div.tableforcontact form.tagtr:last-of-type div.tagtd {
5125 border-bottom: 1px solid #ddd !important;
5126}
5127tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
5128 border-bottom: 0px !important;
5129}
5130table.nobottomiftotal tr.liste_total td {
5131 background-color: var(--inputbackgroundcolor);
5132 <?php if (!$userborderontable) { ?>
5133 border-bottom: 0px !important;
5134 <?php } ?>
5135}
5136table.nobottom, td.nobottom {
5137 border-bottom: 0px !important;
5138}
5139div.liste_titre .tagtd {
5140 vertical-align: middle;
5141}
5142div.liste_titre {
5143 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 */
5144
5145 padding-top: 2px;
5146 padding-bottom: 2px;
5147}
5148div.liste_titre_bydiv {
5149 border-top-width: <?php echo $borderwidth ?>px;
5150 border-top-color: var(--colortopbordertitle1);
5151 border-top-style: solid;
5152 <?php if ($userborderontable) { ?>
5153 border-left: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
5154 border-right: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
5155 <?php } ?>
5156
5157 border-collapse: collapse;
5158 padding: 2px 0px 2px 0;
5159 box-shadow: none;
5160 /*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 */
5161 width: unset;
5162}
5163div.liste_titre_bydiv_inlineblock {
5164 display: inline-block;
5165 width: 100%;
5166}
5167
5168tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr, tagtr.liste_titre
5169{
5170 height: 26px !important;
5171}
5172div.colorback /* for the form "assign user" on time spent view */
5173{
5174 background: #f8f8f8;
5175 padding: 10px;
5176 margin-top: 5px;
5177 border: 1px solid #ddd;
5178}
5179div.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
5180{
5181 background: var(--colorbacktitle1);
5182 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5183
5184 color: var(--colortexttitle);
5185 font-family: <?php print $fontlist ?>;
5186 text-align: <?php echo $left; ?>;
5187}
5188tr.liste_titre th, tr.liste_titre td, th.liste_titre
5189{
5190 border-bottom: 1px solid var(--colortopbordertitle1);
5191}
5192tr.liste_titre:first-child th, tr:first-child th.liste_titre {
5193 border-bottom: unset;
5194}
5195tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div
5196{
5197 font-family: <?php print $fontlist ?>;
5198 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5199 vertical-align: middle;
5200 height: 2.2em;
5201}
5202tr.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 {
5203 text-shadow: none !important;
5204 color: var(--colortexttitlelink);
5205}
5206tr.liste_titre_topborder td {
5207 border-top-width: <?php echo $borderwidth; ?>px;
5208 border-top-color: var(--colortopbordertitle1);
5209 border-top-style: solid;
5210}
5211.liste_titre td a:not(.button):not(.editfielda), .liste_titre td a:not(.button):not(.editfielda) span:not(.badge) {
5212 text-shadow: none !important;
5213 color: var(--colortexttitle) !important;
5214}
5215.liste_titre td a.notasortlink {
5216 color: var(--colortextlink);
5217}
5218.liste_titre td a.notasortlink:hover {
5219 background: transparent;
5220}
5221
5222/* For last line of table headers with no thead only */
5223table > 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,
5224table > 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,
5225form.liste_titre div.tagtd {
5226 border-bottom: unset;
5227}
5228
5229
5230
5231div.liste_titre {
5232 padding-left: 3px;
5233}
5234tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
5235{
5236 font-family: <?php print $fontlist ?>;
5237 font-weight: normal;
5238 border-bottom: 1px solid #FDFFFF;
5239 /* text-decoration: underline; */
5240}
5241input.liste_titre {
5242 background: transparent;
5243 border: 0px;
5244}
5245.listactionlargetitle .liste_titre {
5246 line-height: 24px;
5247}
5248.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 {
5249 <?php if (getDolGlobalString('THEME_ELDY_TOTAL_BACKGROUND_LIKE_HEAD')) { ?>background: var(--colorbacktitle1);<?php } ?>
5250 color: var(--listetotal);
5251 font-weight: normal;
5252}
5253.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
5254 white-space: nowrap;
5255}
5256.noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
5257 white-space: normal;
5258}
5259form.liste_total div {
5260 border-top: 1px solid #DDDDDD;
5261}
5262tr.liste_sub_total, tr.liste_sub_total td {
5263 border-bottom: 1px solid #aaa;
5264}
5265/* to avoid too much border on contract card */
5266.tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart1 .oddeven, .tableforservicepart2 .impair, .tableforservicepart2 .pair, .tableforservicepart2 .oddeven {
5267 background: #FFF;
5268}
5269.tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
5270 border-bottom: none;
5271}
5272table.tableforservicepart1:first-of-type tr:first-of-type td {
5273 border-top: 1px solid #888;
5274}
5275table.tableforservicepart1 tr td {
5276 border-top: 0px;
5277}
5278
5279.paymenttable, .margintable {
5280 border-top: none !important;
5281 margin: 0px 0px 0px 0px !important;
5282}
5283.bordertopimp {
5284 border-top: 1px solid var(--colortopbordertitle1) !important;
5285}
5286table.noborder.paymenttable {
5287 border-bottom: none !important;
5288}
5289.paymenttable tr td:first-child, .margintable tr td:first-child
5290{
5291 /*padding-left: 2px;*/
5292}
5293.paymenttable, .margintable tr td {
5294 height: 22px;
5295}
5296
5297/* Disable-Enable shadows */
5298.noshadow {
5299 box-shadow: 0px 0px 0px #DDD !important;
5300}
5301.shadow {
5302 box-shadow: 1px 1px 7px #CCC !important;
5303}
5304
5305.boxshadow {
5306 box-shadow: 0px 0px 5px #888;
5307}
5308
5309div.tabBar .noborder {
5310 box-shadow: 0px 0px 0px #DDD !important;
5311}
5312
5313#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 {
5314 border-bottom: 1px solid var(--colortopbordertitle1) !important;
5315}
5316#tablelines tr td, #tablelinesservice tr td {
5317/* height: unset; */
5318}
5319
5320/* Prepare to remove class pair - impair */
5321
5322.noborder:not(.editmode) > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven):not(.liste_total),
5323.liste > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven):not(.liste_total),
5324div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven):not(.liste_total),
5325.liste > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven):not(.liste_total),
5326div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre):not(.nooddeven):not(.liste_total)
5327{
5328 background: linear-gradient(bottom, var(----colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5329 background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5330 background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5331 background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5332}
5333.noborder > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
5334.liste > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
5335.noborder .oddeven.tagtr:nth-child(even):not(:last-of-type) .tagtd:not(.liste_titre)
5336{
5337 border-bottom: 1px solid #f0f0f0;
5338}
5339
5340.noborder:not(.editmode) > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven):not(.liste_total),
5341.liste > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven):not(.liste_total),
5342div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven):not(.liste_total),
5343.liste > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven):not(.liste_total),
5344div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre):not(.nooddeven):not(.liste_total)
5345{
5346 background: linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5347 background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5348 background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5349 background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5350}
5351.noborder > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
5352.liste > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
5353.noborder .oddeven.tagtr:nth-child(odd):not(:last-child) .tagtd:not(.liste_titre)
5354{
5355 border-bottom: 1px solid #f0f0f0;
5356}
5357
5358ul.noborder li:nth-child(even):not(.liste_titre) {
5359 background-color: var(--colorbacklinepair2) !important;
5360}
5361
5362
5363/*
5364 * Boxes
5365 */
5366
5367.box {
5368 overflow-x: auto;
5369 min-height: 40px;
5370 padding-right: 0px;
5371 padding-left: 0px;
5372 /* padding-bottom: 10px; */
5373}
5374.boxstatsborder {
5375 /* border: 1px solid #CCC !important; */
5376}
5377/* .boxstats, .boxstats130, .boxstatsempty { */
5378.boxstats, .boxstats130 {
5379 display: inline-block;
5380 margin-left: 8px;
5381 margin-right: 8px;
5382 margin-top: 5px;
5383 margin-bottom: 5px;
5384 text-align: center;
5385
5386 background: var(--colorbackbody);
5387 border: 1px solid var(--colorboxstatsborder);
5388 border-left: 6px solid var(--colorboxstatsborder);
5389 /* box-shadow: 1px 1px 8px var(--colorboxstatsborder); */
5390 border-radius: 4px;
5391}
5392.boxstats, .boxstats130, .boxstatscontent {
5393 white-space: nowrap;
5394 overflow: hidden;
5395 text-overflow: ellipsis;
5396}
5397.boxstats130 {
5398 width: 100%;
5399 height: 59px;
5400 /* padding: 3px; */
5401}
5402.boxstats {
5403 padding-top: 2px;
5404 padding-bottom: 2px;
5405}
5406.boxstats, .boxstatsempty {
5407 padding-left: 5px;
5408 padding-right: 3px;
5409 width: 118px;
5410}
5411<?php if (getDolGlobalString('MAIN_CSS_USE_SHADOWS') && getDolGlobalInt('THEME_DARKMODEENABLED') != 2) { ?>
5412.boxtable, .firstcolumn table.noborder, .secondcolumn table.noborder {
5413 box-shadow: -2px 1px 12px rgba(192, 192, 192, 0.5);
5414}
5415<?php } ?>
5416.boxtable:not(.widgetstats) td.tdboxstats .boxstats {
5417 box-shadow: 1px 1px 8px var(--colorboxstatsborder);
5418 border-radius: 6px;
5419
5420}
5421
5422.tabBar .fichehalfright .boxstats {
5423 padding-top: 8px;
5424 padding-bottom: 4px;
5425}
5426.boxstatscontent {
5427 padding: 3px;
5428}
5429.boxstats150empty {
5430 width: 158px;
5431 padding-left: 3px;
5432 padding-right: 3px;
5433 margin-left: 8px;
5434 margin-right: 8px;
5435}
5436
5437
5438@media only screen and (max-width: 768px)
5439{
5440 .tabBar .arearef .pagination.paginationref {
5441 max-width: calc(50%);
5442 }
5443
5444 div.pagination ul li {
5445 margin-top: 3px;
5446 margin-bottom: 3px;
5447 }
5448 div.pagination .button-title-separator {
5449 display: none;
5450 }
5451
5452 .clearbothonsmartphone {
5453 clear: both;
5454 }
5455 .clearbothonsmartphone:not(.hideonsmartphone) {
5456 display: block !important;
5457 }
5458
5459 div.tabs {
5460 padding-left: 0 !important;
5461 padding-right: 0!important;
5462 margin-left: 0 !important;
5463 margin-right: 0 !important;
5464 }
5465 table.liste tr.trkanban td {
5466 padding: 10px 6px 10px 6px; /* t r b l */
5467 }
5468
5469 a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
5470 padding: 12px 3px 13px;
5471 }
5472 a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
5473 padding: 0px 0px 0px 0px;
5474 }
5475 a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
5476 padding: 0px 0px 0px 0px;
5477 }
5478
5479 td.tdwidgetstate {
5480 text-align: center;
5481 }
5482
5483 .boxstats, .boxstats130 {
5484 margin: 3px;
5485 }
5486 .boxstats130 {
5487 text-align: <?php echo $left; ?>
5488 }
5489 .thumbstat {
5490 flex: 1 1 110px;
5491 margin-bottom: 8px;
5492 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 */
5493 }
5494 .thumbstat150 {
5495 flex: 1 1 110px;
5496 margin-bottom: 8px;
5497 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 */
5498 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 */
5499 /* 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) */
5500 }
5501 .dashboardlineindicator {
5502 float: left;
5503 padding-left: 5px;
5504 }
5505 .boxstats {
5506 width: 111px;
5507 }
5508 .boxstatsempty {
5509 width: 111px;
5510 }
5511
5512}
5513
5514.boxstats:hover {
5515 box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
5516}
5517/*span.boxstatstext span:not(.fas) {
5518 opacity: 0.5;
5519}*/
5520span.boxstatstext span.fas {
5521 filter: grayscale(100%);
5522}
5523span.boxstatstext {
5524 opacity: 0.9; /* a bug if browser make z-index was discovered when opacity is set, if still present, we must disable it */
5525 line-height: 18px;
5526 color: var(--colortext);
5527 font-size: 0.8em;
5528}
5529span.boxstatstext img, a.dashboardlineindicatorlate img {
5530 border: 0;
5531}
5532a img {
5533 border: 0;
5534}
5535.boxstatsindicator.thumbstat150 { /* If we remove this, box position is ko on ipad */
5536 display: inline-flex;
5537}
5538span.boxstatsindicator {
5539 font-size: 130%;
5540 font-weight: normal;
5541 line-height: 29px;
5542 flex-grow: 1;
5543
5544}
5545span.dashboardlineindicator, span.dashboardlineindicatorlate {
5546 font-size: 130%;
5547 font-weight: normal;
5548}
5549a.dashboardlineindicatorlate:hover {
5550 text-decoration: none;
5551}
5552.dashboardlineindicatorlate img {
5553 width: 16px;
5554}
5555span.dashboardlineok {
5556 color: #008800;
5557}
5558span.dashboardlineko {
5559 color: #FFF;
5560 font-size: 80%;
5561}
5562.dashboardlinelatecoin {
5563 float: right;
5564 position: relative;
5565 text-align: right;
5566 top: -27px;
5567 right: 2px;
5568 padding: 0px 5px 0px 5px;
5569 border-radius: .25em;
5570
5571 background-color: #9f4705;
5572}
5573.imglatecoin {
5574 padding: 1px 3px 1px 1px;
5575 margin-left: 4px;
5576 margin-right: 2px;
5577 background-color: #8c4446;
5578 color: #FFFFFF ! important;
5579 border-radius: .25em;
5580 display: inline-block;
5581 vertical-align: middle;
5582}
5583.divboxtable {
5584 margin-bottom: 25px !important;
5585}
5586
5587
5588.fichecenter .tableforfield:not(.margintable) tr td, .tagtr.table-border-row {
5589 background-color: var(--colorbacklineimpair2);
5590}
5591table.liste tr.oddeven:nth-of-type(odd) {
5592 background-color: var(--colorbacklineimpair2);
5593}
5594table.liste tr.oddeven:nth-of-type(even) {
5595 background-color: var(--colorbacklinepair2);
5596}
5597
5598.boxtable {
5599 border-bottom-width: 1px;
5600 background: var(--colorbackbody);
5601 border-top: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
5602 /* border-top: 2px solid var(--colorbackhmenu1) !important; */
5603}
5604.boxtable tr td.tdboxstats {
5605 background: var(--colorbackbody) !important;
5606}
5607.boxtable tr td.tdboxstats div.boxstats {
5608 background: var(--colorbacklineimpair2) !important;
5609}
5610
5611table.noborder.boxtable tr td {
5612 height: unset;
5613}
5614.boxtablenotop {
5615 border-top-width: 0 !important;
5616}
5617.boxtablenobottom {
5618 border-bottom-width: 0 !important;
5619}
5620.boxtablenomarginbottom {
5621 margin-bottom: 0 !important;
5622}
5623.boxtable .fichehalfright, .boxtable .fichehalfleft {
5624 min-width: 275px; /* increasing this, make chart on box not side by side on laptops */
5625}
5626.tdboxstats {
5627 text-align: center;
5628}
5629.boxworkingboard .tdboxstats {
5630 padding-left: 0px !important;
5631 padding-right: 0px !important;
5632}
5633a.valignmiddle.dashboardlineindicator {
5634 line-height: 30px;
5635}
5636.height30 {
5637 height: 30px !important;
5638}
5639.height50 {
5640 height: 50px !important;
5641}
5642
5643tr.box_titre {
5644 height: 26px;
5645
5646 /* TO MATCH BOOTSTRAP */
5647 /*background: #ddd;
5648 color: #000 !important;*/
5649
5650 /* TO MATCH ELDY */
5651 background: var(--colorbacktitle1);
5652 color: var(--colortexttitle);
5653 font-family: <?php print $fontlist ?>, sans-serif;
5654 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5655 border-bottom: 1px solid #FDFFFF;
5656 white-space: nowrap;
5657}
5658
5659tr.box_titre td.boxclose {
5660 width: 30px;
5661}
5662img.boxhandle, img.boxclose {
5663 padding-left: 5px;
5664}
5665
5666.formboxfilter {
5667 vertical-align: middle;
5668 margin-bottom: 6px;
5669}
5670.formboxfilter input[type=image]
5671{
5672 top: 5px;
5673 position: relative;
5674}
5675.boxfilter {
5676 margin-bottom: 2px;
5677 margin-right: 1px;
5678}
5679.prod_entry_mode_free, .prod_entry_mode_predef {
5680 height: 26px !important;
5681 vertical-align: middle;
5682}
5683
5684.modulebuilderbox {
5685 border: 1px solid #888;
5686 padding: 16px;
5687}
5688
5689.star-selection {
5690 font-size: 1rem;
5691 cursor: pointer;
5692 display: flex;
5693 white-space: nowrap;
5694}
5695.star {
5696 color: #ccc;
5697 transition: color 0.4s;
5698}
5699.star:hover, .star.active {
5700 color: var(--butactionbg);
5701}
5702
5703.search-component-assistance {
5704 display: none;
5705 position: absolute;
5706 background: var(--colorbackbody);
5707 border-width: 1px 1px 2px;
5708 border-style: solid;
5709 border-color: rgb(204, 204, 204);
5710 border-image: none; padding: 9px;
5711 box-shadow: rgba(136, 136, 136, 0.267) 1px 2px 10px;
5712 border-radius: 2px;
5713 z-index: 1000;
5714 top: 208.933px;
5715 left: 352.683px;
5716}
5717.search-component-assistance .assistance-title {
5718 font-size: 15px;
5719 font-weight: bold;
5720 color: #333;
5721 margin: 5px
5722}
5723.search-component-assistance .separator {
5724 padding-left: 8px;
5725 margin-left: 5px
5726}
5727.search-component-assistance .end-separator {
5728 margin-left: 8px;
5729}
5730.search-component-assistance .assistance-errors {
5731 font-size: 12px;
5732 color: #333;
5733 margin: 5px 0px 5px 0px
5734}
5735.search-component-assistance .assistance-errors {
5736 margin-bottom: 0px;
5737 text-align: center;
5738}
5739.add-filter-btn {
5740 margin: 0 !important;
5741}
5742.search-component-assistance .operand, .search-component-assistance .operator, .search-component-assistance .value {
5743 display: inline-block;
5744}
5745.search-component-assistance .btn-div{
5746 margin-top: 10px;
5747 text-align: right;
5748}
5749@media only screen and (max-width: 620px) {
5750 .search-component-assistance .operand, .operator, .value {
5751 display: block !important;
5752 }
5753 .search-component-assistance .separator, .end-separator {
5754 padding: 0px;
5755 margin: 0px
5756 }
5757}
5758
5759
5760/*
5761 * Ok, Warning, Error
5762 */
5763
5764.ok { color: #114466; }
5765.warning { color: #776611 !important; }
5766.error { color: #660000 !important; font-weight: bold; }
5767.green { color: #118822 !important; }
5768.neutral { color: #444 !important; }
5769
5770div.ok {
5771 color: #114466;
5772}
5773
5774div.info, div.warning, div.error, div.green, div.neutral, section.neutral {
5775 padding-top: 16px;
5776 padding-left: 20px;
5777 padding-right: 10px;
5778 padding-bottom: 16px;
5779 margin: 1em 0em 1em 0em;
5780 border-radius: 5px;
5781}
5782
5783div.fiche div.info, div.fiche div.warning, div.fiche div.neutral, div.fiche div.green {
5784 <?php if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) { ?>
5785 box-shadow: 1px 1px 6px #d4d4d4;
5786 <?php } ?>
5787 margin: 1em 0em 1.2em 0em;
5788}
5789
5790/* Neutral message */
5791div.neutral, section.neutral {
5792 background: #f8f8f8;
5793}
5794div.neutral {
5795 border-<?php print $left; ?>: solid 5px #888;
5796}
5797
5798/* Info message */
5799div.info {
5800 border-<?php print $left; ?>: solid 5px #87bfc2;
5801 background: #eff8fc;
5802 color: #558;
5803}
5804
5805/* Ok message */
5806div.green div.greenborder, div.green.greenborder, section.green, section.greenborder {
5807 border-<?php print $left; ?>: solid 5px #118822;
5808}
5809div.green, section.green {
5810 background: #e3f0e3;
5811}
5812
5813/* Warning message */
5814div.warning, div.warningborder, section.warning, section.warningborder {
5815 border-<?php print $left; ?>: solid 5px #f2cf87;
5816}
5817div.warning, section.warning {
5818 background: #fcf8e3;
5819}
5820div.warning a, div.info a, div.error a {
5821 color: var(--colortextlink);
5822}
5823
5824/* Error message */
5825div.error {
5826 border-<?php print $left; ?>: solid 5px #f28787;
5827 background: #EFCFCF;
5828 font-weight: normal;
5829}
5830
5831
5832/*
5833 * Paid/Unpaid Links
5834 */
5835
5836a.normal:link { font-weight: normal }
5837a.normal:visited { font-weight: normal }
5838a.normal:active { font-weight: normal }
5839a.normal:hover { font-weight: normal }
5840
5841a.impayee:link { font-weight: bold; color: #550000; }
5842a.impayee:visited { font-weight: bold; color: #550000; }
5843a.impayee:active { font-weight: bold; color: #550000; }
5844a.impayee:hover { font-weight: bold; color: #550000; }
5845
5846
5847/*
5848 * External web site
5849 */
5850
5851.framecontent {
5852 width: 100%;
5853 height: 100%;
5854}
5855
5856.framecontent iframe {
5857 width: 100%;
5858 height: 100%;
5859}
5860
5861
5862/*
5863 * Other
5864 */
5865
5866.opened-dash-board-wrap {
5867 margin-bottom: 25px;
5868}
5869
5870div.boximport {
5871 min-height: unset;
5872}
5873
5874.product_line_stock_ok { color: var(--productlinestockok); }
5875.product_line_stock_too_low { color: var(--productlinestocktoolow); }
5876
5877.fieldrequired { font-weight: bold; color: var(--fieldrequiredcolor) !important; }
5878#tablesubscribe .fieldrequired {
5879 font-weight: inherit !important;
5880 color: inherit !important;
5881}
5882#tablesubscribe .fieldrequired:after {
5883 content: " *";
5884 color: #660000;
5885 font-weight: bold;
5886}
5887
5888td.widthpictotitle, .table-fiche-title img.widthpictotitle { width: 34px; text-align: <?php echo $left; ?>; }
5889span.widthpictotitle { font-size: 1.5em; }
5890table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
5891
5892.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
5893.dolgraphtitlecssboxes { /* margin: 0px; */ }
5894.dolgraphchart canvas {
5895 /* width: calc(100% - 20px) !important; */
5896}
5897.legendColorBox, .legendLabel { border: none !important; }
5898div.dolgraph div.legend, div.dolgraph div.legend div { background-color: var(--dolgraphbg) !important; }
5899div.dolgraph div.legend table tbody tr { height: auto; }
5900td.legendColorBox { padding: 2px 2px 2px 0 !important; }
5901td.legendLabel { padding: 2px 2px 2px 0 !important; }
5902td.legendLabel {
5903 text-align: <?php echo $left; ?>;
5904}
5905
5906label.radioprivate {
5907 white-space: nowrap;
5908}
5909
5910.photo {
5911 border: 0px;
5912}
5913.photowithmargin {
5914/* margin-bottom: 2px;
5915 margin-top: 2px; */
5916}
5917div.divphotoref > div > .photowithmargin, div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
5918 margin-<?php echo $right; ?>: 15px;
5919}
5920
5921.photowithborder {
5922 border: 1px solid #f0f0f0;
5923}
5924.photointooltip {
5925 margin-top: 6px;
5926 margin-bottom: 6px;
5927 text-align: center;
5928}
5929.photodelete {
5930 margin-top: 6px !important;
5931}
5932
5933.logo_setup
5934{
5935 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg', 1) ?>); /* content is used to best fit the container */
5936 display: inline-block;
5937 opacity: 0.2;
5938}
5939.nographyet
5940{
5941 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg', 1) ?>);
5942 display: inline-block;
5943 opacity: 0.1;
5944 background-repeat: no-repeat;
5945}
5946.nographyettext
5947{
5948 opacity: 0.5;
5949}
5950
5951/* height of top title */
5952.fiche > table.table-fiche-title tr.toptitle, .fiche > form > table.table-fiche-title tr.toptitle {
5953 height: 60px;
5954}
5955/* height of other title */
5956table.table-fiche-title tr.toptitle, table.table-fiche-title tr.toptitle {
5957 height: 44px;
5958}
5959
5960
5961div.titre {
5962 font-size: 1.1em;
5963 text-decoration: none;
5964 font-weight: 400;
5965}
5966div.titre.small {
5967 font-size: 1em;
5968}
5969div.fiche > table.table-fiche-title:first-of-type div, div.fiche > form > table.table-fiche-title:first-of-type div {
5970 font-size: 1.1em;
5971}
5972div.fiche > table.table-fiche-title:first-of-type div {
5973 color: var(--colortexttitlenotab);
5974}
5975div.titre, tr.liste_titre .print-barre-liste {
5976 color: var(--colortexttitlenotab);
5977}
5978
5979td.subtitle {
5980 line-height: 1.1em;
5981}
5982
5983.secondary {
5984 color: var(--colortexttitlenotab);
5985}
5986.tertiary {
5987 color: var(--colortexttitlenotab2);
5988}
5989
5990table.table-fiche-title .col-title div.titre > span:not(.print-barre-liste) {
5991 line-height: normal;
5992}
5993
5994table.table-fiche-title, div.fiche>table.table-fiche-title {
5995 margin-bottom: 12px;
5996}
5997.table-list-of-attached-files, .table-list-of-links {
5998 margin-bottom: 0 !important;
5999}
6000.fichehalfleft table.table-fiche-title, .fichehalfright table.table-fiche-title {
6001 margin-bottom: 8px;
6002}
6003
6004
6005div.backgreypublicpayment {
6006 background-color: var(--colorbackgrey);
6007 padding: 20px;
6008 border-bottom: 1px solid #ddd;
6009 text-align: center;
6010 position: sticky;
6011 top: 0;
6012 z-index: 1005;
6013}
6014.backgreypublicpayment a {
6015 color: var(--colorblack) !important;
6016 opacity: 0.9;
6017}
6018.poweredbypublicpayment {
6019 float: right;
6020 top: 8px;
6021 right: 12px;
6022 position: absolute;
6023 font-size: 0.8em;
6024 color: #222;
6025 opacity: 0.3;
6026}
6027a.poweredbyhref {
6028 text-decoration: none;
6029}
6030
6031#dolpublictable {
6032 min-width: 300px; font-size: 16px;
6033 padding: 6px;
6034}
6035#dolpaymenttable {
6036 min-width: 320px; font-size: 16px;
6037 max-width: 600px;
6038} /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
6039
6040#tablepublicpayment {
6041 border: 2px solid #CCCCCC !important;
6042 width: 100%;
6043 padding: 20px;
6044 margin-bottom: 25px;
6045 border-radius: 10px;
6046}
6047#tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
6048#tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
6049#tablepublicpayment tr.liste_total td { border-top: none; }
6050input#cardholder-name {
6051 font-size: 1em;
6052}
6053
6054.divmainbodylarge { margin-left: 40px; margin-right: 40px; }
6055.publicnewmemberform div.titre { font-size: 2em; }
6056#divsubscribe { max-width: 900px; }
6057#divsubscribe .eventlabel { font-size: 1.5em; }
6058#tablesubscribe { width: 100%; }
6059#tablesubscribe tr td { font-size: 1.15em; }
6060#tablesubscribe .price-registration { font-size: 1.5em; }
6061
6062
6063div#card-element {
6064 border: 1px solid #ccc;
6065}
6066div#card-errors {
6067 color: #fa755a;
6068 text-align: center;
6069 padding-top: 3px;
6070 /* max-width: 320px; */
6071}
6072
6073
6074/*
6075 * Effect Postit
6076 */
6077.effectpostit
6078{
6079 position: relative;
6080}
6081.effectpostit:before, .effectpostit:after
6082{
6083 z-index: -1;
6084 position: absolute;
6085 content: "";
6086 bottom: 15px;
6087 left: 10px;
6088 width: 50%;
6089 top: 80%;
6090 max-width:300px;
6091 background: #777;
6092 box-shadow: 0 15px 10px #777;
6093 -webkit-transform: rotate(-3deg);
6094 -moz-transform: rotate(-3deg);
6095 -o-transform: rotate(-3deg);
6096 -ms-transform: rotate(-3deg);
6097 transform: rotate(-3deg);
6098}
6099.effectpostit:after
6100{
6101 -webkit-transform: rotate(3deg);
6102 -moz-transform: rotate(3deg);
6103 -o-transform: rotate(3deg);
6104 -ms-transform: rotate(3deg);
6105 transform: rotate(3deg);
6106 right: 10px;
6107 left: auto;
6108}
6109
6110
6111
6112/* ============================================================================== */
6113/* Form confirmation (When Ajax JQuery is used) and Dialog popups */
6114/* ============================================================================== */
6115
6116button.ui-button-icon-only.ui-dialog-titlebar-close {
6117 padding: 12px;
6118 margin-top: -15px;
6119 margin-right: 15px;
6120}
6121.ui-dialog-content {
6122 margin-bottom: 10px; /* same than .ui-widget-header */
6123}
6124.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
6125 z-index: 1005 !important; /* Default 101 with ui-jquery, top menu have a z-index of 1000 */
6126}
6127.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
6128 z-index:1006 !important; /* To always be over the dialog box */
6129}
6130.ui-dialog.ui-widget.ui-widget-content {
6131 border: 1px solid #e0e0e0;
6132 border-radius: 6px;
6133 box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 15px;
6134}
6135.ui-dialog {
6136 padding-left: 5px;
6137 padding-right: 5px;
6138 padding-top: 5px;
6139 padding-bottom: 5px;
6140 min-width: 300px;
6141 max-width: 70%;
6142}
6143.ui-widget-header {
6144 padding: 8px !important;
6145 background: unset;
6146 border: unset;
6147 border-bottom: 1px solid #AAA;
6148 margin-bottom: 12px;
6149}
6150.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable {
6151 box-shadow: 5px 5px 20px #AAA;
6152}
6153
6154.ui-dialog .ui-dialog-buttonpane {
6155 padding: .5em 1em .3em .4em;
6156}
6157.ui-dialog .ui-dialog-content, .ui-dialog .ui-dialog-titlebar.ui-widget-header {
6158 padding-left: 1em !important;
6159}
6160button.ui-button-icon-only.ui-dialog-titlebar-close {
6161 margin-right: 8px !important;
6162}
6163/*
6164.ui-dialog .ui-dialog-content {
6165 text-align: justify;
6166}
6167*/
6168
6169
6170/* JQuery dialog */
6171
6172.ui-dialog .ui-widget-header {
6173 border: none;
6174 border-bottom: 1px solid #dbdbdb;
6175 background: none;
6176 border-radius: unset;
6177}
6178
6179
6180.ui-dialog .ui-dialog-titlebar-close {
6181 position: absolute;
6182 right: .3em;
6183 top: 50%;
6184 width: 20px;
6185 margin: -10px 0 0 0;
6186 padding: 1px;
6187 height: 20px;
6188 border-radius: 30px;
6189 border: 1px solid #ededed;
6190}
6191
6192.ui-dialog-title {
6193 font-size: medium;
6194}
6195
6196button.ui-button-icon-only.ui-dialog-titlebar-close {
6197 padding: 12px;
6198 margin-top: -15px;
6199 margin-right: 0px;
6200}
6201
6202
6203 /* ============================================================================== */
6204/* For content of image preview */
6205/* ============================================================================== */
6206
6207/*
6208.ui-dialog-content.ui-widget-content > object {
6209 max-height: none;
6210 width: auto; margin-left: auto; margin-right: auto; display: block;
6211}
6212*/
6213
6214
6215/* ============================================================================== */
6216/* Formulaire confirmation (When HTML is used) */
6217/* ============================================================================== */
6218
6219table.valid, div.valid {
6220 /* border-top: solid 1px #E6E6E6; */
6221 border-<?php print $left; ?>: solid 5px #f2cf87;
6222 /* border-<?php print $right; ?>: solid 1px #444444;
6223 border-bottom: solid 1px #555555; */
6224 padding-top: 8px;
6225 padding-left: 10px;
6226 padding-right: 4px;
6227 padding-bottom: 4px;
6228 margin: 0px 0px;
6229 background: var(--tablevalidbgcolor);
6230}
6231
6232.validtitre {
6233 font-weight: bold;
6234}
6235
6236
6237/* ============================================================================== */
6238/* Tooltips */
6239/* ============================================================================== */
6240
6241/* For tooltip using dialog */
6242.ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
6243 z-index: 3000;
6244}
6245
6246div.ui-tooltip {
6247 max-width: <?php print dol_size(700, 'width'); ?>px !important;
6248}
6249div.ui-tooltip.mytooltip {
6250 border: none !important;
6251 padding: 20px 20px;
6252 border-radius: 4px;
6253 margin: 2px;
6254 font-stretch: condensed;
6255 box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
6256 filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=5);
6257 background: var(--tooltipbgcolor) !important;
6258 color: var(--tooltipfontcolor);
6259 line-height: 1.6em;
6260 min-width: 550px;
6261 pointer-events: none;
6262}
6263
6264<?php
6265if (getDolGlobalString('THEME_DARKMODEENABLED')) {
6266 print "/* For dark mode */\n";
6267 if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) {
6268 print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
6269 } else {
6270 print "@media not print {";
6271 } ?>
6272 div.ui-tooltip.mytooltip {
6273 border: 1px solid #bbb !important;
6274 }
6275 <?php
6276 print '}';
6277}
6278?>
6279
6280@media only screen and (max-width: 768px)
6281{
6282 div.ui-tooltip.mytooltip {
6283 max-width: 400px;
6284 }
6285}
6286@media only screen and (max-width: 480px)
6287{
6288 div.ui-tooltip.mytooltip {
6289 max-width: 300px;
6290 }
6291}
6292@media only screen and (max-width: 320px)
6293{
6294 div.ui-tooltip.mytooltip {
6295 max-width: 230px;
6296 }
6297}
6298
6299
6300
6301
6302/* ============================================================================== */
6303/* Calendar date picker */
6304/* ============================================================================== */
6305
6306.ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
6307.ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
6308html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
6309{
6310 border: unset;
6311}
6312
6313div#ui-datepicker-div {
6314 width: 300px;
6315 box-shadow: 2px 5px 15px #aaa;
6316 border: unset;
6317 padding-left: 5px;
6318 padding-right: 5px;
6319 padding-top: 5px;
6320 z-index: 1010 !important; /* must be over menu bar */
6321}
6322.ui-datepicker .ui-datepicker table {
6323 font-size: unset;
6324}
6325.ui-datepicker .ui-widget-header {
6326 border: unset;
6327 background: unset;
6328}
6329
6330/* the button Previous / Next month */
6331.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
6332 width: 2.5em;
6333 height: 2.7em;
6334}
6335
6336
6337img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
6338
6339select.ui-datepicker-year {
6340 margin-left: 2px !important;
6341}
6342.ui-datepicker-trigger, .ui-datepicker-notrigger {
6343 vertical-align: middle;
6344 padding-left: 2px;
6345 padding-right: 2px;
6346}
6347.ui-datepicker-notrigger {
6348 cursor: default;
6349}
6350.ui-datepicker-trigger {
6351 cursor: pointer;
6352}
6353
6354/*
6355.bodyline {
6356 border-radius: 8px;
6357 border: 1px #E4ECEC outset;
6358 padding: 0px;
6359 margin-bottom: 5px;
6360}
6361*/
6362table.dp {
6363 width: 180px;
6364 background-color: var(--inputbackgroundcolor);
6365 border-top: solid 2px #DDDDDD;
6366 border-<?php print $left; ?>: solid 2px #DDDDDD;
6367 border-<?php print $right; ?>: solid 1px #222222;
6368 border-bottom: solid 1px #222222;
6369 padding: 0px;
6370 border-spacing: 0px;
6371 border-collapse: collapse;
6372}
6373.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
6374/* Barre titre */
6375.dpHead,.tpHead,.tpHour td:Hover .tpHead{
6376 font-weight:bold;
6377 background-color:#b3c5cc;
6378 color:white;
6379 font-size:11px;
6380 cursor:auto;
6381}
6382/* Barre navigation */
6383.dpButtons,.tpButtons {
6384 text-align:center;
6385 background-color:#617389;
6386 color:#FFFFFF;
6387 font-weight:bold;
6388 cursor:pointer;
6389}
6390.dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
6391.dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
6392.dpExplanation{ font-weight:normal; font-size:11px;}
6393.dpWeek td{text-align:center}
6394
6395.dpToday,.dpReg,.dpSelected{
6396 cursor:pointer;
6397}
6398.dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
6399.dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
6400
6401/* Jour courant */
6402.dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
6403
6404.tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
6405.tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
6406.tpHour td:Hover {background-color:black;color:white;}
6407
6408.tpMinute {margin-top:5px;}
6409.tpMinute td:Hover {background-color:black; color:white; }
6410.tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
6411
6412/* Bouton X fermer */
6413.dpInvisibleButtons
6414{
6415 border-style:none;
6416 background-color:transparent;
6417 padding:0px;
6418 font-size: 0.85em;
6419 border-width:0px;
6420 color:#0B63A2;
6421 vertical-align:middle;
6422 cursor: pointer;
6423}
6424.datenowlink {
6425 color: var(--colortextlink);
6426 font-size: 0.8em;
6427 opacity: 0.7;
6428}
6429
6430
6431/* ============================================================================== */
6432/* Show/Hide */
6433/* ============================================================================== */
6434
6435div.visible {
6436 display: block;
6437}
6438
6439div.hidden, div.hiddenforpopup, header.hidden, tr.hidden, td.hidden,
6440img.hidden, span.hidden, br.hidden, div.showifmore, input.hidden {
6441 display: none;
6442}
6443.unvisible {
6444 visibility: hidden;
6445}
6446tr.visible {
6447 display: block;
6448}
6449
6450
6451/* ============================================================================== */
6452/* Module website */
6453/* ============================================================================== */
6454
6455.previewnotyetavailable {
6456 opacity: 0.5;
6457}
6458
6459.websiteformtoolbar {
6460 position: sticky;
6461 top: <?php echo empty($dol_hide_topmenu) ? ($disableimages ? '32px' : '52px') : '0'; ?>;
6462 z-index: 1002; /* Dolibarr menu is 1001, Website menu is 1002 */
6463}
6464
6465.exampleapachesetup {
6466 overflow-y: auto;
6467 height: 100px;
6468 font-size: 0.8em;
6469 border: 1px solid #aaa;
6470}
6471
6472span[phptag] {
6473 background: #ddd; border: 1px solid #ccc; border-radius: 4px;
6474}
6475
6476.nobordertransp {
6477 border: 0px;
6478 background-color: transparent;
6479 background-image: none;
6480}
6481.bordertransp {
6482 background-color: transparent;
6483 background-image: none;
6484 border: none;
6485 font-weight: normal;
6486}
6487.websitebar .button.bordertransp, .websitebar .fa-plus-circle.btnTitle-icon {
6488 color: unset;
6489 text-decoration: unset !important;
6490 margin: 0px 4px 0px 4px !important
6491}
6492
6493.websitebar {
6494 border-bottom: 1px solid #ccc;
6495 background: #e6e6e6;
6496 display: inline-block;
6497 z-index: 1000;
6498}
6499.centpercent.websitebar {
6500 width: calc(100% - 10px);
6501 padding: 5px 5px 5px 5px;
6502 font-size: 0.94em;
6503}
6504.websitebar .buttonDelete, .websitebar .button {
6505 text-shadow: none;
6506}
6507.websitebar .button, .websitebar .buttonDelete
6508{
6509 padding: 4px 5px 4px 5px !important;
6510 margin: 2px 4px 2px 4px !important;
6511/* line-height: normal; */
6512 background: #f5f5f5 !important;
6513 border: 1px solid #ccc !important;
6514}
6515.websiteselection {
6516 /* display: inline-block; */
6517 padding-<?php echo $right; ?>: 10px;
6518 vertical-align: middle;
6519 line-height: 2.2em;
6520}
6521.websiteselectionsection {
6522 font-size: 0.85em;
6523}
6524.websiteselection span {
6525 vertical-align: middle;
6526}
6527.websitetools {
6528 float: right;
6529}
6530.websiteselection, .websitetools {
6531 /* margin-top: 3px;
6532 padding-top: 3px;
6533 padding-bottom: 3px; */
6534}
6535.websiteinputurl {
6536 display: inline-block;
6537 vertical-align: middle;
6538 line-height: 26px;
6539}
6540.websiteiframenoborder {
6541 border: 0px;
6542}
6543span.websiteselection span.select2.select2-container.select2-container--default {
6544 margin: 0 0 0 4px;
6545}
6546span.websitebuttonsitepreview, a.websitebuttonsitepreview {
6547 vertical-align: middle;
6548}
6549span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
6550 width: 26px;
6551 display: inline-block;
6552}
6553span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
6554 opacity: 0.2;
6555}
6556.websitehelp {
6557 vertical-align: middle;
6558 float: right;
6559 padding-top: 8px;
6560}
6561.websiteselectionsection {
6562 border-left: 1px solid #bbb;
6563 border-right: 1px solid #bbb;
6564 margin-left: 0px;
6565 padding-left: 8px;
6566 margin-right: 5px;
6567}
6568.websitebar input#previewpageurl {
6569 line-height: 1em;
6570}
6571
6572.websitebar input.bordertransp {
6573 line-height: normal !important;
6574}
6575
6576#divbodywebsite section p {
6577 margin: unset;
6578}
6579
6580#divbodywebsite #websitetemplateconfigpage{
6581 max-width: 1200px;
6582 margin: 50px auto 0;
6583}
6584
6585
6586/* ============================================================================== */
6587/* Module agenda */
6588/* ============================================================================== */
6589
6590.dayevent .tagtr:first-of-type {
6591 height: 24px;
6592}
6593
6594.agendacell { height: 60px; }
6595table.cal_month { border-spacing: 0px; }
6596table.cal_month td:first-child { border-left: 0px; }
6597table.cal_month td:last-child { border-right: 0px; }
6598table.cal_month td { padding-left: 1px !important; padding-right: 1px !important; }
6599table.cal_month.cal_peruser td { padding-left: 0 !important; padding-right: 0 !important; }
6600.cal_current_month { border-top: 0; border-left: solid 1px #E8E8E8; border-right: 0; border-bottom: solid 1px #E8E8E8; }
6601.cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E8E8E8; }
6602.cal_current_month_oneday { border-right: solid 1px #E8E8E8; }
6603.cal_other_month { border-top: 0; border-left: solid 1px #E8E8E8; border-right: 0; border-bottom: solid 1px #C0C0C0; }
6604.cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
6605.cal_current_month_right { border-right: solid 1px #E8E8E8; }
6606.cal_other_month_right { border-right: solid 1px #C0C0C0; }
6607.cal_other_month { /* opacity: 0.6; */ background: #FCFCFC; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
6608.cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
6609.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; }
6610.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; }
6611.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; }
6612.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; }
6613.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; }
6614.cal_today_peruser_impair { /* background: #FDFDF0; */ }
6615.cal_past { }
6616.cal_peruser { padding-top: 0 !important; padding-bottom: 0 !important; padding-<?php print $left; ?>: 0 !important; padding-<?php print $right; ?>: 0 !important; }
6617.cal_impair {
6618 background: linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6619 background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6620 background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6621 background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6622}
6623.cal_showmore { opacity: 0.5 }
6624.peruser_busy { }
6625.peruser_notbusy { opacity: 0.5; }
6626div.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); }
6627table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; min-height: 20px; filter: saturate(0.8); border-radius: 3px; }
6628table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
6629table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
6630table.cal_event td.cal_event_right { padding: 4px 4px !important; }
6631tr.trcalweek { height: 300px; }
6632tr.trcalday { height: 300px; }
6633.cal_event { font-size: 1em; }
6634.cal_event a:link { color: #111111; font-weight: normal !important; }
6635.cal_event a:visited { color: #111111; font-weight: normal !important; }
6636.cal_event a:active { color: #111111; font-weight: normal !important; }
6637.cal_event_notbusy a.cal_event_title:hover { color: #111111; font-weight: normal !important; }
6638.cal_event_busy { }
6639.cal_peruserviewname { max-width: 140px; height: 30px !important; }
6640.cal_event span.badge.badge-status { border: 1px solid #aaa; }
6641table.cal_month tr td table.nobordernopadding tr td { padding: 0 2px 0 2px; }
6642table.cal_month tr.liste_titre td.tdfordaytitle { min-width: 120px; }
6643a.dayevent-aday {
6644 margin-left: 8px;
6645}
6646td.small.cal_event {
6647 font-size: 0.9em;
6648}
6649
6650.calendarviewcontainertr { height: 100px; }
6651
6652td.cal_other_month {
6653 /* opacity: 0.7; */
6654}
6655td.event-past span {
6656 opacity: 0.5;
6657}
6658td.peruser_holiday_imp {
6659 background-color: #aaa !important;
6660}
6661
6662.cal_available { background: #0060d450; }
6663.cal_chosen { background: #0060d4; }
6664
6665
6666/* ============================================================================== */
6667/* UI features */
6668/* ============================================================================== */
6669
6670.ui-widget-content {
6671 border: solid 1px rgba(0,0,0,.3);
6672 background: var(--colorbackbody) !important;
6673 color: var(--colortext) !important;
6674}
6675
6676/* Style to overwrites UI JQuery styles */
6677.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
6678 /* border: 1px solid #888; */
6679 background: var(--colorbacktitle1);
6680 color: unset;
6681 font-weight: bold;
6682}
6683.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 {
6684 background: var(--colorbackhmenu1);
6685 color: #ffffff !important;
6686 border: 1px solid var(--colorbackhmenu1);
6687}
6688.ui-menu {
6689 padding: 5px;
6690/*
6691 border-bottom-left-radius: 6px;
6692 border-bottom-right-radius: 6px;
6693 */
6694}
6695.ui-menu .ui-menu-item a {
6696 text-decoration:none;
6697 display:block;
6698 padding:.5em .6em;
6699 line-height:1.5;
6700 font-weight: normal;
6701 font-family:<?php echo $fontlist; ?>;
6702 font-size:1em;
6703}
6704.ui-widget {
6705 font-family:<?php echo $fontlist; ?>;
6706}
6707/* .ui-button { margin-left: -2px; <?php print(preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> } */
6708.ui-button { margin-left: -2px; }
6709.ui-button-icon-only .ui-button-text { height: 8px; }
6710.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
6711.ui-button-text
6712{
6713 line-height: 1em !important;
6714}
6715
6716
6717/* ============================================================================== */
6718/* Ajax combo list for autocompletion */
6719/* ============================================================================== */
6720
6721.ui-autocomplete-loading {
6722 background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat;
6723}
6724.ui-autocomplete {
6725 position:absolute;
6726 width:auto;
6727 font-size: 1.0em;
6728 background-color: var(--inputbackgroundcolor);
6729 border:1px solid #888;
6730 margin:0px;
6731/* padding:0px; This make combo crazy */
6732 }
6733.ui-autocomplete ul {
6734 list-style-type:none;
6735 margin:0px;
6736 padding:0px;
6737 }
6738.ui-autocomplete ul li.selected {
6739 background-color: var(--inputbackgroundcolor);
6740}
6741.ui-autocomplete ul li {
6742 list-style-type:none;
6743 display:block;
6744 margin:0;
6745 padding:2px;
6746 height:18px;
6747 cursor:pointer;
6748 }
6749.ui-autocomplete-input { margin: 0; padding: 4px; }
6750
6751
6752/* ============================================================================== */
6753/* Edit in place */
6754/* ============================================================================== */
6755
6756.editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
6757 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
6758 cursor: pointer;
6759 margin-right: 3px;
6760 margin-top: 3px;
6761}
6762
6763.editkey_datepicker {
6764 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
6765 margin-right: 3px;
6766 cursor: pointer;
6767 margin-right: 3px;
6768 margin-top: 3px;
6769}
6770
6771.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 {
6772 background: white;
6773 cursor: pointer;
6774}
6775
6776.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 {
6777 background: white;
6778 cursor: pointer;
6779}
6780
6781.viewval_hover {
6782 background: white;
6783}
6784
6785
6786/* ============================================================================== */
6787/* Admin Menu */
6788/* ============================================================================== */
6789
6790/* CSS for treeview */
6791.treeview ul { background-color: transparent !important; margin-top: 0 !important; /* margin-bottom: 4px !important; padding-top: 2px !important; */ }
6792.treeview li { background-color: transparent !important; padding: 0 0 0 20px !important; min-height: 30px; }
6793.treeview .hitarea { width: 20px !important; margin-left: -20px !important; margin-top: 3px; }
6794.treeview li table { min-height: 30px; }
6795.treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
6796
6797
6798/* ============================================================================== */
6799/* Show Excel tabs */
6800/* ============================================================================== */
6801
6802.table_data
6803{
6804 border-style:ridge;
6805 border:1px solid;
6806}
6807.tab_base
6808{
6809 background:#C5D0DD;
6810 font-weight:bold;
6811 border-style:ridge;
6812 border: 1px solid;
6813 cursor:pointer;
6814}
6815.table_sub_heading
6816{
6817 background:#CCCCCC;
6818 font-weight:bold;
6819 border-style:ridge;
6820 border: 1px solid;
6821}
6822.table_body
6823{
6824 background:#F0F0F0;
6825 font-weight:normal;
6826 font-family:sans-serif;
6827 border-style:ridge;
6828 border: 1px solid;
6829 border-spacing: 0px;
6830 border-collapse: collapse;
6831}
6832.tab_loaded
6833{
6834 background:#222222;
6835 color:white;
6836 font-weight:bold;
6837 border-style:groove;
6838 border: 1px solid;
6839 cursor:pointer;
6840}
6841
6842
6843/* ============================================================================== */
6844/* CSS for color picker */
6845/* ============================================================================== */
6846
6847div.jPicker table.jPicker {
6848 padding-bottom: 20px;
6849 padding-right: 20px;
6850 padding-left: 20px;
6851}
6852table.jPicker tr:first-of-type td {
6853 height: 2px !important;
6854 line-height: 2px;
6855}
6856.jPicker .Icon {
6857 margin-left: 2px;
6858}
6859.jPicker .Move {
6860 background: unset !important;
6861 border: unset !important;
6862}
6863.jPicker .Preview div span {
6864 border: unset !important;
6865 width: unset !important;
6866 height: 50% !important;
6867}
6868.jPicker div[class="Map"] {
6869 max-width: 150px;
6870}
6871table.jPicker {
6872 border-radius: 5px;
6873 border: 1px solid #bbb !important;
6874 background-color: var(--colorbackbody) !important;
6875 box-shadow: 0px 0px 10px #ccc;
6876 width: 300px !important;
6877}
6878span.jPicker {
6879 vertical-align: middle;
6880}
6881.jPicker .Grid {
6882 background-image: unset !important;
6883}
6884.jPicker .Grid span.QuickColor {
6885 border: unset !important;
6886}
6887.jPicker td.Radio {
6888 min-width: 34px;
6889}
6890.jPicker td.Text {
6891 white-space: nowrap;
6892}
6893.jPicker .Preview div {
6894 height: 36px !important;
6895}
6896.jPicker input[type="button"] {
6897 background: var(--butactionbg);
6898 color: var(--textbutaction);
6899 border-radius: 4px;
6900 border-collapse: collapse;
6901 border: none;
6902}
6903.jPicker tr.Hex td.Text input {
6904 width: 60px !important;
6905}
6906.jPicker td.Text input {
6907 min-width: 40px;
6908 padding: 8px;
6909 border: 1px solid #bbb !important;
6910 border-radius: 4px;
6911}
6912
6913A.color, A.color:active, A.color:visited {
6914 position : relative;
6915 display : block;
6916 text-decoration : none;
6917 width : 10px;
6918 height : 10px;
6919 line-height : 10px;
6920 margin : 0px;
6921 padding : 0px;
6922 border : 1px inset white;
6923}
6924A.color:hover {
6925 border : 1px outset white;
6926}
6927A.none, A.none:active, A.none:visited, A.none:hover {
6928 position : relative;
6929 display : block;
6930 text-decoration : none;
6931 width : 10px;
6932 height : 10px;
6933 line-height : 10px;
6934 margin : 0px;
6935 padding : 0px;
6936 cursor : default;
6937 border : 1px solid #b3c5cc;
6938}
6939.tblColor {
6940 display : none;
6941}
6942.tdColor {
6943 padding : 1px;
6944}
6945.tblContainer {
6946 background-color : #b3c5cc;
6947}
6948.tblGlobal {
6949 position : absolute;
6950 top : 0px;
6951 left : 0px;
6952 display : none;
6953 background-color : #b3c5cc;
6954 border : 2px outset;
6955}
6956.tdContainer {
6957 padding : 5px;
6958}
6959.tdDisplay {
6960 width : 50%;
6961 height : 20px;
6962 line-height : 20px;
6963 border : 1px outset white;
6964}
6965.tdDisplayTxt {
6966 width : 50%;
6967 height : 24px;
6968 line-height : 12px;
6969 font-family : <?php print $fontlist ?>;
6970 font-size : 8pt;
6971 color : black;
6972 text-align : center;
6973}
6974.btnColor {
6975 width : 100%;
6976 font-family : <?php print $fontlist ?>;
6977 font-size : 10pt;
6978 padding : 0px;
6979 margin : 0px;
6980}
6981.btnPalette {
6982 width : 100%;
6983 font-family : <?php print $fontlist ?>;
6984 font-size : 8pt;
6985 padding : 0px;
6986 margin : 0px;
6987}
6988.colorselector {
6989 border: solid 1px #ddd !important;
6990}
6991input.colorpicker {
6992 color: unset !important;
6993 background-color: unset !important;
6994}
6995
6996
6997/* ============================================================================== */
6998/* CKEditor */
6999/* ============================================================================== */
7000
7001textarea.dolibarr_mailings > div.cke body.cke_show_borders {
7002 margin: 0 !important;
7003}
7004/*body.cke_show_borders {
7005 margin: 5px !important;
7006}*/
7007.cke_source {
7008 margin: 5px !important;
7009}
7010.cke_dialog {
7011 border: 1px #bbb solid ! important;
7012}
7013/*.cke_editor table, .cke_editor tr, .cke_editor td
7014{
7015 border: 0px solid #FF0000 !important;
7016}
7017span.cke_skin_kama { padding: 0 !important; }*/
7018.cke_wrapper { padding: 4px !important; }
7019a.cke_dialog_ui_button
7020{
7021 font-family: <?php print $fontlist ?> !important;
7022 background-image: url(<?php echo $img_button ?>) !important;
7023 background-position: bottom !important;
7024 border: 1px solid #C0C0C0 !important;
7025 border-radius:0px 5px 0px 5px !important;
7026 box-shadow: 3px 3px 4px #DDD !important;
7027}
7028.cke_dialog_ui_hbox_first {
7029 vertical-align: middle !important;
7030}
7031.cke_combo_text {
7032 width: 40px !important;
7033}
7034/*
7035.cke_editable
7036{
7037 line-height: 1.4 !important;
7038 margin: 6px !important;
7039}
7040*/
7041a.cke_dialog_ui_button_ok span {
7042 text-shadow: none !important;
7043 color: #333 !important;
7044}
7045a.cke_button, a.cke_combo_button {
7046 height: 18px !important;
7047}
7048div.cke_notifications_area .cke_notification_warning {
7049 visibility: hidden;
7050}
7051
7052.cke.cke_reset {
7053 margin-top: 8px;
7054 margin-bottom: 8px;
7055}
7056
7057/* CSS to round border */
7058.cke.cke_reset, .cke_inner.cke_reset, .cke_top.cke_reset_all {
7059 border-top-left-radius: <?php echo $borderradius; ?>px;
7060 border-top-right-radius: <?php echo $borderradius; ?>px;
7061}
7062.cke.cke_reset, .cke_inner.cke_reset, .cke_contents.cke_reset {
7063 border-bottom-left-radius: <?php echo $borderradius; ?>px;
7064 border-bottom-right-radius: <?php echo $borderradius; ?>px;
7065}
7066
7067/* CSS To hide the picto menu on smartphone, except when maximize */
7068@media only screen and (max-width: 768px)
7069{
7070 .cke_inner:not(.cke_maximized) .cke_toolbar_separator,
7071 .cke_inner:not(.cke_maximized) .cke_combo,
7072 .cke_inner:not(.cke_maximized) .cke_button:not(.cke_button__maximize) {
7073 display: none;
7074 }
7075}
7076
7077
7078/* ============================================================================== */
7079/* TinyMCE */
7080/* ============================================================================== */
7081
7082td.linecoldescription .tox.tox-tinymce {
7083 margin-top: 8px;
7084}
7085
7086.tox .tox-edit-area::before {
7087 border: none !important;
7088}
7089.tox.tox-tinymce {
7090 margin-bottom: 6px;
7091}
7092.tox:not(.tox-tinymce-inline) .tox-editor-header {
7093 padding: 0 !important;
7094}
7095.tox .tox-tbtn:not(.tox-tbtn--select):not(.tox-tbtn--bespoke):not(.tox-split-button__chevron) {
7096 width: 30px !important;
7097}
7098.tox .tox-toolbar__group {
7099 padding-left: 5px !important;
7100 padding-right: 5px !important;
7101}
7102button.tox-tbtn.tox-tbtn--select.tox-tbtn--bespoke[data-mce-name="fontsize"] {
7103 width: 70px;
7104}
7105.tox:not(.tox-tinymce-inline) .tox-editor-header {
7106 /*border-bottom: 1px solid #ddd !important;
7107 box-shadow: unset !important; */
7108 box-shadow: 0 2px 2px -2px rgba(34,47,62,.1),0 5px 5px -4px rgba(34,47,62,.09) !important;
7109}
7110.mce-content-body p {
7111 margin: unset;
7112}
7113.tox .tox-button:hover:not(:disabled, .tox-button--secondary, .tox-button--naked) {
7114 background-color: var(--butactionbg) !important;
7115 border-color: var(--butactionbg) !important;
7116}
7117.tox .tox-button:not(.tox-button--secondary, .tox-button--naked) {
7118 background-color: var(--butactionbg) !important;
7119 border-color: var(--butactionbg) !important;
7120}
7121.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 {
7122 background-color: #fff;
7123 border-color: var(--butactionbg) !important;
7124 box-shadow: 0 0 0 1px var(--butactionbg) !important;
7125 outline: 0;
7126}
7127
7128
7129/* ============================================================================== */
7130/* ACE editor */
7131/* ============================================================================== */
7132.ace_editor {
7133 border: 1px solid #ddd;
7134 margin: 0;
7135}
7136.aceeditorstatusbar {
7137 margin: 0;
7138 padding: 0;
7139 padding-<?php echo $left; ?>: 10px;
7140 left: 0;
7141 right: 0;
7142 bottom: 0;
7143 background-color: #ebebeb;
7144 height: 2.2em;
7145 line-height: 2.2em;
7146}
7147.ace_status-indicator {
7148 color: gray;
7149 position: relative;
7150 right: 0;
7151 border-<?php echo $left; ?>: 1px solid;
7152 padding-<?php echo $left; ?>: 10px;
7153}
7154pre#editfilecontentaceeditorid {
7155 margin-top: 5px;
7156}
7157
7158
7159/* ============================================================================== */
7160/* File upload */
7161/* ============================================================================== */
7162
7163.template-upload {
7164 height: 72px !important;
7165}
7166
7167
7168/* ============================================================================== */
7169/* Custom reports */
7170/* ============================================================================== */
7171
7172.customreportsoutput, .customreportsoutputnotdata {
7173 padding-top: 20px;
7174}
7175.customreportsoutputnotdata {
7176 text-align: center;
7177}
7178
7179
7180/* ============================================================================== */
7181/* Holiday */
7182/* ============================================================================== */
7183
7184#types .btn {
7185 cursor: pointer;
7186}
7187
7188#types .btn-primary {
7189 font-weight: bold;
7190}
7191
7192#types form {
7193 padding: 20px;
7194}
7195
7196#types label {
7197 display:inline-block;
7198 width:100px;
7199 margin-right: 20px;
7200 padding: 4px;
7201 text-align: right;
7202 vertical-align: top;
7203}
7204
7205#types input.text, #types textarea {
7206 width: 400px;
7207}
7208
7209#types textarea {
7210 height: 100px;
7211}
7212
7213
7214/* ============================================================================== */
7215/* Comments */
7216/* ============================================================================== */
7217
7218#comment div {
7219 box-sizing:border-box;
7220}
7221#comment .comment {
7222 border-radius:7px;
7223 margin-bottom:10px;
7224 overflow:hidden;
7225}
7226#comment .comment-table {
7227 display:table;
7228 height:100%;
7229}
7230#comment .comment-cell {
7231 display:table-cell;
7232}
7233#comment .comment-info {
7234 font-size:0.8em;
7235 border-right:1px solid #dedede;
7236 margin-right:10px;
7237 width:160px;
7238 text-align:center;
7239 background:rgba(255,255,255,0.5);
7240 vertical-align:middle;
7241 padding:10px 2px;
7242}
7243#comment .comment-info a {
7244 color:inherit;
7245}
7246#comment .comment-right {
7247 vertical-align:top;
7248}
7249#comment .comment-description {
7250 padding:10px;
7251 vertical-align:top;
7252}
7253#comment .comment-delete {
7254 width: 100px;
7255 text-align:center;
7256 vertical-align:middle;
7257}
7258#comment .comment-delete:hover {
7259 background:rgba(250,20,20,0.8);
7260}
7261#comment .comment-edit {
7262 width: 100px;
7263 text-align:center;
7264 vertical-align:middle;
7265}
7266#comment .comment-edit:hover {
7267 background:rgba(0,184,148,0.8);
7268}
7269#comment textarea {
7270 width: 100%;
7271}
7272
7273
7274
7275/* ============================================================================== */
7276/* JSGantt */
7277/* ============================================================================== */
7278
7279div.scroll2 {
7280 width: <?php print isset($_SESSION['dol_screenwidth']) ? max((int) $_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
7281}
7282
7283div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
7284 line-height: 2;
7285}
7286
7287.gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
7288 font-size: unset !important;
7289}
7290
7291div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
7292 font-size: unset !important;
7293 font-weight: normal !important;
7294 color: #000 !important;
7295}
7296div.gTaskInfo {
7297 background: #f0f0f0 !important;
7298}
7299.gtaskblue {
7300 background: rgb(108,152,185) !important;
7301}
7302.gtaskgreen {
7303 background: rgb(160,173,58) !important;
7304}
7305td.gtaskname {
7306 overflow: hidden;
7307 text-overflow: ellipsis;
7308}
7309td.gminorheadingwkend {
7310 color: #888 !important;
7311}
7312td.gminorheading {
7313 color: #666 !important;
7314}
7315.glistlbl, .glistgrid {
7316 width: 582px !important;
7317}
7318/*.gtaskname div, .gtaskname {
7319 min-width: 250px !important;
7320 max-width: 250px !important;
7321 width: 250px !important;
7322}*/
7323.gtaskname div, .gtaskname {
7324 min-width: 250px !important;
7325 max-width: 500px !important;
7326 width: unset !important;
7327}
7328.gpccomplete div, .gpccomplete {
7329 min-width: 40px !important;
7330 max-width: 40px !important;
7331 width: 40px !important;
7332}
7333td.gtaskheading.gstartdate, td.gtaskheading.genddate {
7334 white-space: break-spaces;
7335}
7336.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) {
7337 color: transparent !important;
7338 border-left: none;
7339 border-right: none;
7340 border-top: none;
7341}
7342
7343/* ============================================================================== */
7344/* jFileTree */
7345/* ============================================================================== */
7346
7347.ecmfiletree {
7348 width: 99%;
7349 height: 99%;
7350 padding-left: 2px;
7351 font-weight: normal;
7352}
7353
7354.fileview {
7355 width: 99%;
7356 height: 99%;
7357 background: #FFF;
7358 padding-left: 2px;
7359 padding-top: 4px;
7360 font-weight: normal;
7361}
7362
7363div.filedirelem {
7364 position: relative;
7365 display: block;
7366 text-decoration: none;
7367}
7368
7369ul.filedirelem {
7370 padding: 2px;
7371 margin: 0 5px 5px 5px;
7372}
7373ul.filedirelem li {
7374 list-style: none;
7375 padding: 2px;
7376 margin: 0 10px 20px 10px;
7377 width: 160px;
7378 height: 120px;
7379 text-align: center;
7380 display: block;
7381 float: <?php print $left; ?>;
7382 border: solid 1px #DDDDDD;
7383}
7384
7385ul.ecmjqft {
7386 line-height: 32px;
7387 padding: 0px;
7388 margin: 0px;
7389 font-weight: normal;
7390}
7391
7392ul.ecmjqft li {
7393 list-style: none;
7394 padding: 0px;
7395 padding-left: 20px;
7396 margin: 0px;
7397 white-space: nowrap;
7398 display: block;
7399}
7400
7401ul.ecmjqft a {
7402 line-height: 24px;
7403 vertical-align: middle;
7404 color: unset;
7405 padding: 0px 0px;
7406 font-weight:normal;
7407 display: inline-block !important;
7408}
7409ul.ecmjqft > a {
7410 width: calc(100% - 100px);
7411 overflow: hidden;
7412 white-space: break-spaces;
7413 word-break: break-all;
7414}
7415ul.ecmjqft a:active {
7416 font-weight: bold !important;
7417}
7418ul.ecmjqft a:hover {
7419 text-decoration: underline;
7420}
7421div.ecmjqft {
7422 vertical-align: middle;
7423 display: inline-block !important;
7424 text-align: <?php echo $right; ?>;
7425 float: <?php echo $right; ?>;
7426 right:4px;
7427 clear: both;
7428 height: 16px;
7429}
7430#ecm-layout-north {
7431 min-height: 40px;
7432}
7433#ecm-layout-north div.attachareaformuserfileecm {
7434 padding-bottom: 0px;
7435}
7436div#ecm-layout-west {
7437 width: 380px;
7438 vertical-align: top;
7439}
7440div#ecm-layout-center {
7441 width: calc(100% - 405px);
7442 vertical-align: top;
7443 float: <?php echo $right; ?>;
7444}
7445
7446.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; }
7447.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; }
7448.ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
7449
7450
7451/* ============================================================================== */
7452/* jNotify */
7453/* ============================================================================== */
7454
7455.jnotify-container {
7456 position: fixed !important;
7457<?php if (getDolGlobalString('MAIN_JQUERY_JNOTIFY_BOTTOM')) { ?>
7458 top: auto !important;
7459 bottom: 4px !important;
7460<?php } ?>
7461 <?php if (getDolGlobalString('MAIN_JQUERY_JNOTIFY_UNDER_MENU')) { ?>
7462 top: <?php print $disableimages ? '32' : ($heightmenu + 4); ?>px;
7463 <?php } ?>
7464 text-align: center;
7465 min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
7466 width: auto;
7467 max-width: 1024px;
7468 padding-left: 10px !important;
7469 padding-right: 10px !important;
7470 padding-top: 10px !important;
7471 word-wrap: break-word;
7472 max-height: 320px;
7473}
7474.jnotify-container .jnotify-notification .jnotify-message {
7475 font-weight: normal;
7476 text-align: start;
7477 word-break: break-word;
7478}
7479.jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
7480 color: #a28918 !important;
7481}
7482.jnotify-container .jnotify-close {
7483 top: 4px !important;
7484 font-size: 1.6em !important;
7485}
7486
7487/* use or not ? */
7488div.jnotify-background {
7489 opacity : 0.95 !important;
7490 box-shadow: 2px 2px 4px #8888 !important;
7491}
7492
7493/* jnotify for the login page */
7494.bodylogin .jnotify-container {
7495 position: fixed;
7496 top: 0;
7497 left: 0;
7498 width: 100%;
7499 z-index: 100000;
7500 max-width: unset;
7501 padding-left: unset !important;
7502 padding-right: unset !important;
7503 padding-top: unset !important;
7504}
7505.bodylogin .jnotify-container .jnotify-notification {
7506 margin: unset !important;
7507}
7508.bodylogin .jnotify-container .jnotify-notification .jnotify-background {
7509 border-radius: unset !important;
7510}
7511.bodylogin .jnotify-container .jnotify-notification .jnotify-message {
7512 text-align: center;
7513 font-size: 1.1em;
7514 font-weight: bold;
7515}
7516
7517
7518/* ============================================================================== */
7519/* blockUI */
7520/* ============================================================================== */
7521
7522/*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
7523div.dolEventValid h1, div.dolEventValid h2 {
7524 color: #567b1b;
7525 background-color: #e3f0db;
7526 padding: 5px 5px 5px 5px;
7527 text-align: left;
7528}
7529div.dolEventError h1, div.dolEventError h2 {
7530 color: #a72947;
7531 background-color: #d79eac;
7532 padding: 5px 5px 5px 5px;
7533 text-align: left;
7534}
7535
7536/* ============================================================================== */
7537/* Maps */
7538/* ============================================================================== */
7539
7540.divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
7541}
7542
7543
7544/* ============================================================================== */
7545/* Datatable */
7546/* ============================================================================== */
7547
7548table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
7549 background: none !important;
7550}
7551.sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
7552.sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
7553.sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
7554.sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
7555.dataTables_paginate {
7556 margin-top: 8px;
7557}
7558.paginate_button_disabled {
7559 opacity: 1 !important;
7560 color: #888 !important;
7561 cursor: default !important;
7562}
7563.paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
7564{
7565 font-weight: normal;
7566}
7567.paginate_enabled_previous:hover, .paginate_enabled_next:hover
7568{
7569 text-decoration: underline !important;
7570}
7571.paginate_active
7572{
7573 text-decoration: underline !important;
7574}
7575.paginate_button
7576{
7577 font-weight: normal !important;
7578 text-decoration: none !important;
7579}
7580.paging_full_numbers {
7581 height: inherit !important;
7582}
7583.paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
7584 background-color: var(--colorbackbody) !important;
7585}
7586.paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
7587 background-color: var(--colorbackbody) !important;
7588 border-radius: inherit !important;
7589}
7590.paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
7591 background-color: var(--colorbackbody) !important;
7592}
7593.paginate_button, .paginate_active {
7594 border: 1px solid #ddd !important;
7595 padding: 6px 12px !important;
7596 margin-left: -1px !important;
7597 line-height: 1.42857143 !important;
7598 margin: 0 0 !important;
7599}
7600
7601/* For jquery plugin combobox */
7602/* Disable this. It breaks wrapping of boxes
7603.ui-corner-all { white-space: nowrap; } */
7604
7605.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
7606 opacity: .35;
7607 background-image: none;
7608}
7609
7610div.dataTables_length {
7611 float: right !important;
7612 padding-left: 8px;
7613}
7614div.dataTables_length select {
7615 background: #fff;
7616}
7617.dataTables_wrapper .dataTables_paginate {
7618 padding-top: 0px !important;
7619}
7620
7621
7622/* ============================================================================== */
7623/* Select2 */
7624/* ============================================================================== */
7625
7626.heightofcombo:not(.pageplusone) {
7627 height: 28px;
7628}
7629.select2-container .select2-selection--single {
7630 height: 28px;
7631}
7632
7633span.select2-selection--single.flat[aria-disabled="true"] span.select2-selection__rendered {
7634 opacity: 0.5;
7635}
7636
7637.select2-container--default .select2-results__option--highlighted[aria-selected] {
7638 background-color: var(--colorbackhmenu1);
7639 color: var(--colortextbackhmenu);
7640}
7641.select2-container--default .select2-results__option--highlighted[aria-selected] span {
7642 color: #fff !important;
7643}
7644
7645span.select2.select2-container.select2-container--default {
7646 text-align: initial;
7647 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7648 border-left: none;
7649 border-top: none;
7650 border-right: none;
7651 /*border-bottom: solid 1px var(--inputbordercolor);*/
7652 <?php } ?>
7653}
7654
7655input.select2-input {
7656 border-bottom: none ! important;
7657}
7658.select2-choice {
7659 border: none;
7660 border-bottom: solid 1px var(--inputbordercolor) !important; /* required to avoid to lose bottom line when focus is lost on select2. */
7661}
7662li.select2-selection__choice {
7663 /* white-space: break-spaces; */
7664 white-space: nowrap;
7665}
7666
7667.select2-results .select2-highlighted.optionblue {
7668 color: #FFF !important;
7669}
7670.select2-container .select2-selection--multiple {
7671 min-height: 2em !important;
7672}
7673.tableforfield .select2-container .select2-selection--single {
7674 height: 28px;
7675}
7676
7677.select2-container--default .select2-selection--multiple .select2-selection__choice {
7678 border: none;
7679}
7680.select2-container--focus span.select2-selection.select2-selection--single {
7681 border-bottom: 1px solid var(--inputbordercolor) !important;
7682 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7683 border-bottom-left-radius: 0;
7684 border-bottom-right-radius: 0;
7685 <?php } ?>
7686}
7687
7688.blockvmenusearch .select2-container--default .select2-selection--single
7689{
7690 /* background-color: var(--colorbackvmenu1); */
7691}
7692.blockvmenubookmarks .select2-container--default .select2-selection--single
7693{
7694 background-color: var(--colorbackvmenu1);
7695}
7696.select2-container--default .select2-selection--single {
7697 background-color: var(--inputbackgroundcolor);
7698}
7699#blockvmenusearch .select2-container--default .select2-selection--single .select2-selection__placeholder {
7700 color: var(--colortextbackvmenu);
7701}
7702.select2-container--default .select2-selection--single .select2-selection__rendered {
7703 color: var(--colortext);
7704 /* background-color: var(--inputbackgroundcolor); */
7705}
7706.select2-default {
7707 color: #999 !important;
7708}
7709.select2-choice, .select2-container .select2-choice {
7710 border-bottom: solid 1px rgba(0,0,0,.4);
7711}
7712.select2-container .select2-choice > .select2-chosen {
7713 margin-right: 23px;
7714}
7715.select2-container .select2-choice .select2-arrow {
7716 border-radius: 0;
7717 background: transparent;
7718}
7719.select2-container-multi .select2-choices {
7720 background-image: none;
7721}
7722.select2-container .select2-choice {
7723 color: var(--colortext);
7724 border-radius: 0;
7725}
7726.selectoptiondisabledwhite {
7727 background: #FFFFFF !important;
7728}
7729.select2-arrow {
7730 border: none;
7731 border-left: none !important;
7732 background: none !important;
7733}
7734.select2-choice
7735{
7736 border-top: none !important;
7737 border-left: none !important;
7738 border-right: none !important;
7739}
7740.select2-drop.select2-drop-above {
7741 box-shadow: none !important;
7742}
7743.select2-container--open .select2-dropdown--above {
7744 border-bottom: solid 1px var(--inputbordercolor);
7745}
7746.select2-drop.select2-drop-above.select2-drop-active {
7747 border-top: 1px solid #ccc;
7748 border-bottom: solid 1px var(--inputbordercolor);
7749}
7750.select2-container--default .select2-selection--single:not(.selectwidget) {
7751 outline: none;
7752 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7753 border-top: none;
7754 border-left: none;
7755 border-right: none;
7756 border-radius: 3px;
7757 <?php } else { ?>
7758 border-radius: 5px;
7759 <?php } ?>
7760
7761 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor);
7762
7763 box-shadow: none !important;
7764}
7765.liste_titre .select2-container--default .select2-selection--single:not(.selectwidget),
7766.liste_titre .select2-container--default .select2-selection--multiple {
7767 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(<?php echo (getDolGlobalString('THEME_ELDY_BACKTITLE1') != '255,255,255') ? '--colorbacktitle1' : '--inputbordercolor' ?>);
7768}
7769
7770
7771.select2-container--default .select2-selection--single.selectwidget,
7772.select2-container--default .select2-selection--single.selectwidget:hover,
7773.select2-container--default .select2-selection--single.selectwidget:focus {
7774 outline: none;
7775 border-top: none;
7776 border-left: none;
7777 border-right: none;
7778 border-bottom: solid 1px var(--inputbordercolor);
7779 border-radius: 0;
7780 box-shadow: none !important;
7781}
7782.select2-container--default .select2-selection--multiple {
7783 border<?php echo getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor);
7784}
7785<?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7786.select2-container--focus .select2-container--default .select2-selection--single {
7787 border-bottom-left-radius: 0;
7788 border-bottom-right-radius: 0;
7789}
7790.select2-container--default.select2-container--focus .select2-selection--multiple {
7791 border-top: none;
7792 border-left: none;
7793 border-right: none;
7794 border-bottom-left-radius: 0;
7795 border-bottom-right-radius: 0;
7796}
7797.select2-container--default .select2-selection--multiple {
7798 border-top: none;
7799 border-left: none;
7800 border-right: none;
7801 border-radius: 3px;
7802}
7803<?php } ?>
7804.select2-container--default .select2-selection--multiple {
7805 background: var(--inputbackgroundcolor);
7806 line-height: normal;
7807}
7808.select2-container--default .select2-selection--multiple .select2-selection__rendered {
7809 line-height: 1.4em;
7810}
7811.select2-container--default .select2-selection--multiple .select2-selection__choice {
7812 background-color: #ddd;
7813 margin-top: 0.25em !important;
7814}
7815.select2-selection--multiple input.select2-search__field {
7816 border: none !important;
7817}
7818
7819.select2-search__field
7820{
7821 outline: none;
7822 border-top: none !important;
7823 border-left: none !important;
7824 border-right: none !important;
7825 border-bottom: solid 1px var(--inputbordercolor) !important;
7826 box-shadow: none !important;
7827 border-radius: 0 !important;
7828 /* color: black; */
7829}
7830.select2-container-active .select2-choice, .select2-container-active .select2-choices
7831{
7832 outline: none;
7833 border-top: none;
7834 border-left: none;
7835 border-bottom: none;
7836 box-shadow: none !important;
7837}
7838.select2-dropdown {
7839 /*background-color: var(--colorbackvmenu1);
7840 border: 1px solid var(--colorbackvmenu1); */
7841 box-shadow: 0 2px 10px rgb(0, 0, 0, .3);
7842 background-color: var(--colorbackbody);
7843 color: var(--colortext);
7844 border: unset;
7845}
7846.select2-dropdown-open {
7847 background-color: var(--colorbackvmenu1);
7848}
7849.select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
7850{
7851 outline: none;
7852 border-top: none;
7853 border-left: none;
7854 border-bottom: none;
7855 box-shadow: none !important;
7856 background-color: var(--colorbackvmenu1);
7857}
7858.select2-disabled
7859{
7860 color: #888;
7861}
7862.select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
7863 border-radius: 0;
7864}
7865.select2-drop.select2-drop-above {
7866 border-radius: 0;
7867}
7868.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
7869 background-image: none;
7870 border-radius: 0 !important;
7871}
7872div.select2-drop-above
7873{
7874 background: var(--colorbackvmenu1);
7875 box-shadow: none !important;
7876}
7877.select2-drop-active
7878{
7879 border: 1px solid #ccc;
7880 padding-top: 4px;
7881}
7882.select2-search input {
7883 border: none;
7884}
7885a span.select2-chosen
7886{
7887 font-weight: normal !important;
7888}
7889.select2-container .select2-choice {
7890 background-image: none;
7891 /* line-height: 24px; */
7892}
7893.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
7894{
7895 background: var(--colorbackvmenu1);
7896}
7897.select2-results {
7898 max-height: 400px;
7899}
7900.select2-results__option {
7901 word-break: break-word;
7902 text-align: <?php echo $left; ?>;
7903}
7904.select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
7905 background-color: var(--colorbackvmenu1);
7906 background-image: none;
7907 border: none;
7908 cursor: default;
7909}
7910.select2-container-disabled .select2-choice .select2-arrow b {
7911 opacity: 0.4;
7912}
7913.select2-container-multi .select2-choices .select2-search-choice {
7914 margin-bottom: 3px;
7915}
7916.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
7917.select2-container-multi.select2-container-active .select2-choices
7918{
7919 border-bottom: 1px solid #ccc;
7920 border-right: none;
7921 border-top: none;
7922 border-left: none;
7923
7924}
7925.select2-container--default .select2-results>.select2-results__options{
7926 max-height: 400px;
7927}
7928
7929/* special case for some select2 component */
7930
7931.selecttype span.select2-dropdown.ui-dialog {
7932 min-width: 200px;
7933}
7934span#select2-taskid-container[title^='--'] {
7935 opacity: 0.3;
7936}
7937
7938/* Special case for the select2 add widget */
7939
7940#addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
7941 text-align: <?php echo $left; ?>;
7942 opacity: 0.4;
7943}
7944.select2-container--default .select2-selection--single .select2-selection__placeholder {
7945 color: var(--colortext);
7946 opacity: 0.4;
7947}
7948span#select2-boxbookmark-container, span#select2-boxcombo-container {
7949 text-align: <?php echo $left; ?>;
7950}
7951span#select2-boxbookmark-container {
7952 opacity: 0.4;
7953}
7954.select2-container .select2-selection--single .select2-selection__rendered {
7955 padding-left: 6px;
7956}
7957/* Style used before the select2 js is executed on boxcombo */
7958#boxbookmark.boxcombo, #boxcombo.boxcombo {
7959 text-align: left;
7960 opacity: 0.4;
7961 border-bottom: solid 1px rgba(0,0,0,.4) !important;
7962 height: 26px;
7963 line-height: 24px;
7964 padding: 0 0 2px 0;
7965 vertical-align: top;
7966}
7967
7968/* To emulate select 2 style */
7969.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
7970 padding: 3px 5px 3px 5px;
7971 margin: 0 0 2px 3px;
7972 position: relative;
7973 /* line-height: 1em; */
7974 color: #333;
7975 cursor: default;
7976 border: 1px solid #aaaaaa;
7977 border-radius: 3px;
7978 box-shadow: 0 0 2px var(--inputbackgroundcolor) inset, 0 1px 0 rgba(0, 0, 0, 0.05);
7979 background-clip: padding-box;
7980 -webkit-touch-callout: none;
7981 -webkit-user-select: none;
7982 -moz-user-select: none;
7983 -ms-user-select: none;
7984 user-select: none;
7985 background-color: var(--inputbackgroundcolor);
7986 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));
7987 background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7988 background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7989 background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7990}
7991.mytooltip .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
7992 padding: 1px 3px 1px 3px;
7993}
7994.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
7995 font-weight: normal;
7996}
7997.select2-container-multi-dolibarr .select2-choices-dolibarr li {
7998 float: <?php echo $left; ?>;
7999 list-style: none;
8000}
8001.select2-container-multi-dolibarr .select2-choices-dolibarr {
8002 height: auto !important;
8003 height: 1%;
8004 margin: 0;
8005 padding: 0 5px 0 0;
8006 position: relative;
8007 cursor: text;
8008 overflow: hidden;
8009}
8010.select2-results__option {
8011 padding: 8px;
8012}
8013span.select2-dropdown--below {
8014 margin-top: -1px;
8015 min-width: 200px;
8016}
8017span.select2-dropdown--above {
8018 margin-bottom: -1px;
8019 min-width: 200px;
8020}
8021
8022.parentonrightofpage {
8023 direction: rtl;
8024}
8025
8026select.multiselectononeline {
8027 padding: 0;
8028 vertical-align: middle;
8029 min-height: unset;
8030 height: 2.2em !important;
8031 opacity: 0;
8032 min-width: 50px;
8033 /* width: 1px !important; */
8034}
8035
8036@media only screen and (min-width: 768px)
8037{
8038 /* CSS to have the dropdown boxes larger that the input search area */
8039 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown.ui-dialog {
8040 min-width: 300px !important;
8041 padding: 8px;
8042 }
8043 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown--below:not(.onrightofpage),
8044 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown--above:not(.onrightofpage) {
8045 min-width: 300px !important;
8046 padding: 8px;
8047 }
8048 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
8049 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above {
8050 min-width: 140px !important;
8051 }
8052 .combolargeelem.select2-container.select2-container--open .select2-dropdown.ui-dialog {
8053 min-width: 320px !important;
8054 }
8055
8056 .select2-container--open .select2-dropdown--below {
8057 border-top: 1px solid var(--inputbordercolor);
8058 /* border-top: 1px solid #aaaaaa; */
8059 }
8060}
8061
8062/* must be after the other .select2-container.select2-container--open .select2-dropdown.ui-dialog */
8063.limit.select2-container.select2-container--open .select2-dropdown.ui-dialog {
8064 min-width: 100px !important;
8065}
8066
8067
8068/* ============================================================================== */
8069/* For categories */
8070/* ============================================================================== */
8071
8072.noborderoncategories {
8073 border: none !important;
8074 border-radius: 5px !important;
8075 box-shadow: none;
8076 box-shadow: none !important;
8077 margin-top: 1px !important;
8078 margin-bottom: 0 !important;
8079 margin-<?php echo $left ?>: 0px !important;
8080 margin-<?php echo $right ?>: 3px !important;
8081}
8082span.noborderoncategories a, li.noborderoncategories a {
8083 line-height: normal;
8084 /* vertical-align: top; */
8085}
8086span.noborderoncategories {
8087 padding: 3px 5px 3px 5px;
8088 display: inline-block;
8089}
8090.categtextwhite, .treeview .categtextwhite.hover {
8091 color: #fff !important;
8092}
8093.categtextblack {
8094 color: #000 !important;
8095}
8096
8097
8098/* ============================================================================== */
8099/* External lib multiselect with checkbox */
8100/* ============================================================================== */
8101
8102.multi-select-menu {
8103 z-index: 10;
8104}
8105
8106.multi-select-container {
8107 display: inline-block;
8108 position: relative;
8109}
8110
8111.multi-select-menu {
8112 position: absolute;
8113 left: 0;
8114 top: 0.8em;
8115 float: left;
8116 min-width: 100%;
8117 background: var(--inputbackgroundcolor);
8118 margin: 1em 0;
8119 padding: 0.4em 0;
8120 border: 1px solid #aaa;
8121 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
8122 display: none;
8123}
8124
8125div.multi-select-menu[role="menu"] {
8126 min-width: 220px !important;
8127}
8128
8129.multi-select-menu input {
8130 margin-right: 0.3em;
8131 /* vertical-align: 0.1em; */
8132}
8133
8134.multi-select-button {
8135 display: inline-block;
8136 max-width: 20em;
8137 white-space: nowrap;
8138 overflow: hidden;
8139 text-overflow: ellipsis;
8140 vertical-align: middle;
8141 background-color: var(--inputbackgroundcolor);
8142 cursor: default;
8143
8144 border: none;
8145 border-bottom: solid 1px var(--inputbordercolor);
8146 padding: 5px;
8147 padding-left: 6px;
8148 height: 17px;
8149 border-radius: 3px;
8150
8151 text-align: start;
8152}
8153.multi-select-button:focus {
8154 outline: none;
8155 border-bottom: 1px solid #666;
8156 border-bottom-left-radius: 0;
8157 border-bottom-right-radius: 0;
8158}
8159
8160.multi-select-button:after {
8161 content: "";
8162 display: inline-block;
8163 width: 0;
8164 height: 0;
8165 border-style: solid;
8166 border-width: 0.4em 0.3em 0em 0.3em;
8167 border-color: #888 transparent transparent transparent;
8168 margin-left: 0.4em;
8169 position: absolute;
8170 right: 10px;
8171 top: 12px;
8172}
8173
8174.multi-select-container--open .multi-select-menu { display: block; }
8175
8176.multi-select-container--open .multi-select-button:after {
8177 border-width: 0 0.4em 0.4em 0.4em;
8178 border-color: transparent transparent #888 transparent;
8179}
8180
8181.multi-select-menuitem {
8182 clear: both;
8183 float: left;
8184 padding-left: 10px;
8185}
8186label.multi-select-menuitem {
8187 line-height: 32px;
8188 text-align: start;
8189}
8190
8191
8192/* ============================================================================== */
8193/* Native multiselect with checkbox */
8194/* ============================================================================== */
8195
8196ul.ulselectedfields {
8197 z-index: 95; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
8198}
8199dl.dropdown {
8200 margin:0px;
8201 margin-left: 2px;
8202 margin-right: 2px;
8203 padding:0px;
8204 vertical-align: middle;
8205 display: inline-block;
8206}
8207.dropdown dd, .dropdown dt {
8208 margin:0px;
8209 padding:0px;
8210}
8211.dropdown ul {
8212 margin: -1px 0 0 0;
8213 text-align: <?php echo $left; ?>;
8214}
8215.dropdown dd {
8216 position:relative;
8217}
8218.dropdown dt a {
8219 display:block;
8220 overflow: hidden;
8221 border:0;
8222}
8223.dropdown dt a span, .multiSel span {
8224 cursor:pointer;
8225 display:inline-block;
8226 padding: 0 3px 2px 0;
8227}
8228.maxwidthsearch .dropdown dt a span, .multiSel span {
8229 padding: 3px 3px 2px 3px;
8230}
8231.dropdown span.value {
8232 display:none;
8233}
8234.dropdown dd ul {
8235 background-color: var(--inputbackgroundcolor);
8236 box-shadow: 0 1px 10px rgb(0, 0, 0, 0.3);
8237 display:none;
8238 <?php echo $right; ?>:0px; /* pop is align on right */
8239 padding: 0 0 0 0;
8240 position:absolute;
8241 top:2px;
8242 list-style:none;
8243 max-height: 264px;
8244 overflow: auto;
8245 border-radius: 6px;
8246 z-index: 1;
8247}
8248.dropdown dd ul.selectedfieldsleft {
8249 <?php echo $right; ?>: auto;
8250}
8251.dropdown dd ul li {
8252 white-space: nowrap;
8253 font-weight: normal;
8254 padding: 7px 8px 7px 8px;
8255 /* color: var(--colortext); */
8256 color: var(--colortext);
8257}
8258.dropdown dd ul li:hover:not(.liinputsearch) {
8259 background: #eee;
8260}
8261.dropdown dd ul li input[type="checkbox"] {
8262 margin-<?php echo $right; ?>: 3px;
8263}
8264.dropdown dd ul li a, .dropdown dd ul li span {
8265 padding: 3px;
8266}
8267.dropdown dd ul li a {
8268 display: block;
8269}
8270.dropdown dd ul li span {
8271 color: #888;
8272}
8273/*.dropdown dd ul li a:hover {
8274 background-color: var(--inputbackgroundcolor);
8275}*/
8276dd.dropdowndd ul li {
8277 text-overflow: ellipsis;
8278 overflow: hidden;
8279 white-space: nowrap;
8280}
8281
8282/* ============================================================================== */
8283/* Kanban */
8284/* ============================================================================== */
8285
8286.info-box-label {
8287 max-width: 180px;
8288 overflow: hidden;
8289 text-overflow: ellipsis;
8290 white-space: nowrap;
8291}
8292
8293div.kanban.column div.ui-sortable-helper {
8294 transform: rotate(4deg);
8295}
8296
8297/* ============================================================================== */
8298/* Markdown rendering */
8299/* ============================================================================== */
8300
8301.imgmd {
8302 width: 90%;
8303}
8304.moduledesclong h1 {
8305 padding-top: 10px;
8306 padding-bottom: 20px;
8307}
8308
8309
8310/* ============================================================================== */
8311/* JMobile - Android */
8312/* ============================================================================== */
8313
8314.searchpage .tagtr .tagtd {
8315 padding-top: 5px;
8316 padding-bottom: 5px;
8317}
8318.searchpage .tagtr .tagtd .button {
8319 background: unset;
8320 border: unset;
8321}
8322.searchpage .searchform input {
8323 font-size: 1.15em;
8324 height: inherit;
8325}
8326.searchpage :focus-visible {
8327 outline: none;
8328}
8329
8330li.ui-li-divider .ui-link {
8331 color: #FFF !important;
8332}
8333.ui-btn {
8334 margin: 0 2px;
8335}
8336a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
8337 text-decoration: none !important;
8338}
8339.ui-body-c {
8340 background: #fff;
8341}
8342
8343.ui-btn-inner {
8344 min-width: .4em;
8345 padding-left: 6px;
8346 padding-right: 6px;
8347 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
8348 /* white-space: normal; */ /* Warning, enable this break the truncate feature */
8349}
8350.ui-btn-icon-right .ui-btn-inner {
8351 padding-right: 30px;
8352}
8353.ui-btn-icon-left .ui-btn-inner {
8354 padding-left: 30px;
8355}
8356.ui-select .ui-btn-icon-right .ui-btn-inner {
8357 padding-right: 30px;
8358}
8359.ui-select .ui-btn-icon-left .ui-btn-inner {
8360 padding-left: 30px;
8361}
8362.ui-select .ui-btn-icon-right .ui-icon {
8363 right: 8px;
8364}
8365.ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
8366 margin-top: -10px;
8367}
8368select {
8369 /* display: inline-block; */ /* We can't set this. This disable ability to make */
8370 overflow:hidden;
8371 white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
8372 text-overflow: ellipsis;
8373}
8374.fiche .ui-controlgroup {
8375 margin: 0px;
8376 padding-bottom: 0px;
8377}
8378div.ui-controlgroup-controls div.tabsElem
8379{
8380 margin-top: 2px;
8381}
8382div.ui-controlgroup-controls div.tabsElem a
8383{
8384 box-shadow: 0 -3px 6px rgba(0,0,0,.2);
8385}
8386div.ui-controlgroup-controls div.tabsElem a#active {
8387 box-shadow: 0 -3px 6px rgba(0,0,0,.3);
8388}
8389
8390a.tab span.ui-btn-inner
8391{
8392 border: none;
8393 padding: 0;
8394}
8395
8396.ui-link {
8397 color: var(--colortext);
8398}
8399.liste_titre .ui-link {
8400 color: var(--colortexttitle) !important;
8401}
8402
8403a.ui-link {
8404 word-wrap: break-word;
8405}
8406
8407/* force wrap possible onto field overflow does not works */
8408.formdoc .ui-btn-inner
8409{
8410 white-space: normal;
8411 overflow: hidden;
8412 text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
8413}
8414
8415/* Warning: setting this may make screen not being refreshed after a combo selection */
8416/*.ui-body-c {
8417 background: #fff;
8418}*/
8419
8420div.ui-radio, div.ui-checkbox
8421{
8422 display: inline-block;
8423 border-bottom: 0px !important;
8424}
8425.ui-checkbox input, .ui-radio input {
8426 height: auto;
8427 width: auto;
8428 margin: 4px;
8429 position: static;
8430}
8431div.ui-checkbox label+input, div.ui-radio label+input {
8432 position: absolute;
8433}
8434.ui-mobile fieldset
8435{
8436 padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
8437}
8438
8439ul.ulmenu {
8440 border-radius: 0;
8441}
8442
8443.ui-field-contain label.ui-input-text {
8444 vertical-align: middle !important;
8445}
8446.ui-mobile fieldset {
8447 border-bottom: none !important;
8448}
8449
8450/* Style for first level menu with jmobile */
8451.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
8452 padding: 1em 15px;
8453 display: block;
8454}
8455.ui-btn-up-c {
8456 font-weight: normal;
8457}
8458.ui-focus, .ui-btn:focus {
8459 box-shadow: none;
8460}
8461.ui-bar-b {
8462 /*border: 1px solid #888;*/
8463 border: none;
8464 background: none;
8465 text-shadow: none;
8466 color: var(--colortexttitlenotab) !important;
8467}
8468.ui-bar-b, .lilevel0 {
8469 background-repeat: repeat-x;
8470 border: none;
8471 background: none;
8472 text-shadow: none;
8473 color: var(--colortexttitlenotab) !important;
8474}
8475.alilevel0 {
8476 font-weight: normal !important;
8477}
8478
8479.ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
8480 border-bottom-width: 0px !important;
8481}
8482.alilevel0 {
8483 color: var(--colortexttitle) !important;
8484 background: var(--colorbackmobilemenu);
8485}
8486.ulmenu {
8487 box-shadow: none !important;
8488 border-bottom: 1px solid #ccc;
8489}
8490.ui-btn-icon-right {
8491 border-right: 1px solid #ccc !important;
8492}
8493.ui-body-c {
8494 border: 1px solid #ccc;
8495 text-shadow: none;
8496}
8497.ui-btn-up-c, .ui-btn-hover-c {
8498 /* border: 1px solid #ccc; */
8499 text-shadow: none;
8500}
8501.ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
8502 color: var(--colortextlink);
8503}
8504.ui-btn-up-c .vsmenudisabled {
8505 color: #<?php echo $colorshadowtitle; ?> !important;
8506 text-shadow: none !important;
8507}
8508div.tabsElem a.tab {
8509 background: transparent;
8510}
8511.alilevel1 {
8512 color: var(--colortexttitlenotab) !important;
8513}
8514.lilevel1 {
8515 border-top: 2px solid #444;
8516 background: #fff ! important;
8517}
8518.lilevel1 div div a {
8519 font-weight: bold !important;
8520}
8521.lilevel2
8522{
8523 padding-left: 22px;
8524 background: #fff ! important;
8525}
8526.lilevel3
8527{
8528 padding-left: 44px;
8529 background: #fff ! important;
8530 font-size: 0.9em;
8531}
8532.lilevel4
8533{
8534 padding-left: 66px;
8535 background: #fff ! important;
8536 font-size: 0.9em;
8537}
8538.lilevel5
8539{
8540 padding-left: 88px;
8541 background: #fff ! important;
8542 font-size: 0.9em;
8543}
8544
8545
8546
8547/* ============================================================================== */
8548/* POS */
8549/* ============================================================================== */
8550
8551.menu_choix1,.menu_choix2 {
8552 font-size: 1.4em;
8553 text-align: left;
8554 border: 1px solid #666;
8555 margin-right: 20px;
8556}
8557.menu_choix1 a, .menu_choix2 a {
8558 display: block;
8559 color: #fff;
8560 text-decoration: none;
8561 padding-top: 18px;
8562 padding-left: 10px;
8563 font-size: 14px;
8564 height: 38px;
8565}
8566.menu_choix1 a:hover,.menu_choix2 a:hover {
8567 color: #6d3f6d;
8568}
8569.menu li.menu_choix1 {
8570 padding-top: 6px;
8571 padding-right: 10px;
8572 padding-bottom: 2px;
8573}
8574.menu li.menu_choix2 {
8575 padding-top: 6px;
8576 padding-right: 10px;
8577 padding-bottom: 2px;
8578}
8579@media only screen and (max-width: 768px)
8580{
8581 .menu_choix1 a, .menu_choix2 a {
8582 background-size: 36px 36px;
8583 height: 30px;
8584 padding-left: 40px;
8585 }
8586 .menu li.menu_choix1, .menu li.menu_choix2 {
8587 padding-left: 4px;
8588 padding-right: 0;
8589 }
8590 .liste_articles {
8591 margin-right: 0 !important;
8592 }
8593}
8594
8595
8596/* ============================================================================== */
8597/* Public */
8598/* ============================================================================== */
8599
8600/* The theme for public pages */
8601.public_body {
8602 margin: 20px;
8603}
8604.public_border {
8605 border: 1px solid #888;
8606}
8607.publicnewmemberform div.tabBarWithBottom {
8608 border: 2px solid #e8e8e8;
8609 padding: 30px;
8610 border-radius: 8px;
8611 /* background-color: var(--colorbackgrey); */
8612 box-shadow: 2px 2px 10px #ddd;
8613}
8614
8615.publicnewmemberform #tablesubscribe {
8616 color: var(--colortextbackvmenu);
8617}
8618
8619@media only screen and (max-width: 768px)
8620{
8621 .publicnewmemberform div.tabBarWithBottom {
8622 padding: 10px;
8623 }
8624}
8625
8626
8627/* ============================================================================== */
8628/* Ticket module */
8629/* ============================================================================== */
8630
8631#KWwithajax ul {
8632 padding-left: 20px;
8633}
8634
8635.ticketpublictable td {
8636 height: 2.2em;
8637}
8638
8639.ticketpublicarea {
8640 margin-left: 15%;
8641 margin-right: 15%;
8642}
8643.publicnewticketform {
8644 /* margin-top: 25px !important; */
8645}
8646.ticketlargemargin {
8647 padding-left: 50px;
8648 padding-right: 50px;
8649 padding-top: 30px;
8650}
8651@media only screen and (max-width: 768px)
8652{
8653 .ticketlargemargin {
8654 padding-left: 5px; padding-right: 5px;
8655 padding-top: 10px;
8656 }
8657 .ticketpublicarea {
8658 margin-left: 10px;
8659 margin-right: 10px;
8660 }
8661}
8662
8663#cd-timeline {
8664 position: relative;
8665 padding: 2em 0;
8666 margin-bottom: 2em;
8667}
8668#cd-timeline::before {
8669 /* this is the vertical line */
8670 content: '';
8671 position: absolute;
8672 top: 0;
8673 left: 18px;
8674 height: 100%;
8675 width: 4px;
8676 background: #d7e4ed;
8677}
8678@media only screen and (min-width: 1170px) {
8679 #cd-timeline {
8680 margin-bottom: 3em;
8681 }
8682 #cd-timeline::before {
8683 left: 50%;
8684 margin-left: -2px;
8685 }
8686}
8687
8688.cd-timeline-block {
8689 position: relative;
8690 margin: 2em 0;
8691}
8692.cd-timeline-block:after {
8693 content: "";
8694 display: table;
8695 clear: both;
8696}
8697.cd-timeline-block:first-child {
8698 margin-top: 0;
8699}
8700.cd-timeline-block:last-child {
8701 margin-bottom: 0;
8702}
8703@media only screen and (min-width: 1170px) {
8704 .cd-timeline-block {
8705 margin: 4em 0;
8706 }
8707 .cd-timeline-block:first-child {
8708 margin-top: 0;
8709 }
8710 .cd-timeline-block:last-child {
8711 margin-bottom: 0;
8712 }
8713}
8714
8715.cd-timeline-img {
8716 position: absolute;
8717 top: 0;
8718 left: 0;
8719 width: 40px;
8720 height: 40px;
8721 border-radius: 50%;
8722 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);
8723 background: #d7e4ed;
8724}
8725.cd-timeline-img img {
8726 display: block;
8727 width: 24px;
8728 height: 24px;
8729 position: relative;
8730 left: 50%;
8731 top: 50%;
8732 margin-left: -12px;
8733 margin-top: -12px;
8734}
8735.cd-timeline-img.cd-picture {
8736 background: #75ce66;
8737}
8738.cd-timeline-img.cd-movie {
8739 background: #c03b44;
8740}
8741.cd-timeline-img.cd-location {
8742 background: #f0ca45;
8743}
8744@media only screen and (min-width: 1170px) {
8745 .cd-timeline-img {
8746 width: 60px;
8747 height: 60px;
8748 left: 50%;
8749 margin-left: -30px;
8750 /* Force Hardware Acceleration in WebKit */
8751 -webkit-transform: translateZ(0);
8752 -webkit-backface-visibility: hidden;
8753 }
8754 .cssanimations .cd-timeline-img.is-hidden {
8755 visibility: hidden;
8756 }
8757 .cssanimations .cd-timeline-img.bounce-in {
8758 visibility: visible;
8759 -webkit-animation: cd-bounce-1 0.6s;
8760 -moz-animation: cd-bounce-1 0.6s;
8761 animation: cd-bounce-1 0.6s;
8762 }
8763}
8764
8765@-webkit-keyframes cd-bounce-1 {
8766 0% {
8767 opacity: 0;
8768 -webkit-transform: scale(0.5);
8769 }
8770
8771 60% {
8772 opacity: 1;
8773 -webkit-transform: scale(1.2);
8774 }
8775
8776 100% {
8777 -webkit-transform: scale(1);
8778 }
8779}
8780@-moz-keyframes cd-bounce-1 {
8781 0% {
8782 opacity: 0;
8783 -moz-transform: scale(0.5);
8784 }
8785
8786 60% {
8787 opacity: 1;
8788 -moz-transform: scale(1.2);
8789 }
8790
8791 100% {
8792 -moz-transform: scale(1);
8793 }
8794}
8795@keyframes cd-bounce-1 {
8796 0% {
8797 opacity: 0;
8798 -webkit-transform: scale(0.5);
8799 -moz-transform: scale(0.5);
8800 -ms-transform: scale(0.5);
8801 -o-transform: scale(0.5);
8802 transform: scale(0.5);
8803 }
8804
8805 60% {
8806 opacity: 1;
8807 -webkit-transform: scale(1.2);
8808 -moz-transform: scale(1.2);
8809 -ms-transform: scale(1.2);
8810 -o-transform: scale(1.2);
8811 transform: scale(1.2);
8812 }
8813
8814 100% {
8815 -webkit-transform: scale(1);
8816 -moz-transform: scale(1);
8817 -ms-transform: scale(1);
8818 -o-transform: scale(1);
8819 transform: scale(1);
8820 }
8821}
8822.cd-timeline-content {
8823 position: relative;
8824 margin-left: 60px;
8825 background: white;
8826 border-radius: 0.25em;
8827 padding: 1em;
8828 background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8829 background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8830 background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8831 background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8832}
8833.cd-timeline-content:after {
8834 content: "";
8835 display: table;
8836 clear: both;
8837}
8838.cd-timeline-content h2 {
8839 color: #303e49;
8840}
8841.cd-timeline-content .cd-date {
8842 font-size: 13px;
8843 font-size: 0.8125rem;
8844}
8845.cd-timeline-content .cd-date {
8846 display: inline-block;
8847}
8848.cd-timeline-content p {
8849 margin: 1em 0;
8850 line-height: 1.6;
8851}
8852
8853.cd-timeline-content .cd-date {
8854 float: left;
8855 padding: .2em 0;
8856 opacity: .7;
8857}
8858.cd-timeline-content::before {
8859 content: '';
8860 position: absolute;
8861 top: 16px;
8862 right: 100%;
8863 height: 0;
8864 width: 0;
8865 border: 7px solid transparent;
8866 border-right: 7px solid white;
8867}
8868@media only screen and (min-width: 768px) {
8869 .cd-timeline-content h2 {
8870 font-size: 20px;
8871 font-size: 1.25rem;
8872 }
8873 .cd-timeline-content {
8874 font-size: 16px;
8875 font-size: 1rem;
8876 }
8877 .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
8878 font-size: 14px;
8879 font-size: 0.875rem;
8880 }
8881}
8882@media only screen and (min-width: 1170px) {
8883 .cd-timeline-content {
8884 margin-left: 0;
8885 padding: 1.6em;
8886 width: 43%;
8887 }
8888 .cd-timeline-content::before {
8889 top: 24px;
8890 left: 100%;
8891 border-color: transparent;
8892 border-left-color: white;
8893 }
8894 .cd-timeline-content .cd-read-more {
8895 float: left;
8896 }
8897 .cd-timeline-content .cd-date {
8898 position: absolute;
8899 width: 55%;
8900 left: 115%;
8901 top: 6px;
8902 font-size: 16px;
8903 font-size: 1rem;
8904 }
8905 .cd-timeline-block:nth-child(even) .cd-timeline-content {
8906 float: right;
8907 }
8908 .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
8909 top: 24px;
8910 left: auto;
8911 right: 100%;
8912 border-color: transparent;
8913 border-right-color: white;
8914 }
8915 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
8916 float: right;
8917 }
8918 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
8919 left: auto;
8920 right: 115%;
8921 text-align: right;
8922 }
8923
8924}
8925
8926
8927/* ============================================================================== */
8928/* CSS style for debugbar */
8929/* ============================================================================== */
8930
8931div.phpdebugbar * {
8932 font-weight: unset;
8933}
8934span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
8935 width: 250px !important;
8936}
8937.phpdebugbar-indicator span.phpdebugbar-tooltip {
8938 opacity: .95 !important;
8939}
8940a.phpdebugbar-tab.phpdebugbar-active {
8941 background-image: unset !important;
8942}
8943.phpdebugbar-fa-tags:before {
8944 content: "\f121";
8945 font-weight: 600 !important;
8946}
8947.phpdebugbar-fa-tasks:before {
8948 content: "\f550";
8949 font-weight: 600 !important;
8950}
8951.phpdebugbar-fa-tags, .phpdebugbar-fa-tasks, .phpdebugbar-indicator .fa {
8952 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
8953 font-weight: 600;
8954}
8955div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
8956div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
8957div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
8958div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
8959div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
8960div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
8961div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
8962div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
8963div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
8964div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
8965div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
8966div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
8967div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
8968div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
8969{
8970 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>" !important;
8971}
8972
8973/* ============================================================================== */
8974/* CSS style used for jCrop */
8975/* ============================================================================== */
8976
8977.jcrop-holder { background: unset !important; }
8978
8979
8980/* ============================================================================== */
8981/* CSS style used for jFlot */
8982/* ============================================================================== */
8983
8984.dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
8985 text-orientation: sideways;
8986 font-weight: 400;
8987 writing-mode: vertical-rl;
8988 white-space: nowrap;
8989}
8990
8991
8992/* ============================================================================== */
8993/* For dolUIBlock() feature */
8994/* ============================================================================== */
8995
8996#dol-block-ui {
8997 position: fixed;
8998 top: 0;
8999 left: 0;
9000 width: 100%;
9001 height: 100%;
9002 background-color: rgba(0, 0, 0, 0.6);
9003 z-index: 9999;
9004 display: flex;
9005 justify-content: center;
9006 align-items: center;
9007}
9008
9009#dol-block-ui .message {
9010 padding: 15px 20px 15px 50px;
9011 color: #fff;
9012 background: #000 no-repeat 10px center;
9013 border-radius: 10px;
9014 font-family: sans-serif;
9015}
9016
9017
9018/* ============================================================================== */
9019/* For copy-paste feature */
9020/* ============================================================================== */
9021
9022span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
9023 display: inline-block;
9024}
9025span.clipboardCPValue.hidewithsize {
9026 width: 0 !important;
9027 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 */
9028 color: transparent;
9029 white-space: nowrap;
9030 overflow-x: hidden;
9031 vertical-align: middle;
9032}
9033div.clipboardCPValue.hidewithsize {
9034 width: 0 !important;
9035 display: none;
9036 color: transparent;
9037 white-space: nowrap;
9038}
9039
9040.clipboardCPShowOnHover{
9041 cursor: copy;
9042 position: relative;
9043}
9044
9045.clipboardCPShowOnHover .clipboardCPButton {
9046 display: none;
9047}
9048
9049.clipboardCPShowOnHover .clipboardCPButton,
9050.clipboardCPShowOnHover .clipboardCPTick {
9051 position: absolute;
9052 right: 0;
9053 top: 50%;
9054 transform: translate(100%, -50%);
9055}
9056
9057/* To make a div popup, we must use a position absolute inside a position relative */
9058.clipboardCPText {
9059 position: relative;
9060}
9061.clipboardCPTextDivInside {
9062 position: absolute;
9063 background: #f8f8fa;
9064 color: #888;
9065 border: 1px solid #E0E0E0;
9066 opacity: 1;
9067 z-index: 20;
9068 padding: 2px;
9069 padding-left: 5px;
9070 padding-right: 5px;
9071 top: -5px;
9072 left: 0px;
9073 border-radius: 5px;
9074 white-space: nowrap;
9075 font-size: 0.9em;
9076 box-shadow: 1px 1px 6px #ddd;
9077}
9078
9079
9080/* ============================================================================== */
9081/* CSS style used for HRM skill/rank (may be we can remove this) */
9082/* ============================================================================== */
9083
9084.radio_js_bloc_number {
9085 display:inline-block;
9086 padding:5px 7px;
9087 min-width:20px;
9088 border-radius:3px;
9089 border:1px solid #ccc;
9090 background:#eee;
9091 color:#555;
9092 cursor:pointer;
9093 margin:2px;
9094 text-align:center;
9095}
9096.radio_js_bloc_number.selected {
9097 transition:0.2s ease background;
9098 background:#888;
9099 color:#fff;
9100 border-color:#555;
9101}
9102
9103
9104/* ============================================================================== */
9105/* Virtual business card */
9106/* ============================================================================== */
9107
9108.virtualcard-div {
9109 overflow: hidden;
9110 vertical-align: top;
9111 /* background: #aaa; */
9112}
9113
9114#virtualcard-iframe {
9115 border: 1px solid #aaa;
9116 vertical-align: top;
9117 width: 10%;
9118 min-width: 100px;
9119 border-radius: 10px;
9120 aspect-ratio: 0.6;
9121 box-shadow: 0 0 5px #bbb;
9122}
9123.nopointervent {
9124 pointer-events: none;
9125}
9126.scalepreview {
9127 /* transform: scale(0.5); */
9128 zoom: 0.20;
9129 /* filter: blur(4px); */
9130}
9131
9132/* ============================================================================== */
9133/* For drag and drop file feature */
9134/* ============================================================================== */
9135
9136.cssDragDropArea{
9137 position: relative;
9138}
9139.highlightDragDropArea{
9140 border: 2px #000 dashed !important;
9141 background-color: #eee !important;
9142}
9143.highlightDragDropArea * :not(.dragDropAreaMessage *){
9144 opacity:0.8;
9145 filter: blur(1px) grayscale(90%);
9146}
9147.dragDropAreaMessage {
9148 position: absolute;
9149 left:50%;
9150 top:50%;
9151 transform: translate(-50%, -50%);
9152 text-align:center;
9153 font-size: 2em;
9154}
9155
9156/* ============================================================================== */
9157/* CSS style used for color jPicker */
9158/* ============================================================================== */
9159
9160table.jPicker {
9161 border: 1px solid #bbb !important;
9162}
9163
9164/* ============================================================================== */
9165/* CSS style used for survey */
9166/* ============================================================================== */
9167
9168.opensurveydescription * {
9169 width: 100%;
9170}
9171.imgopensurveywizard
9172{
9173 padding: 0 4px 0 4px;
9174}
9175.survey_borders {
9176 margin-left: 100px;
9177 margin-right: 100px;
9178 text-align: start;
9179}
9180.survey_intro {
9181 background-color: #f0f0f0;
9182 padding: 15px;
9183 border-radius: 8px;
9184}
9185.survey_borders .resultats .nom {
9186 text-align: <?php echo $left; ?>
9187}
9188.survey_borders .resultats .sujet, .survey_borders .resultats .jour {
9189 min-width: 100px;
9190}
9191
9192/* ============================================================================== */
9193/* CSS style used for BookCal */
9194/* ============================================================================== */
9195
9196.center.bookingtab {
9197 margin-left: 20px;
9198}
9199#bookinghoursection {
9200 width: 145px;
9201 height: 320px;
9202 overflow-y: auto;
9203 overflow-x: hidden;
9204 text-align: left;
9205}
9206.bookcalform {
9207 border: 1px solid #000;
9208 padding: 20px;
9209 border-radius: 5px;
9210 margin-bottom: 15px;
9211 box-shadow: 10px 10px 10px #ddd;
9212}
9213.bookcalsearch {
9214 padding-bottom: 10px;
9215}
9216
9217.topmenuimage {
9218 background-size: 22px auto;
9219 top: 2px;
9220}
9221
9222
9223/* ============================================================================== */
9224/* CSS style used for AI */
9225/* ============================================================================== */
9226
9227.ai_dropdown {
9228 min-width: 500px !important;
9229 padding: 12px;
9230 left: inherit !important;
9231 top: inherit !important;
9232 border-radius: <?php echo $borderradius; ?>px !important;
9233}
9234.ai_feature {
9235 background-color: var(--colorbackgrey);
9236 padding: 10px;
9237 padding-bottom: 6px;
9238 padding-top: 6px;
9239 border-radius: <?php echo $borderradius; ?>px;
9240}
9241
9242
9243/* ============================================================================== */
9244/* CSS style used for small screen */
9245/* ============================================================================== */
9246
9247/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?> */
9248/* rule to reduce top menu - 1st reduction: Reduce width of top menu icons */
9249@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px) /* reduction 1 */
9250{
9251 div.tmenucenter {
9252 width: <?php echo round(52); ?>px; /* size of viewport */
9253 white-space: nowrap;
9254 overflow: hidden;
9255 text-overflow: ellipsis;
9256
9257 color: var(--colortextbackhmenu);
9258 /* color: var(--colorbackhmenu1); */
9259 }
9260 .tmenuimage {
9261 color: var(--colortextbackhmenu);
9262 }
9263
9264 .mainmenuaspan {
9265 font-size: 0.9em;
9266 padding-right: 0;
9267 padding-left: 0;
9268 }
9269 .topmenuimage {
9270 background-size: 22px auto;
9271 margin-top: 0px;
9272 }
9273
9274 li.tmenu, li.tmenusel {
9275 min-width: 36px;
9276 }
9277 div.mainmenu {
9278 min-width: auto;
9279 }
9280 div.tmenuleft {
9281 display: none;
9282 }
9283
9284 .dropdown dd ul {
9285 max-width: 370px;
9286 }
9287}
9288/* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again (<?php echo $nbtopmenuentries ?> menu entries) */
9289@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC2', round($nbtopmenuentries * 69, 0) + 130); ?>px) /* reduction 2 */
9290{
9291 li.tmenucompanylogo {
9292 display: none;
9293 }
9294 div.mainmenu {
9295 height: 23px;
9296 }
9297 div.tmenucenter {
9298 max-width: <?php echo max(26, ceil(300 / ($nbtopmenuentriesreal + 2))); ?>px; /* size of viewport */
9299 text-overflow: clip;
9300 }
9301 span.mainmenuaspan {
9302 margin-left: 1px;
9303 }
9304 .mainmenuaspan {
9305 font-size: 0.9em;
9306 padding-left: 0;
9307 padding-right: 0;
9308 }
9309 .topmenuimage {
9310 background-size: 20px auto;
9311 margin-top: 2px;
9312 left: 4px;
9313 }
9314
9315 .dropdown dd ul {
9316 max-width: 300px;
9317 }
9318}
9319/* rule to reduce top menu - 3rd reduction: The menu for user is now on left */
9320<?php if (!getDolUserInt('MAIN_OPTIMIZEFORTEXTBROWSER')) { ?>
9321@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3', round($nbtopmenuentries * 47, 0) + 130); ?>px) /* reduction 3 */
9322{
9323 <?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 2) { ?>
9324 .tmenudiv:hover .tmenuimage:not(.menuhider), .tmenudiv:hover .tmenuimage:not(.menuhider):before {
9325 margin-top: 8px !important;
9326 }
9327 <?php } ?>
9328
9329 .side-nav {
9330 z-index: 200;
9331 background: var(--colorbackvmenu1);
9332 padding-top: 75px;
9333 /*position: relative;
9334 top: 75px;*/
9335 width: 245px; /* must be same than div.login_block */
9336 box-shadow: none;
9337 }
9338 #id-left {
9339 z-index: 201;
9340 background: var(--colorbackvmenu1);
9341 }
9342 #id-right { /* This must stay id-right and not be replaced with echo $right */
9343 padding-top: 8px;
9344 }
9345
9346 .login_vertical_align {
9347 padding-left: 20px;
9348 padding-right: 20px;
9349 }
9350
9351 /* Reduce login top right info */
9352 .help {
9353 <?php if ($disableimages) { ?>
9354 display: none;
9355 <?php } ?>
9356 }
9357 div#tmenu_tooltip {
9358 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
9359 display:none;
9360 <?php } else { ?>
9361 padding-<?php echo $right; ?>: 0;
9362 <?php } ?>
9363 }
9364 div.login_block_user {
9365 min-width: 0;
9366 width: 100%;
9367 }
9368 div.login_block_tools, div.login_block_user {
9369 line-height: unset;
9370 height: unset;
9371 }
9372 div.login_block a {
9373 color: unset;
9374 }
9375 div.login_block {
9376 /* Style when phone layout or when using the menuhider */
9377 padding-top: 10px;
9378 padding-left: 20px;
9379 padding-right: 20px;
9380 padding-bottom: 16px;
9381 top: auto;
9382 left: 0 !important;
9383 text-align: center;
9384 vertical-align: middle;
9385
9386 background: var(--colorbackvmenu1);
9387
9388 height: 50px;
9389
9390 z-index: 202;
9391 min-width: 245px; /* must be width of menu + padding + padding of sidenav */
9392 max-width: 245px; /* must be width of menu + padding + padding of sidenav */
9393 width: 245px; /* must be width of menu + padding + padding of sidenav */
9394 }
9395 .loginbuttonexternal {
9396 width: 260px;
9397 }
9398
9399 .side-nav-vert .user-menu .dropdown-menu,
9400 #topmenu-global-search-dropdown .dropdown-menu, #topmenu-bookmark-dropdown .dropdown-menu, #topmenu-quickadd-dropdown .dropdown-menu {
9401 width: 285px !important; /* must be width of menu + padding + padding of sidenav */
9402 min-width: unset !important;
9403 }
9404
9405 div.login_block_other {
9406 margin-right: unset;
9407 }
9408 div.login_block_tools, div.login_block_user, div.login_block_other { clear: both; }
9409
9410 .atoplogin, .atoplogin:hover
9411 {
9412 color:unset !important;
9413 padding-left: 4px;
9414 padding-right: 4px;
9415 }
9416 .login_block_elem {
9417 padding: 0 !important;
9418 height: 38px;
9419 }
9420 li.tmenu, li.tmenusel {
9421 min-width: 32px;
9422 }
9423 div.mainmenu {
9424 height: 23px;
9425 }
9426 div.tmenucenter {
9427 text-overflow: clip;
9428 }
9429 .topmenuimage {
9430 background-size: 20px auto;
9431 margin-top: 2px !important;
9432 left: 2px;
9433 }
9434 div.mainmenu {
9435 min-width: 20px;
9436 }
9437
9438 .titlefield {
9439 width: auto !important; /* We want to ignore the 30%, try to use more if you can */
9440 }
9441 .tableforfield>tr>td:first-child, .tableforfield>tbody>tr>td:first-child, div.tableforfield div.tagtr>div.tagtd:first-of-type {
9442 /* max-width: 100px; */ /* but no more than 100px */
9443 }
9444 .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
9445 word-break: break-word;
9446 }
9447 .badge {
9448 min-width: auto;
9449 font-size: 0.94em;
9450 }
9451
9452 table.table-fiche-title .col-title div.titre{
9453 line-height: unset;
9454 }
9455
9456 input#addedfile {
9457 width: 95%;
9458 }
9459
9460 #divbodywebsite {
9461 word-break: break-word;
9462 }
9463
9464 .websiteselectionsection {
9465 border-left: unset;
9466 border-right: unset;
9467 padding-left: 5px;
9468 }
9469
9470 .a-mesure, .a-mesure-disabled {
9471 display: block;
9472 margin-bottom: 6px;
9473 padding-left: 12px;
9474 padding-right: 12px;
9475 }
9476
9477 .a-mesure, .a-mesure-disabled {
9478 text-align: center;
9479 }
9480
9481
9482 .underbanner.underbanner-before-box {
9483 border-bottom: none;
9484 }
9485
9486 .valuefield.fieldname_type span.badgeneutral {
9487 margin-top: 5px;
9488 display: inline-block;
9489 }
9490
9491 tr.trextrafieldseparator td, tr.trextrafields_collapse_last td {
9492 /* border-bottom: 2px solid var(--colorbackhmenu1) !important; */
9493 border-bottom: 1px solid var(--colortopbordertitle1) !important;
9494 }
9495
9496 div#card-errors {
9497 max-width: unset;
9498 }
9499
9500 #dolpaymenttable {
9501 padding: 5px;
9502 }
9503
9504 .lilevel1 span.paddingright {
9505 padding-right: 4px;
9506 }
9507
9508 img.userphotopublicvcard {
9509 left: unset;
9510 top: unset;
9511 margin-top: 30px;
9512 }
9513}
9514<?php } ?>
9515
9516@media only screen and (max-width: 1024px)
9517{
9518 div#ecm-layout-west {
9519 width: calc(100% - 4px);
9520 clear: both;
9521 }
9522 div#ecm-layout-center {
9523 width: 100%;
9524 }
9525}
9526
9527@media only screen and (max-width: 768px)
9528{
9529 body {
9530 font-size: 0.91em;
9531 }
9532
9533 .ui-dialog {
9534 min-width: 280px;
9535 max-width: 95%;
9536 }
9537
9538 .pictofixedwidth {
9539 text-align: start;
9540 width: 1.2rem; /* Do not use em unit here, it varies on font size */
9541 padding-right: 0.2rem;
9542 }
9543 img.pictofixedwidth {
9544 width: 1.2rem; /* Do not use em unit here, it varies on font size */
9545 padding-right: 0.2rem; /* img width + img padding-right must be equal to width + padding-right of .pictofixedwidth */
9546 margin-right: 4px;
9547 }
9548
9549 table.titlemodulehelp tr td img.widthpictotitle {
9550 width: 1.5em;
9551 }
9552
9553 .ai_dropdown{
9554 min-width : 280px !important;
9555 width: calc(100% - 50px);
9556 }
9557
9558 .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
9559
9560 .fiche > .listactionsfilter .table-fiche-title .col-title .titre {
9561 display: none;
9562 }
9563
9564 .navselectiondate {
9565 width: 220px;
9566 }
9567 .maxwidthdate {
9568 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 */
9569 }
9570
9571 #tooltip {
9572 position: absolute;
9573 width: <?php print dol_size(350, 'width'); ?>px;
9574 }
9575
9576 div.tabBar {
9577 padding-left: 0px;
9578 padding-right: 0px;
9579 border-radius: 0px;
9580 border-right: none;
9581 border-left: none;
9582 }
9583
9584 td.widthpictotitle { width: 30px; }
9585
9586 .logopublicpayment #dolpaymentlogo {
9587 max-width: 260px;
9588 }
9589 #tablepublicpayment {
9590 width: auto !important;
9591 /* border: none !important; */
9592 }
9593 .poweredbypublicpayment {
9594 float: unset !important;
9595 top: unset !important;
9596 /* bottom: 8px; */
9597 right: -10px !important;
9598 position: relative !important;
9599 }
9600 .poweredbyimg {
9601 width: 48px;
9602 }
9603
9604 .survey_borders {
9605 margin-left: 10px;
9606 margin-right: 10px;
9607 text-align: start;
9608 }
9609
9610 .bookcalform {
9611 padding: 8px;
9612 box-shadow: none;
9613 }
9614 .bookcalform.boxtable .minwidth75 {
9615 min-width: auto;
9616 }
9617 .center.bookingtab {
9618 margin-left: 6px;
9619 }
9620 #bookinghoursection {
9621 font-size: small;
9622 width: 122px;
9623 }
9624
9625 #dolpublictable {
9626 padding: 14px;
9627 }
9628
9629 input[type=checkbox], input[type=radio] {
9630 margin: 0 5px 0 1px;
9631 transform: scale(1.1);
9632 }
9633
9634 pre {
9635 white-space: normal;
9636 word-break: break-word;
9637 }
9638}
9639
9640@media only screen and (max-width: 320px)
9641{
9642 .dropdown dd ul {
9643 max-width: 270px; /* must always be 50 slower than width */
9644 }
9645}
9646@media only screen and (max-width: 300px)
9647{
9648 .dropdown dd ul {
9649 max-width: 250px;
9650 }
9651}
9652@media only screen and (max-width: 280px)
9653{
9654 .dropdown dd ul {
9655 max-width: 230px;
9656 }
9657}
9658
9659
9660/* Test to have 2 columns for invoice type selection */
9661/*
9662@media only screen and (min-width: 1024px)
9663{
9664 .listofinvoicetypetable {
9665 display: inline-grid;
9666 grid-template-columns: repeat(2, 1fr);
9667 gap: 10px
9668 }
9669 .listofinvoicetype {
9670 display: block;
9671 }
9672}
9673*/
9674
9675
9677:where(#fourn-invoices-paiments-list,#customer-invoices-paiments-list)[data-display-all-invoices="1"] tr[data-row-type="2"]{
9678 font-weight: bold;
9679}
9680
9681<?php
9682if (getDolUserString('MAIN_OPTIMIZEFORTEXTBROWSER')) {
9683 // Set a max height on multiselect when using multiselect
9684 ?>
9685 select[multiple] {
9686 height: 42px;
9687 }
9688 <?php
9689}
9690
9691
9692include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
9693include dol_buildpath($path.'/theme/'.$theme.'/emaillayout.inc.php', 0);
9694include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
9695include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
9696include dol_buildpath($path.'/theme/'.$theme.'/timeline.inc.php', 0);
9697include dol_buildpath($path.'/theme/'.$theme.'/search-input.inc.css', 0);
9698include dol_buildpath($path.'/theme/'.$theme.'/tooltips.inc.css', 0);
9699include dol_buildpath($path.'/theme/'.$theme.'/input-feedback.css', 0);
9700
9701
9702// Add custom CSS if defined
9703print getDolGlobalString('THEME_CUSTOM_CSS');
9704
9705?>
9706
9707/* Remove text selection - Intuitive table selection */
9708.row-with-select[data-is-last-changed] * {
9709 -webkit-touch-callout: none; /* iOS Safari */
9710 -webkit-user-select: none; /* Safari */
9711 -khtml-user-select: none; /* Konqueror HTML */
9712 -moz-user-select: none; /* Old versions of Firefox */
9713 -ms-user-select: none; /* Internet Explorer/Edge */
9714 user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
9715}
9716
9717div.extra_inline_chkbxlst, div.extra_inline_checkbox {
9718 min-width:150px;
9719}
9720
9721/* Must be at end */
9722div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
9723 color: unset;
9724}
9725
9726
9727.noselect {
9728 -webkit-touch-callout: none; /* iOS Safari */
9729 -webkit-user-select: none; /* Safari */
9730 -khtml-user-select: none; /* Konqueror HTML */
9731 -moz-user-select: none; /* Old versions of Firefox */
9732 -ms-user-select: none; /* Internet Explorer/Edge */
9733 user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
9734}
render(array $permissions)
Render a rights array as the new content of the permissions block.
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