2023-11-21 10:13:26 +01:00
|
|
|
#PosKeypad {
|
2023-11-30 10:19:03 +01:00
|
|
|
--wrap-max-width: 500px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
2024-06-20 16:17:36 +02:00
|
|
|
#PosKeypad .alert {
|
|
|
|
margin-top: var(--btcpay-space-xl);
|
|
|
|
}
|
2023-11-30 10:19:03 +01:00
|
|
|
|
2024-03-14 11:11:54 +01:00
|
|
|
button[data-bs-toggle] {
|
2023-11-30 10:19:03 +01:00
|
|
|
position: absolute;
|
2024-03-14 11:11:54 +01:00
|
|
|
top: 1.75rem;
|
2023-11-30 10:19:03 +01:00
|
|
|
z-index: 1;
|
2024-03-14 11:11:54 +01:00
|
|
|
color: var(--btcpay-header-link);
|
2023-11-30 10:19:03 +01:00
|
|
|
}
|
2024-03-14 11:11:54 +01:00
|
|
|
button[data-bs-toggle]:hover {
|
|
|
|
color: var(--btcpay-header-link-accent);
|
2023-11-30 10:19:03 +01:00
|
|
|
}
|
2024-03-14 11:11:54 +01:00
|
|
|
button[data-bs-toggle] .icon {
|
2024-05-20 01:57:46 +02:00
|
|
|
--icon-size: 1.75em;
|
2023-11-30 10:19:03 +01:00
|
|
|
}
|
2024-03-14 11:11:54 +01:00
|
|
|
#ItemsListToggle {
|
|
|
|
right: var(--btcpay-space-m);
|
2023-11-30 10:19:03 +01:00
|
|
|
}
|
2024-03-14 11:11:54 +01:00
|
|
|
#RecentTransactionsToggle {
|
|
|
|
left: var(--btcpay-space-m);
|
2023-11-30 10:19:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 359px) {
|
|
|
|
#RecentTransactions .list-group .badge-container {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2023-07-22 14:15:41 +02:00
|
|
|
}
|
|
|
|
|
2024-03-14 11:11:54 +01:00
|
|
|
#PosItems {
|
|
|
|
--image-size: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#PosItems .img img {
|
|
|
|
width: var(--image-size);
|
|
|
|
height: var(--image-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
#PosItems .img img {
|
|
|
|
max-width: var(--image-size);
|
|
|
|
max-height: var(--image-size);
|
|
|
|
object-fit: scale-down;
|
|
|
|
border-radius: var(--btcpay-border-radius);
|
|
|
|
}
|
|
|
|
|
2023-07-22 14:15:41 +02:00
|
|
|
/* modes */
|
|
|
|
#ModeTabs {
|
|
|
|
min-height: 2.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* keypad */
|
|
|
|
.keypad {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
}
|
|
|
|
.keypad .btn {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
border-radius: 0;
|
2023-11-30 10:19:03 +01:00
|
|
|
border-color: transparent !important;
|
2023-07-22 14:15:41 +02:00
|
|
|
font-weight: var(--btcpay-font-weight-semibold);
|
|
|
|
font-size: 24px;
|
|
|
|
min-height: 3.5rem;
|
|
|
|
height: 8vh;
|
|
|
|
max-height: 6rem;
|
|
|
|
color: var(--btcpay-body-text);
|
|
|
|
}
|
2023-11-02 20:03:34 +01:00
|
|
|
.keypad .btn[data-key="+"] {
|
|
|
|
font-size: 2.25em;
|
2023-07-22 14:15:41 +02:00
|
|
|
}
|
|
|
|
.btcpay-pills label,
|
|
|
|
.btn-secondary.rounded-pill {
|
|
|
|
padding-left: 1rem;
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* make borders collapse by shifting rows and columns by 1px */
|
|
|
|
/* second column */
|
|
|
|
.keypad .btn:nth-child(3n-1) {
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
|
|
|
/* third column */
|
|
|
|
.keypad .btn:nth-child(3n) {
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
|
|
|
/* from second row downwards */
|
|
|
|
.keypad .btn:nth-child(n+4) {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
/* ensure highlighted button is topmost */
|
|
|
|
.keypad .btn:hover,
|
|
|
|
.keypad .btn:focus,
|
|
|
|
.keypad .btn:active {
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#Calculation {
|
|
|
|
min-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-height: 700px) {
|
|
|
|
.store-header {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 575px) {
|
2023-11-21 10:13:26 +01:00
|
|
|
#PosKeypad {
|
|
|
|
--wrap-padding-horizontal: 0;
|
|
|
|
overflow: hidden;
|
2023-07-22 14:15:41 +02:00
|
|
|
}
|
|
|
|
.keypad {
|
|
|
|
margin-left: -1px;
|
|
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
.store-footer {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* fix sticky hover effect on mobile browsers */
|
|
|
|
@media (hover: none) {
|
|
|
|
.actions .btn-secondary:hover {
|
|
|
|
border-color: var(--btcpay-secondary-border-active) !important;
|
|
|
|
}
|
|
|
|
}
|