Update app.py
Browse files
app.py
CHANGED
|
@@ -34,10 +34,10 @@ with gr.Blocks(css="""
|
|
| 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; /*
|
| 40 |
-
background-color: #ffcccc; /*
|
| 41 |
outline: none; /* Remove default outline */
|
| 42 |
}
|
| 43 |
.response-box textarea {
|
|
|
|
| 34 |
border: 1px solid #ffcc80; /* Light orange border */
|
| 35 |
background: linear-gradient(135deg, #d1e8e2, #80cbc4); /* Light to dark gradient background */
|
| 36 |
}
|
| 37 |
+
/* Change the background to red and update the border when focused */
|
| 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 */
|
| 41 |
outline: none; /* Remove default outline */
|
| 42 |
}
|
| 43 |
.response-box textarea {
|