2022-11-02 10:21:33 +01:00
|
|
|
:root {
|
|
|
|
--navbutton-size: .8rem;
|
2022-11-24 00:53:32 +01:00
|
|
|
--section-padding: 1.5rem;
|
|
|
|
--border-radius: var(--btcpay-border-radius-l);
|
|
|
|
--wrap-max-width: 400px;
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|
2023-03-13 02:09:56 +01:00
|
|
|
body {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
2023-01-30 09:23:49 +01:00
|
|
|
.public-page-wrap {
|
2022-11-24 00:53:32 +01:00
|
|
|
flex-direction: column;
|
|
|
|
max-width: var(--wrap-max-width);
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|
|
|
|
main {
|
|
|
|
position: relative;
|
2022-11-24 00:53:32 +01:00
|
|
|
border-radius: var(--border-radius);
|
2022-11-02 10:21:33 +01:00
|
|
|
background-color: var(--btcpay-bg-tile);
|
|
|
|
}
|
|
|
|
nav {
|
|
|
|
position: absolute;
|
|
|
|
top: var(--btcpay-space-m);
|
|
|
|
left: var(--btcpay-space-m);
|
|
|
|
right: var(--btcpay-space-m);
|
|
|
|
}
|
|
|
|
nav button {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
color: var(--btcpay-body-text-muted);
|
|
|
|
}
|
|
|
|
nav button:hover {
|
|
|
|
color: var(--btcpay-body-text-hover);
|
|
|
|
}
|
|
|
|
nav button#close {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
nav button .icon {
|
|
|
|
width: var(--navbutton-size);
|
|
|
|
height: var(--navbutton-size);
|
|
|
|
}
|
|
|
|
section {
|
|
|
|
padding: var(--section-padding);
|
|
|
|
}
|
|
|
|
section h4 {
|
|
|
|
margin-bottom: var(--btcpay-space-l);
|
|
|
|
font-weight: var(--btcpay-font-weight-semibold);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
section h5,
|
|
|
|
section h6 {
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
font-weight: var(--btcpay-font-weight-semibold);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
section .top {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
section .buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: var(--btcpay-space-m);
|
|
|
|
}
|
|
|
|
section dl > div {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-11-24 00:53:32 +01:00
|
|
|
gap: var(--btcpay-space-m);
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|
|
|
|
section dl > div dt,
|
|
|
|
section dl > div dd {
|
|
|
|
margin: 0;
|
|
|
|
padding: var(--btcpay-space-xs) 0;
|
|
|
|
font-weight: var(--btcpay-font-weight-normal);
|
|
|
|
}
|
|
|
|
section dl > div dt {
|
|
|
|
text-align: left;
|
2022-11-24 00:53:32 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
color: var(--btcpay-body-text-muted);
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|
|
|
|
section dl > div dd {
|
|
|
|
text-align: right;
|
2022-11-24 00:53:32 +01:00
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-word;
|
2023-02-25 14:28:02 +01:00
|
|
|
max-width: 62.5%;
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|
2022-11-24 00:53:32 +01:00
|
|
|
.info {
|
|
|
|
color: var(--btcpay-neutral-700);
|
|
|
|
background-color: var(--btcpay-body-bg);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
.info .expiryTime {
|
|
|
|
color: var(--btcpay-body-text);
|
|
|
|
}
|
|
|
|
.info > div {
|
|
|
|
padding: var(--btcpay-space-m) var(--btcpay-space-m);
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|
2022-11-24 00:53:32 +01:00
|
|
|
.info > div > div {
|
2022-11-02 10:21:33 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
2022-11-24 00:53:32 +01:00
|
|
|
gap: var(--btcpay-space-xs);
|
|
|
|
}
|
|
|
|
.info > div > div + div {
|
|
|
|
margin-top: var(--btcpay-space-s);
|
|
|
|
}
|
|
|
|
.info .spinner-border {
|
|
|
|
width: var(--btcpay-font-size-s);
|
|
|
|
height: var(--btcpay-font-size-s);
|
|
|
|
color: var(--btcpay-body-text-muted);
|
|
|
|
margin-right: var(--btcpay-space-xs);
|
|
|
|
animation-duration: 1s;
|
|
|
|
}
|
|
|
|
.info .icon {
|
|
|
|
width: 1.25rem;
|
|
|
|
height: 1.25rem;
|
|
|
|
color: var(--btcpay-info);
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|
2022-11-24 00:53:32 +01:00
|
|
|
.payment-details dl {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.payment-details-button {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: var(--btcpay-space-s);
|
|
|
|
}
|
|
|
|
.payment-details-button .icon {
|
|
|
|
margin-left: -1rem; /* Adjust for visual center */
|
|
|
|
}
|
2022-11-02 10:21:33 +01:00
|
|
|
#payment .btcpay-pills .btcpay-pill {
|
|
|
|
padding: var(--btcpay-space-xs) var(--btcpay-space-m);
|
|
|
|
}
|
|
|
|
#form > form,
|
|
|
|
#result > div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2022-11-24 00:53:32 +01:00
|
|
|
|
|
|
|
#result .top .icn .icon {
|
2022-11-02 10:21:33 +01:00
|
|
|
display: block;
|
|
|
|
width: 3rem;
|
|
|
|
height: 3rem;
|
|
|
|
margin: .5rem auto 1.5rem;
|
|
|
|
}
|
2023-03-13 02:09:56 +01:00
|
|
|
#result #confetti {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 2rem;
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
}
|
2022-11-24 00:53:32 +01:00
|
|
|
#result #paid .top .icn .icon {
|
|
|
|
color: var(--btcpay-primary);
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|
2022-11-24 00:53:32 +01:00
|
|
|
#result #expired .top .icn .icon {
|
|
|
|
color: var(--btcpay-body-text-muted);
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|
2022-11-24 00:53:32 +01:00
|
|
|
#DefaultLang {
|
2023-03-02 08:34:15 +01:00
|
|
|
width: calc(var(--text-width, 110px) + 3rem);
|
2022-11-24 00:53:32 +01:00
|
|
|
color: var(--btcpay-body-text-muted);
|
2023-03-19 08:44:23 +01:00
|
|
|
background-color: var(--btcpay-body-bg);
|
2022-11-24 00:53:32 +01:00
|
|
|
box-shadow: none;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
2023-03-19 08:44:23 +01:00
|
|
|
font-size: var(--btcpay-body-font-size);
|
2022-11-24 00:53:32 +01:00
|
|
|
}
|
|
|
|
#DefaultLang:hover {
|
|
|
|
color: var(--btcpay-body-text-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
main {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Modal adjustments */
|
|
|
|
.checkout-modal body {
|
|
|
|
background: rgba(var(--btcpay-black-rgb), 0.85);
|
|
|
|
}
|
|
|
|
.checkout-modal h1,
|
|
|
|
.checkout-modal footer a:hover,
|
|
|
|
.checkout-modal #DefaultLang:hover {
|
|
|
|
color: var(--btcpay-white);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Plugins */
|
|
|
|
.payment-box .plugins > .payment {
|
|
|
|
margin-top: var(--btcpay-space-l);
|
2022-11-02 10:21:33 +01:00
|
|
|
}
|