Styling and code fixes

This commit is contained in:
Faris Ansari
2017-08-27 13:56:33 +05:30
parent 5e2d2059fe
commit d733b7d7d0
3 changed files with 192 additions and 33 deletions

View File

@@ -1,6 +1,16 @@
[data-route="point-of-sale"] .layout-main-section-wrapper {
margin-bottom: 0;
}
[data-route="point-of-sale"] .pos-items-wrapper {
max-height: calc(100vh - 210px);
}
.pos {
padding: 15px;
}
.list-item {
min-height: 40px;
height: auto;
}
.cart-container {
padding: 0 15px;
display: inline-block;
@@ -33,7 +43,7 @@
flex: 1.5;
}
.cart-items {
height: 200px;
height: 150px;
overflow: auto;
}
.cart-items .list-item.current-item {
@@ -132,3 +142,32 @@ input[type=number]::-webkit-outer-spin-button {
background-color: #5E64FF;
color: #ffffff;
}
.discount-amount .discount-inputs {
display: flex;
flex-direction: column;
padding: 15px 0;
}
.discount-amount input:first-child {
margin-bottom: 10px;
}
.taxes-and-totals {
border-top: 1px solid #d1d8dd;
}
.taxes-and-totals .taxes {
display: flex;
flex-direction: column;
padding: 15px 0;
align-items: flex-end;
}
.taxes-and-totals .taxes > div:first-child {
margin-bottom: 10px;
}
.grand-total {
border-top: 1px solid #d1d8dd;
}
.grand-total .list-item {
height: 60px;
}
.grand-total .grand-total-value {
font-size: 24px;
}