Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +21 -37
static/styles.css
CHANGED
@@ -60,33 +60,7 @@ h1 {
|
|
60 |
}
|
61 |
|
62 |
/* Pop-Up Modal */
|
63 |
-
|
64 |
-
display: none;
|
65 |
-
position: fixed;
|
66 |
-
top: 50%;
|
67 |
-
left: 50%;
|
68 |
-
transform: translate(-50%, -50%);
|
69 |
-
width: 50%;
|
70 |
-
background-color: white;
|
71 |
-
padding: 20px;
|
72 |
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
73 |
-
border-radius: 8px;
|
74 |
-
z-index: 1000;
|
75 |
-
}
|
76 |
-
|
77 |
-
.popup button {
|
78 |
-
background-color: red;
|
79 |
-
color: white;
|
80 |
-
border: none;
|
81 |
-
padding: 10px;
|
82 |
-
border-radius: 5px;
|
83 |
-
cursor: pointer;
|
84 |
-
}
|
85 |
-
|
86 |
-
.popup button:hover {
|
87 |
-
background-color: darkred;
|
88 |
-
}
|
89 |
-
/* Modal Window Styles */
|
90 |
.popup {
|
91 |
display: none; /* Hidden by default */
|
92 |
position: fixed;
|
@@ -105,17 +79,27 @@ h1 {
|
|
105 |
display: block; /* Show when modal is triggered */
|
106 |
}
|
107 |
|
108 |
-
.
|
109 |
-
|
110 |
-
top: 0;
|
111 |
-
left: 0;
|
112 |
-
width: 100%;
|
113 |
-
height: 100%;
|
114 |
-
background: rgba(0, 0, 0, 0.5);
|
115 |
-
z-index: 999;
|
116 |
}
|
117 |
|
118 |
-
/* Scrollable Background */
|
119 |
body {
|
120 |
-
overflow-y: scroll; /* Keep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
}
|
|
|
60 |
}
|
61 |
|
62 |
/* Pop-Up Modal */
|
63 |
+
/* Modal Window */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
.popup {
|
65 |
display: none; /* Hidden by default */
|
66 |
position: fixed;
|
|
|
79 |
display: block; /* Show when modal is triggered */
|
80 |
}
|
81 |
|
82 |
+
.popup button {
|
83 |
+
margin-top: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
}
|
85 |
|
|
|
86 |
body {
|
87 |
+
overflow-y: scroll; /* Keep background scrollable */
|
88 |
+
}
|
89 |
+
|
90 |
+
/* Menu Item */
|
91 |
+
.menu-item img {
|
92 |
+
width: 100px;
|
93 |
+
height: 100px;
|
94 |
+
object-fit: cover;
|
95 |
+
}
|
96 |
+
|
97 |
+
.add-button {
|
98 |
+
background-color: #28a745;
|
99 |
+
color: white;
|
100 |
+
border: none;
|
101 |
+
padding: 10px;
|
102 |
+
border-radius: 5px;
|
103 |
+
cursor: pointer;
|
104 |
+
font-size: 14px;
|
105 |
}
|