nagasurendra's picture
Update static/styles.css
91f92dc verified
raw
history blame
1.7 kB
/* Main Page Styles */
body {
font-family: Arial, sans-serif;
background-color: #f9f9f9;
margin: 20px;
}
.menu-card {
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid #ddd;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
background-color: white;
}
.menu-card-content {
flex: 1;
}
.menu-card-image {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 5px;
}
.add-button {
background-color: #28a745;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
}
/* Main Page Styles */
.menu-card {
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid #ddd;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
background-color: white;
}
.menu-card-content {
flex: 1;
}
.menu-card-image {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 5px;
}
.add-button {
background-color: #28a745;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
width: 50%;
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.modal-content {
text-align: center;
}
.modal-image {
max-width: 100%;
height: auto;
margin-bottom: 20px;
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
cursor: pointer;
}