Update app.py
Browse files
app.py
CHANGED
|
@@ -33,8 +33,9 @@ with gr.Blocks(css="""
|
|
| 33 |
border-radius: 10px;
|
| 34 |
border: 1px solid #ffcc80; /* Light orange border */
|
| 35 |
background: linear-gradient(135deg, #d1e8e2, #80cbc4); /* Light to dark gradient background */
|
|
|
|
| 36 |
}
|
| 37 |
-
/*
|
| 38 |
.textbox input:focus, .textbox textarea:focus {
|
| 39 |
border-color: #ff7043; /* Darker orange border on focus */
|
| 40 |
background-color: #ffcccc !important; /* Red background when focused */
|
|
|
|
| 33 |
border-radius: 10px;
|
| 34 |
border: 1px solid #ffcc80; /* Light orange border */
|
| 35 |
background: linear-gradient(135deg, #d1e8e2, #80cbc4); /* Light to dark gradient background */
|
| 36 |
+
color: black; /* Change text color to black */
|
| 37 |
}
|
| 38 |
+
/* When the input field is focused (clicked), change its background to red */
|
| 39 |
.textbox input:focus, .textbox textarea:focus {
|
| 40 |
border-color: #ff7043; /* Darker orange border on focus */
|
| 41 |
background-color: #ffcccc !important; /* Red background when focused */
|