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