30 if (!defined(
'NOREQUIRESOC')) {
31 define(
'NOREQUIRESOC',
'1');
34 if (!defined(
'NOTOKENRENEWAL')) {
35 define(
'NOTOKENRENEWAL', 1);
37 if (!defined(
'NOLOGIN')) {
41 if (!defined(
'NOREQUIREHTML')) {
42 define(
'NOREQUIREHTML', 1);
44 if (!defined(
'NOREQUIREAJAX')) {
45 define(
'NOREQUIREAJAX',
'1');
49 define(
'ISLOADEDBYSTEELSHEET',
'1');
52 session_cache_limiter(
'public');
54 require_once __DIR__.
'/../../main.inc.php';
55 require_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
60 if (empty($dolibarr_nocache)) {
61 header(
'Cache-Control: max-age=10800, public, must-revalidate');
63 header(
'Cache-Control: no-cache');
67 include DOL_DOCUMENT_ROOT.
'/theme/'.$conf->theme.
'/theme_vars.inc.php';
68 if (defined(
'THEME_ONLY_CONSTANT')) {
75 box-sizing: border-box;
83 background-color: #EEE;
90 button.calcbutton.poscolorblue {
91 background-color: #0066AA;
94 button.calcbutton2.poscolordelete {
95 background: rgb(255, 188, 185);
102 display:
inline-block;
107 vertical-align: middle;
110 width: calc(25% - 2px);
111 height: calc(25% - 2px);
113 background-color: #8c907e;
124 background-color: #5555AA;
126 display:
inline-block;
131 vertical-align: middle;
134 width: calc(25% - 2px);
135 height: calc(25% - 2px);
141 button.calcbutton2.clicked {
142 background-color: #8855AA;
144 button.calcbutton2 .iconwithlabel {
145 padding-bottom: 10px;
149 display:
inline-block;
154 vertical-align: middle;
157 width: calc(25% - 2px);
158 height: calc(25% - 2px);
165 display:
inline-block;
170 vertical-align: middle;
173 width: calc(100% - 2px);
174 height: calc(100% - 2px);
176 background-color: #a3a6a3;
187 border: 2px solid #EEE;
193 display:
inline-block;
198 vertical-align: middle;
201 width: calc(33.33% - 2px);
202 height: calc(25% - 2px);
209 border: #000000 1px solid;
214 button.item_value.selected {
220 div[aria-describedby=
"dialog-info"]
button:before {
222 font-family:
"Font Awesome 5 Free";
226 div[aria-describedby=
"dialog-info"].ui-dialog .ui-dialog-buttonpane {
234 .fa.fa-trash:before {
246 border: 2px solid #EEE;
249 box-sizing: border-box;
250 background-color:#fff;
260 border: 2px solid #EEE;
263 box-sizing: border-box;
264 background-color:#fff;
282 background-color:black;
289 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));
297 background-color:black;
305 table.postablelines tr td {
312 height: 40px !important;
313 background-color: var(--colorbacklineimpair2);
316 .postablelines td.linecolht {
317 line-height: 1.3em !important;
322 width:calc(50% - 16px);
323 background-color:#aaa;
326 display:
inline-block;
330 @media only screen and (max-aspect-ratio: 6/4) {
352 box-sizing: border-box;
364 height: calc(45% - 50px);
386 box-sizing: border-box;
399 box-sizing: border-box;
409 box-sizing: border-box;
418 box-sizing: border-box;
421 padding-bottom: 10px;
428 box-sizing: border-box;
434 .div1, .div2, .div3, .div4, .div5 {
446 tr.selected, tr.selected td {
448 background-color: rgb(240,230,210) !important;
475 transform: translate(0,-50%);
481 text-overflow: ellipsis;
485 p.description_content{
489 div.description_content {
490 display: -webkit-box;
491 -webkit-box-orient: vertical;
492 -webkit-line-clamp: <?php echo
getDolGlobalInt(
'TAKEPOS_LINES_TO_SHOW', 2); ?>;
502 background: rgb(60,70,100);
512 .topnav div.login_block_other, .topnav div.login_block_user {
517 background: var(--colorbackhmenu1);
528 text-decoration: none;
530 .topnav .login_block_other a {
535 .topnav div.login_block_user {
536 display:
inline-block;
537 vertical-align: middle;
541 .userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto {
544 vertical-align: middle;
547 @media screen and (max-width: 767px) {
548 .topnav .login_block_other a {
566 padding: 7px 4px 7px 4px;
571 .topnav-left a:hover, .topnav .login_block_other a:hover {
572 background-color: #ddd;
580 .topnav input[
type=
"text"] {
581 background-color: #fff;
584 border-bottom: none !important;
591 div#moreinfo, div#infowarehouse {
593 padding: 0 8px 0 8px;
608 background: var(--colorbackhmenu1);
609 color: var(--colortextbackhmenu);
619 @media screen and (min-width: 892px) {
631 @media (max-width: 891px) and (min-width: 386px) {
643 @media screen and (max-width: 385px){
657 @media screen and (max-width: 1024px) {
658 .topnav input[
type=
"text"] {
663 @media screen and (max-width: 767px) {
670 .topnav input[
type=
"text"] {
695 div#moreinfo, div#infowarehouse {
696 padding: 0 5px 0 5px;
703 div.div1, div.div2, div.div3 {
729 display:
inline-flex;
731 justify-content: center;
748 background-color: rgb(0,0,0);
749 background-color: rgba(0,0,0,0.4);
763 text-decoration: none;
769 background-color: #2b4161;
773 .modal-body {padding: 2px 16px;}
777 background-color: #fefefe;
780 border: 1px solid #888;
782 box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
783 animation-
name: animatetop;
784 animation-duration: 0.4s;
788 @keyframes animatetop {
789 from {top: -300px; opacity: 0}
790 to {top: 0; opacity: 1}
798 background-color: #8c907e;
828 border: 3px solid black;
831 background-color: rgb(233,234,237);
835 @media only screen and (max-width: 767px)
841 .headersplit .headercontent {
858 @media screen and (max-width: 767px) {
863 box-sizing: border-box;
870 .div4 .wrapper.divempty, .div4 img, .div4 .wrapper:nth-last-child(1), .div4 .wrapper:nth-last-child(2), #prodiv22, #prodiv23, .catwatermark {
871 display: none!important;
881 border: 2px solid #EEE;
883 box-sizing: border-box;
884 background-color: #fff;
887 .div4 .wrapper, .tab-category {
893 border: 1px solid #FFF!important;
894 border-top: 3px solid #FFF!important;
897 .div4 .tab-category.active {
898 border-right: 1px solid #CCC !important;
899 border-left: 1px solid #CCC !important;
900 border-top: 3px solid var(--colorbackhmenu1) !important;
912 background-color: black;
916 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));
919 .div5 .description .description_content {
927 display:
inline-flex;
932 .div5 .wrapper2.divempty {
943 display: none!important;
946 .div5 .arrow .centerinmiddle {
947 transform: translate(0, 0);
970 background: #00000042;
1002 scroll-behavior: smooth;
1006 scroll-behavior: smooth;
1015 white-space: nowrap;
1017 display:
inline-flex;
1021 white-space: nowrap;
1024 align-items: center;
1029 white-space: nowrap;
1031 align-items: center;
1034 .topnav-left #shoppingcart {
1035 display:
inline-flex;
1038 .topnav-right .login_block_other {
1040 white-space: nowrap;
1043 ::-webkit-scrollbar {
1048 ::-webkit-scrollbar-track {
1049 background: #f1f1f1;
1053 ::-webkit-scrollbar-thumb {
1057 .topnav::-webkit-scrollbar-track{
1058 background: #eeeeee;
1061 .topnav::-webkit-scrollbar{
1063 background: #F5F5F5;
1066 .topnav::-webkit-scrollbar-thumb{
1067 background: #f9171700;
1070 .topnav.overflow .arrows {
pt($db, $sql, $date)
print function
getDolGlobalInt($key, $default=0)
Return dolibarr global constant int value.
if(!function_exists('utf8_encode')) if(!function_exists('utf8_decode')) getDolGlobalString($key, $default='')
Return dolibarr global constant string value.
if(!defined('NOREQUIREMENU')) if(!function_exists("llxHeader")) top_httphead($contenttype='text/html', $forcenocache=0)
Show HTTP header.
table tableforfield button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
div float
Buy price without taxes.
if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
$conf db name
Only used if Module[ID]Name translation string is not found.