3D-Menu / components /styles.py
SathvikGanta's picture
Update components/styles.py
7c5fe7e verified
raw
history blame
1.38 kB
/* Styling for the vertical food list */
#food-list {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
button {
width: 80%;
max-width: 400px;
padding: 10px;
font-size: 16px;
border-radius: 8px;
border: 1px solid #ddd;
cursor: pointer;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
button:hover {
background-color: #f5f5f5;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Popup card styling */
.popup-card {
width: 400px;
max-width: 90%;
background-color: #fff;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
overflow: hidden;
text-align: center;
}
.popup-image {
width: 100%;
height: auto;
object-fit: cover;
}
.popup-content {
padding: 20px;
font-family: Arial, sans-serif;
}
.popup-content h3 {
font-size: 20px;
font-weight: bold;
}
.popup-content .price {
font-size: 18px;
color: #4CAF50;
font-weight: bold;
}
.add-btn {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
margin: 10px 0;
}
.add-btn:hover {
background-color: #45a049;
}
.customizable {
font-size: 12px;
color: #999;
}
.description {
font-size: 14px;
margin-top: 10px;
color: #555;
}