Spaces:
Running
Running
James McCool
commited on
Commit
·
00f90b0
1
Parent(s):
5236120
Update tab styling colors to improve visual contrast and hover effect
Browse filesSwapped the background colors for default and hover states of tabs to create a more visually appealing and intuitive user interface.
app.py
CHANGED
@@ -37,7 +37,7 @@ st.markdown("""
|
|
37 |
.stTabs [data-baseweb="tab"] {
|
38 |
height: 50px;
|
39 |
white-space: pre-wrap;
|
40 |
-
background-color: #
|
41 |
color: white;
|
42 |
border-radius: 10px;
|
43 |
gap: 1px;
|
@@ -52,7 +52,7 @@ st.markdown("""
|
|
52 |
}
|
53 |
|
54 |
.stTabs [data-baseweb="tab"]:hover {
|
55 |
-
background-color: #
|
56 |
cursor: pointer;
|
57 |
}
|
58 |
</style>""", unsafe_allow_html=True)
|
|
|
37 |
.stTabs [data-baseweb="tab"] {
|
38 |
height: 50px;
|
39 |
white-space: pre-wrap;
|
40 |
+
background-color: #DAA520;
|
41 |
color: white;
|
42 |
border-radius: 10px;
|
43 |
gap: 1px;
|
|
|
52 |
}
|
53 |
|
54 |
.stTabs [data-baseweb="tab"]:hover {
|
55 |
+
background-color: #FFD700;
|
56 |
cursor: pointer;
|
57 |
}
|
58 |
</style>""", unsafe_allow_html=True)
|