Spaces:
Sleeping
Sleeping
changes to font color
Browse files- app.py +2 -0
- styles.css +11 -0
app.py
CHANGED
@@ -385,6 +385,8 @@ with gr.Blocks(css=custom_css, title="TD-EVAL Leaderboard", theme=custom_theme)
|
|
385 |
var parent = searchInput.parentElement;
|
386 |
if (parent) parent.style.backgroundColor = 'transparent';
|
387 |
searchInput.style.backgroundColor = 'transparent';
|
|
|
|
|
388 |
}
|
389 |
}
|
390 |
}
|
|
|
385 |
var parent = searchInput.parentElement;
|
386 |
if (parent) parent.style.backgroundColor = 'transparent';
|
387 |
searchInput.style.backgroundColor = 'transparent';
|
388 |
+
// Ensure the border is visible
|
389 |
+
searchInput.style.border = '1px solid #CCCCCC';
|
390 |
}
|
391 |
}
|
392 |
}
|
styles.css
CHANGED
@@ -250,4 +250,15 @@ div[class*="block"] {
|
|
250 |
:root {
|
251 |
--block-background-fill: transparent !important;
|
252 |
--panel-background-fill: green !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
}
|
|
|
250 |
:root {
|
251 |
--block-background-fill: transparent !important;
|
252 |
--panel-background-fill: green !important;
|
253 |
+
}
|
254 |
+
|
255 |
+
/* Make the textbox border white */
|
256 |
+
.search-panel input[type="text"] {
|
257 |
+
border: 1px solid #CCCCCC !important;
|
258 |
+
background-color: transparent !important;
|
259 |
+
}
|
260 |
+
|
261 |
+
/* Lighten the placeholder text */
|
262 |
+
.search-panel input[type="text"]::placeholder {
|
263 |
+
color: rgba(255,255,255,0.7) !important;
|
264 |
}
|