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