Spaces:
Sleeping
Sleeping
body { | |
font-family: Arial, sans-serif; | |
} | |
.menu-item { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
padding: 10px; | |
border: 1px solid #ddd; | |
margin-bottom: 10px; | |
border-radius: 5px; | |
} | |
.menu-details { | |
flex: 1; | |
} | |
.menu-img { | |
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 { | |
position: fixed; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
background: white; | |
border-radius: 5px; | |
padding: 20px; | |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); | |
z-index: 1000; | |
width: 60%; | |
} | |
.menu-card { | |
border: 1px solid #ddd; | |
border-radius: 8px; | |
padding: 10px; | |
width: 300px; | |
margin-bottom: 20px; | |
background: white; | |
text-align: center; | |
} | |
.menu-image { | |
width: 100%; | |
height: 200px; | |
object-fit: cover; | |
border-radius: 8px; | |
} | |
.menu-title, .menu-description, .menu-price { | |
margin: 10px 0; | |
} | |
.add-button { | |
background-color: #28a745; | |
color: white; | |
padding: 10px 15px; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
.popup { | |
position: fixed; | |
z-index: 1000; | |
top: 20%; | |
left: 50%; | |
transform: translate(-50%, -20%); | |
width: 50%; | |
background-color: white; | |
padding: 20px; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |
border-radius: 8px; | |
display: none; | |
} | |