Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,8 @@ st.markdown("""
|
|
| 30 |
--text-color: #E0E0E0;
|
| 31 |
--accent-color: #4F97FF;
|
| 32 |
--border-color: #444444;
|
| 33 |
-
--header-color: #4F97FF;
|
| 34 |
-
--subheader-color: #FFFFFF;
|
| 35 |
}
|
| 36 |
|
| 37 |
/* Main container styling */
|
|
@@ -51,7 +51,7 @@ st.markdown("""
|
|
| 51 |
.section-header {
|
| 52 |
font-size: 1.5rem;
|
| 53 |
font-weight: 500;
|
| 54 |
-
color: var(--subheader-color);
|
| 55 |
margin-top: 2rem;
|
| 56 |
margin-bottom: 1rem;
|
| 57 |
padding-bottom: 0.5rem;
|
|
@@ -127,6 +127,19 @@ st.markdown("""
|
|
| 127 |
padding: 1rem;
|
| 128 |
border-left: 4px solid var(--accent-color);
|
| 129 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
</style>
|
| 131 |
""", unsafe_allow_html=True)
|
| 132 |
|
|
|
|
| 30 |
--text-color: #E0E0E0;
|
| 31 |
--accent-color: #4F97FF;
|
| 32 |
--border-color: #444444;
|
| 33 |
+
--header-color: #4F97FF;
|
| 34 |
+
--subheader-color: #FFFFFF;
|
| 35 |
}
|
| 36 |
|
| 37 |
/* Main container styling */
|
|
|
|
| 51 |
.section-header {
|
| 52 |
font-size: 1.5rem;
|
| 53 |
font-weight: 500;
|
| 54 |
+
color: var(--subheader-color);
|
| 55 |
margin-top: 2rem;
|
| 56 |
margin-bottom: 1rem;
|
| 57 |
padding-bottom: 0.5rem;
|
|
|
|
| 127 |
padding: 1rem;
|
| 128 |
border-left: 4px solid var(--accent-color);
|
| 129 |
}
|
| 130 |
+
|
| 131 |
+
/* Custom label colors for Full Name and Gender */
|
| 132 |
+
[data-testid="stForm"] label:contains("Full Name"),
|
| 133 |
+
[data-testid="stForm"] label:contains("Gender") {
|
| 134 |
+
color: white !important;
|
| 135 |
+
font-weight: 500;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
/* Alternative approach if the above doesn't work */
|
| 139 |
+
.st-emotion-cache-1gulkj5 label, /* For Full Name */
|
| 140 |
+
.st-emotion-cache-1aumxhf label { /* For Gender */
|
| 141 |
+
color: white !important;
|
| 142 |
+
}
|
| 143 |
</style>
|
| 144 |
""", unsafe_allow_html=True)
|
| 145 |
|