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