James McCool commited on
Commit
00f90b0
·
1 Parent(s): 5236120

Update tab styling colors to improve visual contrast and hover effect

Browse files

Swapped the background colors for default and hover states of tabs to create a more visually appealing and intuitive user interface.

Files changed (1) hide show
  1. app.py +2 -2
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: #FFD700;
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: #DAA520;
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)