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