diff --git a/htdocs/takepos/css/pos.css b/htdocs/takepos/css/pos.css index b21d6d9ae05..3cbbd25520b 100644 --- a/htdocs/takepos/css/pos.css +++ b/htdocs/takepos/css/pos.css @@ -26,6 +26,17 @@ button.calcbutton2.poscolordelete { } button.calcbutton { + display: inline-block; + position: relative; + padding: 0; + line-height: normal; + cursor: pointer; + vertical-align: middle; + text-align: center; + overflow: visible; /* removes extra width in IE */ + width: calc(25% - 2px); + height: 24%; + font-weight: bold; background-color: #8c907e; color: #fff; /* border-color: unset; */ @@ -37,9 +48,6 @@ button.calcbutton2 { color: #fff; background-color: #5555AA; border-width: 0px; -} - -button.calcbutton { display: inline-block; position: relative; padding: 0; @@ -48,22 +56,8 @@ button.calcbutton { vertical-align: middle; text-align: center; overflow: visible; /* removes extra width in IE */ - width:24%; - height:24%; - font-weight: bold; -} - -button.calcbutton2 { - display: inline-block; - position: relative; - padding: 0; - line-height: normal; - cursor: pointer; - vertical-align: middle; - text-align: center; - overflow: visible; /* removes extra width in IE */ - width:24%; - height:24%; + width: calc(25% - 2px); + height: 24%; font-weight: bold; } @@ -77,8 +71,8 @@ button.calcbutton3 { text-align: center; font-size:120%; overflow: visible; /* removes extra width in IE */ - width:24%; - height:24%; + width: calc(25% - 2px); + height: 24%; } button.actionbutton { @@ -100,6 +94,9 @@ button.actionbutton { height:24%; } +.takepospay { + font-size: 1.5em; +} .fa.fa-trash:before { font-size: 1.5em; @@ -380,11 +377,37 @@ div.description_content { } } -@media screen and (max-width: 767px){ +/* For small screens */ + +@media screen and (max-width: 767px) { + div.container { + overflow-x: scroll; + } div.wrapper { width: 50%; } div.wrapper2 { width: 25%; } + + div.div1, div.div2, div.div3 { + width: 100%; + } + + div.row1 { + height: unset; + } + + div.div2 { + min-height: unset; + } + + button.calcbutton, button.calcbutton2 { + min-height: 30px; + } + + .takepospay { + font-size: 1.2em; + } + } diff --git a/htdocs/takepos/pay.php b/htdocs/takepos/pay.php index 47930f91e59..f9e5b70b558 100644 --- a/htdocs/takepos/pay.php +++ b/htdocs/takepos/pay.php @@ -211,23 +211,23 @@ else print "var received=0;";
-
trans('TotalTTC'); ?>: total_ttc, 1, '', 1, -1, -1) ?>
+
trans('TotalTTC'); ?>: total_ttc, 1, '', 1, -1, -1) ?>
total_ttc) { ?>
-
trans('RemainToPay'); ?>:
+
trans('RemainToPay'); ?>:
-
trans("Received"); ?>:
+
trans("Received"); ?>:
-
trans("Change"); ?>:
+
trans("Change"); ?>:
-
+
'<
-
+
+
...
'<
-
+
+
...