Spaces:
Sleeping
Sleeping
Update components/styles.py
Browse files- components/styles.py +7 -7
components/styles.py
CHANGED
@@ -23,7 +23,7 @@ button:hover {
|
|
23 |
}
|
24 |
|
25 |
/* Popup container styling */
|
26 |
-
|
27 |
display: none;
|
28 |
position: fixed;
|
29 |
top: 0;
|
@@ -36,11 +36,11 @@ button:hover {
|
|
36 |
z-index: 1000;
|
37 |
}
|
38 |
|
39 |
-
|
40 |
display: flex;
|
41 |
}
|
42 |
|
43 |
-
|
44 |
width: 400px;
|
45 |
max-width: 90%;
|
46 |
background-color: #fff;
|
@@ -51,25 +51,25 @@ button:hover {
|
|
51 |
position: relative;
|
52 |
}
|
53 |
|
54 |
-
|
55 |
width: 100%;
|
56 |
max-height: 200px;
|
57 |
object-fit: cover;
|
58 |
border-radius: 12px 12px 0 0;
|
59 |
}
|
60 |
|
61 |
-
|
62 |
margin-top: 20px;
|
63 |
font-size: 24px;
|
64 |
}
|
65 |
|
66 |
-
|
67 |
width: 100%;
|
68 |
margin-top: 10px;
|
69 |
border-collapse: collapse;
|
70 |
}
|
71 |
|
72 |
-
|
73 |
padding: 10px;
|
74 |
border: 1px solid #ddd;
|
75 |
}
|
|
|
23 |
}
|
24 |
|
25 |
/* Popup container styling */
|
26 |
+
.popup-area {
|
27 |
display: none;
|
28 |
position: fixed;
|
29 |
top: 0;
|
|
|
36 |
z-index: 1000;
|
37 |
}
|
38 |
|
39 |
+
.popup-area.visible {
|
40 |
display: flex;
|
41 |
}
|
42 |
|
43 |
+
.food-card {
|
44 |
width: 400px;
|
45 |
max-width: 90%;
|
46 |
background-color: #fff;
|
|
|
51 |
position: relative;
|
52 |
}
|
53 |
|
54 |
+
.food-card img {
|
55 |
width: 100%;
|
56 |
max-height: 200px;
|
57 |
object-fit: cover;
|
58 |
border-radius: 12px 12px 0 0;
|
59 |
}
|
60 |
|
61 |
+
.food-card h3 {
|
62 |
margin-top: 20px;
|
63 |
font-size: 24px;
|
64 |
}
|
65 |
|
66 |
+
.food-card table {
|
67 |
width: 100%;
|
68 |
margin-top: 10px;
|
69 |
border-collapse: collapse;
|
70 |
}
|
71 |
|
72 |
+
.food-card table td {
|
73 |
padding: 10px;
|
74 |
border: 1px solid #ddd;
|
75 |
}
|