Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,26 +80,40 @@ st.markdown("""
|
|
| 80 |
color: #0f172a !important;
|
| 81 |
}
|
| 82 |
|
| 83 |
-
/* Link Button Fix */
|
| 84 |
[data-testid="stSidebar"] a {
|
| 85 |
-
color: #
|
| 86 |
-
font-weight:
|
| 87 |
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
}
|
| 89 |
[data-testid="stSidebar"] a:hover {
|
| 90 |
-
|
| 91 |
-
color: #
|
|
|
|
| 92 |
}
|
| 93 |
|
| 94 |
/* Link Button Container Background */
|
| 95 |
[data-testid="stSidebar"] button[kind="secondary"] {
|
| 96 |
-
background-color: #
|
| 97 |
-
color: #
|
| 98 |
-
border: 1px solid #
|
|
|
|
| 99 |
}
|
| 100 |
[data-testid="stSidebar"] button[kind="secondary"]:hover {
|
| 101 |
-
|
| 102 |
-
color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
}
|
| 104 |
|
| 105 |
/* HOTSPOTS */
|
|
|
|
| 80 |
color: #0f172a !important;
|
| 81 |
}
|
| 82 |
|
| 83 |
+
/* Link Button Fix - CRITICAL OVERRIDE */
|
| 84 |
[data-testid="stSidebar"] a {
|
| 85 |
+
color: #3b82f6 !important; /* Brighter blue */
|
| 86 |
+
font-weight: 700 !important;
|
| 87 |
text-decoration: none;
|
| 88 |
+
background-color: #ffffff !important; /* Force white background for button look */
|
| 89 |
+
border: 1px solid #e2e8f0 !important;
|
| 90 |
+
border-radius: 8px !important;
|
| 91 |
+
padding: 8px 16px !important;
|
| 92 |
+
display: inline-block !important;
|
| 93 |
+
text-align: center !important;
|
| 94 |
+
width: 100% !important;
|
| 95 |
}
|
| 96 |
[data-testid="stSidebar"] a:hover {
|
| 97 |
+
background-color: #f1f5f9 !important;
|
| 98 |
+
color: #2563eb !important;
|
| 99 |
+
border-color: #cbd5e1 !important;
|
| 100 |
}
|
| 101 |
|
| 102 |
/* Link Button Container Background */
|
| 103 |
[data-testid="stSidebar"] button[kind="secondary"] {
|
| 104 |
+
background-color: #f8fafc !important; /* Light bg for button */
|
| 105 |
+
color: #0f172a !important; /* Dark text */
|
| 106 |
+
border: 1px solid #cbd5e1 !important;
|
| 107 |
+
font-weight: 600 !important;
|
| 108 |
}
|
| 109 |
[data-testid="stSidebar"] button[kind="secondary"]:hover {
|
| 110 |
+
background-color: #e2e8f0 !important;
|
| 111 |
+
border-color: #94a3b8 !important;
|
| 112 |
+
color: #0f172a !important;
|
| 113 |
+
}
|
| 114 |
+
/* Specific fix for link button text inside */
|
| 115 |
+
[data-testid="stSidebar"] button[kind="secondary"] p {
|
| 116 |
+
color: #0f172a !important;
|
| 117 |
}
|
| 118 |
|
| 119 |
/* HOTSPOTS */
|