Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,23 +11,33 @@ PROFIT_MARGIN = 0.25
|
|
| 11 |
st.markdown(
|
| 12 |
"""
|
| 13 |
<style>
|
|
|
|
| 14 |
.main {
|
| 15 |
background-color: #f5f5f5;
|
| 16 |
padding: 2rem;
|
| 17 |
}
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
padding: 1rem;
|
| 21 |
border-radius: 10px;
|
| 22 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 23 |
-
color: white; /* White text for better contrast */
|
| 24 |
-
}
|
| 25 |
-
.sidebar .sidebar-content h1, .sidebar .sidebar-content h2, .sidebar .sidebar-content h3, .sidebar .sidebar-content h4, .sidebar .sidebar-content h5, .sidebar .sidebar-content h6 {
|
| 26 |
-
color: white; /* White text for headings */
|
| 27 |
}
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
}
|
|
|
|
|
|
|
| 31 |
.card {
|
| 32 |
background-color: #ffffff;
|
| 33 |
padding: 1.5rem;
|
|
@@ -35,6 +45,8 @@ st.markdown(
|
|
| 35 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 36 |
margin-bottom: 1rem;
|
| 37 |
}
|
|
|
|
|
|
|
| 38 |
.stButton button {
|
| 39 |
background-color: #4CAF50;
|
| 40 |
color: white;
|
|
|
|
| 11 |
st.markdown(
|
| 12 |
"""
|
| 13 |
<style>
|
| 14 |
+
/* Main content background */
|
| 15 |
.main {
|
| 16 |
background-color: #f5f5f5;
|
| 17 |
padding: 2rem;
|
| 18 |
}
|
| 19 |
+
|
| 20 |
+
/* Sidebar styling */
|
| 21 |
+
div[data-testid="stSidebar"] > div:first-child {
|
| 22 |
+
background-color: #1E90FF !important; /* Blue color for sidebar */
|
| 23 |
padding: 1rem;
|
| 24 |
border-radius: 10px;
|
| 25 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 26 |
+
color: white !important; /* White text for better contrast */
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
+
|
| 29 |
+
/* Sidebar headings and labels */
|
| 30 |
+
div[data-testid="stSidebar"] h1,
|
| 31 |
+
div[data-testid="stSidebar"] h2,
|
| 32 |
+
div[data-testid="stSidebar"] h3,
|
| 33 |
+
div[data-testid="stSidebar"] h4,
|
| 34 |
+
div[data-testid="stSidebar"] h5,
|
| 35 |
+
div[data-testid="stSidebar"] h6,
|
| 36 |
+
div[data-testid="stSidebar"] label {
|
| 37 |
+
color: white !important; /* White text for headings and labels */
|
| 38 |
}
|
| 39 |
+
|
| 40 |
+
/* Cards for search results */
|
| 41 |
.card {
|
| 42 |
background-color: #ffffff;
|
| 43 |
padding: 1.5rem;
|
|
|
|
| 45 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 46 |
margin-bottom: 1rem;
|
| 47 |
}
|
| 48 |
+
|
| 49 |
+
/* Button styling */
|
| 50 |
.stButton button {
|
| 51 |
background-color: #4CAF50;
|
| 52 |
color: white;
|