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:none;
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:rbg(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@media screen and (prefers-color-scheme: dark) {
2468 .side-nav-vert {
2469 border-bottom: 1px solid #888;
2470 }
2471}
2472
2473.side-nav {
2474<?php if (getDolGlobalString('THEME_STICKY_TOPMENU') == 'scrollleftmenu_after_mainpage') { ?>
2475 position: sticky;
2476 top: 50px;
2477 display: block;
2478<?php } else { ?>
2479 display: table-cell;
2480<?php } ?>
2481 border-<?php echo $right; ?>: 1px solid #ECECEC;
2482 box-shadow: 3px 0 6px -2px #eee;
2483 background: var(--colorbackvmenu1);
2484 transition: left 0.5s ease;
2485}
2486
2487.side-nav, .login_block {
2488 transition: left 0.5s ease;
2489}
2490
2491div.blockvmenulogo
2492{
2493 border-bottom: 0 !important;
2494}
2495.menulogocontainer {
2496 margin: <?php echo $disableimages ? '0' : '6'; ?>px;
2497 margin-left: 11px;
2498 margin-right: 9px;
2499 padding: 0;
2500 height: <?php echo $disableimages ? '18' : '35'; ?>px;
2501 /* width: 100px; */
2502 max-width: 100px;
2503 vertical-align: middle;
2504}
2505.menulogocontainer img.mycompany {
2506 object-fit: contain;
2507 width: inherit;
2508 height: inherit;
2509 image-rendering: -webkit-optimize-contrast;
2510 border-radius: 3px;
2511}
2512#mainmenutd_companylogo::after, #mainmenutd_menu::after {
2513 content: unset !important;
2514}
2515li#mainmenutd_companylogo .tmenucenter {
2516 width: unset;
2517}
2518li#mainmenutd_companylogo {
2519 min-width: unset !important;
2520}
2521<?php if ($disableimages) { ?>
2522 li#mainmenutd_home {
2523 min-width: unset !important;
2524 }
2525 li#mainmenutd_home .tmenucenter {
2526 width: unset;
2527 }
2528<?php } ?>
2529
2530div.blockvmenupair, div.blockvmenuimpair {
2531 border-top: none !important;
2532 border-left: none !important;
2533 border-right: none !important;
2534 border-bottom: 1px solid #eaeaea;
2535 padding-left: 0 !important;
2536}
2537div.blockvmenuend, div.blockvmenubookmarks {
2538 border: none !important;
2539 padding-left: 0 !important;
2540}
2541div.vmenu, td.vmenu {
2542 padding-right: 10px !important;
2543}
2544.blockvmenu .menu_titre {
2545 margin-top: 4px;
2546 margin-bottom: 1px;
2547}
2548
2549/* Try responsive even not on smartphone
2550#id-container {
2551 width: 100%;
2552}
2553#id-right {
2554 width: calc(100% - 200px) !important;
2555}
2556*/
2557
2558
2559.menuhider { display: none !important; }
2560.menuhider .mainmenu.menu.topmenuimage {
2561 margin-top: 0px !important;
2562}
2563
2564
2565/* rule to reduce top menu - 3rd reduction: We hide the left menu */
2566<?php if (!getDolUserInt('MAIN_OPTIMIZEFORTEXTBROWSER')) { ?>
2567@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3', round($nbtopmenuentries * 47, 0) + 130); ?>px) /* reduction 3 */
2568{
2569 /* no side-nav */
2570 body.sidebar-collapse .side-nav {
2571 display: none;
2572 }
2573
2574 /* if no side-nav, we don't need to have width forced to calc(100% - 210px); */
2575 .classforhorizontalscrolloftabs #id-right {
2576 width: 100%;
2577 /* width: unset; */
2578 /* display: unset; */
2579 }
2580
2581 body.sidebar-collapse .login_block {
2582 display: none;
2583 }
2584
2585 .menuhider { display: block !important; }
2586 .dropdown-user-image { display: none; }
2587 .user-header { height: auto !important; color: var(--colortextbackhmenu); }
2588
2589 #id-container {
2590 display: table; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
2591 table-layout: fixed;
2592 width: 100%;
2593 }
2594 .side-nav {
2595 border-bottom: 1px solid #BBB;
2596 background: #FFF;
2597 padding-left: 20px;
2598 padding-right: 20px;
2599 position: absolute;
2600 z-index: 90;
2601 }
2602 div.blockvmenulogo
2603 {
2604 border-bottom: 0 !important;
2605 }
2606 div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend {
2607 border-top: none !important;
2608 border-left: none !important;
2609 border-right: none !important;
2610 border-bottom: 1px solid #eaeaea;
2611 padding-left: 0 !important;
2612 }
2613 div.vmenu, td.vmenu {
2614 padding-right: 6px !important;
2615 }
2616 div.fiche {
2617 margin-<?php print $left; ?>: 9px !important;
2618 margin-<?php print $right; ?>: 10px !important;
2619 }
2620
2621 .pagination .fa-chevron-left, .pagination .fa-chevron-right {
2622 font-size: 1.2em;
2623 }
2624}
2625
2626@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 */
2627{
2628 div.fiche {
2629 margin-<?php print $left; ?>: 13px !important;
2630 margin-<?php print $right; ?>: 14px !important;
2631 }
2632}
2633<?php } ?>
2634
2635
2636div.fiche {
2637 margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '44' : '6')); ?>px;
2638 margin-<?php print $right; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '38' : '6')); ?>px;
2639 <?php if (!empty($dol_hide_topmenu) || GETPOST('dol_openinpopup', 'aZ09')) {
2640 print 'margin-top: 12px;'."\n";
2641 } ?>
2642 <?php if (!empty($dol_hide_topmenu) || GETPOST('dol_openinpopup', 'aZ09')) {
2643 print 'margin-bottom: 12px;'."\n";
2644 } ?>
2645}
2646.dol_openinpopup div.fiche {
2647 margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '24' : '6')); ?>px;
2648 margin-top: 0px;
2649}
2650
2651.page-modulehelp div.fiche {
2652 width: 100%;
2653}
2654body.onlinepaymentbody div.fiche { /* For online payment page */
2655 margin: 20px !important;
2656}
2657div.fiche>table:first-child {
2658 margin-bottom: 15px;
2659}
2660div.fichecenter {
2661 width: 100%;
2662 clear: both; /* This is to have div fichecenter that are true rectangles */
2663}
2664div.fichecenterbis {
2665 margin-top: 8px;
2666}
2667div.fichethirdleft {
2668 <?php if ($conf->browser->layout != 'phone') {
2669 print "float: ".$left.";\n";
2670 } ?>
2671 <?php if ($conf->browser->layout != 'phone') {
2672 print "width: calc(50% - 20px);\n";
2673 } ?>
2674 <?php if ($conf->browser->layout == 'phone') {
2675 print "padding-bottom: 6px;\n";
2676 } ?>
2677}
2678div.fichetwothirdright {
2679 <?php if ($conf->browser->layout != 'phone') {
2680 print "float: ".$right.";\n";
2681 } ?>
2682 <?php if ($conf->browser->layout != 'phone') {
2683 print "width: calc(50% - 20px);\n";
2684 } ?>
2685 <?php if ($conf->browser->layout == 'phone') {
2686 print "padding-bottom: 6px\n";
2687 } ?>
2688}
2689div.fichehalfleft {
2690 <?php if ($conf->browser->layout != 'phone') {
2691 print "float: ".$left.";\n";
2692 } ?>
2693 <?php if ($conf->browser->layout != 'phone') {
2694 print "width: calc(50% - 20px);\n";
2695 } ?>
2696 margin-bottom: 20px;
2697}
2698div.fichehalfright {
2699 <?php if ($conf->browser->layout != 'phone') {
2700 print "float: ".$right.";\n";
2701 } ?>
2702 <?php if ($conf->browser->layout != 'phone') {
2703 print "width: calc(50% - 20px);\n";
2704 } ?>
2705}
2706div.fichehalfright {
2707 <?php if ($conf->browser->layout == 'phone') {
2708 print "margin-top: 10px;\n";
2709 } ?>
2710}
2711
2712/*div.firstcolumn div.box {
2713 padding-right: 10px;
2714}
2715div.secondcolumn div.box {
2716 padding-left: 10px;
2717}*/
2718div.firstcolumn > table.noborder, div.secondcolumn > table.noborder, div.firstcolumn > div > table.noborder, div.secondcolumn > div > table.noborder {
2719 margin-bottom: 14px;
2720}
2721
2722/* Force values on one column for small screen */
2723@media only screen and (max-width: 1024px)
2724{
2725 div.fiche {
2726 margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : ($dol_hide_leftmenu ? '6' : '20')); ?>px;
2727 margin-<?php print $right; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 8 : 6); ?>px;
2728 }
2729 div.fichecenter {
2730 width: 100%;
2731 clear: both; /* This is to have div fichecenter that are true rectangles */
2732 }
2733 div.fichecenterbis {
2734 margin-top: 8px;
2735 }
2736 div.fichethirdleft {
2737 float: none;
2738 width: auto;
2739 padding-bottom: 6px;
2740 }
2741 div.fichetwothirdright {
2742 float: none;
2743 width: auto;
2744 padding-bottom: 6px;
2745 }
2746 div.fichehalfleft {
2747 float: none;
2748 width: auto;
2749 }
2750 div.fichehalfright {
2751 float: none;
2752 width: auto;
2753 }
2754 div.fichehalfright {
2755 margin-top: 10px;
2756 }
2757 div.firstcolumn div.box {
2758 padding-right: 0px;
2759 }
2760 div.secondcolumn div.box {
2761 padding-left: 0px;
2762 }
2763}
2764
2765/* Force values on one column for small screen */
2766@media only screen and (max-width: 1440px)
2767{
2768 div.fichehalfleft-lg {
2769 float: none;
2770 width: auto;
2771 }
2772 div.fichehalfright-lg {
2773 float: none;
2774 width: auto;
2775 }
2776
2777 .fichehalfright-lg .fichehalfright {
2778 padding-left:0;
2779 }
2780}
2781
2782/* For table into table into card */
2783div.fichehalfright tr.liste_titre:first-child td table.nobordernopadding td {
2784 padding: 0 0 0 0;
2785}
2786div.nopadding {
2787 padding: 0 !important;
2788}
2789
2790.containercenter {
2791 display : table;
2792 margin : 0px auto;
2793}
2794
2795td.nobordernopadding.widthpictotitle.col-picto {
2796 color: var(--colortexttitlenotab);
2797 opacity: 0.85;
2798}
2799.table-list-of-attached-files .col-picto, .table-list-of-links .col-picto {
2800 opacity: 0.7 !important;
2801 font-size: 0.7em;
2802 width: 20px;
2803}
2804.table-list-of-attached-files .col-picto .widthpictotitle, .table-list-of-links .col-picto .widthpictotitle {
2805 width: unset;
2806 color: #999;
2807}
2808
2809/*
2810span.widthpictotitle.pictotitle {
2811 background: var(--colortexttitlenotab);
2812 opacity: 0.8;
2813 color: #fff !important;
2814 padding: 7px;
2815 border-radius: 2px;
2816 min-width: 30px;
2817 text-align: center;
2818}
2819*/
2820.pictotitle {
2821 margin-<?php echo $right; ?>: 8px;
2822 /* margin-bottom: 4px; */
2823}
2824
2825.pictoobjectwidth {
2826 width: 14px;
2827}
2828.pictosubstatus {
2829 padding-left: 2px;
2830 padding-right: 2px;
2831}
2832.pictostatus {
2833 width: 15px;
2834 vertical-align: middle;
2835 margin-top: -3px
2836}
2837.pictowarning, .pictoerror, .pictopreview, .pictonopreview, .picto.error {
2838 padding-<?php echo $left; ?>: 3px;
2839}
2840.pictowarning {
2841 /* vertical-align: text-bottom; */
2842 color: <?php echo $badgeWarning ?>;
2843}
2844.pictoerror {
2845 color: <?php echo $badgeDanger ?>;
2846}
2847.pictomodule {
2848 width: 14px;
2849}
2850.pictomodule {
2851 width: 14px;
2852}
2853.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
2854.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
2855.tagtdnote span.pictoedit {
2856 opacity: 0.4;
2857}
2858.pictofixedwidth {
2859 text-align: start;
2860 width: 20px; /* Do not use em unit here */
2861 /* padding-right: 0; */
2862}
2863img.pictofixedwidth {
2864 width: 18px; /* Do not use em unit here */
2865 padding-right: 2px;
2866}
2867
2868.colorthumb {
2869 padding-left: 1px !important;
2870 padding-right: 1px;
2871 padding-top: 1px;
2872 padding-bottom: 1px;
2873 width: 50px;
2874 text-align:center;
2875}
2876div.attacharea {
2877 padding-top: 18px;
2878 padding-bottom: 10px;
2879}
2880div.attachareaformuserfileecm {
2881 padding-top: 0;
2882 padding-bottom: 6px;
2883}
2884
2885div.arearef {
2886 padding-top: 2px;
2887 margin-bottom: 10px;
2888 padding-bottom: 10px;
2889}
2890div.arearefnobottom {
2891 padding-top: 2px;
2892 padding-bottom: 4px;
2893}
2894div.heightref {
2895 min-height: 80px;
2896}
2897div.divphotoref:last-child {
2898 padding-<?php echo $right; ?>: 30px;
2899}
2900div.paginationref {
2901 padding-bottom: 10px;
2902}
2903/* TODO
2904div.statusref {
2905 padding: 10px;
2906 border: 1px solid #bbb;
2907 border-radius: 6px;
2908} */
2909div.statusref {
2910 float: <?php echo $right; ?>;
2911 padding-left: 12px;
2912 margin-top: 8px;
2913 margin-bottom: 10px;
2914 clear: both;
2915 text-align: right;
2916}
2917div.statusref img {
2918 padding-left: 8px;
2919 padding-right: 9px;
2920 vertical-align: text-bottom;
2921 width: 18px;
2922}
2923div.statusrefbis {
2924 padding-left: 8px;
2925 padding-right: 9px;
2926 vertical-align: text-bottom;
2927}
2928img.photoref, div.photoref {
2929 /* border: 1px solid #DDD; */
2930 box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
2931 padding: 4px;
2932 height: 80px;
2933 width: 80px;
2934 object-fit: contain;
2935}
2936img.photokanban, div.photokanban {
2937 padding: 0;
2938 border: none;
2939 box-shadow: none;
2940 vertical-align: middle;
2941}
2942div.photoref .fa, div.photoref .fas, div.photoref .far {
2943 font-size: 2.5em;
2944}
2945img.fitcontain {
2946 object-fit: contain;
2947}
2948div.photoref {
2949 display:table-cell;
2950 vertical-align:middle;
2951 text-align:center;
2952}
2953.difforspanimgright {
2954 display: table-cell;
2955 padding-right: 10px;
2956}
2957img.photorefnoborder {
2958 padding: 2px;
2959 height: 48px;
2960 width: 48px;
2961 object-fit: contain;
2962 border: 1px solid #AAA;
2963 border-radius: 100px;
2964}
2965.underrefbanner {
2966}
2967.underbanner {
2968 border-bottom: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
2969 /* border-bottom: 2px solid var(--colorbackhmenu1); */
2970}
2971.trextrafieldseparator td, .trextrafields_collapse_last td {
2972 /* border-bottom: 2px solid var(--colorbackhmenu1) !important; */
2973 /* border-bottom: 2px solid var(--colortopbordertitle1) !important; */
2974}
2975
2976.tdhrthin {
2977 margin: 0 !important;
2978 padding-bottom: 0 !important;
2979}
2980
2981/* ============================================================================== */
2982/* Menu top et 1ere ligne tableau */
2983/* ============================================================================== */
2984
2985#id-top {
2986<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2987 display:none;
2988<?php } else { ?>
2989 background: var(--colorbackhmenu1);
2990 <?php if ($colorbackhmenu1 == $colorbackbody) { ?>
2991 border-bottom: 1px solid var(--colorbackgrey);
2992 box-shadow: 0 0 3px var(--colorbackgrey);
2993 <?php } else { ?>
2994 <?php } } ?>
2995}
2996
2997div#tmenu_tooltip {
2998<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2999 display:none;
3000<?php } else { ?>
3001 padding-<?php echo $right; ?>: <?php echo((float) $maxwidthloginblock - 10); ?>px;
3002<?php } ?>
3003
3004 -webkit-touch-callout: none; /* iOS Safari */
3005 -webkit-user-select: none; /* Safari */
3006 -khtml-user-select: none; /* Konqueror HTML */
3007 -moz-user-select: none; /* Firefox */
3008 -ms-user-select: none; /* Internet Explorer/Edge */
3009 user-select: none; /* Non-prefixed version, currently
3010 supported by Chrome and Opera */
3011
3012
3013}
3014
3015div.topmenuimage {
3016<?php if ($disableimages) { ?>
3017 display: none;
3018<?php } ?>
3019}
3020
3021div.tmenudiv {
3022<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3023 display:none;
3024<?php } else { ?>
3025 position: relative;
3026 display: block;
3027 white-space: nowrap;
3028 border-top: 0px;
3029 border-<?php print $left; ?>: 0px;
3030 border-<?php print $right; ?>: 0px;
3031 padding: 0px 0px 0px 0px; /* t r b l */
3032 margin: 0px 0px 0px 0px; /* t r b l */
3033 font-size: 13px;
3034 font-weight: normal;
3035 text-decoration: none;
3036<?php } ?>
3037}
3038div.tmenudisabled, a.tmenudisabled {
3039 opacity: 0.6;
3040}
3041a.tmenu, a.tmenusel, a.tmenudisabled {
3042 /* font-weight: 300; */
3043}
3044a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
3045 padding: 0px 5px 0px 5px;
3046 white-space: nowrap;
3047 color: var(--colortextbackhmenu);
3048 text-decoration: none;
3049 cursor: not-allowed;
3050}
3051span.mainmenuaspan.tmenudisabled {
3052 color: var(--colortextbackhmenu);
3053 opacity: 0.5;
3054 cursor: not-allowed;
3055}
3056
3057a.disabled, span.tmenu {
3058 color: #aaa;
3059 text-decoration: none !important;
3060 cursor: default;
3061}
3062
3063a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
3064 padding: 0px 2px 0px 2px;
3065 margin: 0px 0px 0px 0px;
3066 white-space: nowrap;
3067 color: var(--colortextbackhmenu);
3068 text-decoration: none;
3069}
3070a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
3071 padding: 0px 2px 0px 2px;
3072 margin: 0px 0px 0px 0px;
3073 white-space: nowrap;
3074 color: var(--colortextbackhmenu);
3075 text-decoration: none !important;
3076}
3077
3078
3079ul.tmenu { /* t r b l */
3080 padding: 0px 0px 0px 0px;
3081 margin: 0px 0px 0px 0px;
3082 list-style: none;
3083 display: table;
3084}
3085ul.tmenu li { /* We need this to have background color when menu entry wraps on new lines */
3086}
3087li#mainmenutd_home {
3088 margin-left: 5px;
3089}
3090li.tmenu, li.tmenusel {
3091 <?php print $minwidthtmenu ? 'min-width: '.$minwidthtmenu.'px;' : ''; ?>
3092 text-align: center;
3093 vertical-align: bottom;
3094 <?php if (!getDolGlobalString('MAIN_MENU_INVERT')) { ?>
3095 float: <?php print $left; ?>;
3096 <?php } ?>
3097 position:relative;
3098 display: block;
3099 padding: 0 0 0 0;
3100 margin: 0 0 0 0;
3101 font-weight: normal;
3102}
3103li.menuhider:hover {
3104 background-image: none !important;
3105}
3106
3107li.tmenusel::after, li.tmenu:hover::after{
3108 content: "";
3109 position:absolute;
3110 bottom:0px;
3111 left: 50%;
3112 left: calc(50% - 6px);
3113 width: 0;
3114 height: 0;
3115 border-style: solid;
3116 border-width: 0px 6px 5px 6px;
3117 border-color: transparent transparent #ffffff transparent;
3118}
3119
3120.tmenuend .tmenuleft { width: 0px; }
3121.tmenuend { display: none; }
3122div.tmenuleft
3123{
3124 float: <?php print $left; ?>;
3125 margin-top: 0px;
3126 <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
3127 width: 5px;
3128 <?php } ?>
3129 <?php if ($disableimages) { ?>
3130 height: 26px;
3131 <?php } else { ?>
3132 height: <?php print $heightmenu; ?>px;
3133 <?php } ?>
3134}
3135div.tmenucenter
3136{
3137 padding-left: 2px;
3138 padding-right: 2px;
3139 color: var(--colortextbackhmenu);
3140 <?php if ($disableimages) { ?>
3141 padding-top: 8px;
3142 height: 26px;
3143 <?php } else { ?>
3144 padding-top: 2px;
3145 height: <?php print $heightmenu; ?>px;
3146 <?php } ?>
3147 /* width: 100%; */
3148}
3149#menu_titre_logo {
3150 padding-top: 0;
3151 padding-bottom: 0;
3152}
3153div.menu_titre {
3154 padding-top: 4px;
3155 padding-bottom: 4px;
3156 overflow: hidden;
3157 text-overflow: ellipsis;
3158 width: <?php echo $leftmenuwidth - 2; ?>px; /* required to have overflow working. must be same than menu_contenu */
3159}
3160.mainmenuaspan
3161{
3162 padding-<?php print $left; ?>: 2px;
3163 padding-<?php print $right; ?>: 2px;
3164 font-family: Roboto,<?php echo $fontlist; ?>;
3165 font-weight: 400;
3166 opacity: 0.9;
3167}
3168
3169div.mainmenu {
3170 position : relative;
3171 background-repeat:no-repeat;
3172 background-position:center top;
3173 height: <?php echo($heightmenu - 22); ?>px;
3174 margin-left: 0px;
3175 min-width: 40px;
3176}
3177
3178a.tmenuimage:focus, .mainmenu.topmenuimage:focus {
3179 outline: none;
3180}
3181button.ui-button.ui-corner-all.ui-widget:focus {
3182 outline: none;
3183}
3184.tmenuimage {
3185 color: var(--colortextbackhmenu);
3186}
3187
3188/* For mainmenu, we always load the img */
3189
3190div.mainmenu.menu {
3191 <?php print $disableimages ? '' : 'top: 10px'; ?>
3192}
3193#mainmenutd_menu a.tmenuimage {
3194 display: unset;
3195}
3196a.tmenuimage {
3197 display: block;
3198}
3199
3200a.tmenuimage:hover{
3201 text-decoration: none;
3202}
3203
3204/* To show text of top menu according to option THEME_TOPMENU_DISABLE_IMAGE */
3205
3206/* Text hidden by default when option THEME_TOPMENU_DISABLE_IMAGE */
3207<?php if (in_array(getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE'), array(2, 3, 4))) { ?>
3208.tmenulabel:not(.menuhider), .tmenulabel:not(.menuhider)::before {
3209 display: none;
3210 /* opacity: 0; To show text after transition */
3211}
3212a.tmenuimage:not(.menuhider), a.tmenuimage:not(.menuhider)::before,
3213div.tmenuimage:not(.menuhider), div.tmenuimage:not(.menuhider)::before,
3214span.tmenuimage:not(.menuhider), span.tmenuimage:not(.menuhider)::before {
3215 font-size: 1.3em;
3216 margin-top: 8px !important;
3217}
3218
3219div.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. */
3220 width: 80px;
3221 overflow: hidden;
3222 text-overflow: ellipsis;
3223}
3224<?php } ?>
3225
3226/* Test of picto visible on hover, for all picto */
3227<?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 2) { ?>
3228ul.tmenu:hover .tmenulabel:not(.menuhider), .ul.tmenu:hover .tmenulabel:not(.menuhider)::before {
3229 display: block;
3230 position: relative;
3231 overflow: hidden;
3232 text-overflow: ellipsis;
3233 /* For transition transition-delay: 1000ms;
3234 transition-property: all; */
3235 opacity: 1;
3236 display: initial !important;
3237 line-height: 0.6em !important;
3238 height: 1em !important;
3239 overflow: hidden;
3240 text-overflow: ellipsis;
3241 color: var(--colortextbackhmenu);
3242 top: 0px;
3243}
3244ul.tmenu:hover .tmenuimage:not(.menuhider), ul.tmenu:hover .tmenuimage:not(.menuhider)::before {
3245 /* For transition transition-delay: 1000ms;
3246 transition-property: all; */
3247 margin-top: 0px !important;
3248}
3249<?php } ?>
3250
3251/* Text of picto visible on hover the picto only */
3252<?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 3) { ?>
3253li.tmenu:hover .tmenulabel:not(.menuhider), li.tmenu:hover .tmenulabel:not(.menuhider)::before {
3254 display: initial !important;
3255}
3256li.tmenu:hover .tmenuimage:not(.menuhider), li.tmenu:hover .tmenuimage:not(.menuhider):before {
3257 font-size: 1.1em !important;
3258 margin-top: 0px !important;
3259}
3260<?php } ?>
3261
3262
3263
3264/* Do not load menu img for other if hidden to save bandwidth */
3265
3266<?php if (empty($dol_hide_topmenu)) { ?>
3267 <?php include dol_buildpath($path.'/theme/'.$theme.'/main_menu_fa_icons.inc.php', 0); ?>
3268
3269 <?php
3270 // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
3271
3272 $moduletomainmenu = array(
3273 'user' => '', 'syslog' => '', 'societe' => 'companies', 'projet' => 'project', 'propale' => 'commercial', 'commande' => 'commercial',
3274 'produit' => 'products', 'service' => 'products', 'stock' => 'products',
3275 'don' => 'accountancy', 'tax' => 'accountancy', 'banque' => 'accountancy', 'facture' => 'accountancy', 'compta' => 'accountancy', 'accounting' => 'accountancy', 'adherent' => 'members', 'import' => 'tools', 'export' => 'tools', 'mailing' => 'tools',
3276 'contrat' => 'commercial', 'ficheinter' => 'commercial', 'ticket' => 'ticket', 'deplacement' => 'commercial',
3277 'fournisseur' => 'companies',
3278 'barcode' => '', 'fckeditor' => '', 'categorie' => '',
3279 );
3280 $mainmenuused = 'home';
3281 foreach ($conf->modules as $val) {
3282 $mainmenuused .= ','.(isset($moduletomainmenu[$val]) ? $moduletomainmenu[$val] : $val);
3283 }
3284 $mainmenuusedarray = array_unique(explode(',', $mainmenuused));
3285
3286 $generic = 1;
3287 // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
3288 $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');
3289 // Put here list of menu entries we are sure we don't want
3290 $divnotrequired = array('multicurrency', 'salaries', 'ticket', 'margin', 'opensurvey', 'paybox', 'expensereport', 'incoterm', 'prelevement', 'propal', 'workflow', 'notification', 'supplier_proposal', 'cron', 'product', 'productbatch', 'expedition');
3291
3292 foreach ($mainmenuusedarray as $val) {
3293 if (empty($val) || in_array($val, $divalreadydefined)) {
3294 continue;
3295 }
3296 if (in_array($val, $divnotrequired)) {
3297 continue;
3298 }
3299
3300 $found = 0;
3301 $url = '';
3302 $constformoduleicon = 'MAIN_MODULE_'.strtoupper($val).'_ICON';
3303 $iconformodule = getDolGlobalString($constformoduleicon);
3304 if ($iconformodule) {
3305 if (preg_match('/^fa\-/', $iconformodule)) {
3306 // This is a fa icon
3307 } else {
3308 $url = dol_buildpath('/'.$val.'/img/'.$iconformodule.'.png', 1);
3309 }
3310 $found = 1;
3311 } else {
3312 // Search img file in module dir
3313 foreach ($conf->file->dol_document_root as $dirroot) {
3314 if (file_exists($dirroot."/".$val."/img/".$val.".png")) {
3315 $url = dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
3316 $found = 1;
3317 break;
3318 }
3319 }
3320 }
3321 //print "XXX".$val."->".$found."\n";
3322
3323 // Output entry for menu icon in CSS
3324 if (!$found) {
3325 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";
3326 print 'div.mainmenu.'.$val.' span::before {'."\n";
3327 print 'content: "\f249";'."\n";
3328 print '}'."\n";
3329 $generic++;
3330 } else {
3331 if ($url) {
3332 print "div.mainmenu.".$val." {\n";
3333 print " background-image: url(".$url.");\n";
3334 print " background-position-y: 3px;\n";
3335 print " filter: saturate(0);\n";
3336 print "}\n";
3337 } else {
3338 print '/* icon for module '.$val.' is a fa icon */'."\n";
3339 }
3340 }
3341 }
3342 // End of part to add more div class css
3343 ?>
3344<?php } // End test if $dol_hide_topmenu?>
3345
3346.tmenuimage {
3347 padding:0 0 0 0 !important;
3348 margin:0 0 0 0 !important;
3349 <?php if ($disableimages) { ?>
3350 display: none;
3351 <?php } ?>
3352}
3353
3354
3355
3356/* Login */
3357
3358.bodylogin
3359{
3360 background: #f0f0f0;
3361 display: table;
3362 position: absolute;
3363 height: 100%;
3364 width: 100%;
3365 font-size: 1em;
3366}
3367.login_center {
3368 display: table-cell;
3369 vertical-align: middle;
3370}
3371.login_vertical_align {
3372 padding: 10px;
3373 padding-bottom: 80px;
3374}
3375form#login {
3376 padding-bottom: 30px;
3377 font-size: 14px;
3378 vertical-align: middle;
3379}
3380.login_table_title {
3381 max-width: 530px;
3382 color: #eee !important;
3383 padding-bottom: 20px;
3384 text-shadow: 1px 1px #444;
3385}
3386.login_table label {
3387 text-shadow: 1px 1px 1px #FFF;
3388}
3389.login_table {
3390 margin: 0px auto; /* Center */
3391 padding-left:6px;
3392 padding-right:6px;
3393 padding-top:16px;
3394 padding-bottom:12px;
3395 max-width: 560px;
3396<?php
3397if (getDolGlobalString('MAIN_LOGIN_BACKGROUND')) {
3398 print ' background-color: rgba(255, 255, 255, 0.9);';
3399} else {
3400 print ' background-color: var(--colorbackbody);';
3401}
3402?>
3403 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);
3404 border-radius: 5px;
3405}
3406.login_table input#username, .login_table input#password, .login_table input#securitycode {
3407 border: none;
3408 border-bottom: solid 1px rgba(180,180,180,.4);
3409 padding: 5px;
3410 margin-left: 5px;
3411 margin-top: 5px;
3412 margin-bottom: 5px;
3413 margin-right: 10px;
3414}
3415.login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
3416 outline: none !important;
3417}
3418.login_table .trinputlogin {
3419 font-size: 1.2em;
3420 margin: 8px;
3421}
3422.login_table .tdinputlogin {
3423 background-color: transparent;
3424 /* border: 2px solid #ccc; */
3425 min-width: 220px;
3426 border-radius: 2px;
3427}
3428.login_table .tdinputlogin .fa {
3429 padding-left: 10px;
3430 width: 14px;
3431}
3432.login_table .tdinputlogin input#username, .login_table .tdinputlogin input#password, .login_table .tdinputlogin input#securitycode {
3433 font-size: 1.1em;
3434}
3435/* Serve as reference for icon that toggles showing the password */
3436.login_table #tdpasswordlogin {
3437 position: relative;
3438}
3439.login_table #tdpasswordlogin #togglepassword {
3440 position: absolute;
3441 top: 0.7em;
3442 right: 11px;
3443 background: none;
3444 border: none;
3445 opacity: 0.3;
3446}
3447.login_table #tdpasswordlogin #togglepassword .fa {
3448 padding: 0 3px;
3449 width: auto;
3450}
3451#togglepassword .fa::before {
3452 visibility: hidden;
3453}
3454.trinputlogin:hover #togglepassword .fa::before, input#password:focus + #togglepassword .fa::before {
3455 visibility: visible;
3456}
3457
3458
3459
3460/* For the static info message */
3461.login_main_home {
3462 word-break: break-word;
3463 width: fit-content;
3464}
3465/* For the result or error message */
3466.login_main_message {
3467 text-align: center;
3468 max-width: 570px;
3469 margin-bottom: 22px;
3470}
3471.login_main_message .error {
3472 /* border: 1px solid #caa; */
3473 padding: 10px;
3474}
3475div#login_left, div#login_right {
3476 display: inline-block;
3477 min-width: 245px;
3478 padding-top: 10px;
3479 padding-bottom: 10px;
3480 padding-left: 16px;
3481 padding-right: 16px;
3482 text-align: center;
3483 vertical-align: middle;
3484}
3485div#login_right select#entity {
3486 margin-top: 10px;
3487}
3488table.login_table tr td table.none tr td {
3489 padding: 2px;
3490}
3491table.login_table_securitycode {
3492 border-spacing: 0px;
3493}
3494table.login_table_securitycode tr td {
3495 padding-left: 0px;
3496 padding-right: 4px;
3497}
3498#securitycode {
3499 min-width: 60px;
3500}
3501#img_securitycode {
3502 border: 1px solid #DDDDDD;
3503}
3504#img_logo, .img_logo {
3505 max-width: 160px;
3506 max-height: 90px;
3507}
3508
3509div.backgroundsemitransparent {
3510 background:rgba(255, 255, 255, 0.7);
3511 padding-left: 10px;
3512 padding-right: 10px;
3513}
3514div.login_block {
3515 position: absolute;
3516 text-align: <?php print $right; ?>;
3517 <?php print $right; ?>: 0;
3518 top: <?php print $disableimages ? '4px' : '0'; ?>;
3519 line-height: 10px;
3520 <?php // echo (empty($disableimages) && $maxwidthloginblock)?'max-width: '.$maxwidthloginblock.'px;':'';?>
3521 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3522 display: none;
3523 <?php } ?>
3524}
3525div.login_block a {
3526 color: var(--colortextbackhmenu);
3527 display: inline-block;
3528}
3529div.login_block a .atoploginusername {
3530 display: inline-block;
3531 overflow: hidden;
3532 max-width: 60px;
3533 text-overflow: ellipsis;
3534}
3535div.login_block span.aversion {
3536 color: var(--colortextbackhmenu);
3537 filter: contrast(0.7);
3538}
3539div.login_block table {
3540 display: inline;
3541}
3542div.login {
3543 white-space:nowrap;
3544 font-weight: bold;
3545 float: right;
3546}
3547div.login a {
3548 color: var(--colortextbackvmenu);
3549}
3550div.login a:hover {
3551 color: var(--colortextbackvmenu);
3552 text-decoration:underline;
3553}
3554.login_block_elem a span.atoplogin, .login_block_elem span.atoplogin {
3555 vertical-align: middle;
3556}
3557div.login_block_tools {
3558 margin-<?php echo $right ?>: 8px;
3559 display: inline-block;
3560 vertical-align: middle;
3561 line-height: <?php echo $disableimages ? '25' : '53'; ?>px;
3562 height: <?php echo $disableimages ? '25' : '51'; ?>px;
3563}
3564div.login_block_other {
3565 display: inline-block;
3566 vertical-align: middle;
3567 clear: <?php echo $disableimages ? 'none' : 'both'; ?>;
3568 padding-top: 0;
3569 text-align: <?php echo $right ?>;
3570 max-width: 200px;
3571}
3572div.login_block_user {
3573 display: inline-block;
3574 vertical-align: middle;
3575 line-height: <?php echo $disableimages ? '25' : '51'; ?>px;
3576 height: <?php echo $disableimages ? '25' : '51'; ?>px;
3577}
3578
3579.login_block_elem {
3580 float: <?php echo $right ?>;
3581 vertical-align: top;
3582 padding: 0px 3px 0px 4px !important;
3583}
3584.login_block_other .login_block_elem {
3585 line-height: 25px;
3586 height: 25px;
3587}
3588.atoplogin, .atoplogin:hover {
3589 color: var(--colortextbackhmenu) !important;
3590}
3591.login_block_getinfo {
3592 text-align: center;
3593}
3594.login_block_getinfo div.login_block_tools, .login_block_getinfo div.login_block_user {
3595 display: block;
3596}
3597.login_block_getinfo .atoplogin, .login_block_getinfo .atoplogin:hover {
3598 color: #333 !important;
3599 font-weight: normal !important;
3600}
3601.alogin, .alogin:hover {
3602 font-weight: normal !important;
3603 padding-top: 2px;
3604}
3605.alogin:hover, .atoplogin:hover {
3606 text-decoration:underline !important;
3607}
3608span.fa.atoplogin, span.fa.atoplogin:hover {
3609 font-size: 16px;
3610 text-decoration: none !important;
3611}
3612.atoplogin #dropdown-icon-down, .atoplogin #dropdown-icon-up {
3613 font-size: 0.7em;
3614}
3615img.login, img.printer, img.entity {
3616 /* padding: 0px 0px 0px 4px; */
3617 /* margin: 0px 0px 0px 8px; */
3618 text-decoration: none;
3619 color: white;
3620 font-weight: bold;
3621}
3622.loginbuttonexternal {
3623 width: 300px;
3624 margin: auto;
3625 border: 1px solid #ccc;
3626 padding: 10px;
3627 border-radius: 5px;
3628}
3629
3630
3631.userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto { /* size for user photo in login bar */
3632 width: <?php echo $disableimages ? '26' : '30'; ?>px;
3633 height: <?php echo $disableimages ? '26' : '30'; ?>px;
3634 border-radius: 50%;
3635 background-size: contain;
3636 border: 1px solid;
3637 border-color: rgba(255, 255, 255, 0.2);
3638}
3639img.userphoto { /* size for user photo in lists */
3640 border-radius: 0.72em;
3641 width: 1.4em;
3642 height: 1.4em;
3643 background-size: contain;
3644 vertical-align: middle;
3645}
3646span.userimg div.userphoto {
3647 background-color: #eee;
3648 border-radius: 0.72em;
3649 width: 1.4em;
3650 height: 1.4em;
3651 padding-top: 1px;
3652 display: inline-block;
3653}
3654img.userphotosmall { /* size for user photo in lists */
3655 border-radius: 0.6em;
3656 width: 1.2em;
3657 height: 1.2em;
3658 background-size: contain;
3659 vertical-align: middle;
3660 background-color: #FFF;
3661}
3662img.userphotopublicvcard {
3663 width: 60px;
3664 height: 60px;
3665 border-radius: 50%;
3666 background-size: contain;
3667 border: 1px solid;
3668 border-color: rgba(128, 128, 128, 0.5);
3669 position: relative;
3670 top: 25px;
3671 left: -110px;
3672}
3673img.userphoto[alt="Gravatar avatar"], img.photouserphoto.dropdown-user-image[alt="Gravatar avatar"] {
3674 background: #fff;
3675}
3676form[name="addtime"] img.userphoto {
3677 border: 1px solid #444;
3678}
3679.span-icon-user {
3680 background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png', 1); ?>);
3681 background-repeat: no-repeat;
3682}
3683.span-icon-password {
3684 background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png', 1); ?>);
3685 background-repeat: no-repeat;
3686}
3687
3688/* ============================================================================== */
3689/* Menu gauche */
3690/* ============================================================================== */
3691
3692div.vmenu, td.vmenu {
3693 margin-<?php print $right; ?>: 2px;
3694 position: relative;
3695 float: left;
3696 padding: 0px;
3697 padding-bottom: 0px;
3698 padding-top: 1px;
3699}
3700
3701.vmenu {
3702 width: <?php echo $leftmenuwidth; ?>px;
3703 margin-left: 8px;
3704 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3705 display: none;
3706 <?php } ?>
3707}
3708.vmenudisabled {
3709 margin-left: 8px !important;
3710}
3711
3712/* Force vmenusearchselectcombo with type=text differently than without because beautify with select2 affect vmenusearchselectcombo differently */
3713input.vmenusearchselectcombo[type=text] {
3714 width: <?php echo $leftmenuwidth - 10; ?>px !important;
3715}
3716.vmenusearchselectcombo {
3717 width: <?php echo $leftmenuwidth - 2; ?>px;
3718}
3719
3720.menu_contenu {
3721 padding-top: 3px;
3722 padding-bottom: 3px;
3723 overflow: hidden;
3724 text-overflow: ellipsis;
3725 width: <?php echo $leftmenuwidth - 2; ?>px; /* required to have overflow working. must be same than .menu_titre */
3726}
3727#menu_contenu_logo { /* padding-top: 0; */ }
3728.companylogo { }
3729.searchform { padding-top: 10px; }
3730.searchform input { font-size: 16px; }
3731
3732
3733a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active, span.vmenu, span.vsmenu {
3734 white-space: nowrap; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>;
3735}
3736a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active,
3737span.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 */
3738span.vmenudisabled {
3739 /* bold = 600, 500 is ko with Edge on 1200x960 */
3740 font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; white-space: nowrap;
3741}
3742a.vmenu:link, a.vmenu:visited {
3743 color: var(--colortextbackvmenu);
3744}
3745
3746a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vmenu, span.vsmenu {
3747 font-family: <?php print $fontlist ?>;
3748 text-align: <?php print $left; ?>;
3749 color: var(--colortextbackvmenu);
3750 margin: 1px 1px 1px 6px;
3751}
3752span.vsmenudisabled, font.vsmenudisabled {
3753 font-family: <?php print $fontlist ?>;
3754 text-align: <?php print $left; ?>;
3755 color: #aaa;
3756 white-space: nowrap;
3757}
3758a.vsmenu:link, a.vsmenu:visited {
3759 color: var(--colortextbackvmenu);
3760 white-space: nowrap;
3761}
3762span.vsmenudisabledmargin, font.vsmenudisabledmargin { margin: 1px 1px 1px 6px; }
3763li a.vsmenudisabled, li.vsmenudisabled { color: #aaa !important; }
3764
3765a.help:link, a.help:visited, a.help:hover, a.help:active, span.help {
3766 text-align: <?php print $left; ?>; color: #aaa; text-decoration: none;
3767}
3768.helppresent, .helppresent:hover {
3769 /* color: #f3e4ac !important; */
3770}
3771.helppresentcircle {
3772 /*
3773 color: var(--colorbackhmenu1);
3774 filter: invert(0.5);
3775 */
3776 color: var(--colortextbackhmenu);
3777 margin-<?php echo $left ?>: -4px;
3778 display: inline-block;
3779 font-size: x-small;
3780 vertical-align: super;
3781 opacity: 0.95;
3782 transform: rotate(<?php echo($left == 'left' ? '55deg' : '305deg'); ?>);
3783}
3784
3785.vmenu div.blockvmenufirst, .vmenu div.blockvmenulogo, .vmenu div.blockvmenusearchphone, .vmenu div.blockvmenubookmarks
3786{
3787 border-top: 1px solid #BBB;
3788}
3789a.vsmenu.addbookmarkpicto {
3790 padding-right: 10px;
3791}
3792div.blockvmenusearchphone
3793{
3794 border-bottom: none !important;
3795}
3796.vmenu div.blockvmenuend, .vmenu div.blockvmenulogo
3797{
3798 margin: 0 0 8px 2px;
3799}
3800.vmenu div.blockvmenusearch {
3801 margin-top: 5px;
3802 margin-bottom: 15px;
3803}
3804/*
3805.vmenu div.blockvmenusearch {
3806 border: 1px solid #888;
3807 padding-top: 8px;
3808 padding-bottom: 8px;
3809 padding-left: 0;
3810 padding-right: 0;
3811 border-radius: 6px;
3812 box-sizing: border-box;
3813 margin-left: 3px;
3814 margin-left: 3px;
3815}
3816*/
3817.vmenu div.blockvmenuend
3818{
3819 padding-bottom: 5px;
3820}
3821.vmenu div.blockvmenulogo
3822{
3823 padding-bottom: 10px;
3824 padding-top: 0;
3825}
3826div.blockvmenubookmarks
3827{
3828 padding-top: 10px !important;
3829 padding-bottom: 16px !important;
3830}
3831div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend
3832{
3833 font-family: <?php print $fontlist ?>;
3834 text-align: <?php print $left; ?>;
3835 text-decoration: none;
3836 padding-left: 5px;
3837 padding-right: 1px;
3838 padding-top: 4px;
3839 padding-bottom: 7px;
3840 margin: 0 0 0 2px;
3841
3842 color: var(--colortext);
3843 background: var(--colorbackvmenu1);
3844
3845 border-left: 1px solid #AAA;
3846 border-right: 1px solid #BBB;
3847}
3848
3849div.blockvmenusearch
3850{
3851 font-family: <?php print $fontlist ?>;
3852 color: #000000;
3853 text-align: <?php print $left; ?>;
3854 text-decoration: none;
3855 margin: 1px 0px 0px 2px;
3856 background: var(--colorbackvmenu1);
3857}
3858
3859div.blockvmenusearch > form > div {
3860 padding-top: 3px;
3861}
3862div.blockvmenusearch > form > div > label {
3863 padding-right: 2px;
3864}
3865
3866div.blockvmenuhelp
3867{
3868<?php if (empty($conf->dol_optimize_smallscreen)) { ?>
3869 font-family: <?php print $fontlist ?>;
3870 color: #000000;
3871 text-align: center;
3872 text-decoration: none;
3873 padding-left: 0px;
3874 padding-right: 6px;
3875 padding-top: 3px;
3876 padding-bottom: 3px;
3877 margin: 4px 0px 0px 0px;
3878<?php } else { ?>
3879 display: none;
3880<?php } ?>
3881}
3882
3883
3884td.barre {
3885 border-right: 1px solid #000000;
3886 border-bottom: 1px solid #000000;
3887 background: #b3c5cc;
3888 font-family: <?php print $fontlist ?>;
3889 color: #000000;
3890 text-align: <?php print $left; ?>;
3891 text-decoration: none;
3892}
3893
3894td.barre_select {
3895 background: #b3c5cc;
3896 color: #000000;
3897}
3898
3899td.photo {
3900 background: #F4F4F4;
3901 color: #000000;
3902 border: 1px solid #bbb;
3903}
3904
3905/* ============================================================================== */
3906/* Panes for Main */
3907/* ============================================================================== */
3908
3909/*
3910 * PANES and CONTENT-DIVs
3911 */
3912
3913#mainContent, #leftContent .ui-layout-pane {
3914 padding: 0px;
3915 overflow: auto;
3916}
3917
3918#mainContent, #leftContent .ui-layout-center {
3919 padding: 0px;
3920 position: relative; /* contain floated or positioned elements */
3921 overflow: auto; /* add scrolling to content-div */
3922}
3923
3924
3925/* ============================================================================== */
3926/* Toolbar for ECM or Filemanager */
3927/* ============================================================================== */
3928
3929td.ecmroot {
3930 padding-bottom: 0 !important;
3931}
3932
3933.largebutton {
3934 /* border-top: 1px solid #CCC !important; */
3935 padding: 0px 4px 14px 4px !important;
3936 min-height: 32px;
3937}
3938
3939
3940a.toolbarbutton {
3941 margin-top: 0px;
3942 margin-left: 4px;
3943 margin-right: 4px;
3944 height: 30px;
3945}
3946img.toolbarbutton {
3947 margin-top: 1px;
3948 height: 30px;
3949}
3950
3951li.expanded > a.fmdirlia.jqft.ecmjqft {
3952 font-weight: bold !important;
3953}
3954
3955.divfmdirlia {
3956 width: calc(100% - 100px);
3957}
3958
3959a.fmdirlia {
3960 white-space: break-spaces;
3961 word-break: break-all;
3962}
3963
3964
3965/* ============================================================================== */
3966/* Tabs */
3967/* ============================================================================== */
3968div.tabs {
3969 text-align: <?php print $left; ?>;
3970 margin-top: 10px;
3971 /*padding-left: 6px;
3972 padding-right: 6px;*/
3973 clear:both;
3974 /* height: 100%; Disabled for fix #33965 */
3975}
3976div.tabsElem {
3977 margin-top: 1px;
3978} /* To avoid overlap of tabs when not browser */
3979/*
3980div.tabsElem a.tabactive::before, div.tabsElem a.tabunactive::before {
3981 content: "\f0da";
3982 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
3983 padding-right: 2px;
3984 font-weight: 900;
3985}
3986*/
3987div.tabBar {
3988 color: var(--colortextbacktab);
3989 padding-top: 16px;
3990 padding-left: 0px; padding-right: 0px;
3991 padding-bottom: 2px;
3992 margin: 0px 0px 30px 0px;
3993 border-top: 1px solid #BBB;
3994 /* border-bottom: 1px solid #AAA; */
3995 width: auto;
3996 background: var(--colorbackbody);
3997}
3998
3999div.tabBar tr.titre td {
4000 padding-top: 20px;
4001}
4002div.fiche table:not(.table-fiche-title) tr.titre td {
4003 padding-top: 10px;
4004}
4005
4006div.tabBar.tabBarNoTop {
4007 padding-top: 0;
4008 border-top: 0;
4009}
4010
4011/* tabBar used for creation/update/send forms */
4012div.tabBarWithBottom {
4013 padding-bottom: 18px;
4014 border-bottom: 1px solid #bbb;
4015}
4016div.tabBarWithBottom tr {
4017 background: unset !important;
4018}
4019div.tabBarWithBottom table.border>tbody>tr:last-of-type>td {
4020 border-bottom: none !important;
4021}
4022
4023div.tabBar table.tableforservicepart2:last-child {
4024 border-bottom: 1px solid #aaa;
4025}
4026.tableforservicepart1 .tdhrthin {
4027 height: unset;
4028 padding-top: 0 !important;
4029}
4030/* Payment Screen : Pointer cursor in the autofill image */
4031.AutoFillAmount {
4032 cursor:pointer;
4033}
4034
4035div.popuptabset {
4036 padding: 6px;
4037 background: #fff;
4038 border: 1px solid #888;
4039}
4040div.popuptab {
4041 padding-top: 8px;
4042 padding-bottom: 8px;
4043 padding-left: 5px;
4044 padding-right: 5px;
4045}
4046
4047/* ============================================================================== */
4048/* Buttons for actions */
4049/* ============================================================================== */
4050
4051div.tabsAction {
4052 margin: 20px 0em 30px 0em;
4053 padding: 0em 0em;
4054 text-align: right;
4055}
4056div.tabsActionNoBottom {
4057 margin-bottom: 0px;
4058}
4059div.tabsAction > a {
4060 margin-bottom: 16px !important;
4061}
4062
4063a.tabTitle {
4064 color: rgba(0,0,0,0.4) !important;
4065 text-shadow:1px 1px 1px #ffffff;
4066 font-family: <?php print $fontlist ?>;
4067 font-weight: normal !important;
4068 padding: 4px 6px 2px 0px;
4069 margin-<?php print $right; ?>: 10px;
4070 text-decoration: none;
4071 white-space: nowrap;
4072}
4073.imgTabTitle {
4074 max-height: 14px;
4075}
4076/*
4077div.tabs div.tabsElem:first-of-type a.tab {
4078 margin-left: 0px !important;
4079}
4080*/
4081a.tabunactive {
4082 color: var(--colortextlink) !important;
4083}
4084a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
4085 font-family: <?php print $fontlist ?>;
4086 padding: 12px 14px 10px;
4087 margin: 0em 0.2em;
4088 text-decoration: none;
4089 white-space: nowrap;
4090
4091 background-image: none !important;
4092}
4093
4094.tabactive, a.tab#active {
4095 color: var(--colortextbacktab) !important;
4096 /* background: var(--colorbacktabcard1) !important; */
4097 margin: 0 0.2em 0 0.2em !important;
4098
4099 border-right: 1px solid transparent;
4100 border-left: 1px solid transparent;
4101 border-top: 1px solid transparent;
4102 /*border-right: 1px solid #CCC !important;
4103 border-left: 1px solid #CCC !important; */
4104
4105 <?php if ($colorbackhmenu1 == '255,255,255') { ?>
4106 border-bottom: 3px solid var(--colortextbackhmenu) !important;
4107 <?php } else { ?>
4108 border-bottom: 3px solid var(--colorbackhmenu1) !important;
4109 <?php } ?>
4110}
4111.tabunactive, a.tab#unactive {
4112 border-right: 1px solid transparent;
4113 border-left: 1px solid transparent;
4114 border-top: 1px solid transparent;
4115 border-bottom: 0px !important;
4116}
4117a.tab:hover
4118{
4119 /*
4120 background: var(--colorbacktabcard1), 0.5) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png', 1); ?>) 50% 0 repeat-x;
4121 color: var(--colortextbacktab);
4122 */
4123 text-decoration: underline;
4124}
4125a.tabimage {
4126 color: #434956;
4127 font-family: <?php print $fontlist ?>;
4128 text-decoration: none;
4129 white-space: nowrap;
4130}
4131
4132td.tab {
4133 background: #dee7ec;
4134}
4135
4136span.tabspan {
4137 background: #dee7ec;
4138 color: #434956;
4139 font-family: <?php print $fontlist ?>;
4140 padding: 0px 6px;
4141 margin: 0em 0.2em;
4142 text-decoration: none;
4143 white-space: nowrap;
4144 border-radius:4px 4px 0px 0px;
4145
4146 border-<?php print $right; ?>: 1px solid #555555;
4147 border-<?php print $left; ?>: 1px solid #D8D8D8;
4148 border-top: 1px solid #D8D8D8;
4149}
4150
4151/* ============================================================================== */
4152/* Buttons for actions */
4153/* ============================================================================== */
4154<?php include dol_buildpath($path.'/theme/'.$theme.'/btn.inc.php', 0); ?>
4155
4156
4157/* ============================================================================== */
4158/* Tables */
4159/* ============================================================================== */
4160
4161.allwidth {
4162 width: 100%;
4163}
4164
4165#undertopmenu {
4166 background-repeat: repeat-x;
4167 margin-top: <?php echo($dol_hide_topmenu ? '6' : '0'); ?>px;
4168}
4169
4170
4171.paddingrightonly {
4172 border-collapse: collapse;
4173 border: 0px;
4174 margin-left: 0px;
4175 padding-<?php print $left; ?>: 0px !important;
4176 padding-<?php print $right; ?>: 4px !important;
4177}
4178.nocellnopadd {
4179 list-style-type:none;
4180 margin: 0px !important;
4181 padding: 0px !important;
4182}
4183.noborderspacing {
4184 border-spacing: 0;
4185}
4186tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
4187{
4188 border: 0px;
4189}
4190
4191.unsetcolor {
4192 color: unset !important;
4193}
4194
4195.smallpaddingimp {
4196 padding: 4px !important;
4197 padding-left: 7px !important;
4198 padding-right: 7px !important;
4199}
4200input.button.smallpaddingimp, input.buttonreset.smallpaddingimp {
4201 font-size: 0.8em;
4202 font-weight: normal !important;
4203}
4204input.button[name="upload"] {
4205 padding: 5px !important;
4206 font-size: 0.9em;
4207}
4208input.buttonlink {
4209 color: var(--colortextlink);
4210 background-color: transparent;
4211 cursor: pointer;
4212}
4213input.buttonlink:hover {
4214 text-decoration: underline;
4215}
4216input.buttonreset {
4217 margin-top: 3px;
4218 margin-bottom: 3px;
4219 padding: 8px 15px;
4220 text-decoration: underline;
4221 color: var(--colortextlink);
4222 background-color: transparent;
4223 cursor: pointer;
4224}
4225.nopaddingleft {
4226 padding-<?php print $left; ?>: 0px;
4227}
4228div.tabs.nopaddingleft {
4229 padding-<?php print $left; ?>: 0px;
4230}
4231.nopaddingright {
4232 padding-<?php print $right; ?>: 0px;
4233}
4234.nopaddingtopimp {
4235 padding-top: 0px !important;
4236}
4237.nopaddingbottomimp {
4238 padding-bottom: 0px !important;
4239}
4240.notopnoleft {
4241 border-collapse: collapse;
4242 border: 0px;
4243 padding-top: 0px;
4244 padding-<?php print $left; ?>: 0px;
4245 padding-<?php print $right; ?>: 16px;
4246 padding-bottom: 4px;
4247 margin-right: 0px;
4248}
4249.notopnoleftnoright {
4250 border-collapse: collapse;
4251 border: 0px;
4252 padding-top: 0px;
4253 padding-left: 0px;
4254 padding-right: 0px;
4255 padding-bottom: 4px;
4256 margin: 0px 0px 0px 0px;
4257}
4258
4259table.tableforemailform tr td {
4260 padding-top: 3px;
4261 padding-bottom: 3px;
4262}
4263
4264table.border, table.bordernooddeven, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
4265 border-collapse: collapse !important;
4266 padding: 1px 2px 1px 3px; /* t r b l */
4267}
4268table.borderplus {
4269 border: 1px solid #BBB;
4270}
4271.border tbody tr, .bordernooddeven tbody tr, .border tbody tr td, .bordernooddeven tbody tr td,
4272div.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,
4273tr.liste_titre.box_titre td table td, .bordernooddeven tr td {
4274 height: 2.2em;
4275}
4276
4277div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar .table-val-border-col {
4278 vertical-align: middle;
4279}
4280div .tdtop:not(.tagtdnote) {
4281 vertical-align: top !important;
4282 /*padding-top: 10px !important;
4283 padding-bottom: 2px !important; */
4284 padding-top: 8px !important;
4285 padding-bottom: 0px !important;
4286 height: unset !important;
4287}
4288
4289table.border td, table.bordernooddeven td, div.border div div.tagtd {
4290 padding: 2px 2px 2px 2px;
4291 border-collapse: collapse;
4292}
4293div.tabBar .fichecenter table.border>tbody>tr>td, div.tabBar .fichecenter div.border div div.tagtd, div.tabBar div.border div div.tagtd
4294{
4295 padding-top: 2px;
4296 border-bottom: 1px solid #E0E0E0;
4297}
4298
4299td.border, div.tagtable div div.border {
4300 border-top: 1px solid #000000;
4301 border-right: 1px solid #000000;
4302 border-bottom: 1px solid #000000;
4303 border-left: 1px solid #000000;
4304}
4305.table-key-border-col {
4306 /* width: 25%; */
4307 vertical-align:top;
4308}
4309.table-val-border-col {
4310 width:auto;
4311}
4312
4313
4314.thsticky, .tdsticky {
4315 position: sticky;
4316 left: 0px;
4317}
4318.thstickyright, .tdstickyright {
4319 position: sticky;
4320 right: 0px;
4321}
4322.thstickygray, .tdstickygray {
4323 background-color: lightgray;
4324}
4325.thstickyghostwhite, .tdstickyghostwhite {
4326 background-color: ghostwhite;
4327}
4328.thstickyinherit, .tdstickyinherit {
4329 background-color: inherit;
4330}
4331
4332/* To have left column sticky */
4333/*.tagtable td[data-key="ref"], .tagtable th[data-key="ref"] {
4334 position: sticky;
4335 left: 0;
4336 top: 0;
4337 max-width: 150px !important;
4338 //background-color: inherit;
4339 background-color: gainsboro;
4340 z-index: 2;
4341}
4342*/
4343
4344/* To have right column sticky */
4345/*.tagtable td.actioncolumn, .tagtable th.actioncolumn {
4346 position: sticky-right;
4347 right: 0;
4348 top: 0;
4349 max-width: 150px !important;
4350 //background-color: inherit;
4351 background-color: gainsboro;
4352 z-index: 2;
4353}
4354*/
4355
4356
4357/* Main boxes */
4358.nobordertop, .nobordertop tr:first-of-type td {
4359 border-top: none !important;
4360}
4361.noborderbottom, .noborderbottom tr:last-of-type td {
4362 border-bottom: none !important;
4363}
4364.bordertop {
4365 border-top: 1px solid var(--colortopbordertitle1);
4366}
4367.borderbottom {
4368 border-bottom: 1px solid var(--colortopbordertitle1);
4369}
4370
4371table.noborder {
4372 background: var(--colorbacktabcard1);
4373}
4374<?php if (getDolGlobalString('THEME_ELDY_SHADOW_ON_SMALL_BOXES')) { // TODO Disable on smartphone ?>
4375.firstcolumn .div-table-responsive-no-min, .secondcolumn .div-table-responsive-no-min {
4376 overflow-x: unset;
4377}
4378.firstcolumn table.noborder, .secondcolumn table.noborder {
4379 box-shadow: 5px 5px 5px #f0f0f0;
4380}
4381<?php } ?>
4382
4383.fichehalfright table.noborder, .fichehalfleft table.noborder {
4384 margin: 0px 0px 0px 0px;
4385}
4386table.liste, table.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact), table.formdoc, div.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact) {
4387 <?php
4388 if ($userborderontable) { ?>
4389 border-left: 1px solid var(--colortopbordertitle1);
4390 border-right: 1px solid var(--colortopbordertitle1);
4391 <?php } ?>
4392}
4393table.liste, table.noborder, table.formdoc, div.noborder {
4394 width: 100%;
4395 border-collapse: separate !important;
4396 border-spacing: 0px;
4397 border-top-width: <?php echo $borderwidth ?>px;
4398 border-top-color: var(--colortopbordertitle1);
4399 border-top-style: solid;
4400 margin: 0px 0px 20px 0px;
4401}
4402#tablelines, #tablelinesservice {
4403 border-bottom-width: 1px;
4404 border-bottom-color: var(--colortopbordertitle1);
4405 border-bottom-style: solid;
4406}
4407table.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 {
4408 border-bottom-width: 1px;
4409 border-bottom-color: var(--colortopbordertitle1);
4410 border-bottom-style: solid;
4411}
4412/* CSS to remove the interline border */
4413table.nointerlines tr:not(:last-child) td {
4414 border-bottom: unset !important;
4415 border-top: unset !important;
4416}
4417
4418
4419/* Management of border radius */
4420table.noborder:not(.cal_month, .paymenttable) {
4421 border-radius: <?php echo $borderradius; ?>px;
4422}
4423table.noborder.cal_month {
4424 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4425 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4426}
4427table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
4428table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:first-child,
4429table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
4430table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:first-child {
4431 border-top-left-radius: <?php echo $borderradius; ?>px;
4432}
4433table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:last-child,
4434table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
4435table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
4436table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:last-child {
4437 border-top-right-radius: <?php echo $borderradius; ?>px;
4438}
4439table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:first-child,
4440table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:first-child {
4441 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4442}
4443table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:last-child,
4444table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:last-child {
4445 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4446}
4447table.noborder thead tr:last-child td:first-child,
4448table.noborder thead tr:last-child th:first-child {
4449 border-bottom-left-radius: unset !important;
4450}
4451table.noborder thead tr:last-child td:last-child,
4452table.noborder thead tr:last-child th:last-child {
4453 border-bottom-right-radius: unset !important;
4454}
4455
4456table.liste:not(.listwithfilterbefore) {
4457 border-top-left-radius: <?php echo $borderradius; ?>px;
4458 border-top-right-radius: <?php echo $borderradius; ?>px;
4459}
4460table.liste {
4461 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4462 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4463}
4464table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child td:first-child,
4465table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child th:first-child {
4466 border-top-left-radius: <?php echo $borderradius; ?>px;
4467}
4468table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child td:last-child,
4469table.liste:not(.listwithfilterbefore) tr.liste_titre_filter:first-child th:last-child {
4470 border-top-right-radius: <?php echo $borderradius; ?>px;
4471}
4472div.liste_titre_bydiv {
4473 border-top-left-radius: <?php echo $borderradius; ?>px;
4474 border-top-right-radius: <?php echo $borderradius; ?>px;
4475}
4476div.liste_titre_bydiv_nothingafter {
4477 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4478 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4479 border-bottom-width: 1px;
4480 border-bottom-color: var(--colortopbordertitle1);
4481 border-bottom-style: solid;
4482}
4483table.liste tr:last-child td:first-child,
4484table.liste tr:last-child th:first-child {
4485 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4486}
4487table.liste tr:last-child td:last-child,
4488table.liste tr:last-child th:last-child {
4489 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4490}
4491
4492table#tablelines tr:last-of-type td:first-child, table#tablelines tr#trlinefordates, table#tablelines tr#trlinefordates td,
4493table#tablelinesservice tr:last-of-type td:first-child, table#tablelinesservice tr#trlinefordates, table#tablelinesservice tr#trlinefordates td {
4494 border-bottom-left-radius: <?php echo $borderradius; ?>px;
4495}
4496table#tablelines tr:last-of-type td:last-child, table#tablelines tr#trlinefordates, table#tablelines tr#trlinefordates td,
4497table#tablelinesservice tr:last-of-type td:last-child, table#tablelinesservice tr#trlinefordates, table#tablelinesservice tr#trlinefordates td {
4498 border-bottom-right-radius: <?php echo $borderradius; ?>px;
4499}
4500
4501
4502/*
4503div.tabBar div.fichehalfright table.noborder:not(.margintable):not(.paymenttable):not(.lastrecordtable):last-of-type {
4504 border-bottom: 1px solid var(--colortopbordertitle1);
4505}
4506*/
4507div.tabBar table:not(.nobottom).border>tbody>tr:last-of-type>td {
4508 border-bottom-width: 1px;
4509 border-bottom-color: var(--colortopbordertitle1);
4510 border-bottom-style: solid;
4511}
4512div.tabBar div.fichehalfright table.noborder {
4513 border-bottom: none;
4514}
4515
4516table.paddingtopbottomonly tr td {
4517 padding-top: 1px;
4518 padding-bottom: 2px;
4519}
4520.liste_titre_filter {
4521 background: var(--colorbacktitle1) !important;
4522}
4523.liste_titre2 {
4524 background: var(--colorbackhmenu1) !important;
4525 color: #fff;
4526}
4527table:not(.listwithfilterbefore) tr.liste_titre_filter:first-of-type td.liste_titre {
4528 padding-top: 5px;
4529}
4530
4531tr.liste_titre_filter td.liste_titre {
4532 /* border-bottom: 1px solid #ddd; */
4533 padding-top: 1px;
4534 padding-bottom: 0px;
4535}
4536.liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
4537{
4538 border-bottom-width: 0 !important;
4539 border-top-width: 1px;
4540 border-top-color: var(--colortopbordertitle1);
4541 border-top-style: solid;
4542}
4543tr.liste_titre_create td:not(.linecoldescription) {
4544 padding-right: 4px !important;
4545 padding-left: 4px !important;
4546}
4547tr#trlinefordates td {
4548 border-bottom: 0px !important;
4549}
4550.liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
4551{
4552 border-top-width: 1px;
4553 border-top-color: var(--colortopbordertitle1);
4554 border-top-style: solid;
4555}
4556table.liste tr, table.noborder tr, div.noborder form {
4557 border-top-color: #FEFEFE;
4558 min-height: 20px;
4559}
4560table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
4561 padding: 6px 10px 6px 12px; /* t r b l */
4562}
4563td.linecoldescription {
4564 padding: 6px 10px 6px 12px !important; /* t r b l */
4565}
4566table.tableforfield td, .tagtr.table-border-row .tagtd, table.border.margintable .trforfield td {
4567 padding: 2px 4px 2px 10px; /* t r b l */
4568}
4569table.liste td, table.noborder td, div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
4570 padding: 8px 10px 8px 12px; /* t r b l */
4571 /* line-height: 22px; This create trouble on cell login on list of last events of a contract */
4572 height: 32px;
4573}
4574table.liste tr.trkanban td {
4575 padding: 12px 15px 12px 15px; /* t r b l */
4576}
4577div.liste_titre_bydiv .divsearchfield {
4578 padding: 2px 1px 2px 7px; /* t r b l */
4579}
4580
4581tr.box_titre .nobordernopadding td {
4582 padding: 0 ! important;
4583}
4584table.nobordernopadding {
4585 border-collapse: collapse !important;
4586 border: 0;
4587}
4588table.nobordernopadding tr {
4589 border: 0 !important;
4590 padding: 0 0 !important;
4591}
4592table.nobordernopadding tr td {
4593 border: 0 !important;
4594 padding: 0 3px 0 0;
4595}
4596table.border tr td table.nobordernopadding tr td {
4597 padding-top: 0;
4598 padding-bottom: 0;
4599}
4600td.borderright {
4601 border: none; /* to erase value for table.nobordernopadding td */
4602 border-right-width: 1px !important;
4603 border-right-color: #BBB !important;
4604 border-right-style: solid !important;
4605}
4606td.borderleft {
4607 border: none; /* to erase value for table.nobordernopadding td */
4608 border-left-width: 1px !important;
4609 border-left-color: #BBB !important;
4610 border-left-style: solid !important;
4611}
4612
4613
4614/* For table with no filter before */
4615table.listwithfilterbefore {
4616 border-top: none !important;
4617}
4618
4619
4620.tagtable, .table-border { display: table; }
4621.tagtr, .table-border-row { display: table-row; }
4622.tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
4623.confirmquestions .tagtr .tagtd:not(:first-child) { padding-left: 10px; }
4624.confirmquestions { margin-top: 5px; }
4625
4626/* Pagination */
4627div.refidpadding {
4628 /* padding-top: 3px; */
4629}
4630div.refid {
4631 font-weight: bold;
4632 color: var(--colortexttitlenotab);
4633 font-size: 1.2em;
4634 word-break: break-word;
4635}
4636a.refid {
4637 color: var(--colortexttitlenotab) !important;
4638}
4639div.refidno {
4640 padding-top: 3px;
4641 font-weight: normal;
4642 color: var(--refidnocolor);
4643 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>;
4644 line-height: 1.5em;
4645}
4646div.refaddress div.address {
4647 line-height: 1.2em;
4648 font-size: 0.95em;
4649}
4650div.refidno form {
4651 display: inline-block;
4652}
4653
4654div.pagination {
4655 float: <?php echo $right; ?>;
4656}
4657div.pagination a {
4658 font-weight: normal;
4659}
4660div.pagination ul
4661{
4662 list-style: none;
4663 display: inline-block;
4664 padding-left: 0px;
4665 padding-right: 0px;
4666 margin: 0;
4667}
4668div.pagination li {
4669 display: inline-block;
4670 padding-left: 0px;
4671 padding-right: 0px;
4672 /* padding-top: 10px; */
4673 /* padding-bottom: 5px; */
4674 /* font-size: 1.1em; */
4675}
4676li.pagination.paginationpage.paginationpageleft, li.pagination.paginationpage.paginationpageright {
4677 font-size: 1.1em;
4678}
4679.pagination {
4680 display: inline-block;
4681 padding-left: 0;
4682 border-radius: 4px;
4683}
4684div.pagination li.pagination a,
4685div.pagination li.pagination span {
4686 padding: 6px 12px;
4687 line-height: 1.42857143;
4688 text-decoration: none;
4689 background-repeat: repeat-x;
4690 color: var(--color-black);
4691}
4692div.pagination li.pagination span.inactive {
4693 cursor: default;
4694 color: #ccc;
4695}
4696li.noborder.litext, li.noborder.litext a,
4697div.pagination li a.inactive:hover,
4698div.pagination li span.inactive:hover {
4699 box-shadow: none !important;
4700}
4701div.pagination li.litext a {
4702 border: none;
4703 padding-right: 10px;
4704 padding-left: 4px;
4705 font-weight: bold;
4706}
4707div.pagination li.litext a:hover {
4708 background-color: transparent;
4709 background-image: none;
4710}
4711div.pagination li.noborder a:hover {
4712 border: none;
4713 background-color: transparent;
4714}
4715div.pagination li a,
4716div.pagination li span {
4717 /* background-color: #fff; */
4718 /* border: 1px solid #ddd; */
4719}
4720div.pagination li:first-child a,
4721div.pagination li:first-child span {
4722 margin-left: 0;
4723 /*border-top-left-radius: 4px;
4724 border-bottom-left-radius: 4px;*/
4725}
4726
4727div.pagination li .active a,
4728div.pagination li .active span,
4729div.pagination li .active a:hover,
4730div.pagination li .active span:hover,
4731div.pagination li .active a:focus,
4732div.pagination li .active span:focus {
4733 z-index: 2;
4734 color: #fff;
4735 cursor: default;
4736 background-color: var(--colorbackhmenu1);
4737 border-color: #337ab7;
4738}
4739div.pagination .disabled span,
4740div.pagination .disabled span:hover,
4741div.pagination .disabled span:focus,
4742div.pagination .disabled a,
4743div.pagination .disabled a:hover,
4744div.pagination .disabled a:focus {
4745 color: #777;
4746 cursor: not-allowed;
4747 background-color: #fff;
4748 border-color: #ddd;
4749}
4750div.pagination li.pagination .active {
4751 text-decoration: underline;
4752 box-shadow: none;
4753}
4754.paginationafterarrows .nohover {
4755 box-shadow: none !important;
4756}
4757
4758div.pagination li.paginationafterarrows {
4759 margin-left: 10px;
4760 padding-top: 0;
4761 /*padding-bottom: 10px;*/
4762}
4763.paginationatbottom {
4764 margin-top: 9px;
4765}
4766table.hidepaginationprevious .paginationprevious {
4767 display: none;
4768}
4769table.hidepaginationnext .paginationnext {
4770 display: none;
4771}
4772.tabBar .arearef .pagination.paginationref {
4773 max-width: calc(30%);
4774}
4775.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
4776 /* border: 1px solid var(--btncolorborder); */
4777 border: unset;
4778 background-color: unset;
4779}
4780.paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
4781 /* text-shadow: 0px 0px 5px #ccc; */
4782 /* filter: invert(0.3); */
4783 font-size: 1.1em;
4784}
4785
4786
4787/* Set the color for hover lines */
4788.oddeven:hover:not(.nohover), .evenodd:hover:not(.nohover), .oddevenimport:hover:not(.nohover), .evenoddimport:hover:not(.nohover), .impair:hover:not(.nohover), .pair:hover:not(.nohover) {
4789 background: var(--colorbacklinepairhover) !important; /* Must be background to be stronger than background of odd or even */
4790}
4791
4792.tredited, .tredited td {
4793 background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
4794 border-bottom: 0 !important;
4795}
4796.treditedlinefordate {
4797 background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
4798 border-bottom: 0px;
4799}
4800<?php if ($colorbacklinepairchecked) { ?>
4801.highlight {
4802 background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
4803}
4804<?php } ?>
4805
4806.nohoverborder:hover {
4807 border: unset;
4808 box-shadow: unset;
4809}
4810.oddeven, .evenodd, .impair, .pair, .nohover .impair:hover, tr.impair td.nohover, tr.pair td.nohover, .tagtr.oddeven {
4811 font-family: <?php print $fontlist ?>;
4812 margin-bottom: 1px;
4813 color: var(--oddevencolor);
4814}
4815.impair, .nohover .impair:hover, tr.impair td.nohover {
4816 background-color: var(--colorbacklineimpair2);
4817}
4818.pair, .nohover .pair:hover, tr.pair td.nohover {
4819 background-color: var(--colorbacklinepair2);
4820}
4821tr.oddeven.oddevendouble {
4822 height: 60px !important;
4823}
4824
4825#GanttChartDIV {
4826 background-color: var(--colorbacklineimpair2);
4827}
4828table.dataTable tr.oddeven {
4829 background-color: var(--colorbacklinepair2) !important;
4830}
4831
4832/* For no hover style */
4833td.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 {
4834 background-color: var(--colorbacklineimpair2) !important;
4835 background: var(--colorbacklineimpair2) !important;
4836}
4837td.evenodd, tr.nohoverpair td, #trlinefordates td {
4838 background-color: var(--colorbacklinepair2) !important;
4839 background: var(--colorbacklinepair2) !important;
4840}
4841.trforbreak td {
4842 font-weight: 500;
4843 border-bottom: 1pt solid #aaa !important;
4844 background-color: var(--colorbacklinebreak) !important;
4845}
4846.trforbreak.nobold td a, .trforbreak.nobold span.secondary {
4847 font-weight: normal !important;
4848}
4849tr.trforbreaknobg:nth-of-type(n+3) td, form.trforbreaknobg div.tagtd {
4850 font-weight: 500;
4851 border-top: 1pt dashed #aaa !important;
4852}
4853
4854table.dataTable td {
4855 padding: 5px 8px 5px 8px !important;
4856}
4857tr.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 {
4858 padding: 7px 8px 7px 8px;
4859 border-bottom: 1px solid #ddd;
4860}
4861form.tagtr:last-of-type div.tagtd, tr.pair:last-of-type td, tr.impair:last-of-type td {
4862 border-bottom: 0px !important;
4863}
4864tr.nobottom td {
4865 border-bottom: 0px !important;
4866}
4867div.tableforcontact form.tagtr:last-of-type div.tagtd {
4868 border-bottom: 1px solid #ddd !important;
4869}
4870tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
4871 border-bottom: 0px !important;
4872}
4873table.nobottomiftotal tr.liste_total td {
4874 background-color: var(--inputbackgroundcolor);
4875 <?php if (!$userborderontable) { ?>
4876 border-bottom: 0px !important;
4877 <?php } ?>
4878}
4879table.nobottom, td.nobottom {
4880 border-bottom: 0px !important;
4881}
4882div.liste_titre .tagtd {
4883 vertical-align: middle;
4884}
4885div.liste_titre {
4886 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 */
4887
4888 padding-top: 2px;
4889 padding-bottom: 2px;
4890}
4891div.liste_titre_bydiv {
4892 border-top-width: <?php echo $borderwidth ?>px;
4893 border-top-color: var(--colortopbordertitle1);
4894 border-top-style: solid;
4895 <?php if ($userborderontable) { ?>
4896 border-left: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
4897 border-right: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
4898 <?php } ?>
4899
4900 border-collapse: collapse;
4901 padding: 2px 0px 2px 0;
4902 box-shadow: none;
4903 /*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 */
4904 width: unset;
4905}
4906div.liste_titre_bydiv_inlineblock {
4907 display: inline-block;
4908 width: 100%;
4909}
4910
4911tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr, tagtr.liste_titre
4912{
4913 height: 26px !important;
4914}
4915div.colorback /* for the form "assign user" on time spent view */
4916{
4917 background: #f8f8f8;
4918 padding: 10px;
4919 margin-top: 5px;
4920 border: 1px solid #ddd;
4921}
4922div.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
4923{
4924 background: var(--colorbacktitle1);
4925 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4926
4927 color: var(--colortexttitle);
4928 font-family: <?php print $fontlist ?>;
4929 text-align: <?php echo $left; ?>;
4930}
4931tr.liste_titre th, tr.liste_titre td, th.liste_titre
4932{
4933 border-bottom: 1px solid var(--colortopbordertitle1);
4934}
4935tr.liste_titre:first-child th, tr:first-child th.liste_titre {
4936/* border-bottom: 1px solid #ddd ! important; */
4937 border-bottom: unset;
4938}
4939tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div
4940{
4941 font-family: <?php print $fontlist ?>;
4942 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4943 vertical-align: middle;
4944 height: 2.2em;
4945}
4946tr.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 {
4947 text-shadow: none !important;
4948 color: var(--colortexttitlelink);
4949}
4950tr.liste_titre_topborder td {
4951 border-top-width: <?php echo $borderwidth; ?>px;
4952 border-top-color: var(--colortopbordertitle1);
4953 border-top-style: solid;
4954}
4955.liste_titre td a {
4956 text-shadow: none !important;
4957 color: var(--colortexttitle);
4958}
4959.liste_titre td a.notasortlink {
4960 color: var(--colortextlink);
4961}
4962.liste_titre td a.notasortlink:hover {
4963 background: transparent;
4964}
4965tr.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 */
4966 /* border-bottom: 1px solid #ddd; */
4967 border-bottom: unset;
4968}
4969
4970div.liste_titre {
4971 padding-left: 3px;
4972}
4973tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
4974{
4975 font-family: <?php print $fontlist ?>;
4976 font-weight: normal;
4977 border-bottom: 1px solid #FDFFFF;
4978 /* text-decoration: underline; */
4979}
4980input.liste_titre {
4981 background: transparent;
4982 border: 0px;
4983}
4984.listactionlargetitle .liste_titre {
4985 line-height: 24px;
4986}
4987.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 {
4988 <?php if (getDolGlobalString('THEME_ELDY_TOTAL_BACKGROUND_LIKE_HEAD')) { ?>background: var(--colorbacktitle1);<?php } ?>
4989 color: var(--listetotal);
4990 font-weight: normal;
4991}
4992.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
4993 white-space: nowrap;
4994}
4995.noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
4996 white-space: normal;
4997}
4998form.liste_total div {
4999 border-top: 1px solid #DDDDDD;
5000}
5001tr.liste_sub_total, tr.liste_sub_total td {
5002 border-bottom: 1px solid #aaa;
5003}
5004/* to avoid too much border on contract card */
5005.tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
5006 background: #FFF;
5007}
5008.tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
5009 border-bottom: none;
5010}
5011table.tableforservicepart1:first-of-type tr:first-of-type td {
5012 border-top: 1px solid #888;
5013}
5014table.tableforservicepart1 tr td {
5015 border-top: 0px;
5016}
5017
5018.paymenttable, .margintable {
5019 border-top: none !important;
5020 margin: 0px 0px 0px 0px !important;
5021}
5022.bordertopimp {
5023 border-top: 1px solid var(--colortopbordertitle1) !important;
5024}
5025table.noborder.paymenttable {
5026 border-bottom: none !important;
5027}
5028.paymenttable tr td:first-child, .margintable tr td:first-child
5029{
5030 /*padding-left: 2px;*/
5031}
5032.paymenttable, .margintable tr td {
5033 height: 22px;
5034}
5035
5036/* Disable-Enable shadows */
5037.noshadow {
5038 box-shadow: 0px 0px 0px #DDD !important;
5039}
5040.shadow {
5041 box-shadow: 1px 1px 7px #CCC !important;
5042}
5043
5044.boxshadow {
5045 box-shadow: 0px 0px 5px #888;
5046}
5047
5048div.tabBar .noborder {
5049 box-shadow: 0px 0px 0px #DDD !important;
5050}
5051
5052#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 {
5053 border-bottom: 1px solid var(--colortopbordertitle1) !important;
5054}
5055#tablelines tr td, #tablelinesservice tr td {
5056/* height: unset; */
5057}
5058
5059/* Prepare to remove class pair - impair */
5060
5061.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),
5062div: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),
5063div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre):not(.nooddeven):not(.liste_total)
5064{
5065 background: linear-gradient(bottom, var(----colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5066 background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5067 background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5068 background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
5069}
5070.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),
5071.noborder .oddeven.tagtr:nth-child(even):not(:last-of-type) .tagtd:not(.liste_titre)
5072{
5073 border-bottom: 1px solid #f0f0f0;
5074}
5075
5076.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),
5077div: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),
5078div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre):not(.nooddeven):not(.liste_total)
5079{
5080 background: linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5081 background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5082 background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5083 background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
5084}
5085.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),
5086.noborder .oddeven.tagtr:nth-child(odd):not(:last-child) .tagtd:not(.liste_titre)
5087{
5088 border-bottom: 1px solid #f0f0f0;
5089}
5090
5091ul.noborder li:nth-child(even):not(.liste_titre) {
5092 background-color: var(--colorbacklinepair2) !important;
5093}
5094
5095
5096/*
5097 * Boxes
5098 */
5099
5100.box {
5101 overflow-x: auto;
5102 min-height: 40px;
5103 padding-right: 0px;
5104 padding-left: 0px;
5105 /* padding-bottom: 10px; */
5106}
5107.boxstatsborder {
5108 /* border: 1px solid #CCC !important; */
5109}
5110.boxstats, .boxstats130 {
5111 display: inline-block;
5112 margin-left: 8px;
5113 margin-right: 8px;
5114 margin-top: 5px;
5115 margin-bottom: 5px;
5116 text-align: center;
5117
5118 background: var(--colorbackbody);
5119 border: 1px solid var(--colorboxstatsborder);
5120 border-left: 6px solid var(--colorboxstatsborder);
5121 /* box-shadow: 1px 1px 8px var(--colorboxstatsborder); */
5122 border-radius: 4px;
5123}
5124.boxstats, .boxstats130, .boxstatscontent {
5125 white-space: nowrap;
5126 overflow: hidden;
5127 text-overflow: ellipsis;
5128}
5129.boxstats130 {
5130 width: 100%;
5131 height: 59px;
5132 /* padding: 3px; */
5133}
5134.boxstats {
5135 padding-left: 6px;
5136 padding-right: 6px;
5137 padding-top: 2px;
5138 padding-bottom: 2px;
5139 width: 118px;
5140}
5141
5142.boxtable:not(.widgetstats) td.tdboxstats .boxstats {
5143 box-shadow: 1px 1px 8px var(--colorboxstatsborder);
5144}
5145
5146.tabBar .fichehalfright .boxstats {
5147 padding-top: 8px;
5148 padding-bottom: 4px;
5149}
5150.boxstatscontent {
5151 padding: 3px;
5152}
5153.boxstatsempty {
5154 width: 121px;
5155 padding-left: 3px;
5156 padding-right: 3px;
5157 margin-left: 8px;
5158 margin-right: 8px;
5159}
5160.boxstats150empty {
5161 width: 158px;
5162 padding-left: 3px;
5163 padding-right: 3px;
5164 margin-left: 8px;
5165 margin-right: 8px;
5166}
5167
5168
5169@media only screen and (max-width: 768px)
5170{
5171 .tabBar .arearef .pagination.paginationref {
5172 max-width: calc(50%);
5173 }
5174
5175 div.pagination ul li {
5176 margin-top: 3px;
5177 margin-bottom: 3px;
5178 }
5179 div.pagination .button-title-separator {
5180 display: none;
5181 }
5182
5183 .clearbothonsmartphone {
5184 clear: both;
5185 display: block !important;
5186 }
5187
5188 div.tabs {
5189 padding-left: 0 !important;
5190 padding-right: 0!important;
5191 margin-left: 0 !important;
5192 margin-right: 0 !important;
5193 }
5194 table.liste tr.trkanban td {
5195 padding: 10px 6px 10px 6px; /* t r b l */
5196 }
5197
5198 a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
5199 padding: 12px 3px 13px;
5200 }
5201 a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
5202 padding: 0px 0px 0px 0px;
5203 }
5204 a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
5205 padding: 0px 0px 0px 0px;
5206 }
5207
5208 td.tdwidgetstate {
5209 text-align: center;
5210 }
5211
5212 .boxstats, .boxstats130 {
5213 margin: 3px;
5214 }
5215 .boxstats130 {
5216 text-align: <?php echo $left; ?>
5217 }
5218 .thumbstat {
5219 flex: 1 1 110px;
5220 margin-bottom: 8px;
5221 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 */
5222 }
5223 .thumbstat150 {
5224 flex: 1 1 110px;
5225 margin-bottom: 8px;
5226 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 */
5227 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 */
5228 /* 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) */
5229 }
5230 .dashboardlineindicator {
5231 float: left;
5232 padding-left: 5px;
5233 }
5234 .boxstats {
5235 width: 111px;
5236 }
5237 .boxstatsempty {
5238 width: 111px;
5239 }
5240
5241}
5242
5243.boxstats:hover {
5244 box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
5245}
5246span.boxstatstext span:not(.fas) {
5247 opacity: 0.5;
5248}
5249span.boxstatstext {
5250 line-height: 18px;
5251 color: var(--colortext);
5252}
5253span.boxstatstext img, a.dashboardlineindicatorlate img {
5254 border: 0;
5255}
5256a img {
5257 border: 0;
5258}
5259.boxstatsindicator.thumbstat150 { /* If we remove this, box position is ko on ipad */
5260 display: inline-flex;
5261}
5262span.boxstatsindicator {
5263 font-size: 130%;
5264 font-weight: normal;
5265 line-height: 29px;
5266 flex-grow: 1;
5267
5268}
5269span.dashboardlineindicator, span.dashboardlineindicatorlate {
5270 font-size: 130%;
5271 font-weight: normal;
5272}
5273a.dashboardlineindicatorlate:hover {
5274 text-decoration: none;
5275}
5276.dashboardlineindicatorlate img {
5277 width: 16px;
5278}
5279span.dashboardlineok {
5280 color: #008800;
5281}
5282span.dashboardlineko {
5283 color: #FFF;
5284 font-size: 80%;
5285}
5286.dashboardlinelatecoin {
5287 float: right;
5288 position: relative;
5289 text-align: right;
5290 top: -27px;
5291 right: 2px;
5292 padding: 0px 5px 0px 5px;
5293 border-radius: .25em;
5294
5295 background-color: #9f4705;
5296}
5297.imglatecoin {
5298 padding: 1px 3px 1px 1px;
5299 margin-left: 4px;
5300 margin-right: 2px;
5301 background-color: #8c4446;
5302 color: #FFFFFF ! important;
5303 border-radius: .25em;
5304 display: inline-block;
5305 vertical-align: middle;
5306}
5307.divboxtable {
5308 margin-bottom: 25px !important;
5309}
5310
5311
5312.fichecenter .tableforfield:not(.margintable) tr td, .tagtr.table-border-row {
5313 background-color: var(--colorbacklineimpair2);
5314}
5315table.liste tr.oddeven:nth-of-type(odd) {
5316 background-color: var(--colorbacklineimpair2);
5317}
5318table.liste tr.oddeven:nth-of-type(even) {
5319 background-color: var(--colorbacklinepair2);
5320}
5321
5322.boxtable {
5323 border-bottom-width: 1px;
5324 background: var(--colorbackbody);
5325 border-top: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
5326 /* border-top: 2px solid var(--colorbackhmenu1) !important; */
5327}
5328.boxtable tr td.tdboxstats {
5329 background: var(--colorbackbody) !important;
5330}
5331.boxtable tr td.tdboxstats div.boxstats {
5332 background: var(--colorbacklineimpair2) !important;
5333}
5334
5335table.noborder.boxtable tr td {
5336 height: unset;
5337}
5338.boxtablenotop {
5339 border-top-width: 0 !important;
5340}
5341.boxtablenobottom {
5342 border-bottom-width: 0 !important;
5343}
5344.boxtablenomarginbottom {
5345 margin-bottom: 0 !important;
5346}
5347.boxtable .fichehalfright, .boxtable .fichehalfleft {
5348 min-width: 275px; /* increasing this, make chart on box not side by side on laptops */
5349}
5350.tdboxstats {
5351 text-align: center;
5352}
5353.boxworkingboard .tdboxstats {
5354 padding-left: 0px !important;
5355 padding-right: 0px !important;
5356}
5357a.valignmiddle.dashboardlineindicator {
5358 line-height: 30px;
5359}
5360.height30 {
5361 height: 30px !important;
5362}
5363.height50 {
5364 height: 50px !important;
5365}
5366
5367tr.box_titre {
5368 height: 26px;
5369
5370 /* TO MATCH BOOTSTRAP */
5371 /*background: #ddd;
5372 color: #000 !important;*/
5373
5374 /* TO MATCH ELDY */
5375 background: var(--colorbacktitle1);
5376 color: var(--colortexttitle);
5377 font-family: <?php print $fontlist ?>, sans-serif;
5378 font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
5379 border-bottom: 1px solid #FDFFFF;
5380 white-space: nowrap;
5381}
5382
5383tr.box_titre td.boxclose {
5384 width: 30px;
5385}
5386img.boxhandle, img.boxclose {
5387 padding-left: 5px;
5388}
5389
5390.formboxfilter {
5391 vertical-align: middle;
5392 margin-bottom: 6px;
5393}
5394.formboxfilter input[type=image]
5395{
5396 top: 5px;
5397 position: relative;
5398}
5399.boxfilter {
5400 margin-bottom: 2px;
5401 margin-right: 1px;
5402}
5403.prod_entry_mode_free, .prod_entry_mode_predef {
5404 height: 26px !important;
5405 vertical-align: middle;
5406}
5407
5408.modulebuilderbox {
5409 border: 1px solid #888;
5410 padding: 16px;
5411}
5412
5413.star-selection {
5414 font-size: 1rem;
5415 cursor: pointer;
5416 display: flex;
5417 white-space: nowrap;
5418}
5419.star {
5420 color: #ccc;
5421 transition: color 0.4s;
5422}
5423.star:hover, .star.active {
5424 color: <?php echo $badgeWarning ?>;
5425}
5426
5427.search-component-assistance {
5428 display: none;
5429 position: absolute;
5430 background: var(--colorbackbody);
5431 border-width: 1px 1px 2px;
5432 border-style: solid;
5433 border-color: rgb(204, 204, 204);
5434 border-image: none; padding: 9px;
5435 box-shadow: rgba(136, 136, 136, 0.267) 1px 2px 10px;
5436 border-radius: 2px;
5437 z-index: 1000;
5438 top: 208.933px;
5439 left: 352.683px;
5440}
5441.search-component-assistance .assistance-title {
5442 font-size: 15px;
5443 font-weight: bold;
5444 color: #333;
5445 margin: 5px
5446}
5447.search-component-assistance .separator {
5448 padding-left: 8px;
5449 margin-left: 5px
5450}
5451.search-component-assistance .end-separator {
5452 margin-left: 8px;
5453}
5454.search-component-assistance .assistance-errors {
5455 font-size: 12px;
5456 color: #333;
5457 margin: 5px 0px 5px 0px
5458}
5459.search-component-assistance .assistance-errors {
5460 margin-bottom: 0px;
5461 text-align: center;
5462}
5463.add-filter-btn {
5464 margin: 0 !important;
5465}
5466.search-component-assistance .operand, .search-component-assistance .operator, .search-component-assistance .value {
5467 display: inline-block;
5468}
5469.search-component-assistance .btn-div{
5470 margin-top: 10px;
5471 text-align: right;
5472}
5473@media only screen and (max-width: 620px) {
5474 .search-component-assistance .operand, .operator, .value {
5475 display: block !important;
5476 }
5477 .search-component-assistance .separator, .end-separator {
5478 padding: 0px;
5479 margin: 0px
5480 }
5481}
5482
5483
5484/*
5485 * Ok, Warning, Error
5486 */
5487
5488.ok { color: #114466; }
5489.warning { color: #887711 !important; }
5490.error { color: #660000 !important; font-weight: bold; }
5491.green { color: #118822 !important; }
5492
5493div.ok {
5494 color: #114466;
5495}
5496
5497div.info, div.warning, div.error, div.green {
5498 padding-top: 16px;
5499 padding-left: 10px;
5500 padding-right: 4px;
5501 padding-bottom: 16px;
5502 margin: 1em 0em 1em 0em;
5503 border-radius: 5px;
5504}
5505
5506/* Info admin */
5507div.info {
5508 border-<?php print $left; ?>: solid 5px #87cfd2;
5509 background: #eff8fc;
5510 color: #558;
5511}
5512div.fiche div.info, div.fiche div.warning {
5513 box-shadow: 4px 4px 12px #e4e4e4;
5514 margin: 1em 0em 1.2em 0em;
5515}
5516
5517/* Ok message */
5518div.green div.greenborder, section.green, section.greenborder {
5519 border-<?php print $left; ?>: solid 5px #118822;
5520}
5521div.green, section.green {
5522 background: #e3f0e3;
5523}
5524
5525/* Warning message */
5526div.warning, div.warningborder, section.warning, section.warningborder {
5527 border-<?php print $left; ?>: solid 5px #f2cf87;
5528}
5529div.warning, section.warning {
5530 background: #fcf8e3;
5531}
5532div.warning a, div.info a, div.error a {
5533 color: var(--colortextlink);
5534}
5535
5536/* Error message */
5537div.error {
5538 border-<?php print $left; ?>: solid 5px #f28787;
5539 background: #EFCFCF;
5540}
5541
5542
5543/*
5544 * Paid/Unpaid Links
5545 */
5546
5547a.normal:link { font-weight: normal }
5548a.normal:visited { font-weight: normal }
5549a.normal:active { font-weight: normal }
5550a.normal:hover { font-weight: normal }
5551
5552a.impayee:link { font-weight: bold; color: #550000; }
5553a.impayee:visited { font-weight: bold; color: #550000; }
5554a.impayee:active { font-weight: bold; color: #550000; }
5555a.impayee:hover { font-weight: bold; color: #550000; }
5556
5557
5558/*
5559 * External web site
5560 */
5561
5562.framecontent {
5563 width: 100%;
5564 height: 100%;
5565}
5566
5567.framecontent iframe {
5568 width: 100%;
5569 height: 100%;
5570}
5571
5572
5573/*
5574 * Other
5575 */
5576
5577.opened-dash-board-wrap {
5578 margin-bottom: 25px;
5579}
5580
5581div.boximport {
5582 min-height: unset;
5583}
5584
5585.product_line_stock_ok { color: var(--productlinestockok); }
5586.product_line_stock_too_low { color: var(--productlinestocktoolow); }
5587
5588.fieldrequired { font-weight: bold; color: var(--fieldrequiredcolor) !important; }
5589
5590td.widthpictotitle, .table-fiche-title img.widthpictotitle { width: 34px; text-align: <?php echo $left; ?>; }
5591span.widthpictotitle { font-size: 1.5em; }
5592table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
5593
5594.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
5595.dolgraphtitlecssboxes { /* margin: 0px; */ }
5596.dolgraphchart canvas {
5597 /* width: calc(100% - 20px) !important; */
5598}
5599.legendColorBox, .legendLabel { border: none !important; }
5600div.dolgraph div.legend, div.dolgraph div.legend div { background-color: var(--dolgraphbg) !important; }
5601div.dolgraph div.legend table tbody tr { height: auto; }
5602td.legendColorBox { padding: 2px 2px 2px 0 !important; }
5603td.legendLabel { padding: 2px 2px 2px 0 !important; }
5604td.legendLabel {
5605 text-align: <?php echo $left; ?>;
5606}
5607
5608label.radioprivate {
5609 white-space: nowrap;
5610}
5611
5612.photo {
5613 border: 0px;
5614}
5615.photowithmargin {
5616/* margin-bottom: 2px;
5617 margin-top: 2px; */
5618}
5619div.divphotoref > div > .photowithmargin, div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
5620 margin-<?php echo $right; ?>: 15px;
5621}
5622
5623.photowithborder {
5624 border: 1px solid #f0f0f0;
5625}
5626.photointooltip {
5627 margin-top: 6px;
5628 margin-bottom: 6px;
5629 text-align: center;
5630}
5631.photodelete {
5632 margin-top: 6px !important;
5633}
5634
5635.logo_setup
5636{
5637 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg', 1) ?>); /* content is used to best fit the container */
5638 display: inline-block;
5639 opacity: 0.2;
5640}
5641.nographyet
5642{
5643 content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg', 1) ?>);
5644 display: inline-block;
5645 opacity: 0.1;
5646 background-repeat: no-repeat;
5647}
5648.nographyettext
5649{
5650 opacity: 0.5;
5651}
5652
5653/* height of top title */
5654.fiche > table.table-fiche-title tr.toptitle, .fiche > form > table.table-fiche-title tr.toptitle {
5655 height: 60px;
5656}
5657/* height of other title */
5658table.table-fiche-title tr.toptitle, table.table-fiche-title tr.toptitle {
5659 height: 44px;
5660}
5661
5662
5663div.titre {
5664 font-size: 1.1em;
5665 text-decoration: none;
5666 /* padding-top: 5px;
5667 padding-bottom: 5px; */
5668 font-weight: 400;
5669}
5670div.titre.small {
5671 font-size: 1em;
5672}
5673div.fiche > table.table-fiche-title:first-of-type div, div.fiche > form > table.table-fiche-title:first-of-type div {
5674 font-size: 1.1em;
5675}
5676div.fiche > table.table-fiche-title:first-of-type div {
5677 color: var(--colortexttitlenotab);
5678}
5679div.titre {
5680 color: var(--colortexttitlenotab);
5681}
5682
5683td.subtitle {
5684 line-height: 1.1em;
5685}
5686
5687.secondary {
5688 color: var(--colortexttitlenotab);
5689}
5690.tertiary {
5691 color: var(--colortexttitlenotab2);
5692}
5693
5694table.table-fiche-title .col-title div.titre > span:not(.print-barre-liste) {
5695 line-height: normal;
5696}
5697
5698table.table-fiche-title, div.fiche>table.table-fiche-title {
5699 margin-bottom: 12px;
5700}
5701.table-list-of-attached-files, .table-list-of-links {
5702 margin-bottom: 0 !important;
5703}
5704.fichehalfleft table.table-fiche-title, .fichehalfright table.table-fiche-title {
5705 margin-bottom: 8px;
5706}
5707
5708
5709div.backgreypublicpayment {
5710 background-color: var(--colorbackgrey);
5711 padding: 20px;
5712 border-bottom: 1px solid #ddd;
5713 text-align: center;
5714 position: sticky;
5715 top: 0;
5716 z-index: 1005;
5717}
5718.backgreypublicpayment a {
5719 color: var(--colorblack) !important;
5720 opacity: 0.9;
5721}
5722.poweredbypublicpayment {
5723 float: right;
5724 top: 8px;
5725 right: 12px;
5726 position: absolute;
5727 font-size: 0.8em;
5728 color: #222;
5729 opacity: 0.3;
5730}
5731
5732#dolpublictable {
5733 min-width: 300px; font-size: 16px;
5734 padding: 6px;
5735}
5736#dolpaymenttable {
5737 min-width: 320px; font-size: 16px;
5738 max-width: 600px;
5739} /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
5740
5741#tablepublicpayment {
5742 border: 1px solid #CCCCCC !important;
5743 width: 100%;
5744 padding: 20px;
5745 margin-bottom: 25px;
5746}
5747#tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
5748#tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
5749#tablepublicpayment tr.liste_total td { border-top: none; }
5750input#cardholder-name {
5751 font-size: 1em;
5752}
5753
5754.divmainbodylarge { margin-left: 40px; margin-right: 40px; }
5755.publicnewmemberform div.titre { font-size: 2em; }
5756#divsubscribe { max-width: 900px; }
5757#divsubscribe .eventlabel { font-size: 1.5em; }
5758#tablesubscribe { width: 100%; }
5759#tablesubscribe tr td { font-size: 1.15em; }
5760#tablesubscribe .price-registration { font-size: 1.5em; }
5761
5762
5763div#card-element {
5764 border: 1px solid #ccc;
5765}
5766div#card-errors {
5767 color: #fa755a;
5768 text-align: center;
5769 padding-top: 3px;
5770 /* max-width: 320px; */
5771}
5772
5773
5774/*
5775 * Effect Postit
5776 */
5777.effectpostit
5778{
5779 position: relative;
5780}
5781.effectpostit:before, .effectpostit:after
5782{
5783 z-index: -1;
5784 position: absolute;
5785 content: "";
5786 bottom: 15px;
5787 left: 10px;
5788 width: 50%;
5789 top: 80%;
5790 max-width:300px;
5791 background: #777;
5792 box-shadow: 0 15px 10px #777;
5793 -webkit-transform: rotate(-3deg);
5794 -moz-transform: rotate(-3deg);
5795 -o-transform: rotate(-3deg);
5796 -ms-transform: rotate(-3deg);
5797 transform: rotate(-3deg);
5798}
5799.effectpostit:after
5800{
5801 -webkit-transform: rotate(3deg);
5802 -moz-transform: rotate(3deg);
5803 -o-transform: rotate(3deg);
5804 -ms-transform: rotate(3deg);
5805 transform: rotate(3deg);
5806 right: 10px;
5807 left: auto;
5808}
5809
5810
5811
5812/* ============================================================================== */
5813/* Form confirmation (When Ajax JQuery is used) and Dialog popups */
5814/* ============================================================================== */
5815
5816.ui-dialog-titlebar {
5817}
5818.ui-dialog-content {
5819 margin-bottom: 10px; /* same than .ui-widget-header */
5820}
5821.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
5822 z-index: 1005 !important; /* Default 101 with ui-jquery, top menu have a z-index of 1000 */
5823}
5824.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
5825 z-index:1006 !important; /* To always be over the dialog box */
5826}
5827.ui-dialog.ui-widget.ui-widget-content {
5828 border: 1px solid #e0e0e0;
5829 border-radius: 6px;
5830}
5831.ui-dialog {
5832 padding-left: 5px;
5833 padding-right: 5px;
5834 padding-top: 5px;
5835 padding-bottom: 5px;
5836}
5837.ui-widget-header {
5838 padding: 8px !important;
5839 background: unset;
5840 border: unset;
5841 border-bottom: 1px solid #AAA;
5842 margin-bottom: 12px;
5843}
5844button.ui-button-icon-only.ui-dialog-titlebar-close {
5845 padding: 12px;
5846 margin-top: -15px;
5847}
5848.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable {
5849 box-shadow: 5px 5px 20px #AAA;
5850}
5851.ui-dialog .ui-dialog-buttonpane {
5852 padding: .5em 1em .3em .4em;
5853}
5854.ui-dialog .ui-dialog-content, .ui-dialog .ui-dialog-titlebar.ui-widget-header {
5855 padding-left: 1em !important;
5856}
5857
5858
5859/* ============================================================================== */
5860/* For content of image preview */
5861/* ============================================================================== */
5862
5863/*
5864.ui-dialog-content.ui-widget-content > object {
5865 max-height: none;
5866 width: auto; margin-left: auto; margin-right: auto; display: block;
5867}
5868*/
5869
5870
5871/* ============================================================================== */
5872/* Formulaire confirmation (When HTML is used) */
5873/* ============================================================================== */
5874
5875table.valid {
5876 /* border-top: solid 1px #E6E6E6; */
5877 border-<?php print $left; ?>: solid 5px #f2cf87;
5878 /* border-<?php print $right; ?>: solid 1px #444444;
5879 border-bottom: solid 1px #555555; */
5880 padding-top: 8px;
5881 padding-left: 10px;
5882 padding-right: 4px;
5883 padding-bottom: 4px;
5884 margin: 0px 0px;
5885 background: var(--tablevalidbgcolor);
5886}
5887
5888.validtitre {
5889 font-weight: bold;
5890}
5891
5892
5893/* ============================================================================== */
5894/* Tooltips */
5895/* ============================================================================== */
5896
5897/* For tooltip using dialog */
5898.ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
5899 z-index: 3000;
5900}
5901
5902div.ui-tooltip {
5903 max-width: <?php print dol_size(700, 'width'); ?>px !important;
5904}
5905div.ui-tooltip.mytooltip {
5906 border: none !important;
5907 padding: 20px 20px;
5908 border-radius: 4px;
5909 margin: 2px;
5910 font-stretch: condensed;
5911 box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
5912 filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=5);
5913 background: var(--tooltipbgcolor) !important;
5914 color: var(--tooltipfontcolor);
5915 line-height: 1.6em;
5916 min-width: 550px;
5917 pointer-events: none;
5918}
5919
5920<?php
5921if (getDolGlobalString('THEME_DARKMODEENABLED')) {
5922 print "/* For dark mode */\n";
5923 if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) {
5924 print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
5925 } else {
5926 print "@media not print {";
5927 } ?>
5928 div.ui-tooltip.mytooltip {
5929 border: 1px solid #bbb !important;
5930 }
5931 <?php
5932 print '}';
5933}
5934?>
5935
5936@media only screen and (max-width: 768px)
5937{
5938 div.ui-tooltip.mytooltip {
5939 max-width: 400px;
5940 }
5941}
5942@media only screen and (max-width: 480px)
5943{
5944 div.ui-tooltip.mytooltip {
5945 max-width: 300px;
5946 }
5947}
5948@media only screen and (max-width: 320px)
5949{
5950 div.ui-tooltip.mytooltip {
5951 max-width: 230px;
5952 }
5953}
5954
5955
5956
5957
5958/* ============================================================================== */
5959/* Calendar date picker */
5960/* ============================================================================== */
5961
5962.ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
5963.ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
5964html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
5965{
5966 border: unset;
5967}
5968
5969div#ui-datepicker-div {
5970 width: 300px;
5971 box-shadow: 2px 5px 15px #aaa;
5972 border: unset;
5973 padding-left: 5px;
5974 padding-right: 5px;
5975 padding-top: 5px;
5976}
5977.ui-datepicker .ui-datepicker table {
5978 font-size: unset;
5979}
5980.ui-datepicker .ui-widget-header {
5981 border: unset;
5982 background: unset;
5983}
5984
5985/* the button Previous / Next month */
5986.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
5987 width: 2.5em;
5988 height: 2.7em;
5989}
5990
5991
5992img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
5993
5994select.ui-datepicker-year {
5995 margin-left: 2px !important;
5996}
5997.ui-datepicker-trigger {
5998 vertical-align: middle;
5999 cursor: pointer;
6000 padding-left: 2px;
6001 padding-right: 2px;
6002}
6003
6004.bodyline {
6005 border-radius: 8px;
6006 border: 1px #E4ECEC outset;
6007 padding: 0px;
6008 margin-bottom: 5px;
6009}
6010table.dp {
6011 width: 180px;
6012 background-color: var(--inputbackgroundcolor);
6013 border-top: solid 2px #DDDDDD;
6014 border-<?php print $left; ?>: solid 2px #DDDDDD;
6015 border-<?php print $right; ?>: solid 1px #222222;
6016 border-bottom: solid 1px #222222;
6017 padding: 0px;
6018 border-spacing: 0px;
6019 border-collapse: collapse;
6020}
6021.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
6022/* Barre titre */
6023.dpHead,.tpHead,.tpHour td:Hover .tpHead{
6024 font-weight:bold;
6025 background-color:#b3c5cc;
6026 color:white;
6027 font-size:11px;
6028 cursor:auto;
6029}
6030/* Barre navigation */
6031.dpButtons,.tpButtons {
6032 text-align:center;
6033 background-color:#617389;
6034 color:#FFFFFF;
6035 font-weight:bold;
6036 cursor:pointer;
6037}
6038.dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
6039.dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
6040.dpExplanation{ font-weight:normal; font-size:11px;}
6041.dpWeek td{text-align:center}
6042
6043.dpToday,.dpReg,.dpSelected{
6044 cursor:pointer;
6045}
6046.dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
6047.dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
6048
6049/* Jour courant */
6050.dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
6051
6052.tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
6053.tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
6054.tpHour td:Hover {background-color:black;color:white;}
6055
6056.tpMinute {margin-top:5px;}
6057.tpMinute td:Hover {background-color:black; color:white; }
6058.tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
6059
6060/* Bouton X fermer */
6061.dpInvisibleButtons
6062{
6063 border-style:none;
6064 background-color:transparent;
6065 padding:0px;
6066 font-size: 0.85em;
6067 border-width:0px;
6068 color:#0B63A2;
6069 vertical-align:middle;
6070 cursor: pointer;
6071}
6072.datenowlink {
6073 color: var(--colortextlink);
6074 font-size: 0.8em;
6075 opacity: 0.7;
6076}
6077
6078
6079/* ============================================================================== */
6080/* Show/Hide */
6081/* ============================================================================== */
6082
6083div.visible {
6084 display: block;
6085}
6086
6087div.hidden, div.hiddenforpopup, header.hidden, tr.hidden, td.hidden,
6088img.hidden, span.hidden, br.hidden, div.showifmore {
6089 display: none;
6090}
6091.unvisible {
6092 visibility: hidden;
6093}
6094tr.visible {
6095 display: block;
6096}
6097
6098
6099/* ============================================================================== */
6100/* Module website */
6101/* ============================================================================== */
6102
6103.previewnotyetavailable {
6104 opacity: 0.5;
6105}
6106
6107.websiteformtoolbar {
6108 position: sticky;
6109 top: <?php echo empty($dol_hide_topmenu) ? ($disableimages ? '32px' : '52px') : '0'; ?>;
6110 z-index: 1002; /* Dolibarr menu is 1001, Website menu is 1002 */
6111}
6112
6113.exampleapachesetup {
6114 overflow-y: auto;
6115 height: 100px;
6116 font-size: 0.8em;
6117 border: 1px solid #aaa;
6118}
6119
6120span[phptag] {
6121 background: #ddd; border: 1px solid #ccc; border-radius: 4px;
6122}
6123
6124.nobordertransp {
6125 border: 0px;
6126 background-color: transparent;
6127 background-image: none;
6128}
6129.bordertransp {
6130 background-color: transparent;
6131 background-image: none;
6132 border: none;
6133 font-weight: normal;
6134}
6135.websitebar .button.bordertransp, .websitebar .fa-plus-circle.btnTitle-icon {
6136 color: unset;
6137 text-decoration: unset !important;
6138 margin: 0px 4px 0px 4px !important
6139}
6140
6141.websitebar {
6142 border-bottom: 1px solid #ccc;
6143 background: #e6e6e6;
6144 display: inline-block;
6145 z-index: 1000;
6146}
6147.centpercent.websitebar {
6148 width: calc(100% - 10px);
6149 padding: 5px 5px 5px 5px;
6150 font-size: 0.94em;
6151}
6152.websitebar .buttonDelete, .websitebar .button {
6153 text-shadow: none;
6154}
6155.websitebar .button, .websitebar .buttonDelete
6156{
6157 padding: 4px 5px 4px 5px !important;
6158 margin: 2px 4px 2px 4px !important;
6159/* line-height: normal; */
6160 background: #f5f5f5 !important;
6161 border: 1px solid #ccc !important;
6162}
6163.websiteselection {
6164 /* display: inline-block; */
6165 padding-<?php echo $right; ?>: 10px;
6166 vertical-align: middle;
6167 line-height: 2.2em;
6168}
6169.websiteselectionsection {
6170 font-size: 0.85em;
6171}
6172.websiteselection span {
6173 vertical-align: middle;
6174}
6175.websitetools {
6176 float: right;
6177}
6178.websiteselection, .websitetools {
6179 /* margin-top: 3px;
6180 padding-top: 3px;
6181 padding-bottom: 3px; */
6182}
6183.websiteinputurl {
6184 display: inline-block;
6185 vertical-align: middle;
6186 line-height: 26px;
6187}
6188.websiteiframenoborder {
6189 border: 0px;
6190}
6191span.websiteselection span.select2.select2-container.select2-container--default {
6192 margin: 0 0 0 4px;
6193}
6194span.websitebuttonsitepreview, a.websitebuttonsitepreview {
6195 vertical-align: middle;
6196}
6197span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
6198 width: 26px;
6199 display: inline-block;
6200}
6201span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
6202 opacity: 0.2;
6203}
6204.websitehelp {
6205 vertical-align: middle;
6206 float: right;
6207 padding-top: 8px;
6208}
6209.websiteselectionsection {
6210 border-left: 1px solid #bbb;
6211 border-right: 1px solid #bbb;
6212 margin-left: 0px;
6213 padding-left: 8px;
6214 margin-right: 5px;
6215}
6216.websitebar input#previewpageurl {
6217 line-height: 1em;
6218}
6219
6220.websitebar input.bordertransp {
6221 line-height: normal !important;
6222}
6223
6224#divbodywebsite section p {
6225 margin: unset;
6226}
6227
6228#divbodywebsite #websitetemplateconfigpage{
6229 max-width: 1200px;
6230 margin: 50px auto 0;
6231}
6232
6233
6234/* ============================================================================== */
6235/* Module agenda */
6236/* ============================================================================== */
6237
6238.dayevent .tagtr:first-of-type {
6239 height: 24px;
6240}
6241
6242.agendacell { height: 60px; }
6243table.cal_month { border-spacing: 0px; }
6244table.cal_month td:first-child { border-left: 0px; }
6245table.cal_month td:last-child { border-right: 0px; }
6246table.cal_month td { padding-left: 1px !important; padding-right: 1px !important; }
6247table.cal_month.cal_peruser td { padding-left: 0 !important; padding-right: 0 !important; }
6248.cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
6249.cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
6250.cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
6251.cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
6252.cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
6253.cal_current_month_right { border-right: solid 1px #E0E0E0; }
6254.cal_other_month_right { border-right: solid 1px #C0C0C0; }
6255.cal_other_month { /* opacity: 0.6; */ background: #FAFAFA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
6256.cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
6257.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; }
6258.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; }
6259.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; }
6260.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; }
6261.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; }
6262.cal_past { }
6263.cal_peruser { padding-top: 0 !important; padding-bottom: 0 !important; padding-<?php print $left; ?>: 0 !important; padding-<?php print $right; ?>: 0 !important; }
6264.cal_impair {
6265 background: linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6266 background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6267 background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6268 background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
6269}
6270.cal_today_peruser_impair { background: #F8F8F0; }
6271.peruser_busy { }
6272.peruser_notbusy { opacity: 0.5; }
6273div.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); }
6274table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; min-height: 20px; filter: saturate(0.8); border-radius: 3px; }
6275table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
6276table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
6277table.cal_event td.cal_event_right { padding: 4px 4px !important; }
6278.cal_event { font-size: 1em; }
6279.cal_event a:link { color: #111111; font-weight: normal !important; }
6280.cal_event a:visited { color: #111111; font-weight: normal !important; }
6281.cal_event a:active { color: #111111; font-weight: normal !important; }
6282.cal_event_notbusy a.cal_event_title:hover { color: #111111; font-weight: normal !important; }
6283.cal_event_busy { }
6284.cal_peruserviewname { max-width: 140px; height: 30px !important; }
6285.cal_event span.badge.badge-status { border: 1px solid #aaa; }
6286table.cal_month tr td table.nobordernopadding tr td { padding: 0 2px 0 2px; }
6287table.cal_month tr.liste_titre td.tdfordaytitle { min-width: 120px; }
6288a.dayevent-aday {
6289 margin-left: 8px;
6290}
6291td.small.cal_event {
6292 font-size: 0.9em;
6293}
6294
6295.calendarviewcontainertr { height: 100px; }
6296
6297td.cal_other_month {
6298 opacity: 0.7;
6299}
6300td.event-past span {
6301 opacity: 0.5;
6302}
6303td.peruser_holiday_imp {
6304 background-color: #aaa !important;
6305}
6306
6307.cal_available { background: #0060d450; }
6308.cal_chosen { background: #0060d4; }
6309
6310
6311/* ============================================================================== */
6312/* Ajax - Combo list for autocompletion */
6313/* ============================================================================== */
6314
6315.ui-widget-content {
6316 border: solid 1px rgba(0,0,0,.3);
6317 background: var(--colorbackbody) !important;
6318 color: var(--colortext) !important;
6319}
6320/*.ui-widget-header {
6321 background: var(--colorbacktitle);
6322}*/
6323
6324.ui-autocomplete-loading {
6325 background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat;
6326}
6327.ui-autocomplete {
6328 position:absolute;
6329 width:auto;
6330 font-size: 1.0em;
6331 background-color: var(--inputbackgroundcolor);
6332 border:1px solid #888;
6333 margin:0px;
6334/* padding:0px; This make combo crazy */
6335 }
6336.ui-autocomplete ul {
6337 list-style-type:none;
6338 margin:0px;
6339 padding:0px;
6340 }
6341.ui-autocomplete ul li.selected {
6342 background-color: var(--inputbackgroundcolor);
6343}
6344.ui-autocomplete ul li {
6345 list-style-type:none;
6346 display:block;
6347 margin:0;
6348 padding:2px;
6349 height:18px;
6350 cursor:pointer;
6351 }
6352
6353
6354/* ============================================================================== */
6355/* jQuery - jeditable for inline edit */
6356/* ============================================================================== */
6357
6358.editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
6359 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
6360 cursor: pointer;
6361 margin-right: 3px;
6362 margin-top: 3px;
6363}
6364
6365.editkey_datepicker {
6366 background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
6367 margin-right: 3px;
6368 cursor: pointer;
6369 margin-right: 3px;
6370 margin-top: 3px;
6371}
6372
6373.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 {
6374 background: white;
6375 cursor: pointer;
6376}
6377
6378.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 {
6379 background: white;
6380 cursor: pointer;
6381}
6382
6383.viewval_hover {
6384 background: white;
6385}
6386
6387
6388/* ============================================================================== */
6389/* Admin Menu */
6390/* ============================================================================== */
6391
6392/* CSS for treeview */
6393.treeview ul { background-color: transparent !important; margin-top: 0 !important; /* margin-bottom: 4px !important; padding-top: 2px !important; */ }
6394.treeview li { background-color: transparent !important; padding: 0 0 0 20px !important; min-height: 30px; }
6395.treeview .hitarea { width: 20px !important; margin-left: -20px !important; margin-top: 3px; }
6396.treeview li table { min-height: 30px; }
6397.treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
6398
6399
6400/* ============================================================================== */
6401/* Show Excel tabs */
6402/* ============================================================================== */
6403
6404.table_data
6405{
6406 border-style:ridge;
6407 border:1px solid;
6408}
6409.tab_base
6410{
6411 background:#C5D0DD;
6412 font-weight:bold;
6413 border-style:ridge;
6414 border: 1px solid;
6415 cursor:pointer;
6416}
6417.table_sub_heading
6418{
6419 background:#CCCCCC;
6420 font-weight:bold;
6421 border-style:ridge;
6422 border: 1px solid;
6423}
6424.table_body
6425{
6426 background:#F0F0F0;
6427 font-weight:normal;
6428 font-family:sans-serif;
6429 border-style:ridge;
6430 border: 1px solid;
6431 border-spacing: 0px;
6432 border-collapse: collapse;
6433}
6434.tab_loaded
6435{
6436 background:#222222;
6437 color:white;
6438 font-weight:bold;
6439 border-style:groove;
6440 border: 1px solid;
6441 cursor:pointer;
6442}
6443
6444
6445/* ============================================================================== */
6446/* CSS for color picker */
6447/* ============================================================================== */
6448
6449div.jPicker table.jPicker {
6450 padding-bottom: 20px;
6451 padding-right: 20px;
6452 padding-left: 20px;
6453}
6454table.jPicker tr:first-of-type td {
6455 height: 2px !important;
6456 line-height: 2px;
6457}
6458.jPicker .Move {
6459 background: unset !important;
6460 border: unset !important;
6461}
6462.jPicker .Preview div span {
6463 border: unset !important;
6464 width: unset !important;
6465 height: 50% !important;
6466}
6467.jPicker div[class="Map"] {
6468 max-width: 150px;
6469}
6470table.jPicker {
6471 border-radius: 5px;
6472 border: 1px solid #bbb !important;
6473 background-color: var(--colorbackbody) !important;
6474 box-shadow: 0px 0px 10px #ccc;
6475 width: 300px !important;
6476}
6477.jPicker .Grid {
6478 background-image: unset !important;
6479}
6480.jPicker .Grid span.QuickColor {
6481 border: unset !important;
6482}
6483.jPicker td.Radio {
6484 min-width: 34px;
6485}
6486.jPicker td.Text {
6487 white-space: nowrap;
6488}
6489.jPicker .Preview div {
6490 height: 36px !important;
6491}
6492.jPicker input[type="button"] {
6493 background: var(--butactionbg);
6494 color: var(--textbutaction);
6495 border-radius: 4px;
6496 border-collapse: collapse;
6497 border: none;
6498}
6499
6500A.color, A.color:active, A.color:visited {
6501 position : relative;
6502 display : block;
6503 text-decoration : none;
6504 width : 10px;
6505 height : 10px;
6506 line-height : 10px;
6507 margin : 0px;
6508 padding : 0px;
6509 border : 1px inset white;
6510}
6511A.color:hover {
6512 border : 1px outset white;
6513}
6514A.none, A.none:active, A.none:visited, A.none:hover {
6515 position : relative;
6516 display : block;
6517 text-decoration : none;
6518 width : 10px;
6519 height : 10px;
6520 line-height : 10px;
6521 margin : 0px;
6522 padding : 0px;
6523 cursor : default;
6524 border : 1px solid #b3c5cc;
6525}
6526.tblColor {
6527 display : none;
6528}
6529.tdColor {
6530 padding : 1px;
6531}
6532.tblContainer {
6533 background-color : #b3c5cc;
6534}
6535.tblGlobal {
6536 position : absolute;
6537 top : 0px;
6538 left : 0px;
6539 display : none;
6540 background-color : #b3c5cc;
6541 border : 2px outset;
6542}
6543.tdContainer {
6544 padding : 5px;
6545}
6546.tdDisplay {
6547 width : 50%;
6548 height : 20px;
6549 line-height : 20px;
6550 border : 1px outset white;
6551}
6552.tdDisplayTxt {
6553 width : 50%;
6554 height : 24px;
6555 line-height : 12px;
6556 font-family : <?php print $fontlist ?>;
6557 font-size : 8pt;
6558 color : black;
6559 text-align : center;
6560}
6561.btnColor {
6562 width : 100%;
6563 font-family : <?php print $fontlist ?>;
6564 font-size : 10pt;
6565 padding : 0px;
6566 margin : 0px;
6567}
6568.btnPalette {
6569 width : 100%;
6570 font-family : <?php print $fontlist ?>;
6571 font-size : 8pt;
6572 padding : 0px;
6573 margin : 0px;
6574}
6575.colorselector {
6576 border: solid 1px #ddd !important;
6577}
6578
6579/* Style to overwrites JQuery styles */
6580.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
6581 /* border: 1px solid #888; */
6582 background: var(--colorbacktitle1);
6583 color: unset;
6584 font-weight: bold;
6585}
6586.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 {
6587 background: var(--colorbackhmenu1);
6588 color: #ffffff !important;
6589 border: 1px solid var(--colorbackhmenu1);
6590}
6591.ui-menu {
6592 padding: 5px;
6593/*
6594 border-bottom-left-radius: 6px;
6595 border-bottom-right-radius: 6px;
6596 */
6597}
6598.ui-menu .ui-menu-item a {
6599 text-decoration:none;
6600 display:block;
6601 padding:.5em .6em;
6602 line-height:1.5;
6603 font-weight: normal;
6604 font-family:<?php echo $fontlist; ?>;
6605 font-size:1em;
6606}
6607.ui-widget {
6608 font-family:<?php echo $fontlist; ?>;
6609}
6610/* .ui-button { margin-left: -2px; <?php print(preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> } */
6611.ui-button { margin-left: -2px; }
6612.ui-button-icon-only .ui-button-text { height: 8px; }
6613.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
6614.ui-button-text
6615{
6616 line-height: 1em !important;
6617}
6618.ui-autocomplete-input { margin: 0; padding: 4px; }
6619
6620
6621/* ============================================================================== */
6622/* CKEditor */
6623/* ============================================================================== */
6624
6625textarea.dolibarr_mailings > div.cke body.cke_show_borders {
6626 margin: 0 !important;
6627}
6628/*body.cke_show_borders {
6629 margin: 5px !important;
6630}*/
6631.cke_source {
6632 margin: 5px !important;
6633}
6634.cke_dialog {
6635 border: 1px #bbb solid ! important;
6636}
6637/*.cke_editor table, .cke_editor tr, .cke_editor td
6638{
6639 border: 0px solid #FF0000 !important;
6640}
6641span.cke_skin_kama { padding: 0 !important; }*/
6642.cke_wrapper { padding: 4px !important; }
6643a.cke_dialog_ui_button
6644{
6645 font-family: <?php print $fontlist ?> !important;
6646 background-image: url(<?php echo $img_button ?>) !important;
6647 background-position: bottom !important;
6648 border: 1px solid #C0C0C0 !important;
6649 border-radius:0px 5px 0px 5px !important;
6650 box-shadow: 3px 3px 4px #DDD !important;
6651}
6652.cke_dialog_ui_hbox_first {
6653 vertical-align: middle !important;
6654}
6655.cke_combo_text {
6656 width: 40px !important;
6657}
6658/*
6659.cke_editable
6660{
6661 line-height: 1.4 !important;
6662 margin: 6px !important;
6663}
6664*/
6665a.cke_dialog_ui_button_ok span {
6666 text-shadow: none !important;
6667 color: #333 !important;
6668}
6669a.cke_button, a.cke_combo_button {
6670 height: 18px !important;
6671}
6672div.cke_notifications_area .cke_notification_warning {
6673 visibility: hidden;
6674}
6675
6676.cke.cke_reset {
6677 margin-top: 8px;
6678 margin-bottom: 8px;
6679}
6680
6681/* CSS to round border */
6682.cke.cke_reset, .cke_inner.cke_reset, .cke_top.cke_reset_all {
6683 border-top-left-radius: <?php echo $borderradius; ?>px;
6684 border-top-right-radius: <?php echo $borderradius; ?>px;
6685}
6686.cke.cke_reset, .cke_inner.cke_reset, .cke_contents.cke_reset {
6687 border-bottom-left-radius: <?php echo $borderradius; ?>px;
6688 border-bottom-right-radius: <?php echo $borderradius; ?>px;
6689}
6690
6691/* CSS To hide the picto menu on smartphone, except when maximize */
6692@media only screen and (max-width: 768px)
6693{
6694 .cke_inner:not(.cke_maximized) .cke_toolbar_separator,
6695 .cke_inner:not(.cke_maximized) .cke_combo,
6696 .cke_inner:not(.cke_maximized) .cke_button:not(.cke_button__maximize) {
6697 display: none;
6698 }
6699}
6700
6701
6702/* ============================================================================== */
6703/* ACE editor */
6704/* ============================================================================== */
6705.ace_editor {
6706 border: 1px solid #ddd;
6707 margin: 0;
6708}
6709.aceeditorstatusbar {
6710 margin: 0;
6711 padding: 0;
6712 padding-<?php echo $left; ?>: 10px;
6713 left: 0;
6714 right: 0;
6715 bottom: 0;
6716 background-color: #ebebeb;
6717 height: 2.2em;
6718 line-height: 2.2em;
6719}
6720.ace_status-indicator {
6721 color: gray;
6722 position: relative;
6723 right: 0;
6724 border-<?php echo $left; ?>: 1px solid;
6725 padding-<?php echo $left; ?>: 10px;
6726}
6727pre#editfilecontentaceeditorid {
6728 margin-top: 5px;
6729}
6730
6731
6732/* ============================================================================== */
6733/* File upload */
6734/* ============================================================================== */
6735
6736.template-upload {
6737 height: 72px !important;
6738}
6739
6740
6741/* ============================================================================== */
6742/* Custom reports */
6743/* ============================================================================== */
6744
6745.customreportsoutput, .customreportsoutputnotdata {
6746 padding-top: 20px;
6747}
6748.customreportsoutputnotdata {
6749 text-align: center;
6750}
6751
6752
6753/* ============================================================================== */
6754/* Holiday */
6755/* ============================================================================== */
6756
6757#types .btn {
6758 cursor: pointer;
6759}
6760
6761#types .btn-primary {
6762 font-weight: bold;
6763}
6764
6765#types form {
6766 padding: 20px;
6767}
6768
6769#types label {
6770 display:inline-block;
6771 width:100px;
6772 margin-right: 20px;
6773 padding: 4px;
6774 text-align: right;
6775 vertical-align: top;
6776}
6777
6778#types input.text, #types textarea {
6779 width: 400px;
6780}
6781
6782#types textarea {
6783 height: 100px;
6784}
6785
6786
6787/* ============================================================================== */
6788/* Comments */
6789/* ============================================================================== */
6790
6791#comment div {
6792 box-sizing:border-box;
6793}
6794#comment .comment {
6795 border-radius:7px;
6796 margin-bottom:10px;
6797 overflow:hidden;
6798}
6799#comment .comment-table {
6800 display:table;
6801 height:100%;
6802}
6803#comment .comment-cell {
6804 display:table-cell;
6805}
6806#comment .comment-info {
6807 font-size:0.8em;
6808 border-right:1px solid #dedede;
6809 margin-right:10px;
6810 width:160px;
6811 text-align:center;
6812 background:rgba(255,255,255,0.5);
6813 vertical-align:middle;
6814 padding:10px 2px;
6815}
6816#comment .comment-info a {
6817 color:inherit;
6818}
6819#comment .comment-right {
6820 vertical-align:top;
6821}
6822#comment .comment-description {
6823 padding:10px;
6824 vertical-align:top;
6825}
6826#comment .comment-delete {
6827 width: 100px;
6828 text-align:center;
6829 vertical-align:middle;
6830}
6831#comment .comment-delete:hover {
6832 background:rgba(250,20,20,0.8);
6833}
6834#comment .comment-edit {
6835 width: 100px;
6836 text-align:center;
6837 vertical-align:middle;
6838}
6839#comment .comment-edit:hover {
6840 background:rgba(0,184,148,0.8);
6841}
6842#comment textarea {
6843 width: 100%;
6844}
6845
6846
6847
6848/* ============================================================================== */
6849/* JSGantt */
6850/* ============================================================================== */
6851
6852div.scroll2 {
6853 width: <?php print isset($_SESSION['dol_screenwidth']) ? max((int) $_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
6854}
6855
6856div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
6857 line-height: 2;
6858}
6859
6860.gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
6861 font-size: unset !important;
6862}
6863
6864div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
6865 font-size: unset !important;
6866 font-weight: normal !important;
6867 color: #000 !important;
6868}
6869div.gTaskInfo {
6870 background: #f0f0f0 !important;
6871}
6872.gtaskblue {
6873 background: rgb(108,152,185) !important;
6874}
6875.gtaskgreen {
6876 background: rgb(160,173,58) !important;
6877}
6878td.gtaskname {
6879 overflow: hidden;
6880 text-overflow: ellipsis;
6881}
6882td.gminorheadingwkend {
6883 color: #888 !important;
6884}
6885td.gminorheading {
6886 color: #666 !important;
6887}
6888.glistlbl, .glistgrid {
6889 width: 582px !important;
6890}
6891/*.gtaskname div, .gtaskname {
6892 min-width: 250px !important;
6893 max-width: 250px !important;
6894 width: 250px !important;
6895}*/
6896.gtaskname div, .gtaskname {
6897 min-width: 250px !important;
6898 max-width: 500px !important;
6899 width: unset !important;
6900}
6901.gpccomplete div, .gpccomplete {
6902 min-width: 40px !important;
6903 max-width: 40px !important;
6904 width: 40px !important;
6905}
6906td.gtaskheading.gstartdate, td.gtaskheading.genddate {
6907 white-space: break-spaces;
6908}
6909.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) {
6910 color: transparent !important;
6911 border-left: none;
6912 border-right: none;
6913 border-top: none;
6914}
6915
6916/* ============================================================================== */
6917/* jFileTree */
6918/* ============================================================================== */
6919
6920.ecmfiletree {
6921 width: 99%;
6922 height: 99%;
6923 padding-left: 2px;
6924 font-weight: normal;
6925}
6926
6927.fileview {
6928 width: 99%;
6929 height: 99%;
6930 background: #FFF;
6931 padding-left: 2px;
6932 padding-top: 4px;
6933 font-weight: normal;
6934}
6935
6936div.filedirelem {
6937 position: relative;
6938 display: block;
6939 text-decoration: none;
6940}
6941
6942ul.filedirelem {
6943 padding: 2px;
6944 margin: 0 5px 5px 5px;
6945}
6946ul.filedirelem li {
6947 list-style: none;
6948 padding: 2px;
6949 margin: 0 10px 20px 10px;
6950 width: 160px;
6951 height: 120px;
6952 text-align: center;
6953 display: block;
6954 float: <?php print $left; ?>;
6955 border: solid 1px #DDDDDD;
6956}
6957
6958ul.ecmjqft {
6959 line-height: 32px;
6960 padding: 0px;
6961 margin: 0px;
6962 font-weight: normal;
6963}
6964
6965ul.ecmjqft li {
6966 list-style: none;
6967 padding: 0px;
6968 padding-left: 20px;
6969 margin: 0px;
6970 white-space: nowrap;
6971 display: block;
6972}
6973
6974ul.ecmjqft a {
6975 line-height: 24px;
6976 vertical-align: middle;
6977 color: unset;
6978 padding: 0px 0px;
6979 font-weight:normal;
6980 display: inline-block !important;
6981}
6982ul.ecmjqft > a {
6983 width: calc(100% - 100px);
6984 overflow: hidden;
6985 white-space: break-spaces;
6986 word-break: break-all;
6987}
6988ul.ecmjqft a:active {
6989 font-weight: bold !important;
6990}
6991ul.ecmjqft a:hover {
6992 text-decoration: underline;
6993}
6994div.ecmjqft {
6995 vertical-align: middle;
6996 display: inline-block !important;
6997 text-align: <?php echo $right; ?>;
6998 float: <?php echo $right; ?>;
6999 right:4px;
7000 clear: both;
7001 height: 16px;
7002}
7003#ecm-layout-north {
7004 min-height: 40px;
7005}
7006#ecm-layout-north div.attachareaformuserfileecm {
7007 padding-bottom: 0px;
7008}
7009div#ecm-layout-west {
7010 width: 380px;
7011 vertical-align: top;
7012}
7013div#ecm-layout-center {
7014 width: calc(100% - 405px);
7015 vertical-align: top;
7016 float: <?php echo $right; ?>;
7017}
7018
7019.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; }
7020.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; }
7021.ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
7022
7023
7024/* ============================================================================== */
7025/* jNotify */
7026/* ============================================================================== */
7027
7028.jnotify-container {
7029 position: fixed !important;
7030<?php if (getDolGlobalString('MAIN_JQUERY_JNOTIFY_BOTTOM')) { ?>
7031 top: auto !important;
7032 bottom: 4px !important;
7033<?php } ?>
7034 text-align: center;
7035 min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
7036 width: auto;
7037 max-width: 1024px;
7038 padding-left: 10px !important;
7039 padding-right: 10px !important;
7040 padding-top: 10px !important;
7041 word-wrap: break-word;
7042}
7043.jnotify-container .jnotify-notification .jnotify-message {
7044 font-weight: normal;
7045 text-align: start;
7046 word-break: break-word;
7047}
7048.jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
7049 color: #a28918 !important;
7050}
7051.jnotify-container .jnotify-close {
7052 top: 4px !important;
7053 font-size: 1.6em !important;
7054}
7055
7056/* use or not ? */
7057div.jnotify-background {
7058 opacity : 0.95 !important;
7059 box-shadow: 2px 2px 4px #8888 !important;
7060}
7061
7062/* jnotify for the login page */
7063.bodylogin .jnotify-container {
7064 position: fixed;
7065 top: 0;
7066 left: 0;
7067 width: 100%;
7068 z-index: 100000;
7069 max-width: unset;
7070 padding-left: unset !important;
7071 padding-right: unset !important;
7072 padding-top: unset !important;
7073}
7074.bodylogin .jnotify-container .jnotify-notification {
7075 margin: unset !important;
7076}
7077.bodylogin .jnotify-container .jnotify-notification .jnotify-background {
7078 border-radius: unset !important;
7079}
7080.bodylogin .jnotify-container .jnotify-notification .jnotify-message {
7081 text-align: center;
7082 font-size: 1.1em;
7083 font-weight: bold;
7084}
7085
7086
7087/* ============================================================================== */
7088/* blockUI */
7089/* ============================================================================== */
7090
7091/*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
7092div.dolEventValid h1, div.dolEventValid h2 {
7093 color: #567b1b;
7094 background-color: #e3f0db;
7095 padding: 5px 5px 5px 5px;
7096 text-align: left;
7097}
7098div.dolEventError h1, div.dolEventError h2 {
7099 color: #a72947;
7100 background-color: #d79eac;
7101 padding: 5px 5px 5px 5px;
7102 text-align: left;
7103}
7104
7105/* ============================================================================== */
7106/* Maps */
7107/* ============================================================================== */
7108
7109.divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
7110}
7111
7112
7113/* ============================================================================== */
7114/* Datatable */
7115/* ============================================================================== */
7116
7117table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
7118 background: none !important;
7119}
7120.sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
7121.sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
7122.sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
7123.sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
7124.dataTables_paginate {
7125 margin-top: 8px;
7126}
7127.paginate_button_disabled {
7128 opacity: 1 !important;
7129 color: #888 !important;
7130 cursor: default !important;
7131}
7132.paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
7133{
7134 font-weight: normal;
7135}
7136.paginate_enabled_previous:hover, .paginate_enabled_next:hover
7137{
7138 text-decoration: underline !important;
7139}
7140.paginate_active
7141{
7142 text-decoration: underline !important;
7143}
7144.paginate_button
7145{
7146 font-weight: normal !important;
7147 text-decoration: none !important;
7148}
7149.paging_full_numbers {
7150 height: inherit !important;
7151}
7152.paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
7153 background-color: var(--colorbackbody) !important;
7154}
7155.paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
7156 background-color: var(--colorbackbody) !important;
7157 border-radius: inherit !important;
7158}
7159.paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
7160 background-color: var(--colorbackbody) !important;
7161}
7162.paginate_button, .paginate_active {
7163 border: 1px solid #ddd !important;
7164 padding: 6px 12px !important;
7165 margin-left: -1px !important;
7166 line-height: 1.42857143 !important;
7167 margin: 0 0 !important;
7168}
7169
7170/* For jquery plugin combobox */
7171/* Disable this. It breaks wrapping of boxes
7172.ui-corner-all { white-space: nowrap; } */
7173
7174.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
7175 opacity: .35;
7176 background-image: none;
7177}
7178
7179div.dataTables_length {
7180 float: right !important;
7181 padding-left: 8px;
7182}
7183div.dataTables_length select {
7184 background: #fff;
7185}
7186.dataTables_wrapper .dataTables_paginate {
7187 padding-top: 0px !important;
7188}
7189
7190
7191/* ============================================================================== */
7192/* Select2 */
7193/* ============================================================================== */
7194
7195.heightofcombo {
7196 height: 28px;
7197}
7198.select2-container .select2-selection--single {
7199 height: 28px;
7200}
7201
7202span.select2-selection--single.flat[aria-disabled="true"] span.select2-selection__rendered {
7203 opacity: 0.5;
7204}
7205
7206.select2-container--default .select2-results__option--highlighted[aria-selected] {
7207 background-color: var(--colorbackhmenu1);
7208 color: var(--colortextbackhmenu);
7209}
7210.select2-container--default .select2-results__option--highlighted[aria-selected] span {
7211 color: #fff !important;
7212}
7213
7214span.select2.select2-container.select2-container--default {
7215 text-align: initial;
7216 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7217 border-left: none;
7218 border-top: none;
7219 border-right: none;
7220 /*border-bottom: solid 1px var(--inputbordercolor);*/
7221 <?php } ?>
7222}
7223
7224input.select2-input {
7225 border-bottom: none ! important;
7226}
7227.select2-choice {
7228 border: none;
7229 border-bottom: solid 1px var(--inputbordercolor) !important; /* required to avoid to lose bottom line when focus is lost on select2. */
7230}
7231.select2-results .select2-highlighted.optionblue {
7232 color: #FFF !important;
7233}
7234.select2-container .select2-selection--multiple {
7235 min-height: 2em !important;
7236}
7237.tableforfield .select2-container .select2-selection--single {
7238 height: 25px;
7239}
7240
7241.select2-container--default .select2-selection--multiple .select2-selection__choice {
7242 border: none;
7243}
7244.select2-container--focus span.select2-selection.select2-selection--single {
7245 border-bottom: 1px solid var(--inputbordercolor) !important;
7246 border-bottom-left-radius: 0;
7247 border-bottom-right-radius: 0;
7248}
7249
7250.blockvmenusearch .select2-container--default .select2-selection--single,
7251.blockvmenubookmarks .select2-container--default .select2-selection--single
7252{
7253 background-color: var(--colorbackvmenu1);
7254}
7255.select2-container--default .select2-selection--single {
7256 background-color: var(--inputbackgroundcolor);
7257}
7258#blockvmenusearch .select2-container--default .select2-selection--single .select2-selection__placeholder {
7259 color: var(--colortextbackvmenu);
7260}
7261.select2-container--default .select2-selection--single .select2-selection__rendered {
7262 color: var(--colortext);
7263 /* background-color: var(--inputbackgroundcolor); */
7264}
7265.select2-default {
7266 color: #999 !important;
7267}
7268.select2-choice, .select2-container .select2-choice {
7269 border-bottom: solid 1px rgba(0,0,0,.4);
7270}
7271.select2-container .select2-choice > .select2-chosen {
7272 margin-right: 23px;
7273}
7274.select2-container .select2-choice .select2-arrow {
7275 border-radius: 0;
7276 background: transparent;
7277}
7278.select2-container-multi .select2-choices {
7279 background-image: none;
7280}
7281.select2-container .select2-choice {
7282 color: var(--colortext);
7283 border-radius: 0;
7284}
7285.selectoptiondisabledwhite {
7286 background: #FFFFFF !important;
7287}
7288.select2-arrow {
7289 border: none;
7290 border-left: none !important;
7291 background: none !important;
7292}
7293.select2-choice
7294{
7295 border-top: none !important;
7296 border-left: none !important;
7297 border-right: none !important;
7298}
7299.select2-drop.select2-drop-above {
7300 box-shadow: none !important;
7301}
7302.select2-container--open .select2-dropdown--above {
7303 border-bottom: solid 1px var(--inputbordercolor);
7304}
7305.select2-drop.select2-drop-above.select2-drop-active {
7306 border-top: 1px solid #ccc;
7307 border-bottom: solid 1px var(--inputbordercolor);
7308}
7309.select2-container--default .select2-selection--single
7310{
7311 outline: none;
7312 <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
7313 border-top: none;
7314 border-left: none;
7315 border-right: none;
7316 <?php } ?>
7317
7318 border<?php echo !getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
7319
7320 box-shadow: none !important;
7321 border-radius: 3px;
7322}
7323.select2-container--focus .select2-container--default .select2-selection--single {
7324 border-bottom-left-radius: 0;
7325 border-bottom-right-radius: 0;
7326}
7327.select2-container--default.select2-container--focus .select2-selection--multiple {
7328 border-top: none;
7329 border-left: none;
7330 border-right: none;
7331 border-bottom-left-radius: 0;
7332 border-bottom-right-radius: 0;
7333}
7334.select2-container--default .select2-selection--multiple {
7335 border-bottom: solid 1px var(--inputbordercolor);
7336 border-top: none;
7337 border-left: none;
7338 border-right: none;
7339 border-radius: 3px;
7340 background: var(--inputbackgroundcolor);
7341 line-height: normal;
7342}
7343.select2-container--default .select2-selection--multiple .select2-selection__rendered {
7344 line-height: 1.4em;
7345}
7346.select2-container--default .select2-selection--multiple .select2-selection__choice {
7347 background-color: #ddd;
7348 margin-top: 0.25em !important;
7349}
7350.select2-selection--multiple input.select2-search__field {
7351 border-bottom: none !important;
7352}
7353
7354.select2-search__field
7355{
7356 outline: none;
7357 border-top: none !important;
7358 border-left: none !important;
7359 border-right: none !important;
7360 border-bottom: solid 1px var(--inputbordercolor) !important;
7361 box-shadow: none !important;
7362 border-radius: 0 !important;
7363 /* color: black; */
7364}
7365.select2-container-active .select2-choice, .select2-container-active .select2-choices
7366{
7367 outline: none;
7368 border-top: none;
7369 border-left: none;
7370 border-bottom: none;
7371 box-shadow: none !important;
7372}
7373.select2-dropdown {
7374 /*background-color: var(--colorbackvmenu1);
7375 border: 1px solid var(--colorbackvmenu1); */
7376 box-shadow: 1px 2px 10px #8884;
7377 background-color: var(--colorbackbody);
7378 color: var(--colortext);
7379}
7380.select2-dropdown-open {
7381 background-color: var(--colorbackvmenu1);
7382}
7383.select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
7384{
7385 outline: none;
7386 border-top: none;
7387 border-left: none;
7388 border-bottom: none;
7389 box-shadow: none !important;
7390 background-color: var(--colorbackvmenu1);
7391}
7392.select2-disabled
7393{
7394 color: #888;
7395}
7396.select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
7397 border-radius: 0;
7398}
7399.select2-drop.select2-drop-above {
7400 border-radius: 0;
7401}
7402.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
7403 background-image: none;
7404 border-radius: 0 !important;
7405}
7406div.select2-drop-above
7407{
7408 background: var(--colorbackvmenu1);
7409 box-shadow: none !important;
7410}
7411.select2-drop-active
7412{
7413 border: 1px solid #ccc;
7414 padding-top: 4px;
7415}
7416.select2-search input {
7417 border: none;
7418}
7419a span.select2-chosen
7420{
7421 font-weight: normal !important;
7422}
7423.select2-container .select2-choice {
7424 background-image: none;
7425 /* line-height: 24px; */
7426}
7427.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
7428{
7429 background: var(--colorbackvmenu1);
7430}
7431.select2-results {
7432 max-height: 400px;
7433}
7434.select2-results__option {
7435 word-break: break-word;
7436 text-align: <?php echo $left; ?>;
7437}
7438.select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
7439 background-color: var(--colorbackvmenu1);
7440 background-image: none;
7441 border: none;
7442 cursor: default;
7443}
7444.select2-container-disabled .select2-choice .select2-arrow b {
7445 opacity: 0.4;
7446}
7447.select2-container-multi .select2-choices .select2-search-choice {
7448 margin-bottom: 3px;
7449}
7450.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
7451.select2-container-multi.select2-container-active .select2-choices
7452{
7453 border-bottom: 1px solid #ccc;
7454 border-right: none;
7455 border-top: none;
7456 border-left: none;
7457
7458}
7459.select2-container--default .select2-results>.select2-results__options{
7460 max-height: 400px;
7461}
7462
7463/* special case for some select2 component */
7464
7465.selecttype span.select2-dropdown.ui-dialog {
7466 min-width: 200px;
7467}
7468span#select2-taskid-container[title^='--'] {
7469 opacity: 0.3;
7470}
7471
7472/* Special case for the select2 add widget */
7473
7474#addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
7475 text-align: <?php echo $left; ?>;
7476 opacity: 0.4;
7477}
7478.select2-container--default .select2-selection--single .select2-selection__placeholder {
7479 color: var(--colortext);
7480 opacity: 0.4;
7481}
7482span#select2-boxbookmark-container, span#select2-boxcombo-container {
7483 text-align: <?php echo $left; ?>;
7484}
7485span#select2-boxbookmark-container {
7486 opacity: 0.4;
7487}
7488.select2-container .select2-selection--single .select2-selection__rendered {
7489 padding-left: 6px;
7490}
7491/* Style used before the select2 js is executed on boxcombo */
7492#boxbookmark.boxcombo, #boxcombo.boxcombo {
7493 text-align: left;
7494 opacity: 0.4;
7495 border-bottom: solid 1px rgba(0,0,0,.4) !important;
7496 height: 26px;
7497 line-height: 24px;
7498 padding: 0 0 2px 0;
7499 vertical-align: top;
7500}
7501
7502/* To emulate select 2 style */
7503.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
7504 padding: 3px 5px 3px 5px;
7505 margin: 0 0 2px 3px;
7506 position: relative;
7507 /* line-height: 1em; */
7508 color: #333;
7509 cursor: default;
7510 border: 1px solid #aaaaaa;
7511 border-radius: 3px;
7512 box-shadow: 0 0 2px var(--inputbackgroundcolor) inset, 0 1px 0 rgba(0, 0, 0, 0.05);
7513 background-clip: padding-box;
7514 -webkit-touch-callout: none;
7515 -webkit-user-select: none;
7516 -moz-user-select: none;
7517 -ms-user-select: none;
7518 user-select: none;
7519 background-color: var(--inputbackgroundcolor);
7520 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));
7521 background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7522 background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7523 background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
7524}
7525.mytooltip .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
7526 padding: 1px 3px 1px 3px;
7527}
7528.select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
7529 font-weight: normal;
7530}
7531.select2-container-multi-dolibarr .select2-choices-dolibarr li {
7532 float: <?php echo $left; ?>;
7533 list-style: none;
7534}
7535.select2-container-multi-dolibarr .select2-choices-dolibarr {
7536 height: auto !important;
7537 height: 1%;
7538 margin: 0;
7539 padding: 0 5px 0 0;
7540 position: relative;
7541 cursor: text;
7542 overflow: hidden;
7543}
7544.select2-results__option {
7545 padding: 8px;
7546}
7547span.select2-dropdown--below {
7548 margin-top: -1px;
7549 min-width: 100px;
7550}
7551span.select2-dropdown--above {
7552 margin-bottom: -1px;
7553 min-width: 100px;
7554}
7555
7556.parentonrightofpage {
7557 direction: rtl;
7558}
7559
7560select.multiselectononeline {
7561 padding: 0;
7562 vertical-align: middle;
7563 min-height: unset;
7564 height: 2.2em !important;
7565 opacity: 0;
7566 /* width: 1px !important; */
7567}
7568
7569@media only screen and (min-width: 768px)
7570{
7571 /* CSS to have the dropdown boxes larger that the input search area */
7572 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown.ui-dialog {
7573 min-width: 230px !important;
7574 }
7575 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown--below:not(.onrightofpage),
7576 .select2-container.select2-container--open:not(.graphtype, .limit, .combolargeelem):not(.yesno) .select2-dropdown--above:not(.onrightofpage) {
7577 min-width: 230px !important;
7578 }
7579 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
7580 .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above {
7581 min-width: 140px !important;
7582 }
7583 .combolargeelem.select2-container.select2-container--open .select2-dropdown.ui-dialog {
7584 min-width: 320px !important;
7585 }
7586
7587 .select2-container--open .select2-dropdown--below {
7588 border-top: 1px solid var(--inputbordercolor);
7589 /* border-top: 1px solid #aaaaaa; */
7590 }
7591}
7592
7593/* must be after the other .select2-container.select2-container--open .select2-dropdown.ui-dialog */
7594.limit.select2-container.select2-container--open .select2-dropdown.ui-dialog {
7595 min-width: 100px !important;
7596}
7597
7598
7599/* ============================================================================== */
7600/* For categories */
7601/* ============================================================================== */
7602
7603.noborderoncategories {
7604 border: none !important;
7605 border-radius: 5px !important;
7606 box-shadow: none;
7607 box-shadow: none !important;
7608 margin-top: 1px !important;
7609 margin-bottom: 0 !important;
7610}
7611span.noborderoncategories a, li.noborderoncategories a {
7612 line-height: normal;
7613 /* vertical-align: top; */
7614}
7615span.noborderoncategories {
7616 padding: 3px 5px 3px 5px;
7617 display: inline-block;
7618}
7619.categtextwhite, .treeview .categtextwhite.hover {
7620 color: #fff !important;
7621}
7622.categtextblack {
7623 color: #000 !important;
7624}
7625
7626
7627/* ============================================================================== */
7628/* External lib multiselect with checkbox */
7629/* ============================================================================== */
7630
7631.multi-select-menu {
7632 z-index: 10;
7633}
7634
7635.multi-select-container {
7636 display: inline-block;
7637 position: relative;
7638}
7639
7640.multi-select-menu {
7641 position: absolute;
7642 left: 0;
7643 top: 0.8em;
7644 float: left;
7645 min-width: 100%;
7646 background: var(--inputbackgroundcolor);
7647 margin: 1em 0;
7648 padding: 0.4em 0;
7649 border: 1px solid #aaa;
7650 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
7651 display: none;
7652}
7653
7654div.multi-select-menu[role="menu"] {
7655 min-width: 220px !important;
7656}
7657
7658.multi-select-menu input {
7659 margin-right: 0.3em;
7660 /* vertical-align: 0.1em; */
7661}
7662
7663.multi-select-button {
7664 display: inline-block;
7665 max-width: 20em;
7666 white-space: nowrap;
7667 overflow: hidden;
7668 text-overflow: ellipsis;
7669 vertical-align: middle;
7670 background-color: var(--inputbackgroundcolor);
7671 cursor: default;
7672
7673 border: none;
7674 border-bottom: solid 1px var(--inputbordercolor);
7675 padding: 5px;
7676 padding-left: 6px;
7677 height: 17px;
7678 border-radius: 3px;
7679
7680 text-align: start;
7681}
7682.multi-select-button:focus {
7683 outline: none;
7684 border-bottom: 1px solid #666;
7685 border-bottom-left-radius: 0;
7686 border-bottom-right-radius: 0;
7687}
7688
7689.multi-select-button:after {
7690 content: "";
7691 display: inline-block;
7692 width: 0;
7693 height: 0;
7694 border-style: solid;
7695 border-width: 0.4em 0.3em 0em 0.3em;
7696 border-color: #888 transparent transparent transparent;
7697 margin-left: 0.4em;
7698 position: absolute;
7699 right: 10px;
7700 top: 12px;
7701}
7702
7703.multi-select-container--open .multi-select-menu { display: block; }
7704
7705.multi-select-container--open .multi-select-button:after {
7706 border-width: 0 0.4em 0.4em 0.4em;
7707 border-color: transparent transparent #888 transparent;
7708}
7709
7710.multi-select-menuitem {
7711 clear: both;
7712 float: left;
7713 padding-left: 10px;
7714}
7715label.multi-select-menuitem {
7716 line-height: 32px;
7717 text-align: start;
7718}
7719
7720
7721/* ============================================================================== */
7722/* Native multiselect with checkbox */
7723/* ============================================================================== */
7724
7725ul.ulselectedfields {
7726 z-index: 95; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
7727}
7728dl.dropdown {
7729 margin:0px;
7730 margin-left: 2px;
7731 margin-right: 2px;
7732 padding:0px;
7733 vertical-align: middle;
7734 display: inline-block;
7735}
7736.dropdown dd, .dropdown dt {
7737 margin:0px;
7738 padding:0px;
7739}
7740.dropdown ul {
7741 margin: -1px 0 0 0;
7742 text-align: <?php echo $left; ?>;
7743}
7744.dropdown dd {
7745 position:relative;
7746}
7747.dropdown dt a {
7748 display:block;
7749 overflow: hidden;
7750 border:0;
7751}
7752.dropdown dt a span, .multiSel span {
7753 cursor:pointer;
7754 display:inline-block;
7755 padding: 0 3px 2px 0;
7756}
7757.maxwidthsearch .dropdown dt a span, .multiSel span {
7758 padding: 3px 3px 2px 3px;
7759}
7760.dropdown span.value {
7761 display:none;
7762}
7763.dropdown dd ul {
7764 background-color: var(--inputbackgroundcolor);
7765 box-shadow: 1px 1px 10px #aaa;
7766 display:none;
7767 <?php echo $right; ?>:0px; /* pop is align on right */
7768 padding: 0 0 0 0;
7769 position:absolute;
7770 top:2px;
7771 list-style:none;
7772 max-height: 264px;
7773 overflow: auto;
7774 border-radius: 4px;
7775 z-index: 1;
7776}
7777.dropdown dd ul.selectedfieldsleft {
7778 <?php echo $right; ?>: auto;
7779}
7780.dropdown dd ul li {
7781 white-space: nowrap;
7782 font-weight: normal;
7783 padding: 7px 8px 7px 8px;
7784 /* color: var(--colortext); */
7785 color: var(--colortext);
7786}
7787
7788dropdown dd ul li:hover:not(.linputsearch) {
7789 background: #eee;
7790}
7791.dropdown dd ul li input[type="checkbox"] {
7792 margin-<?php echo $right; ?>: 3px;
7793}
7794.dropdown dd ul li a, .dropdown dd ul li span {
7795 padding: 3px;
7796}
7797.dropdown dd ul li a {
7798 display: block;
7799}
7800.dropdown dd ul li span {
7801 color: #888;
7802}
7803/*.dropdown dd ul li a:hover {
7804 background-color: var(--inputbackgroundcolor);
7805}*/
7806dd.dropdowndd ul li {
7807 text-overflow: ellipsis;
7808 overflow: hidden;
7809 white-space: nowrap;
7810}
7811
7812/* ============================================================================== */
7813/* Kanban */
7814/* ============================================================================== */
7815
7816.info-box-label {
7817 max-width: 180px;
7818 overflow: hidden;
7819 text-overflow: ellipsis;
7820 white-space: nowrap;
7821}
7822
7823div.kanban.column div.ui-sortable-helper {
7824 transform: rotate(4deg);
7825}
7826
7827/* ============================================================================== */
7828/* Markdown rendering */
7829/* ============================================================================== */
7830
7831.imgmd {
7832 width: 90%;
7833}
7834.moduledesclong h1 {
7835 padding-top: 10px;
7836 padding-bottom: 20px;
7837}
7838
7839
7840/* ============================================================================== */
7841/* JMobile - Android */
7842/* ============================================================================== */
7843
7844.searchpage .tagtr .tagtd {
7845 padding-top: 2px;
7846 padding-bottom: 2px;
7847}
7848.searchpage .tagtr .tagtd .button {
7849 background: unset;
7850 border: unset;
7851}
7852.searchpage .searchform input {
7853 font-size: 1.15em;
7854}
7855
7856
7857li.ui-li-divider .ui-link {
7858 color: #FFF !important;
7859}
7860.ui-btn {
7861 margin: 0 2px;
7862}
7863a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
7864 text-decoration: none !important;
7865}
7866.ui-body-c {
7867 background: #fff;
7868}
7869
7870.ui-btn-inner {
7871 min-width: .4em;
7872 padding-left: 6px;
7873 padding-right: 6px;
7874 font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
7875 /* white-space: normal; */ /* Warning, enable this break the truncate feature */
7876}
7877.ui-btn-icon-right .ui-btn-inner {
7878 padding-right: 30px;
7879}
7880.ui-btn-icon-left .ui-btn-inner {
7881 padding-left: 30px;
7882}
7883.ui-select .ui-btn-icon-right .ui-btn-inner {
7884 padding-right: 30px;
7885}
7886.ui-select .ui-btn-icon-left .ui-btn-inner {
7887 padding-left: 30px;
7888}
7889.ui-select .ui-btn-icon-right .ui-icon {
7890 right: 8px;
7891}
7892.ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
7893 margin-top: -10px;
7894}
7895select {
7896 /* display: inline-block; */ /* We can't set this. This disable ability to make */
7897 overflow:hidden;
7898 white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
7899 text-overflow: ellipsis;
7900}
7901.fiche .ui-controlgroup {
7902 margin: 0px;
7903 padding-bottom: 0px;
7904}
7905div.ui-controlgroup-controls div.tabsElem
7906{
7907 margin-top: 2px;
7908}
7909div.ui-controlgroup-controls div.tabsElem a
7910{
7911 box-shadow: 0 -3px 6px rgba(0,0,0,.2);
7912}
7913div.ui-controlgroup-controls div.tabsElem a#active {
7914 box-shadow: 0 -3px 6px rgba(0,0,0,.3);
7915}
7916
7917a.tab span.ui-btn-inner
7918{
7919 border: none;
7920 padding: 0;
7921}
7922
7923.ui-link {
7924 color: var(--colortext);
7925}
7926.liste_titre .ui-link {
7927 color: var(--colortexttitle) !important;
7928}
7929
7930a.ui-link {
7931 word-wrap: break-word;
7932}
7933
7934/* force wrap possible onto field overflow does not works */
7935.formdoc .ui-btn-inner
7936{
7937 white-space: normal;
7938 overflow: hidden;
7939 text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
7940}
7941
7942/* Warning: setting this may make screen not being refreshed after a combo selection */
7943/*.ui-body-c {
7944 background: #fff;
7945}*/
7946
7947div.ui-radio, div.ui-checkbox
7948{
7949 display: inline-block;
7950 border-bottom: 0px !important;
7951}
7952.ui-checkbox input, .ui-radio input {
7953 height: auto;
7954 width: auto;
7955 margin: 4px;
7956 position: static;
7957}
7958div.ui-checkbox label+input, div.ui-radio label+input {
7959 position: absolute;
7960}
7961.ui-mobile fieldset
7962{
7963 padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
7964}
7965
7966ul.ulmenu {
7967 border-radius: 0;
7968}
7969
7970.ui-field-contain label.ui-input-text {
7971 vertical-align: middle !important;
7972}
7973.ui-mobile fieldset {
7974 border-bottom: none !important;
7975}
7976
7977/* Style for first level menu with jmobile */
7978.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
7979 padding: 1em 15px;
7980 display: block;
7981}
7982.ui-btn-up-c {
7983 font-weight: normal;
7984}
7985.ui-focus, .ui-btn:focus {
7986 box-shadow: none;
7987}
7988.ui-bar-b {
7989 /*border: 1px solid #888;*/
7990 border: none;
7991 background: none;
7992 text-shadow: none;
7993 color: var(--colortexttitlenotab) !important;
7994}
7995.ui-bar-b, .lilevel0 {
7996 background-repeat: repeat-x;
7997 border: none;
7998 background: none;
7999 text-shadow: none;
8000 color: var(--colortexttitlenotab) !important;
8001}
8002.alilevel0 {
8003 font-weight: normal !important;
8004}
8005
8006.ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
8007 border-bottom-width: 0px !important;
8008}
8009.alilevel0 {
8010 color: var(--colortexttitle) !important;
8011 background: var(--colorbackmobilemenu);
8012}
8013.ulmenu {
8014 box-shadow: none !important;
8015 border-bottom: 1px solid #ccc;
8016}
8017.ui-btn-icon-right {
8018 border-right: 1px solid #ccc !important;
8019}
8020.ui-body-c {
8021 border: 1px solid #ccc;
8022 text-shadow: none;
8023}
8024.ui-btn-up-c, .ui-btn-hover-c {
8025 /* border: 1px solid #ccc; */
8026 text-shadow: none;
8027}
8028.ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
8029 color: var(--colortextlink);
8030}
8031.ui-btn-up-c .vsmenudisabled {
8032 color: #<?php echo $colorshadowtitle; ?> !important;
8033 text-shadow: none !important;
8034}
8035div.tabsElem a.tab {
8036 background: transparent;
8037}
8038.alilevel1 {
8039 color: var(--colortexttitlenotab) !important;
8040}
8041.lilevel1 {
8042 border-top: 2px solid #444;
8043 background: #fff ! important;
8044}
8045.lilevel1 div div a {
8046 font-weight: bold !important;
8047}
8048.lilevel2
8049{
8050 padding-left: 22px;
8051 background: #fff ! important;
8052}
8053.lilevel3
8054{
8055 padding-left: 44px;
8056 background: #fff ! important;
8057 font-size: 0.9em;
8058}
8059.lilevel4
8060{
8061 padding-left: 66px;
8062 background: #fff ! important;
8063 font-size: 0.9em;
8064}
8065.lilevel5
8066{
8067 padding-left: 88px;
8068 background: #fff ! important;
8069 font-size: 0.9em;
8070}
8071
8072
8073
8074/* ============================================================================== */
8075/* POS */
8076/* ============================================================================== */
8077
8078.menu_choix1,.menu_choix2 {
8079 font-size: 1.4em;
8080 text-align: left;
8081 border: 1px solid #666;
8082 margin-right: 20px;
8083}
8084.menu_choix1 a, .menu_choix2 a {
8085 display: block;
8086 color: #fff;
8087 text-decoration: none;
8088 padding-top: 18px;
8089 padding-left: 10px;
8090 font-size: 14px;
8091 height: 38px;
8092}
8093.menu_choix1 a:hover,.menu_choix2 a:hover {
8094 color: #6d3f6d;
8095}
8096.menu li.menu_choix1 {
8097 padding-top: 6px;
8098 padding-right: 10px;
8099 padding-bottom: 2px;
8100}
8101.menu li.menu_choix2 {
8102 padding-top: 6px;
8103 padding-right: 10px;
8104 padding-bottom: 2px;
8105}
8106@media only screen and (max-width: 768px)
8107{
8108 .menu_choix1 a, .menu_choix2 a {
8109 background-size: 36px 36px;
8110 height: 30px;
8111 padding-left: 40px;
8112 }
8113 .menu li.menu_choix1, .menu li.menu_choix2 {
8114 padding-left: 4px;
8115 padding-right: 0;
8116 }
8117 .liste_articles {
8118 margin-right: 0 !important;
8119 }
8120}
8121
8122
8123/* ============================================================================== */
8124/* Public */
8125/* ============================================================================== */
8126
8127/* The theme for public pages */
8128.public_body {
8129 margin: 20px;
8130}
8131.public_border {
8132 border: 1px solid #888;
8133}
8134.publicnewmemberform div.tabBarWithBottom {
8135 border: 2px solid #e8e8e8;
8136 padding: 30px;
8137 border-radius: 8px;
8138 /* background-color: var(--colorbackgrey); */
8139 box-shadow: 2px 2px 10px #ddd;
8140}
8141
8142.publicnewmemberform #tablesubscribe {
8143 color: var(--colortextbackvmenu);
8144}
8145
8146@media only screen and (max-width: 768px)
8147{
8148 .publicnewmemberform div.tabBarWithBottom {
8149 padding: 10px;
8150 }
8151}
8152
8153
8154/* ============================================================================== */
8155/* Ticket module */
8156/* ============================================================================== */
8157
8158#KWwithajax ul {
8159 padding-left: 20px;
8160}
8161
8162.ticketpublictable td {
8163 height: 2.2em;
8164}
8165
8166.ticketpublicarea {
8167 margin-left: 15%;
8168 margin-right: 15%;
8169}
8170.publicnewticketform {
8171 /* margin-top: 25px !important; */
8172}
8173.ticketlargemargin {
8174 padding-left: 50px;
8175 padding-right: 50px;
8176 padding-top: 30px;
8177}
8178@media only screen and (max-width: 768px)
8179{
8180 .ticketlargemargin {
8181 padding-left: 5px; padding-right: 5px;
8182 padding-top: 10px;
8183 }
8184 .ticketpublicarea {
8185 margin-left: 10px;
8186 margin-right: 10px;
8187 }
8188}
8189
8190#cd-timeline {
8191 position: relative;
8192 padding: 2em 0;
8193 margin-bottom: 2em;
8194}
8195#cd-timeline::before {
8196 /* this is the vertical line */
8197 content: '';
8198 position: absolute;
8199 top: 0;
8200 left: 18px;
8201 height: 100%;
8202 width: 4px;
8203 background: #d7e4ed;
8204}
8205@media only screen and (min-width: 1170px) {
8206 #cd-timeline {
8207 margin-bottom: 3em;
8208 }
8209 #cd-timeline::before {
8210 left: 50%;
8211 margin-left: -2px;
8212 }
8213}
8214
8215.cd-timeline-block {
8216 position: relative;
8217 margin: 2em 0;
8218}
8219.cd-timeline-block:after {
8220 content: "";
8221 display: table;
8222 clear: both;
8223}
8224.cd-timeline-block:first-child {
8225 margin-top: 0;
8226}
8227.cd-timeline-block:last-child {
8228 margin-bottom: 0;
8229}
8230@media only screen and (min-width: 1170px) {
8231 .cd-timeline-block {
8232 margin: 4em 0;
8233 }
8234 .cd-timeline-block:first-child {
8235 margin-top: 0;
8236 }
8237 .cd-timeline-block:last-child {
8238 margin-bottom: 0;
8239 }
8240}
8241
8242.cd-timeline-img {
8243 position: absolute;
8244 top: 0;
8245 left: 0;
8246 width: 40px;
8247 height: 40px;
8248 border-radius: 50%;
8249 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);
8250 background: #d7e4ed;
8251}
8252.cd-timeline-img img {
8253 display: block;
8254 width: 24px;
8255 height: 24px;
8256 position: relative;
8257 left: 50%;
8258 top: 50%;
8259 margin-left: -12px;
8260 margin-top: -12px;
8261}
8262.cd-timeline-img.cd-picture {
8263 background: #75ce66;
8264}
8265.cd-timeline-img.cd-movie {
8266 background: #c03b44;
8267}
8268.cd-timeline-img.cd-location {
8269 background: #f0ca45;
8270}
8271@media only screen and (min-width: 1170px) {
8272 .cd-timeline-img {
8273 width: 60px;
8274 height: 60px;
8275 left: 50%;
8276 margin-left: -30px;
8277 /* Force Hardware Acceleration in WebKit */
8278 -webkit-transform: translateZ(0);
8279 -webkit-backface-visibility: hidden;
8280 }
8281 .cssanimations .cd-timeline-img.is-hidden {
8282 visibility: hidden;
8283 }
8284 .cssanimations .cd-timeline-img.bounce-in {
8285 visibility: visible;
8286 -webkit-animation: cd-bounce-1 0.6s;
8287 -moz-animation: cd-bounce-1 0.6s;
8288 animation: cd-bounce-1 0.6s;
8289 }
8290}
8291
8292@-webkit-keyframes cd-bounce-1 {
8293 0% {
8294 opacity: 0;
8295 -webkit-transform: scale(0.5);
8296 }
8297
8298 60% {
8299 opacity: 1;
8300 -webkit-transform: scale(1.2);
8301 }
8302
8303 100% {
8304 -webkit-transform: scale(1);
8305 }
8306}
8307@-moz-keyframes cd-bounce-1 {
8308 0% {
8309 opacity: 0;
8310 -moz-transform: scale(0.5);
8311 }
8312
8313 60% {
8314 opacity: 1;
8315 -moz-transform: scale(1.2);
8316 }
8317
8318 100% {
8319 -moz-transform: scale(1);
8320 }
8321}
8322@keyframes cd-bounce-1 {
8323 0% {
8324 opacity: 0;
8325 -webkit-transform: scale(0.5);
8326 -moz-transform: scale(0.5);
8327 -ms-transform: scale(0.5);
8328 -o-transform: scale(0.5);
8329 transform: scale(0.5);
8330 }
8331
8332 60% {
8333 opacity: 1;
8334 -webkit-transform: scale(1.2);
8335 -moz-transform: scale(1.2);
8336 -ms-transform: scale(1.2);
8337 -o-transform: scale(1.2);
8338 transform: scale(1.2);
8339 }
8340
8341 100% {
8342 -webkit-transform: scale(1);
8343 -moz-transform: scale(1);
8344 -ms-transform: scale(1);
8345 -o-transform: scale(1);
8346 transform: scale(1);
8347 }
8348}
8349.cd-timeline-content {
8350 position: relative;
8351 margin-left: 60px;
8352 background: white;
8353 border-radius: 0.25em;
8354 padding: 1em;
8355 background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8356 background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8357 background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8358 background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
8359}
8360.cd-timeline-content:after {
8361 content: "";
8362 display: table;
8363 clear: both;
8364}
8365.cd-timeline-content h2 {
8366 color: #303e49;
8367}
8368.cd-timeline-content .cd-date {
8369 font-size: 13px;
8370 font-size: 0.8125rem;
8371}
8372.cd-timeline-content .cd-date {
8373 display: inline-block;
8374}
8375.cd-timeline-content p {
8376 margin: 1em 0;
8377 line-height: 1.6;
8378}
8379
8380.cd-timeline-content .cd-date {
8381 float: left;
8382 padding: .2em 0;
8383 opacity: .7;
8384}
8385.cd-timeline-content::before {
8386 content: '';
8387 position: absolute;
8388 top: 16px;
8389 right: 100%;
8390 height: 0;
8391 width: 0;
8392 border: 7px solid transparent;
8393 border-right: 7px solid white;
8394}
8395@media only screen and (min-width: 768px) {
8396 .cd-timeline-content h2 {
8397 font-size: 20px;
8398 font-size: 1.25rem;
8399 }
8400 .cd-timeline-content {
8401 font-size: 16px;
8402 font-size: 1rem;
8403 }
8404 .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
8405 font-size: 14px;
8406 font-size: 0.875rem;
8407 }
8408}
8409@media only screen and (min-width: 1170px) {
8410 .cd-timeline-content {
8411 margin-left: 0;
8412 padding: 1.6em;
8413 width: 43%;
8414 }
8415 .cd-timeline-content::before {
8416 top: 24px;
8417 left: 100%;
8418 border-color: transparent;
8419 border-left-color: white;
8420 }
8421 .cd-timeline-content .cd-read-more {
8422 float: left;
8423 }
8424 .cd-timeline-content .cd-date {
8425 position: absolute;
8426 width: 55%;
8427 left: 115%;
8428 top: 6px;
8429 font-size: 16px;
8430 font-size: 1rem;
8431 }
8432 .cd-timeline-block:nth-child(even) .cd-timeline-content {
8433 float: right;
8434 }
8435 .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
8436 top: 24px;
8437 left: auto;
8438 right: 100%;
8439 border-color: transparent;
8440 border-right-color: white;
8441 }
8442 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
8443 float: right;
8444 }
8445 .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
8446 left: auto;
8447 right: 115%;
8448 text-align: right;
8449 }
8450
8451}
8452
8453
8454/* ============================================================================== */
8455/* CSS style for debugbar */
8456/* ============================================================================== */
8457
8458div.phpdebugbar * {
8459 font-weight: unset;
8460}
8461span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
8462 width: 250px !important;
8463}
8464.phpdebugbar-indicator span.phpdebugbar-tooltip {
8465 opacity: .95 !important;
8466}
8467a.phpdebugbar-tab.phpdebugbar-active {
8468 background-image: unset !important;
8469}
8470.phpdebugbar-fa-tags:before {
8471 content: "\f121";
8472 font-weight: 600 !important;
8473}
8474.phpdebugbar-fa-tasks:before {
8475 content: "\f550";
8476 font-weight: 600 !important;
8477}
8478.phpdebugbar-fa-tags, .phpdebugbar-fa-tasks, .phpdebugbar-indicator .fa {
8479 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
8480 font-weight: 600;
8481}
8482div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
8483div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
8484div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
8485div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
8486div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
8487div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
8488div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
8489div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
8490div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
8491div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
8492div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
8493div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
8494div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
8495div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
8496{
8497 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>" !important;
8498}
8499
8500/* ============================================================================== */
8501/* CSS style used for jCrop */
8502/* ============================================================================== */
8503
8504.jcrop-holder { background: unset !important; }
8505
8506
8507/* ============================================================================== */
8508/* CSS style used for jFlot */
8509/* ============================================================================== */
8510
8511.dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
8512 text-orientation: sideways;
8513 font-weight: 400;
8514 writing-mode: vertical-rl;
8515 white-space: nowrap;
8516}
8517
8518
8519/* ============================================================================== */
8520/* For dolUIBlock() feature */
8521/* ============================================================================== */
8522
8523#dol-block-ui {
8524 position: fixed;
8525 top: 0;
8526 left: 0;
8527 width: 100%;
8528 height: 100%;
8529 background-color: rgba(0, 0, 0, 0.6);
8530 z-index: 9999;
8531 display: flex;
8532 justify-content: center;
8533 align-items: center;
8534}
8535
8536#dol-block-ui .message {
8537 padding: 15px 20px 15px 50px;
8538 color: #fff;
8539 background: #000 no-repeat 10px center;
8540 border-radius: 10px;
8541 font-family: sans-serif;
8542}
8543
8544
8545/* ============================================================================== */
8546/* For copy-paste feature */
8547/* ============================================================================== */
8548
8549span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
8550 display: inline-block;
8551}
8552span.clipboardCPValue.hidewithsize {
8553 width: 0 !important;
8554 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 */
8555 color: transparent;
8556 white-space: nowrap;
8557 overflow-x: hidden;
8558 vertical-align: middle;
8559}
8560div.clipboardCPValue.hidewithsize {
8561 width: 0 !important;
8562 display: none;
8563 color: transparent;
8564 white-space: nowrap;
8565}
8566
8567.clipboardCPShowOnHover .clipboardCPButton {
8568 display: none;
8569}
8570
8571/* To make a div popup, we must use a position absolute inside a position relative */
8572.clipboardCPText {
8573 position: relative;
8574}
8575.clipboardCPTextDivInside {
8576 position: absolute;
8577 background: #f8f8fa;
8578 color: #888;
8579 border: 1px solid #E0E0E0;
8580 opacity: 1;
8581 z-index: 20;
8582 padding: 2px;
8583 padding-left: 5px;
8584 padding-right: 5px;
8585 top: -5px;
8586 left: 0px;
8587 border-radius: 5px;
8588 white-space: nowrap;
8589 font-size: 0.9em;
8590 box-shadow: 1px 1px 6px #ddd;
8591}
8592
8593
8594/* ============================================================================== */
8595/* CSS style used for HRM skill/rank (may be we can remove this) */
8596/* ============================================================================== */
8597
8598.radio_js_bloc_number {
8599 display:inline-block;
8600 padding:5px 7px;
8601 min-width:20px;
8602 border-radius:3px;
8603 border:1px solid #ccc;
8604 background:#eee;
8605 color:#555;
8606 cursor:pointer;
8607 margin:2px;
8608 text-align:center;
8609}
8610.radio_js_bloc_number.selected {
8611 transition:0.2s ease background;
8612 background:#888;
8613 color:#fff;
8614 border-color:#555;
8615}
8616
8617
8618/* ============================================================================== */
8619/* Virtual business card */
8620/* ============================================================================== */
8621
8622.virtualcard-div {
8623 overflow: hidden;
8624 vertical-align: top;
8625 /* background: #aaa; */
8626}
8627
8628#virtualcard-iframe {
8629 border: 1px solid #aaa;
8630 vertical-align: top;
8631 width: 10%;
8632 min-width: 100px;
8633 border-radius: 10px;
8634 aspect-ratio: 0.6;
8635 box-shadow: 0 0 5px #bbb;
8636}
8637.nopointervent {
8638 pointer-events: none;
8639}
8640.scalepreview {
8641 /* transform: scale(0.5); */
8642 zoom: 0.20;
8643 /* filter: blur(4px); */
8644}
8645
8646/* ============================================================================== */
8647/* For drag and drop file feature */
8648/* ============================================================================== */
8649
8650.cssDragDropArea{
8651 position: relative;
8652}
8653.highlightDragDropArea{
8654 border: 2px #000 dashed !important;
8655 background-color: #eee !important;
8656}
8657.highlightDragDropArea * :not(.dragDropAreaMessage *){
8658 opacity:0.8;
8659 filter: blur(1px) grayscale(90%);
8660}
8661.dragDropAreaMessage {
8662 position: absolute;
8663 left:50%;
8664 top:50%;
8665 transform: translate(-50%, -50%);
8666 text-align:center;
8667 font-size: 2em;
8668}
8669
8670/* ============================================================================== */
8671/* CSS style used for color jPicker */
8672/* ============================================================================== */
8673
8674table.jPicker {
8675 border: 1px solid #bbb !important;
8676}
8677
8678/* ============================================================================== */
8679/* CSS style used for survey */
8680/* ============================================================================== */
8681
8682.opensurveydescription * {
8683 width: 100%;
8684}
8685.imgopensurveywizard
8686{
8687 padding: 0 4px 0 4px;
8688}
8689.survey_borders {
8690 margin-left: 100px;
8691 margin-right: 100px;
8692 text-align: start;
8693}
8694.survey_intro {
8695 background-color: #f0f0f0;
8696 padding: 15px;
8697 border-radius: 8px;
8698}
8699.survey_borders .resultats .nom {
8700 text-align: <?php echo $left; ?>
8701}
8702.survey_borders .resultats .sujet, .survey_borders .resultats .jour {
8703 min-width: 100px;
8704}
8705
8706/* ============================================================================== */
8707/* CSS style used for BookCal */
8708/* ============================================================================== */
8709
8710.center.bookingtab {
8711 margin-left: 20px;
8712}
8713#bookinghoursection {
8714 width: 145px;
8715 height: 320px;
8716 overflow-y: auto;
8717 overflow-x: hidden;
8718 text-align: left;
8719}
8720.bookcalform {
8721 border: 1px solid #000;
8722 padding: 15px;
8723 border-radius: 5px;
8724 margin-bottom: 15px;
8725}
8726
8727.topmenuimage {
8728 background-size: 22px auto;
8729 top: 2px;
8730}
8731
8732
8733/* ============================================================================== */
8734/* CSS style used for AI */
8735/* ============================================================================== */
8736
8737.ai_dropdown {
8738 min-width: 400px !important;
8739 padding: 12px;
8740 left: inherit !important;
8741 top: inherit !important;
8742 border-radius: <?php echo $borderradius; ?>px !important;
8743}
8744.ai_feature {
8745 background-color: var(--colorbackgrey);
8746 padding: 10px;
8747 padding-bottom: 6px;
8748 padding-top: 6px;
8749 border-radius: <?php echo $borderradius; ?>px;
8750}
8751
8752
8753/* ============================================================================== */
8754/* CSS style used for small screen */
8755/* ============================================================================== */
8756
8757/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?> */
8758/* rule to reduce top menu - 1st reduction: Reduce width of top menu icons */
8759@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px) /* reduction 1 */
8760{
8761 div.tmenucenter {
8762 width: <?php echo round(52); ?>px; /* size of viewport */
8763 white-space: nowrap;
8764 overflow: hidden;
8765 text-overflow: ellipsis;
8766
8767 color: var(--colortextbackhmenu);
8768 /* color: var(--colorbackhmenu1); */
8769 }
8770 .tmenuimage {
8771 color: var(--colortextbackhmenu);
8772 }
8773
8774 .mainmenuaspan {
8775 font-size: 0.9em;
8776 padding-right: 0;
8777 padding-left: 0;
8778 }
8779 .topmenuimage {
8780 background-size: 22px auto;
8781 margin-top: 0px;
8782 }
8783
8784 li.tmenu, li.tmenusel {
8785 min-width: 36px;
8786 }
8787 div.mainmenu {
8788 min-width: auto;
8789 }
8790 div.tmenuleft {
8791 display: none;
8792 }
8793
8794 .dropdown dd ul {
8795 max-width: 370px;
8796 }
8797}
8798/* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again (<?php echo $nbtopmenuentries ?> menu entries) */
8799@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC2', round($nbtopmenuentries * 69, 0) + 130); ?>px) /* reduction 2 */
8800{
8801 li.tmenucompanylogo {
8802 display: none;
8803 }
8804 div.mainmenu {
8805 height: 23px;
8806 }
8807 div.tmenucenter {
8808 max-width: <?php echo max(26, ceil(300 / ($nbtopmenuentriesreal + 2))); ?>px; /* size of viewport */
8809 text-overflow: clip;
8810 }
8811 span.mainmenuaspan {
8812 margin-left: 1px;
8813 }
8814 .mainmenuaspan {
8815 font-size: 0.9em;
8816 padding-left: 0;
8817 padding-right: 0;
8818 }
8819 .topmenuimage {
8820 background-size: 20px auto;
8821 margin-top: 2px;
8822 left: 4px;
8823 }
8824
8825 .dropdown dd ul {
8826 max-width: 300px;
8827 }
8828}
8829/* rule to reduce top menu - 3rd reduction: The menu for user is now on left */
8830<?php if (!getDolUserInt('MAIN_OPTIMIZEFORTEXTBROWSER')) { ?>
8831@media only screen and (max-width: <?php echo getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3', round($nbtopmenuentries * 47, 0) + 130); ?>px) /* reduction 3 */
8832{
8833 <?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 2) { ?>
8834 .tmenudiv:hover .tmenuimage:not(.menuhider), .tmenudiv:hover .tmenuimage:not(.menuhider):before {
8835 margin-top: 8px !important;
8836 }
8837 <?php } ?>
8838
8839 .side-nav {
8840 z-index: 200;
8841 background: var(--colorbackvmenu1);
8842 padding-top: 75px;
8843 /*position: relative;
8844 top: 75px;*/
8845 width: 245px; /* must be same than div.login_block */
8846 box-shadow: none;
8847 }
8848 #id-left {
8849 z-index: 201;
8850 background: var(--colorbackvmenu1);
8851 }
8852 #id-right { /* This must stay id-right and not be replaced with echo $right */
8853 padding-top: 8px;
8854 }
8855
8856 .login_vertical_align {
8857 padding-left: 20px;
8858 padding-right: 20px;
8859 }
8860
8861 /* Reduce login top right info */
8862 .help {
8863 <?php if ($disableimages) { ?>
8864 display: none;
8865 <?php } ?>
8866 }
8867 div#tmenu_tooltip {
8868 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
8869 display:none;
8870 <?php } else { ?>
8871 padding-<?php echo $right; ?>: 0;
8872 <?php } ?>
8873 }
8874 div.login_block_user {
8875 min-width: 0;
8876 width: 100%;
8877 }
8878 div.login_block_tools, div.login_block_user {
8879 line-height: unset;
8880 height: unset;
8881 }
8882 div.login_block a {
8883 color: unset;
8884 }
8885 div.login_block {
8886 /* Style when phone layout or when using the menuhider */
8887 padding-top: 10px;
8888 padding-left: 20px;
8889 padding-right: 20px;
8890 padding-bottom: 16px;
8891 top: auto;
8892 left: 0 !important;
8893 text-align: center;
8894 vertical-align: middle;
8895
8896 background: var(--colorbackvmenu1);
8897
8898 height: 50px;
8899
8900 z-index: 202;
8901 min-width: 245px; /* must be width of menu + padding + padding of sidenav */
8902 max-width: 245px; /* must be width of menu + padding + padding of sidenav */
8903 width: 245px; /* must be width of menu + padding + padding of sidenav */
8904 }
8905 .loginbuttonexternal {
8906 width: 260px;
8907 }
8908
8909 .side-nav-vert .user-menu .dropdown-menu, #topmenu-bookmark-dropdown .dropdown-menu, #topmenu-quickadd-dropdown .dropdown-menu {
8910 width: 285px !important; /* must be width of menu + padding + padding of sidenav */
8911 min-width: unset !important;
8912 }
8913
8914 div.login_block_other {
8915 margin-right: unset;
8916 }
8917 div.login_block_tools, div.login_block_user, div.login_block_other { clear: both; }
8918
8919 .atoplogin, .atoplogin:hover
8920 {
8921 color:unset !important;
8922 padding-left: 4px;
8923 padding-right: 4px;
8924 }
8925 .login_block_elem {
8926 padding: 0 !important;
8927 height: 38px;
8928 }
8929 li.tmenu, li.tmenusel {
8930 min-width: 32px;
8931 }
8932 div.mainmenu {
8933 height: 23px;
8934 }
8935 div.tmenucenter {
8936 text-overflow: clip;
8937 }
8938 .topmenuimage {
8939 background-size: 20px auto;
8940 margin-top: 2px !important;
8941 left: 2px;
8942 }
8943 div.mainmenu {
8944 min-width: 20px;
8945 }
8946
8947 .titlefield {
8948 width: auto !important; /* We want to ignore the 30%, try to use more if you can */
8949 }
8950 .tableforfield>tr>td:first-child, .tableforfield>tbody>tr>td:first-child, div.tableforfield div.tagtr>div.tagtd:first-of-type {
8951 /* max-width: 100px; */ /* but no more than 100px */
8952 }
8953 .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
8954 word-break: break-word;
8955 }
8956 .badge {
8957 min-width: auto;
8958 font-size: 0.94em;
8959 }
8960
8961 table.table-fiche-title .col-title div.titre{
8962 line-height: unset;
8963 }
8964
8965 input#addedfile {
8966 width: 95%;
8967 }
8968
8969 #divbodywebsite {
8970 word-break: break-word;
8971 }
8972
8973 .websiteselectionsection {
8974 border-left: unset;
8975 border-right: unset;
8976 padding-left: 5px;
8977 }
8978
8979 .a-mesure, .a-mesure-disabled {
8980 display: block;
8981 margin-bottom: 6px;
8982 padding-left: 12px;
8983 padding-right: 12px;
8984 }
8985
8986 .a-mesure, .a-mesure-disabled {
8987 text-align: center;
8988 }
8989
8990
8991 .underbanner.underbanner-before-box {
8992 border-bottom: none;
8993 }
8994
8995 .valuefield.fieldname_type span.badgeneutral {
8996 margin-top: 5px;
8997 display: inline-block;
8998 }
8999
9000 tr.trextrafieldseparator td, tr.trextrafields_collapse_last td {
9001 /* border-bottom: 2px solid var(--colorbackhmenu1) !important; */
9002 border-bottom: 1px solid var(--colortopbordertitle1) !important;
9003 }
9004
9005 div#card-errors {
9006 max-width: unset;
9007 }
9008
9009 #dolpaymenttable {
9010 padding: 5px;
9011 }
9012
9013 .lilevel1 span.paddingright {
9014 padding-right: 4px;
9015 }
9016
9017 img.userphotopublicvcard {
9018 left: unset;
9019 top: unset;
9020 margin-top: 30px;
9021 }
9022}
9023<?php } ?>
9024
9025@media only screen and (max-width: 1024px)
9026{
9027 div#ecm-layout-west {
9028 width: calc(100% - 4px);
9029 clear: both;
9030 }
9031 div#ecm-layout-center {
9032 width: 100%;
9033 }
9034}
9035
9036@media only screen and (max-width: 768px)
9037{
9038 .pictofixedwidth {
9039 text-align: start;
9040 width: 1.5em;
9041 /* padding-right: 0; */
9042 }
9043
9044 .ai_dropdown{
9045 min-width : 280px !important;
9046 width: calc(100% - 50px);
9047 }
9048
9049 .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
9050
9051 .fiche > .listactionsfilter .table-fiche-title .col-title .titre {
9052 display: none;
9053 }
9054
9055 .navselectiondate {
9056 width: 220px;
9057 }
9058
9059 #tooltip {
9060 position: absolute;
9061 width: <?php print dol_size(350, 'width'); ?>px;
9062 }
9063
9064 div.tabBar {
9065 padding-left: 0px;
9066 padding-right: 0px;
9067 border-radius: 0px;
9068 border-right: none;
9069 border-left: none;
9070 }
9071
9072 td.widthpictotitle { width: 30px; }
9073
9074 .logopublicpayment #dolpaymentlogo {
9075 max-width: 260px;
9076 }
9077 #tablepublicpayment {
9078 width: auto !important;
9079 border: none !important;
9080 }
9081 .poweredbypublicpayment {
9082 float: unset !important;
9083 top: unset !important;
9084 /* bottom: 8px; */
9085 right: -10px !important;
9086 position: relative !important;
9087 }
9088 .poweredbyimg {
9089 width: 48px;
9090 }
9091
9092 .survey_borders {
9093 margin-left: 10px;
9094 margin-right: 10px;
9095 text-align: start;
9096 }
9097
9098 .bookcalform.boxtable .minwidth75 {
9099 min-width: auto;
9100 }
9101 .center.bookingtab {
9102 margin-left: 6px;
9103 }
9104 #bookinghoursection {
9105 font-size: small;
9106 width: 122px;
9107 }
9108
9109 #dolpublictable {
9110 padding: 10px;
9111 }
9112
9113 input[type=checkbox], input[type=radio] {
9114 margin: 0 5px 0 1px;
9115 transform: scale(1.1);
9116 }
9117}
9118
9119@media only screen and (max-width: 320px)
9120{
9121 .dropdown dd ul {
9122 max-width: 270px; /* must always be 50 slower than width */
9123 }
9124}
9125@media only screen and (max-width: 300px)
9126{
9127 .dropdown dd ul {
9128 max-width: 250px;
9129 }
9130}
9131@media only screen and (max-width: 280px)
9132{
9133 .dropdown dd ul {
9134 max-width: 230px;
9135 }
9136}
9137
9139:where(#fourn-invoices-paiments-list,#customer-invoices-paiments-list)[data-display-all-invoices="1"] tr[data-row-type="2"]{
9140 font-weight: bold;
9141}
9142
9143<?php
9144if (getDolUserString('MAIN_OPTIMIZEFORTEXTBROWSER')) {
9145 // Set a max height on multiselect when using multiselect
9146 ?>
9147 select[multiple] {
9148 height: 42px;
9149 }
9150 <?php
9151}
9152
9153
9154include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
9155include dol_buildpath($path.'/theme/'.$theme.'/emaillayout.inc.php', 0);
9156include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
9157include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
9158include dol_buildpath($path.'/theme/'.$theme.'/timeline.inc.php', 0);
9159include dol_buildpath($path.'/theme/'.$theme.'/search-input.inc.css', 0);
9160
9161
9162// Add custom CSS if defined
9163print getDolGlobalString('THEME_CUSTOM_CSS');
9164
9165?>
9166
9167div.extra_inline_chkbxlst, div.extra_inline_checkbox {
9168 min-width:150px;
9169}
9170
9171/* Must be at end */
9172div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
9173 color: unset;
9174
9175}
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