Styling
Browse files- src/display/css_html_js.py +10 -2
src/display/css_html_js.py
CHANGED
@@ -221,8 +221,16 @@ custom_css = """
|
|
221 |
font-size: 20px;
|
222 |
}
|
223 |
|
224 |
-
|
225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
}
|
227 |
|
228 |
"""
|
|
|
221 |
font-size: 20px;
|
222 |
}
|
223 |
|
224 |
+
/* Change the background color of the selected tab */
|
225 |
+
.tab-item.selected {
|
226 |
+
background-color: #4caf50 !important; /* Replace with your desired color */
|
227 |
+
color: white !important; /* Adjust text color for contrast */
|
228 |
+
border-radius: 8px; /* Optional: rounded corners */
|
229 |
+
}
|
230 |
+
|
231 |
+
/* Change hover effect for better UX */
|
232 |
+
.tab-item:hover {
|
233 |
+
background-color: #a5d6a7 !important; /* Lighter green for hover */
|
234 |
}
|
235 |
|
236 |
"""
|