65 lines
1.2 KiB
CSS
65 lines
1.2 KiB
CSS
/* Modal container */
|
|
.modal {
|
|
display: none; /* Hidden by default */
|
|
position: fixed; /* Stay in place */
|
|
z-index: 1000; /* Sit on top */
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%; /* Full width */
|
|
height: 100%; /* Full height */
|
|
background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
|
|
align-items: center; /* Vertically center the modal */
|
|
justify-content: center; /* Horizontally center the modal */
|
|
}
|
|
|
|
/* Modal content */
|
|
.modal-content {
|
|
background-color: white;
|
|
margin: 15% auto; /* Center the modal */
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 80%; /* Adjust as needed */
|
|
height: 80%;
|
|
}
|
|
|
|
.qrcode-image {
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* Close button */
|
|
.close {
|
|
color: black;
|
|
float: right;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
body {
|
|
display: grid;
|
|
grid-template-columns: 240px auto;
|
|
grid-template-rows: 40px auto;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.nav {
|
|
grid-column: 1;
|
|
grid-row: 1 / 3;
|
|
background-color: #FFC0C0;
|
|
}
|
|
|
|
.message {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
background-color: #C0FFC0;
|
|
align-content: center;
|
|
justify-items: center;
|
|
}
|
|
|
|
.content {
|
|
grid-column: 2;
|
|
grid-row: 2;
|
|
background-color: #C0C0FF;
|
|
}
|