maahikachitagi commited on
Commit
068af70
·
verified ·
1 Parent(s): 3d3d0cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -4
app.py CHANGED
@@ -165,19 +165,19 @@ with gr.Blocks(css="""
165
  }
166
  .gr-chatbot { background-color: white; border-radius: 15px; padding: 20px; }
167
  .custom-tabs .tab-nav {
168
- background-color: #ffffff;
169
  border-radius: 50px;
170
- padding: 8px;
171
  display: flex;
172
  justify-content: center;
173
- gap: 8px;
174
  border: 1px solid #e0e0e0;
175
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
176
  }
177
 
178
  .custom-tabs button[role="tab"] {
179
  border-radius: 50px !important;
180
- padding: 10px 30px !important;
181
  font-weight: 500;
182
  font-size: 16px;
183
  color: #555 !important;
@@ -196,6 +196,16 @@ with gr.Blocks(css="""
196
  background-color: #e0f7ff;
197
  transform: scale(1.05);
198
  }
 
 
 
 
 
 
 
 
 
 
199
 
200
  :root {
201
  --trim-region-color: rgba(255, 153, 0, 0.5); /* Nice orange for example */
@@ -233,6 +243,7 @@ with gr.Blocks(css="""
233
  margin-right: 8px;
234
  vertical-align: middle;
235
  }
 
236
 
237
 
238
 
 
165
  }
166
  .gr-chatbot { background-color: white; border-radius: 15px; padding: 20px; }
167
  .custom-tabs .tab-nav {
168
+ background-color: white;
169
  border-radius: 50px;
170
+ padding: 15px;
171
  display: flex;
172
  justify-content: center;
173
+ gap: 15px;
174
  border: 1px solid #e0e0e0;
175
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
176
  }
177
 
178
  .custom-tabs button[role="tab"] {
179
  border-radius: 50px !important;
180
+ padding: 20px 40px !important;
181
  font-weight: 500;
182
  font-size: 16px;
183
  color: #555 !important;
 
196
  background-color: #e0f7ff;
197
  transform: scale(1.05);
198
  }
199
+ /* REMOVE THE UGLY ORANGE UNDERLINE LINE */
200
+ .custom-tabs button[role="tab"] {
201
+ border-bottom: none !important;
202
+ box-shadow: none !important;
203
+ }
204
+
205
+ .custom-tabs button[role="tab"]::after {
206
+ display: none !important;
207
+ border-bottom: none !important;
208
+ }
209
 
210
  :root {
211
  --trim-region-color: rgba(255, 153, 0, 0.5); /* Nice orange for example */
 
243
  margin-right: 8px;
244
  vertical-align: middle;
245
  }
246
+
247
 
248
 
249