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