Update app.py
Browse files
app.py
CHANGED
@@ -489,7 +489,8 @@ def process_recipe_request(api_key, files, num_recipes, dietary_restrictions, cu
|
|
489 |
custom_css = """
|
490 |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
491 |
:root {
|
492 |
-
--primary-color: #
|
|
|
493 |
--secondary-color: #4BB543; /* Fresh green */
|
494 |
--accent-color: #F0A500; /* Golden yellow */
|
495 |
--background-color: #F4F4F9; /* Light grayish background */
|
@@ -513,7 +514,7 @@ body {
|
|
513 |
padding: 20px;
|
514 |
}
|
515 |
.app-header {
|
516 |
-
background
|
517 |
color: white;
|
518 |
padding: 60px 20px;
|
519 |
text-align: center;
|
@@ -525,12 +526,14 @@ body {
|
|
525 |
font-size: 2.8em;
|
526 |
font-weight: 700;
|
527 |
margin-bottom: 10px;
|
|
|
528 |
}
|
529 |
.app-subtitle {
|
530 |
font-size: 1.3em;
|
531 |
font-weight: 400;
|
532 |
max-width: 800px;
|
533 |
margin: 0 auto;
|
|
|
534 |
}
|
535 |
.input-section, .output-section {
|
536 |
background-color: var(--card-background);
|
@@ -556,15 +559,16 @@ body {
|
|
556 |
padding-bottom: 10px;
|
557 |
}
|
558 |
.image-upload-container {
|
559 |
-
border: 2px dashed
|
560 |
padding: 40px;
|
561 |
text-align: center;
|
562 |
-
background-color: rgba(
|
|
|
563 |
transition: all 0.3s ease;
|
564 |
}
|
565 |
.image-upload-container:hover {
|
566 |
border-color: var(--primary-color);
|
567 |
-
background-color: rgba(
|
568 |
}
|
569 |
button.primary-button {
|
570 |
background-color: var(--primary-color);
|
|
|
489 |
custom_css = """
|
490 |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
491 |
:root {
|
492 |
+
--primary-color: #2C786C; /* Rich teal */
|
493 |
+
--primary-light: #40A799; /* Lighter teal for hover */
|
494 |
--secondary-color: #4BB543; /* Fresh green */
|
495 |
--accent-color: #F0A500; /* Golden yellow */
|
496 |
--background-color: #F4F4F9; /* Light grayish background */
|
|
|
514 |
padding: 20px;
|
515 |
}
|
516 |
.app-header {
|
517 |
+
background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
|
518 |
color: white;
|
519 |
padding: 60px 20px;
|
520 |
text-align: center;
|
|
|
526 |
font-size: 2.8em;
|
527 |
font-weight: 700;
|
528 |
margin-bottom: 10px;
|
529 |
+
color: navajowhite;
|
530 |
}
|
531 |
.app-subtitle {
|
532 |
font-size: 1.3em;
|
533 |
font-weight: 400;
|
534 |
max-width: 800px;
|
535 |
margin: 0 auto;
|
536 |
+
color: white;
|
537 |
}
|
538 |
.input-section, .output-section {
|
539 |
background-color: var(--card-background);
|
|
|
559 |
padding-bottom: 10px;
|
560 |
}
|
561 |
.image-upload-container {
|
562 |
+
border: 2px dashed rgba(44, 120, 108, 0.4);
|
563 |
padding: 40px;
|
564 |
text-align: center;
|
565 |
+
background-color: rgba(44, 120, 108, 0.05);
|
566 |
+
border-radius: 8px;
|
567 |
transition: all 0.3s ease;
|
568 |
}
|
569 |
.image-upload-container:hover {
|
570 |
border-color: var(--primary-color);
|
571 |
+
background-color: rgba(44, 120, 108, 0.08);
|
572 |
}
|
573 |
button.primary-button {
|
574 |
background-color: var(--primary-color);
|