Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +43 -2
static/styles.css
CHANGED
@@ -154,12 +154,13 @@ body {
|
|
154 |
height: 80px;
|
155 |
object-fit: cover;
|
156 |
border-radius: 5px;
|
|
|
157 |
}
|
158 |
|
159 |
.ingredients-list button {
|
160 |
padding: 5px 10px;
|
161 |
margin-top: 5px;
|
162 |
-
background-color: #
|
163 |
color: white;
|
164 |
border: none;
|
165 |
border-radius: 5px;
|
@@ -168,7 +169,47 @@ body {
|
|
168 |
}
|
169 |
|
170 |
.ingredients-list button:hover {
|
171 |
-
background-color: #45a049;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
}
|
173 |
|
174 |
/* Non-editable selected ingredients box */
|
|
|
154 |
height: 80px;
|
155 |
object-fit: cover;
|
156 |
border-radius: 5px;
|
157 |
+
margin-bottom: 5px;
|
158 |
}
|
159 |
|
160 |
.ingredients-list button {
|
161 |
padding: 5px 10px;
|
162 |
margin-top: 5px;
|
163 |
+
background-color: #4CAF50; /* Updated to match the image */
|
164 |
color: white;
|
165 |
border: none;
|
166 |
border-radius: 5px;
|
|
|
169 |
}
|
170 |
|
171 |
.ingredients-list button:hover {
|
172 |
+
background-color: #45a049; /* Darker shade for hover */
|
173 |
+
}
|
174 |
+
|
175 |
+
/* Send button styling */
|
176 |
+
.send-button {
|
177 |
+
display: block;
|
178 |
+
padding: 10px 20px;
|
179 |
+
margin: 10px auto 0;
|
180 |
+
background-color: #000000; /* Black background as per image */
|
181 |
+
color: white;
|
182 |
+
border: none;
|
183 |
+
border-radius: 5px;
|
184 |
+
cursor: pointer;
|
185 |
+
transition: background-color 0.3s;
|
186 |
+
font-size: 14px;
|
187 |
+
min-width: 100px;
|
188 |
+
text-align: center;
|
189 |
+
}
|
190 |
+
|
191 |
+
.send-button:hover {
|
192 |
+
background-color: #333333; /* Darker shade on hover */
|
193 |
+
}
|
194 |
+
|
195 |
+
/* Remove button styling with "X" */
|
196 |
+
.remove-button {
|
197 |
+
padding: 2px 8px;
|
198 |
+
background-color: #000000; /* Black background to match image */
|
199 |
+
color: white; /* White "X" to match image */
|
200 |
+
border: none;
|
201 |
+
border-radius: 5px;
|
202 |
+
cursor: pointer;
|
203 |
+
margin-left: 10px;
|
204 |
+
font-size: 16px;
|
205 |
+
line-height: 1;
|
206 |
+
width: 20px; /* Fixed width for square "X" */
|
207 |
+
height: 20px; /* Fixed height for square "X" */
|
208 |
+
text-align: center;
|
209 |
+
}
|
210 |
+
|
211 |
+
.remove-button:hover {
|
212 |
+
background-color: #333333; /* Darker shade on hover */
|
213 |
}
|
214 |
|
215 |
/* Non-editable selected ingredients box */
|