jwilles commited on
Commit
9feb151
·
1 Parent(s): 1848a94
Files changed (1) hide show
  1. 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
- .tab-buttons button .selected {
225
- color: blue;
 
 
 
 
 
 
 
 
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
  """