jwilles commited on
Commit
8248ea0
·
1 Parent(s): 9feb151
Files changed (1) hide show
  1. src/display/css_html_js.py +9 -7
src/display/css_html_js.py CHANGED
@@ -221,18 +221,20 @@ custom_css = """
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
  """
237
 
238
 
 
221
  font-size: 20px;
222
  }
223
 
224
+ .selected.svelte-1tcem6n.svelte-1tcem6n {
225
+ background-color: #4caf50 !important; /* Desired background color */
226
+ color: white !important; /* Desired text color */
227
+ border-radius: 8px; /* Optional: Rounded corners */
228
+ border: 2px solid #388e3c; /* Optional: Border for emphasis */
229
  }
230
 
231
+ /* Optional: Hover effect for tabs */
232
+ .svelte-1tcem6n:hover {
233
  background-color: #a5d6a7 !important; /* Lighter green for hover */
234
+ color: #fff !important;
235
  }
236
 
237
+
238
  """
239
 
240