tmc-v2/public/css/receipt.css

184 lines
2.8 KiB
CSS

body {
font-family: monospace;
/* background: #f5f5f5; */
display: flex;
justify-content: center;
padding: 20px;
font-size: large;
margin: 0;
}
.receipt {
display: none;
width: 300px;
background: white;
padding: 25px;
/* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
/* border-top: 5px solid #00b8d7; */
}
.header {
text-align: center;
margin-bottom: 20px;
}
.header h1 {
color: #f03024;
font-size: 24px;
margin: 0;
}
.header p {
margin: 5px 0;
color: #666;
}
.datex-pay-logo {
width: 250px;
}
.mulberry-logo {
width: 100px;
}
.divider {
border-top: 1px dashed #ccc;
margin: 15px 0;
}
.receipt-details {
margin-bottom: 20px;
font-size: smaller;
}
.receipt-row {
display: flex;
justify-content: space-between;
margin: 8px 0;
}
.label {
font-weight: bold;
color: #333;
}
.footer {
text-align: center;
font-size: 12px;
color: #999;
margin-top: 20px;
}
.buttons {
display: flex;
gap: 10px;
margin-top: 20px;
justify-content: center;
}
#payButton,
#cancelButton {
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
#payButton {
background-color: #553285;
color: white;
}
#payButton:hover {
background-color: #cdbbe7;
}
#cancelButton {
color: white;
border-style: solid;
background-color: #f3f3f3;
color: #553285;
}
#cancelButton:hover {
background-color: #f7bef2;
}
.loading {
position: absolute;
top: 150px;
display: none;
/* Hide loading circle by default */
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
margin: 0 auto;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
div#buttons {
width: 300px;
background: white;
padding: 25px;
}
/* .bearHolder{
place-self: center;
justify-self: center;
}
.bear-image{
height: 292px;
} */
.bearHolder {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
/* Optional: set a specific height if needed */
/* height: 300px; */
overflow: hidden; /* Crop anything outside the container */
height: 200px; /* Set your desired height */
}
.bear-image {
max-width: 64%;
max-height: 74%;
height: auto;
width: auto;
display: block;
transform: scale(1.8);
/* Removes extra space below image */
}
/* Fallback for older browsers (optional) */
.bearHolder {
text-align: center; /* Fallback for very old browsers */
}
.bear-image {
margin: 0 auto; /* Fallback for very old browsers */
}