Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -169,25 +169,25 @@ with gr.Blocks(css="""
|
|
| 169 |
display: flex;
|
| 170 |
justify-content: center;
|
| 171 |
}
|
| 172 |
-
.custom-tabs
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
}
|
| 183 |
-
.custom-tabs
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
}
|
| 188 |
-
.custom-tabs
|
| 189 |
-
|
| 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:
|