Spaces:
Sleeping
Sleeping
Shreyas Meher commited on
Commit ·
ff616a1
1
Parent(s): 72b9834
Fix placeholder text visibility in light mode for better readability
Browse files
app.py
CHANGED
|
@@ -558,6 +558,27 @@ custom_css = """
|
|
| 558 |
transform: translateY(-1px) !important;
|
| 559 |
}
|
| 560 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 561 |
/* Dropdown Styling */
|
| 562 |
.gr-dropdown {
|
| 563 |
background: var(--surface) !important;
|
|
|
|
| 558 |
transform: translateY(-1px) !important;
|
| 559 |
}
|
| 560 |
|
| 561 |
+
/* Placeholder text styling */
|
| 562 |
+
.input-text textarea::placeholder, .input-text input::placeholder {
|
| 563 |
+
color: var(--text-secondary) !important;
|
| 564 |
+
opacity: 0.7 !important;
|
| 565 |
+
}
|
| 566 |
+
|
| 567 |
+
.input-text textarea::-webkit-input-placeholder, .input-text input::-webkit-input-placeholder {
|
| 568 |
+
color: var(--text-secondary) !important;
|
| 569 |
+
opacity: 0.7 !important;
|
| 570 |
+
}
|
| 571 |
+
|
| 572 |
+
.input-text textarea::-moz-placeholder, .input-text input::-moz-placeholder {
|
| 573 |
+
color: var(--text-secondary) !important;
|
| 574 |
+
opacity: 0.7 !important;
|
| 575 |
+
}
|
| 576 |
+
|
| 577 |
+
.input-text textarea:-ms-input-placeholder, .input-text input:-ms-input-placeholder {
|
| 578 |
+
color: var(--text-secondary) !important;
|
| 579 |
+
opacity: 0.7 !important;
|
| 580 |
+
}
|
| 581 |
+
|
| 582 |
/* Dropdown Styling */
|
| 583 |
.gr-dropdown {
|
| 584 |
background: var(--surface) !important;
|