neerajkalyank commited on
Commit
bbf8b65
1 Parent(s): 5a5f6c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -215,32 +215,34 @@ textarea {
215
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
216
  }
217
 
218
- /* Tabs Styling */
219
  .nav-tabs {
220
  display: flex;
221
- justify-content: space-between;
222
  background-color: #333;
223
  border-bottom: 1px solid #fff;
224
  padding: 10px;
225
  }
226
 
 
227
  .nav-tabs .nav-item {
228
  font-size: 1em;
229
- color: #B0BEC5;
230
  padding: 10px 20px;
231
  cursor: pointer;
232
  transition: color 0.3s, transform 0.3s;
233
  font-weight: 500;
234
  }
235
 
 
236
  .nav-tabs .nav-item:hover {
237
- color: #FFCA28;
238
- transform: translateY(-2px);
239
  }
240
 
 
241
  .nav-tabs .nav-item.active {
242
- color: #FF8C00;
243
- border-bottom: 3px solid #FF8C00;
244
  font-weight: 700;
245
  }
246
 
 
215
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
216
  }
217
 
218
+ /* Tab container styling */
219
  .nav-tabs {
220
  display: flex;
221
+ justify-content: space-around;
222
  background-color: #333;
223
  border-bottom: 1px solid #fff;
224
  padding: 10px;
225
  }
226
 
227
+ /* Individual tab styling */
228
  .nav-tabs .nav-item {
229
  font-size: 1em;
230
+ color: #ffffff; /* Inactive tabs in white */
231
  padding: 10px 20px;
232
  cursor: pointer;
233
  transition: color 0.3s, transform 0.3s;
234
  font-weight: 500;
235
  }
236
 
237
+ /* Hover effect on tabs */
238
  .nav-tabs .nav-item:hover {
239
+ color: #FFCA28; /* Bright yellow on hover */
 
240
  }
241
 
242
+ /* Active tab styling */
243
  .nav-tabs .nav-item.active {
244
+ color: #FF8C00; /* Orange color for active tab */
245
+ border-bottom: 3px solid #FF8C00; /* Orange underline for active tab */
246
  font-weight: 700;
247
  }
248