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