maahikachitagi commited on
Commit
e9d9c4d
·
verified ·
1 Parent(s): 18bdc47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -19
app.py CHANGED
@@ -169,25 +169,25 @@ with gr.Blocks(css="""
169
  display: flex;
170
  justify-content: center;
171
  }
172
- .custom-tabs .tab-item {
173
- border-radius: 12px !important;
174
- padding: 10px 24px !important;
175
- margin: 4px !important;
176
- font-weight: 500;
177
- font-size: 16px;
178
- color: #888 !important;
179
- background-color: #ffffff;
180
- border: none !important;
181
- transition: 0.3s ease;
182
- }
183
- .custom-tabs .tab-item.tab-selected {
184
- background-color: #f0f0eb !important;
185
- color: #333 !important;
186
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
187
- }
188
- .custom-tabs .tab-item:hover {
189
- background-color: #ecece8 !important;
190
- }
191
 
192
 
193
  """) as demo:
 
169
  display: flex;
170
  justify-content: center;
171
  }
172
+ .custom-tabs button[role="tab"] {
173
+ border-radius: 12px !important;
174
+ padding: 10px 24px !important;
175
+ margin: 4px !important;
176
+ font-weight: 500;
177
+ font-size: 16px;
178
+ color: #888 !important;
179
+ background-color: #ffffff;
180
+ border: none !important;
181
+ transition: 0.3s ease;
182
+ }
183
+ .custom-tabs button[role="tab"][aria-selected="true"] {
184
+ background-color: #f0f0eb !important;
185
+ color: #333 !important;
186
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
187
+ }
188
+ .custom-tabs button[role="tab"]:hover {
189
+ background-color: #ecece8 !important;
190
+ }
191
 
192
 
193
  """) as demo: