VaneshDev commited on
Commit
4ba1637
·
verified ·
1 Parent(s): 596c9cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- /* 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 */
 
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 */