mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-02 13:44:22 +01:00
* Add admin option to show item list for keypad view * Refactor common POS Vue mixin * Add item list to POS keypad * Add recent transactions to cart * Keypad: Pass tip and discount as cart does * Keypad and cart tests * Improve offcanvas button --------- Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
99 lines
2.1 KiB
CSS
99 lines
2.1 KiB
CSS
#PosPrint,
|
|
#PosStatic {
|
|
--wrap-max-width: 1320px;
|
|
}
|
|
|
|
#Categories nav {
|
|
justify-content: center;
|
|
}
|
|
#Categories.scrollable {
|
|
--scroll-bar-spacing: var(--btcpay-space-m);
|
|
--scroll-indicator-spacing: var(--btcpay-space-m);
|
|
position: relative;
|
|
margin-bottom: calc(var(--scroll-bar-spacing) * -1);
|
|
}
|
|
#Categories.scrollable nav {
|
|
justify-content: start;
|
|
overflow: auto visible;
|
|
-webkit-overflow-scrolling: touch;
|
|
margin-left: calc(var(--scroll-indicator-spacing) * -1);
|
|
margin-right: calc(var(--scroll-indicator-spacing) * -1);
|
|
padding: 0 var(--scroll-indicator-spacing) var(--scroll-bar-spacing);
|
|
}
|
|
|
|
#Categories.scrollable nav::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
#RecentTransactionsRefresh[disabled] .icon {
|
|
animation: 1.25s linear infinite spinner-border;
|
|
}
|
|
#RecentTransactions .list-group {
|
|
margin: calc(var(--btcpay-modal-padding) * -1);
|
|
width: calc(100% + var(--btcpay-modal-padding) * 2);
|
|
}
|
|
#RecentTransactions .list-group-item {
|
|
background-color: transparent;
|
|
}
|
|
#RecentTransactions .list-group .badge-container {
|
|
flex: 0 0 5.125rem;
|
|
text-align: right;
|
|
}
|
|
.lead {
|
|
max-width: 36em;
|
|
margin: 0 auto 2.5rem;
|
|
}
|
|
.lead :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.posItem {
|
|
display: none;
|
|
position: relative;
|
|
}
|
|
.posItem.posItem--inStock {
|
|
cursor: pointer;
|
|
}
|
|
.posItem-added {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--btcpay-success);
|
|
color: var(--btcpay-success-text);
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity var(--btcpay-transition-duration-default) ease-in-out;
|
|
}
|
|
.posItem-added .icon {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
}
|
|
.posItem--added {
|
|
pointer-events: none;
|
|
}
|
|
.posItem--added .posItem-added {
|
|
opacity: .8;
|
|
}
|
|
.posItem--displayed {
|
|
display: flex;
|
|
}
|
|
.posItem--first {
|
|
margin-left: auto;
|
|
}
|
|
.posItem--last {
|
|
margin-right: auto;
|
|
}
|
|
.posItem .card {
|
|
width: 100%;
|
|
}
|
|
.posItem .card .card-body {
|
|
flex-grow: 0;
|
|
}
|
|
.posItem .card .card-img-top {
|
|
max-height: 210px;
|
|
object-fit: scale-down;
|
|
}
|