dolibarr 24.0.0-beta
pos.css.php
Go to the documentation of this file.
1<?php
2/* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
3 * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
4 * Copyright (C) 2007-2017 Regis Houssin <regis.houssin@inodbox.com>
5 * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
6 * Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
7 * Copyright (C) 2018 Ferran Marcet <fmarcet@2byte.es>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program. If not, see <https://www.gnu.org/licenses/>.
21 */
22
28//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
29//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
30if (!defined('NOREQUIRESOC')) {
31 define('NOREQUIRESOC', '1');
32}
33//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
34if (!defined('NOTOKENRENEWAL')) {
35 define('NOTOKENRENEWAL', 1);
36}
37if (!defined('NOLOGIN')) {
38 define('NOLOGIN', 1); // File must be accessed by logon page so without login
39}
40//if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
41if (!defined('NOREQUIREHTML')) {
42 define('NOREQUIREHTML', 1);
43}
44if (!defined('NOREQUIREAJAX')) {
45 define('NOREQUIREAJAX', '1');
46}
47
48
49define('ISLOADEDBYSTEELSHEET', '1');
50
51
52session_cache_limiter('public');
53
54require_once __DIR__.'/../../main.inc.php'; // __DIR__ allow this script to be included in custom themes
58require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
59
60// Define css type
61top_httphead('text/css');
62// Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
63header('Cache-Control: max-age=10800, public, must-revalidate');
64
65
66include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php';
67if (defined('THEME_ONLY_CONSTANT')) {
68 return;
69}
70
71?>
72
73html,body {
74 box-sizing: border-box;
75 padding:0px;
76 margin:0;
77 height:100%;
78 width:100%;
79}
80
81.bodytakepos {
82 background-color: var(--colorbackgrey);
83}
84
85/* Fix dropdown user menu clipped by overflow:hidden on body and #topnav under MD theme */
86.bodytakepos#topmenu-login-dropdown.dropdown-menu{
87 position:fixed;
88 top:45px;
89 left:auto;
90 right:0;
91 overflow-y:auto;
92 max-height:calc(100vh-50px);
93}
94
95/* Fix dropdown user-header layout missing .side-nav-vert context under TakePOS */
96.bodytakepos #topmenu-login-dropdown .dropdown-menu {
97 line-height: 1.3em;
98}
99
100.bodytakepos #topmenu-login-dropdown .dropdown-menu > .user-header {
101 min-height: 100px;
102 padding: 10px;
103 text-align: center;
104 white-space: normal;
105}
106
107.center {
108 text-align: center;
109}
110
111button.calcbutton.poscolorblue {
112 background-color: #0066AA;
113}
114
115button.calcbutton2.poscolordelete {
116 background: rgb(255, 188, 185);
117 color: #633;
118 /*background-color: #884444;
119 color: #fff;*/
120}
121
122button.calcbutton {
123 display: inline-block;
124 position: relative;
125 padding: 0;
126 line-height: normal;
127 cursor: pointer;
128 vertical-align: middle;
129 text-align: center;
130 overflow: visible; /* removes extra width in IE */
131 width: calc(25% - 2px);
132 height: calc(25% - 2px);
133 font-weight: bold;
134 background-color: #8c907e;
135 color: #fff;
136 /* border-color: unset; */
137 border-width: 0;
138 margin: 1px;
139 font-size: 14pt;
140 border-radius: 4px;
141}
142
143div.wrapper, div.wrapper2 {
144 border-radius: 5px;
145}
146
147button.calcbutton2 {
148 color: #fff;
149 background-color: #5555AA;
150 border-width: 0px;
151 display: inline-block;
152 position: relative;
153 padding: 0;
154 line-height: normal;
155 cursor: pointer;
156 vertical-align: middle;
157 text-align: center;
158 overflow: visible; /* removes extra width in IE */
159 width: calc(25% - 2px);
160 height: calc(25% - 2px);
161 font-weight: bold;
162 font-size: 10pt;
163 margin: 1px;
164 border-radius: 4px;
165}
166button.calcbutton2.clicked {
167 background-color: #8855AA;
168}
169button.calcbutton2 .iconwithlabel {
170 padding-bottom: 10px;
171}
172
173button.calcbutton3 {
174 display: inline-block;
175 position: relative;
176 padding: 0;
177 line-height: normal;
178 cursor: pointer;
179 vertical-align: middle;
180 text-align: center;
181 overflow: visible; /* removes extra width in IE */
182 width: calc(25% - 2px);
183 height: calc(25% - 2px);
184 font-size: 14pt;
185 margin: 1px;
186 border-radius: 4px;
187}
188
189button.productbutton {
190 display: inline-block;
191 position: relative;
192 padding: 0;
193 line-height: normal;
194 cursor: pointer;
195 vertical-align: middle;
196 text-align: center;
197 overflow: visible; /* removes extra width in IE */
198 width: calc(100% - 2px);
199 height: calc(100% - 2px);
200 font-weight: bold;
201 background-color: #a3a6a3;
202 color: #fff;
203 /* border-color: unset; */
204 border-width: 0;
205 margin: 1px;
206 font-size: 14pt;
207 border-radius: 4px;
208}
209
210button.actionbutton {
211 background: #EACCC6;
212 color: #222;
213 /* border: 2px solid #EEE; */
214 min-height: 40px;
215 border-radius: 4px;
216 padding: 12px;
217 display: inline-block;
218 position: relative;
219 line-height: normal;
220 cursor: pointer;
221 vertical-align: middle;
222 text-align: center;
223 overflow: visible; /* removes extra width in IE */
224 width: calc(33.33% - 2px);
225 height: calc(25% - 2px);
226 margin: 1px;
227 border-width: 0;
228}
229
230button.item_value {
231 background: #bbbbbb;
232 border: #000000 1px solid;
233 border-radius: 4px;
234 padding: 8px;
235}
236
237button.item_value.selected {
238 background: #ffffff;
239 color: #000000;
240 font-weight: bold;
241}
242
243div[aria-describedby="dialog-info"] button:before {
244 content: "\f788";
245 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
246 font-weight: 900;
247 padding-right: 5px;
248}
249div[aria-describedby="dialog-info"].ui-dialog .ui-dialog-buttonpane {
250 border-width: 0;
251}
252
253.takepospay {
254 font-size: 1.5em;
255 height: 40px !important;
256}
257
258.fa.fa-trash:before {
259 font-size: 1.5em;
260}
261
262
263div.wrapper{
264 float:left; /* important */
265 position:relative; /* important(so we can absolutely position the description div */
266 width:25%;
267 height:33%;
268 margin:0;
269 padding:1px;
270 border: 2px solid #EEE;
271 /*box-shadow: 3px 3px 3px #bbb; */
272 text-align: center;
273 box-sizing: border-box;
274 background-color:#fff;
275 display: flex;
276 align-items: center;
277 justify-content: center;
278}
279
280div.wrapper2{
281 float:left; /* important */
282 position:relative; /* important(so we can absolutely position the description div */
283 width:12.5%;
284 height:33%;
285 margin:0;
286 /* padding:1px; */
287 border: 2px solid #EEE;
288 /*box-shadow: 3px 3px 3px #bbb;*/
289 text-align: center;
290 box-sizing: border-box;
291 background-color:#fff;
292 display: flex;
293 align-items: center;
294 justify-content: center;
295}
296
297img.imgwrapper {
298 max-width: 100%;
299 max-height: 100%;
300}
301
303 background:black;
304 color: white;
305}
306
307div.description{
308 position:absolute; /* absolute position (so we can position it where we want)*/
309 bottom:0px; /* position will be on bottom */
310 left:0px;
311 width:100%;
312 /* styling below */
313 background-color:black;
314 /*color:white;*/
315 opacity:1; /* transparency */
316 /*filter:alpha(opacity=80); IE transparency */
317 text-align:center;
318
319 padding-top: 30px;
320 background: -webkit-linear-gradient(top, rgba(250,250,250,0), rgba(250,250,250,0.5), rgba(250,250,250,0.95), rgba(250,250,250,1));
321}
322
323div.catwatermark{
324 position:absolute;
325 top:3%;
326 left:3%;
327 width:20%;
328 background-color:black;
329 color:white;
330 text-align:center;
331 font-size: 20px;
332 display: none;
333 opacity: 0.25;
334}
335
336table.postablelines tr td {
337 line-height: unset;
338 padding-top: 3px;
339 padding-bottom: 3px;
340}
341
342.posinvoiceline td {
343 height: 40px !important;
344 background-color: var(--colorbacklineimpair2);
345}
346
347.postablelines td.linecolht {
348 line-height: 1.3em !important;
349}
350
351div.paymentbordline
352{
353 width:calc(50% - 16px);
354 background-color:#aaa;
355 border-radius: 8px;
356 margin-bottom: 4px;
357 display: inline-block;
358 padding: 5px;
359}
360
361@media only screen and (max-aspect-ratio: 6/4) {
362 div.description{
363 min-height:20%;
364 }
365}
366
367.container{
368 width: 100%;
369 height: 100%;
370 margin: 0 auto;
371 <?php
372 if (getDolGlobalString('TAKEPOS_USE_ARROW_ON_NAVBAR')) {
373 ?>
374 overflow-x: hidden;
375 overfloy-y: scroll;
376 <?php
377 } else {
378 ?>
379 overflow: visible;
380 <?php
381 }
382 ?>
383 box-sizing: border-box;
384}
385
386.row1{
387 margin: 0 auto;
388 width: 100%;
389 height: 34%;
390}
391
392.row1withhead{
393 margin: 0 auto;
394 width: 100%;
395 height: calc(45% - 50px);
396 padding-top: 9px;
397}
398
399.row2{
400 margin: 0 auto;
401 width: 100%;
402 height: 66%;
403}
404
405.row2withhead{
406 margin: 0 auto;
407 width: 100%;
408 height: 55%;
409 overflow-x: hidden;
410}
411
412.div1{
413 height:100%;
414 width: 34%;
415 float: left;
416 text-align: center;
417 box-sizing: border-box;
418 overflow: auto;
419 /* background-color:white; */
420 padding-top: 1px;
421 padding-bottom: 0;
422 min-height: 180px;
423}
424
425.div2{
426 height: 100%;
427 width: 33%;
428 font-size: 0;
429 float: left;
430 box-sizing: border-box;
431 padding-top: 0;
432 padding-bottom: 0;
433 min-height: 180px;
434}
435
436.div3{
437 height: 100%;
438 width: 33%;
439 float: left;
440 box-sizing: border-box;
441 padding-top: 0;
442 padding-bottom: 0;
443}
444
445.div4{
446 height: 100%;
447 width: 34%;
448 float: left;
449 box-sizing: border-box;
450 font-size: 6px;
451 padding-top: 10px;
452 padding-bottom: 10px;
453}
454
455.div5{
456 height: 100%;
457 width: 66%;
458 float: left;
459 box-sizing: border-box;
460 font-size: 6px;
461 padding-top:10px;
462 padding-bottom:10px;
463}
464
465.div1, .div2, .div3, .div4, .div5 {
466 padding-right: 5px;
467 padding-left: 5px;
468}
469.div1, .div4 {
470 padding-left: 8px;
471}
472.div3, .div5 {
473 padding-right: 8px;
474}
475
476tr.selected, tr.selected td {
477 background-color: var(--colorbacklinepairchecked) !important;
478}
479.order td {
480 color: green;
481 /* background-color: #f5f5f5; */
482}
483
484.colorwhite {
485 color: white;
486}
487.colorred {
488 color: red;
489}
490.colorgreen {
491 color: green;
492}
493.poscolordelete {
494 color: #844;
495}
496.poscolorgreen {
497 color: #060;
498}
499.poscolorblue {
500 color: #006;
501}
502
503.centerinmiddle {
504 position: relative;
505 /* transform: translate(0,-50%);
506 top: 50%; */
507}
508.trunc {
509 white-space: nowrap;
510 text-overflow: ellipsis;
511 overflow: hidden;
512}
513
514p.description_content{
515 padding:10px;
516 margin:0px;
517}
518div.description_content {
519 display: -webkit-box;
520 -webkit-box-orient: vertical;
521 -webkit-line-clamp: <?php echo getDolGlobalInt('TAKEPOS_LINES_TO_SHOW', 2); ?>;
522 overflow: hidden;
523 padding-left: 2px;
524 padding-right: 2px;
525}
526
527.header {
528 margin: 0 auto;
529 width: 100%;
530 min-height: 52px;
531 background: rgb(60,70,100);
532}
533
534.topnav-left {
535 float: left;
536}
537.topnav-right {
538
539}
540
541.topnav div.login_block_other, .topnav div.login_block_user {
542 max-width: unset;
543 width: unset;
544}
545.topnav{
546 background: var(--colorbackhmenu1);
547 overflow: hidden;
548 height: 100%;
549}
550.topnav .tmenu {
551 display: block;
552}
553
554.topnav a{
555 float: left;
556 color: #f2f2f2;
557 text-decoration: none;
558}
559.topnav .login_block_other a {
560 padding: 5px 10px;
561 margin-left: 4px;
562 font-size: 1.3em;
563}
564.topnav div.login_block_user {
565 display: inline-block;
566 vertical-align: middle;
567 line-height: 50px;
568 height: 50px;
569}
570.userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto {
571 width: 30px;
572 height: 30px;
573 vertical-align: middle;
574}
575
576@media screen and (max-width: 767px) {
577 .topnav .login_block_other a {
578 padding: 5px 5px;
579 font-size: 1.2em;
580 }
581
582 .div1, .div4 {
583 padding-left: 5px;
584 }
585 .div3, .div5 {
586 padding-right: 5px;
587 }
588}
589
590.topnav-right > a {
591 font-size: 17px;
592}
593
594.topnav-left a {
595 padding: 7px 4px 7px 4px;
596 margin: 8px;
597 margin-left: 5px;
598 margin-right: 5px;
599 border-radius: 4px;
600}
601.topnav-left a:hover:not(.nohover), .topnav .login_block_other a:hover:not(.nohover) {
602 background-color: #ddd;
603 color: black;
604}
605
606.topnav-right{
607 float: right;
608}
609
610.topnav input[type="text"] {
611 background-color: #fff;
612 color: #000;
613 float: left;
614 border-bottom: none !important;
615 margin-left: 6px;
616 font-size: 1.3em;
617 max-width: 250px;
618 border-radius: 5px;
619}
620
621
622.login_block_other.takepos {
623 margin-top: 5px;
624}
625
626
627div#moreinfo, div#infowarehouse {
628 color: #aaa;
629 padding: 0 8px 0 8px;
630}
631
632.basketselected {
633 font-weight: bold;
634 /* text-decoration: underline; */
635}
636.basketnotselected {
637 opacity: 0.8;
638}
639
640.productprice {
641 position: absolute;
642 top: 5px;
643 right: 5px;
644 background: var(--colorbackhmenu1);
645 color: var(--colortextbackhmenu);
646 font-size: 2em;
647 padding: 4px;
648 border-radius: 2px;
649 opacity: 0.9;
650 padding-left: 6px;
651 padding-right: 6px;
652}
653
654
655@media screen and (min-width: 892px) {
656 .actionbutton{
657 font-size: 13px;
658 }
659 div.description{
660 font-size: 15px;
661 }
662 .invoice{
663 font-size: 14px;
664 }
665}
666
667@media (max-width: 891px) and (min-width: 386px) {
668 .actionbutton{
669 font-size: 12px;
670 }
671 div.description{
672 font-size: 13px;
673 }
674 .invoice{
675 font-size: 12px;
676 }
677}
678
679@media screen and (max-width: 385px){
680 .actionbutton{
681 font-size: 10px;
682 }
683 div.description{
684 font-size: 11px;
685 }
686 .invoice{
687 font-size: 10px;
688 }
689}
690
691/* For small screens */
692
693@media screen and (max-width: 1024px) {
694 .topnav input[type="text"] {
695 max-width: 150px;
696 }
697}
698
699@media screen and (max-width: 767px) {
700 .header {
701 position: sticky;
702 top: 0;
703 z-index: 10;
704 }
705
706 .topnav input[type="text"] {
707 max-width: 90px;
708 font-size: 1.15em;
709 }
710
711 .topnav-right {
712 float: unset;
713 }
714 .header {
715 height: unset;
716 }
717 div.container {
718 overflow-x: scroll;
719 }
720 div.wrapper {
721 width: 50%;
722 }
723 div.wrapper2 {
724 width: 25%;
725 }
726
727 .row1withhead{
728 height: unset;
729 }
730
731 div#moreinfo, div#infowarehouse {
732 padding: 0 5px 0 5px;
733 }
734
735 div.div1 {
736 padding-bottom: 0;
737 margin-bottom: 10px;
738 }
739 div.div1, div.div2, div.div3 {
740 width: 100%;
741 }
742
743 div.row1 {
744 height: unset;
745 }
746
747 div.div2 {
748 min-height: unset;
749 }
750
751 div.div3 {
752 margin-top: 8px;
753 height: unset;
754 }
755
756 button.calcbutton, button.calcbutton2 {
757 min-height: 30px;
758 }
759
760 .takepospay {
761 font-size: 1.2em;
762 }
763
764 button.actionbutton {
765 display: inline-flex;
766 align-items: center;
767 justify-content: center;
768 padding-left: 4px;
769 padding-right: 4px;
770 min-height: 30px;
771 }
772}
773
774/* Modal box */
775.modal {
776 display: none; /* Hidden by default */
777 position: fixed;
778 z-index: 20;
779 left: 0;
780 top: 0;
781 width: 100%;
782 height: 100%;
783 overflow: auto;
784 background-color: rgb(0,0,0);
785 background-color: rgba(0,0,0,0.4);
786}
787
788/* The Close Button */
789.close {
790 color: #aaa;
791 float: right;
792 font-size: 28px;
793 font-weight: bold;
794}
795
796.close:hover,
797.close:focus {
798 color: black;
799 text-decoration: none;
800 cursor: pointer;
801}
802
803.modal-header {
804 padding: 2px 16px;
805 background-color: #2b4161;
806 color: white;
807}
808
809.modal-body {padding: 2px 16px;}
810
811.modal-content {
812 position: relative;
813 background-color: #fefefe;
814 margin: 15% auto; /* 15% from the top and centered */
815 padding: 0;
816 border: 1px solid #888;
817 width: 40%;
818 box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
819 animation-name: animatetop;
820 animation-duration: 0.4s;
821 min-width: 200px;
822}
823
824@keyframes animatetop {
825 from {top: -300px; opacity: 0}
826 to {top: 0; opacity: 1}
827}
828
829.block {
830 display: block;
831 width: 100%;
832 border: none;
833 color: white;
834 background-color: #8c907e;
835 padding: 14px 0px;
836 font-size: 16px;
837 cursor: pointer;
838 text-align: center;
839 margin: 2px;
840}
841
842.splitsale {
843 float: left;
844 width: 100%;
845 height: 100%;
846 overflow: auto;
847}
848
849.rowsplit {
850 width: 100%;
851 height: 40%;
852}
853
854.headersplit {
855 height: 10%;
856 width: 100%;
857 padding-top: 20px;
858 padding-bottom: 2px;
859}
860
861.headercontent {
862 margin: auto;
863 width: 50%;
864 border: 3px solid black;
865 text-align: center;
866 font-size: 150%;
867 background-color: rgb(233,234,237);
868}
869
870
871@media only screen and (max-width: 767px)
872{
873 .headercontent {
874 width: 80%;
875 }
876
877 .headersplit .headercontent {
878 font-size: 1em;
879 }
880}
881
882
883.row:after {
884 content: "";
885 display: table;
886 clear: both;
887}
888
889.div5 .imgadd {
890 display: none;
891}
892
893
894@media screen and (max-width: 767px) {
895 .div4 {
896 height: auto;
897 width: 100%;
898 float: left;
899 box-sizing: border-box;
900 font-size: 6px;
901 padding-top: 10px;
902 padding-bottom: 2px;
903 margin-left: 2px;
904 }
905
906 .div4 .wrapper.divempty, .div4 img, .div4 .wrapper:nth-last-child(1), .div4 .wrapper:nth-last-child(2), #prodiv22, #prodiv23, .catwatermark {
907 display: none!important;
908 }
909
910 .tab-category {
911 float: left;
912 position: relative;
913 width: 25%;
914 height: 33%;
915 margin: 0;
916 padding: 1px;
917 border: 2px solid #EEE;
918 text-align: center;
919 box-sizing: border-box;
920 background-color: #fff;
921 }
922
923 .div4 .wrapper, .tab-category {
924 width: auto;
925 height: auto;
926 padding: 6px;
927 text-align: center;
928 cursor: pointer;
929 border: 1px solid #FFF!important;
930 border-top: 3px solid #FFF!important;
931 }
932
933 .div4 .tab-category.active {
934 border-right: 1px solid #CCC !important;
935 border-left: 1px solid #CCC !important;
936 border-top: 3px solid var(--colorbackhmenu1) !important;
937 }
938
939 .div5 {
940 height: 100%;
941 width: 100%;
942 padding-top: 0px;
943 }
944
945 div.description {
946 position: initial;
947 width: auto;
948 background-color: black;
949 opacity: 1;
950 text-align: center;
951 padding-top: 0px;
952 background: -webkit-linear-gradient(top, rgba(250,250,250,0), rgba(250,250,250,0.5), rgba(250,250,250,0.95), rgba(250,250,250,1));
953 }
954
955 .div5 .description .description_content {
956 font-weight: bold;
957 font-size: 14px;
958 padding-left: 10px;
959 }
960
961 .div5 .wrapper2 {
962 width: 100%;
963 display: inline-flex;
964 align-items: center;
965 padding: 10px;
966 justify-content: normal;
967 }
968
969 .div5 .wrapper2.divempty {
970 display: none;
971 }
972
973 div.wrapper2 {
974 float: none;
975 }
976
977 .div5 .arrow {
978 width: auto;
979 height: auto;
980 display: none!important;
981 }
982
983 .div5 .arrow .centerinmiddle {
984 transform: translate(0, 0);
985 }
986
987 .div5 .imgadd {
988 display: flex;
989 }
990
991 div.wrapper2{
992 height: 40px;
993 }
994}
995
996
997<?php
998if (!getDolGlobalString('TAKEPOS_USE_ARROW_ON_NAVBAR')) {
999 ?>
1000
1001.arrows {
1002 display: none;
1003}
1004
1005 <?php
1006} else { ?>
1007.indicator {
1008 background: #00000042;
1009 padding: 15px 5px;
1010 cursor: pointer;
1011 position:absolute;
1012}
1013
1014.indicator.left {
1015 left:0;
1016}
1017
1018.indicator.right {
1019 right:0;
1020}
1021
1022.indicator:hover {
1023 background: #000000;
1024}
1025
1026.indicator i {
1027 color: white;
1028}
1029
1030.topnav-left {
1031 margin-left: 20px;
1032}
1033
1034.topnav-right {
1035 margin-right: 20px;
1036}
1037
1038/* For Header Scroll */
1039html {
1040 scroll-behavior: smooth;
1041}
1042
1043.topnav {
1044 scroll-behavior: smooth;
1045}
1046
1047.header {
1048 height: unset;
1049}
1050
1051.topnav {
1052 width: 100%;
1053 white-space: nowrap;
1054 overflow-x: scroll;
1055 display: inline-flex;
1056}
1057
1058.topnav-left {
1059 white-space: nowrap;
1060 float: none;
1061 margin-right: auto;
1062 align-items: center;
1063}
1064
1065.topnav-right {
1066 display: flex;
1067 white-space: nowrap;
1068 float: none;
1069 align-items: center;
1070}
1071
1072.topnav-left #shoppingcart {
1073 display:inline-flex;
1074}
1075
1076.topnav-right .login_block_other {
1077 display: flex;
1078 white-space: nowrap;
1079}
1080
1081::-webkit-scrollbar {
1082 width: 8px;
1083}
1084
1085
1086::-webkit-scrollbar-track {
1087 background: #f1f1f1;
1088}
1089
1090
1091::-webkit-scrollbar-thumb {
1092 background: #888;
1093}
1094
1095.topnav::-webkit-scrollbar-track{
1096 background: #eeeeee;
1097}
1098
1099.topnav::-webkit-scrollbar{
1100 width: 1px;
1101 background: #F5F5F5;
1102}
1103
1104.topnav::-webkit-scrollbar-thumb{
1105 background: #f9171700;
1106}
1107
1108.topnav.overflow .arrows {
1109 display: flex;
1110}
1111
1112<?php } ?>
print $object position
Definition edit.php:206
if(!isModEnabled('ai')||!getDolGlobalString('AI_ASSISTANT_ENABLED')) global $conf
The main.inc.php has been included so the following variable are now defined:
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
multi select button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
treeview li table
No Email.
editval_textarea active
if(!defined( 'NOREQUIREMENU')) if(!empty(GETPOST('seteventmessages', 'alpha'))) if(!function_exists("llxHeader")) top_httphead($contenttype='text/html', $forcenocache=0)
Show HTTP header.
if(preg_match('/(crypted|dolcrypt):/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
'integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter[:Sortfield]]]',...
Definition repair.php:130
$conf db name
Only used if Module[ID]Name translation string is not found.
Definition repair.php:133