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