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