Files
FOFTickets/public/styles.css

99 lines
1.9 KiB
CSS
Raw Normal View History

2024-12-09 15:11:22 -05:00
/* 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 */
2024-12-19 15:57:33 -05:00
align-items: center; /* Vertically center the modal */
justify-content: center; /* Horizontally center the modal */
2024-12-09 15:11:22 -05:00
}
/* Modal content */
.modal-content {
background-color: white;
margin: 15% auto; /* Center the modal */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Adjust as needed */
2024-12-19 15:57:33 -05:00
height: 80%;
}
.qrcode-image {
object-fit: contain;
2024-12-26 21:46:13 -05:00
grid-column:2;
2024-12-09 15:11:22 -05:00
}
/* Close button */
.close {
color: black;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
2024-12-20 17:18:31 -05:00
2024-12-26 21:46:13 -05:00
.grid {
}
2024-12-20 17:18:31 -05:00
2024-12-26 00:33:23 -05:00
/* General Reset */
body {
margin: 0;
font-family: Arial, sans-serif;
2024-12-26 21:46:13 -05:00
display: grid;
grid-template-columns: 1fr 3fr;
2024-12-26 00:33:23 -05:00
height: 100vh; /* Full viewport height */
2024-12-20 17:18:31 -05:00
}
2024-12-26 00:33:23 -05:00
/* Sidebar (Nav Links) */
.nav-links {
background-color: #f4f4f4; /* Light gray background */
padding: 20px;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* Add a slight shadow for separation */
2024-12-26 21:46:13 -05:00
grid-column: 1;
2024-12-26 00:33:23 -05:00
min-height: 100vh; /* Stretch to full viewport height */
2024-12-20 17:18:31 -05:00
}
2024-12-26 00:33:23 -05:00
.nav-links nav ul {
list-style: none; /* Remove bullet points */
2024-12-20 17:18:31 -05:00
padding: 0;
}
2024-12-26 00:33:23 -05:00
.nav-links nav ul li {
margin: 10px 0; /* Add spacing between links */
2024-12-20 17:18:31 -05:00
}
2024-12-26 00:33:23 -05:00
.nav-links nav ul li a {
text-decoration: none; /* Remove underline */
color: #333;
2024-12-20 17:18:31 -05:00
}
2024-12-26 00:33:23 -05:00
.nav-links nav ul li a:hover {
color: #007BFF; /* Change link color on hover */
}
.content {
2024-12-26 21:46:13 -05:00
grid-column: 2;
2024-12-26 00:33:23 -05:00
flex-grow: 1; /* Allow content to fill the remaining space */
padding: 20px;
}
.menu-icon {
cursor: pointer;
display: inline-block;
2024-12-20 17:18:31 -05:00
}
2024-12-26 00:33:23 -05:00
.menu-icon span {
2024-12-20 17:18:31 -05:00
display: block;
2024-12-26 00:33:23 -05:00
width: 25px;
height: 3px;
margin: 5px 0;
background: #fff;
transition: 0.4s;
2024-12-20 17:18:31 -05:00
}