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