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