VaneshDev commited on
Commit
596c9cc
·
verified ·
1 Parent(s): 2b0022b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- /* When the input field is focused (clicked), change its background to red */
38
  .textbox input:focus, .textbox textarea:focus {
39
- border-color: #ff7043; /* Change border to a deeper orange */
40
- background-color: #ffcccc; /* Light red background on focus */
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 {