Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
de14f93
1
Parent(s):
fefb3f9
Remove redundant radio button styling CSS
Browse filesDeleted previously defined radio button CSS selectors that were no longer needed, simplifying the styling code in the Streamlit application.
app.py
CHANGED
|
@@ -50,27 +50,6 @@ st.markdown("""
|
|
| 50 |
background-color: #DAA520;
|
| 51 |
cursor: pointer;
|
| 52 |
}
|
| 53 |
-
|
| 54 |
-
.stRadio [data-baseweb="radio"] {
|
| 55 |
-
white-space: pre-wrap;
|
| 56 |
-
background-color: white;
|
| 57 |
-
color: black;
|
| 58 |
-
border-radius: 10px;
|
| 59 |
-
gap: 1px;
|
| 60 |
-
font-weight: bold;
|
| 61 |
-
transition: all 0.3s ease;
|
| 62 |
-
border: .5px solid black;
|
| 63 |
-
}
|
| 64 |
-
|
| 65 |
-
.stRadio [tabindex="0"] {
|
| 66 |
-
background-color: #DAA520;
|
| 67 |
-
color: white;
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
.stRadio [data-baseweb="radio"]:hover {
|
| 71 |
-
background-color: #DAA520;
|
| 72 |
-
cursor: pointer;
|
| 73 |
-
}
|
| 74 |
</style>""", unsafe_allow_html=True)
|
| 75 |
|
| 76 |
@st.cache_data(ttl = 60)
|
|
|
|
| 50 |
background-color: #DAA520;
|
| 51 |
cursor: pointer;
|
| 52 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
</style>""", unsafe_allow_html=True)
|
| 54 |
|
| 55 |
@st.cache_data(ttl = 60)
|