Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +48 -23
static/styles.css
CHANGED
|
@@ -24,7 +24,7 @@ body {
|
|
| 24 |
}
|
| 25 |
|
| 26 |
.chat-header {
|
| 27 |
-
background-color: #
|
| 28 |
color: white;
|
| 29 |
padding: 10px;
|
| 30 |
text-align: center;
|
|
@@ -40,7 +40,7 @@ body {
|
|
| 40 |
}
|
| 41 |
|
| 42 |
.bot-message {
|
| 43 |
-
background-color: #
|
| 44 |
padding: 10px;
|
| 45 |
margin: 10px 0;
|
| 46 |
border-radius: 5px;
|
|
@@ -50,7 +50,7 @@ body {
|
|
| 50 |
}
|
| 51 |
|
| 52 |
.user-message {
|
| 53 |
-
background-color: #
|
| 54 |
padding: 10px;
|
| 55 |
margin: 10px 0;
|
| 56 |
border-radius: 5px;
|
|
@@ -86,7 +86,7 @@ body {
|
|
| 86 |
.chat-input button {
|
| 87 |
padding: 8px 15px;
|
| 88 |
margin-left: 10px;
|
| 89 |
-
background-color: #
|
| 90 |
color: white;
|
| 91 |
border: none;
|
| 92 |
border-radius: 5px;
|
|
@@ -97,7 +97,7 @@ body {
|
|
| 97 |
}
|
| 98 |
|
| 99 |
.chat-input button:hover {
|
| 100 |
-
background-color: #
|
| 101 |
}
|
| 102 |
|
| 103 |
.suggestions-list, .ingredients-list {
|
|
@@ -142,7 +142,7 @@ body {
|
|
| 142 |
.show-desc-button {
|
| 143 |
padding: 5px 10px;
|
| 144 |
margin-top: 5px;
|
| 145 |
-
background-color: #
|
| 146 |
color: white;
|
| 147 |
border: none;
|
| 148 |
border-radius: 5px;
|
|
@@ -151,14 +151,14 @@ body {
|
|
| 151 |
}
|
| 152 |
|
| 153 |
.show-desc-button:hover {
|
| 154 |
-
background-color: #
|
| 155 |
}
|
| 156 |
|
| 157 |
.option-button {
|
| 158 |
display: inline-block;
|
| 159 |
padding: 10px 15px;
|
| 160 |
margin: 5px;
|
| 161 |
-
background-color: #
|
| 162 |
color: white;
|
| 163 |
border: none;
|
| 164 |
border-radius: 5px;
|
|
@@ -168,14 +168,14 @@ body {
|
|
| 168 |
}
|
| 169 |
|
| 170 |
.option-button.green { background-color: #4caf50; }
|
| 171 |
-
.option-button.red { background-color: #
|
| 172 |
-
.option-button.gray { background-color: #
|
| 173 |
-
.option-button:hover {
|
| 174 |
|
| 175 |
.selection-box {
|
| 176 |
-
background-color: #
|
| 177 |
padding: 10px;
|
| 178 |
-
border: 1px solid #
|
| 179 |
border-radius: 5px;
|
| 180 |
margin: 10px 0;
|
| 181 |
font-size: 14px;
|
|
@@ -186,7 +186,7 @@ body {
|
|
| 186 |
}
|
| 187 |
|
| 188 |
.selection-box span {
|
| 189 |
-
background-color: #
|
| 190 |
padding: 5px 10px;
|
| 191 |
border-radius: 5px;
|
| 192 |
margin-right: 5px;
|
|
@@ -195,7 +195,7 @@ body {
|
|
| 195 |
.selected-item {
|
| 196 |
display: flex;
|
| 197 |
align-items: center;
|
| 198 |
-
background-color: #
|
| 199 |
padding: 5px 10px;
|
| 200 |
border-radius: 5px;
|
| 201 |
margin-right: 5px;
|
|
@@ -211,7 +211,7 @@ body {
|
|
| 211 |
|
| 212 |
.submit-button {
|
| 213 |
padding: 8px 15px;
|
| 214 |
-
background-color: #
|
| 215 |
color: white;
|
| 216 |
border: none;
|
| 217 |
border-radius: 5px;
|
|
@@ -220,12 +220,27 @@ body {
|
|
| 220 |
}
|
| 221 |
|
| 222 |
.submit-button:hover {
|
| 223 |
-
background-color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
}
|
| 225 |
|
| 226 |
.manual-input {
|
| 227 |
padding: 5px;
|
| 228 |
-
border: 1px solid #
|
| 229 |
border-radius: 5px;
|
| 230 |
font-size: 14px;
|
| 231 |
width: 150px;
|
|
@@ -243,8 +258,8 @@ body {
|
|
| 243 |
}
|
| 244 |
|
| 245 |
.dietary-button.green { background-color: #4caf50; }
|
| 246 |
-
.dietary-button.red { background-color: #
|
| 247 |
-
.dietary-button.gray { background-color: #
|
| 248 |
.dietary-button:hover { opacity: 0.9; }
|
| 249 |
|
| 250 |
/* Popup Styles */
|
|
@@ -262,7 +277,7 @@ body {
|
|
| 262 |
}
|
| 263 |
|
| 264 |
.popup-content {
|
| 265 |
-
background-color:
|
| 266 |
padding: 20px;
|
| 267 |
border-radius: 10px;
|
| 268 |
max-width: 90%;
|
|
@@ -296,7 +311,7 @@ body {
|
|
| 296 |
|
| 297 |
.popup-close-button {
|
| 298 |
padding: 8px 15px;
|
| 299 |
-
background-color: #
|
| 300 |
color: white;
|
| 301 |
border: none;
|
| 302 |
border-radius: 5px;
|
|
@@ -305,7 +320,7 @@ body {
|
|
| 305 |
}
|
| 306 |
|
| 307 |
.popup-close-button:hover {
|
| 308 |
-
background-color: #
|
| 309 |
}
|
| 310 |
|
| 311 |
/* Mobile Responsiveness */
|
|
@@ -347,4 +362,14 @@ body {
|
|
| 347 |
padding: 6px 12px;
|
| 348 |
font-size: 12px;
|
| 349 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 350 |
}
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
.chat-header {
|
| 27 |
+
background-color: #0288d1;
|
| 28 |
color: white;
|
| 29 |
padding: 10px;
|
| 30 |
text-align: center;
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
.bot-message {
|
| 43 |
+
background-color: #e3f2fd;
|
| 44 |
padding: 10px;
|
| 45 |
margin: 10px 0;
|
| 46 |
border-radius: 5px;
|
|
|
|
| 50 |
}
|
| 51 |
|
| 52 |
.user-message {
|
| 53 |
+
background-color: #ffebee;
|
| 54 |
padding: 10px;
|
| 55 |
margin: 10px 0;
|
| 56 |
border-radius: 5px;
|
|
|
|
| 86 |
.chat-input button {
|
| 87 |
padding: 8px 15px;
|
| 88 |
margin-left: 10px;
|
| 89 |
+
background-color: #ff8f00;
|
| 90 |
color: white;
|
| 91 |
border: none;
|
| 92 |
border-radius: 5px;
|
|
|
|
| 97 |
}
|
| 98 |
|
| 99 |
.chat-input button:hover {
|
| 100 |
+
background-color: #f57c00;
|
| 101 |
}
|
| 102 |
|
| 103 |
.suggestions-list, .ingredients-list {
|
|
|
|
| 142 |
.show-desc-button {
|
| 143 |
padding: 5px 10px;
|
| 144 |
margin-top: 5px;
|
| 145 |
+
background-color: #0288d1;
|
| 146 |
color: white;
|
| 147 |
border: none;
|
| 148 |
border-radius: 5px;
|
|
|
|
| 151 |
}
|
| 152 |
|
| 153 |
.show-desc-button:hover {
|
| 154 |
+
background-color: #0277bd;
|
| 155 |
}
|
| 156 |
|
| 157 |
.option-button {
|
| 158 |
display: inline-block;
|
| 159 |
padding: 10px 15px;
|
| 160 |
margin: 5px;
|
| 161 |
+
background-color: #7b1fa2;
|
| 162 |
color: white;
|
| 163 |
border: none;
|
| 164 |
border-radius: 5px;
|
|
|
|
| 168 |
}
|
| 169 |
|
| 170 |
.option-button.green { background-color: #4caf50; }
|
| 171 |
+
.option-button.red { background-color: #d32f2f; }
|
| 172 |
+
.option-button.gray { background-color: #616161; }
|
| 173 |
+
.option-button:hover { background-color: #6a1b9a; }
|
| 174 |
|
| 175 |
.selection-box {
|
| 176 |
+
background-color: #e1f5fe;
|
| 177 |
padding: 10px;
|
| 178 |
+
border: 1px solid #0288d1;
|
| 179 |
border-radius: 5px;
|
| 180 |
margin: 10px 0;
|
| 181 |
font-size: 14px;
|
|
|
|
| 186 |
}
|
| 187 |
|
| 188 |
.selection-box span {
|
| 189 |
+
background-color: #bbdefb;
|
| 190 |
padding: 5px 10px;
|
| 191 |
border-radius: 5px;
|
| 192 |
margin-right: 5px;
|
|
|
|
| 195 |
.selected-item {
|
| 196 |
display: flex;
|
| 197 |
align-items: center;
|
| 198 |
+
background-color: #bbdefb;
|
| 199 |
padding: 5px 10px;
|
| 200 |
border-radius: 5px;
|
| 201 |
margin-right: 5px;
|
|
|
|
| 211 |
|
| 212 |
.submit-button {
|
| 213 |
padding: 8px 15px;
|
| 214 |
+
background-color: #0288d1;
|
| 215 |
color: white;
|
| 216 |
border: none;
|
| 217 |
border-radius: 5px;
|
|
|
|
| 220 |
}
|
| 221 |
|
| 222 |
.submit-button:hover {
|
| 223 |
+
background-color: #0277bd;
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
.remove-button {
|
| 227 |
+
padding: 5px 10px;
|
| 228 |
+
margin-left: 5px;
|
| 229 |
+
background-color: #d32f2f;
|
| 230 |
+
color: white;
|
| 231 |
+
border: none;
|
| 232 |
+
border-radius: 5px;
|
| 233 |
+
cursor: pointer;
|
| 234 |
+
font-size: 12px;
|
| 235 |
+
}
|
| 236 |
+
|
| 237 |
+
.remove-button:hover {
|
| 238 |
+
background-color: #b71c1c;
|
| 239 |
}
|
| 240 |
|
| 241 |
.manual-input {
|
| 242 |
padding: 5px;
|
| 243 |
+
border: 1px solid #0288d1;
|
| 244 |
border-radius: 5px;
|
| 245 |
font-size: 14px;
|
| 246 |
width: 150px;
|
|
|
|
| 258 |
}
|
| 259 |
|
| 260 |
.dietary-button.green { background-color: #4caf50; }
|
| 261 |
+
.dietary-button.red { background-color: #d32f2f; }
|
| 262 |
+
.dietary-button.gray { background-color: #616161; }
|
| 263 |
.dietary-button:hover { opacity: 0.9; }
|
| 264 |
|
| 265 |
/* Popup Styles */
|
|
|
|
| 277 |
}
|
| 278 |
|
| 279 |
.popup-content {
|
| 280 |
+
background-color: #ffffff;
|
| 281 |
padding: 20px;
|
| 282 |
border-radius: 10px;
|
| 283 |
max-width: 90%;
|
|
|
|
| 311 |
|
| 312 |
.popup-close-button {
|
| 313 |
padding: 8px 15px;
|
| 314 |
+
background-color: #d32f2f;
|
| 315 |
color: white;
|
| 316 |
border: none;
|
| 317 |
border-radius: 5px;
|
|
|
|
| 320 |
}
|
| 321 |
|
| 322 |
.popup-close-button:hover {
|
| 323 |
+
background-color: #b71c1c;
|
| 324 |
}
|
| 325 |
|
| 326 |
/* Mobile Responsiveness */
|
|
|
|
| 362 |
padding: 6px 12px;
|
| 363 |
font-size: 12px;
|
| 364 |
}
|
| 365 |
+
.selection-box {
|
| 366 |
+
gap: 5px;
|
| 367 |
+
}
|
| 368 |
+
.selected-item {
|
| 369 |
+
padding: 3px 8px;
|
| 370 |
+
}
|
| 371 |
+
.remove-button {
|
| 372 |
+
padding: 3px 8px;
|
| 373 |
+
font-size: 10px;
|
| 374 |
+
}
|
| 375 |
}
|