Spaces:
Sleeping
Sleeping
neerajkalyank
commited on
Commit
•
7899b74
1
Parent(s):
5b8133f
Update app.py
Browse files
app.py
CHANGED
@@ -224,16 +224,25 @@ textarea {
|
|
224 |
padding: 10px;
|
225 |
}
|
226 |
|
227 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
border: 2px solid transparent; /* Transparent border for inactive tabs */
|
236 |
-
border-radius:
|
237 |
}
|
238 |
|
239 |
/* Hover effect on tabs */
|
@@ -243,10 +252,12 @@ textarea {
|
|
243 |
|
244 |
/* Active tab styling with green border */
|
245 |
.nav-tabs .nav-item.active {
|
246 |
-
color: #00FF00; /* Green color for active tab
|
247 |
-
border: 2px solid #00FF00; /* Green border for active tab */
|
248 |
font-weight: 700;
|
249 |
background-color: rgba(0, 255, 0, 0.1); /* Light green background for active tab */
|
|
|
|
|
250 |
}
|
251 |
|
252 |
|
|
|
224 |
padding: 10px;
|
225 |
}
|
226 |
|
227 |
+
/* Tab container styling */
|
228 |
+
.nav-tabs {
|
229 |
+
display: flex;
|
230 |
+
justify-content: space-around;
|
231 |
+
background-color: #333;
|
232 |
+
border-bottom: 1px solid #fff;
|
233 |
+
padding: 10px;
|
234 |
+
}
|
235 |
+
|
236 |
+
/* Inactive tab styling */
|
237 |
.nav-tabs .nav-item {
|
238 |
font-size: 1em;
|
239 |
color: #ffffff; /* Inactive tabs in white */
|
240 |
padding: 10px 20px;
|
241 |
cursor: pointer;
|
|
|
242 |
font-weight: 500;
|
243 |
+
transition: color 0.3s, border-color 0.3s;
|
244 |
border: 2px solid transparent; /* Transparent border for inactive tabs */
|
245 |
+
border-radius: 8px; /* Rounded edges for tabs */
|
246 |
}
|
247 |
|
248 |
/* Hover effect on tabs */
|
|
|
252 |
|
253 |
/* Active tab styling with green border */
|
254 |
.nav-tabs .nav-item.active {
|
255 |
+
color: #00FF00 !important; /* Green text color for active tab */
|
256 |
+
border: 2px solid #00FF00 !important; /* Green border for active tab */
|
257 |
font-weight: 700;
|
258 |
background-color: rgba(0, 255, 0, 0.1); /* Light green background for active tab */
|
259 |
+
border-radius: 8px; /* Rounded border for active tab */
|
260 |
+
padding: 8px 18px; /* Adjust padding to fit within border */
|
261 |
}
|
262 |
|
263 |
|