Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,11 +18,18 @@ def add_custom_css():
|
|
18 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
19 |
}
|
20 |
input[type="password"], input[type="text"] {
|
|
|
21 |
border: 2px solid #333;
|
22 |
border-radius: 5px;
|
23 |
padding: 10px;
|
24 |
margin-bottom: 10px;
|
25 |
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
}
|
27 |
button {
|
28 |
background-color: #4CAF50;
|
|
|
18 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
19 |
}
|
20 |
input[type="password"], input[type="text"] {
|
21 |
+
background: none; /* Removes background color */
|
22 |
border: 2px solid #333;
|
23 |
border-radius: 5px;
|
24 |
padding: 10px;
|
25 |
margin-bottom: 10px;
|
26 |
width: 100%;
|
27 |
+
color: #333;
|
28 |
+
}
|
29 |
+
input[type="password"]:focus, input[type="text"]:focus {
|
30 |
+
outline: none; /* Removes the default blue outline */
|
31 |
+
border-color: #4CAF50; /* Add a green border when focused */
|
32 |
+
box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); /* Adds a subtle shadow */
|
33 |
}
|
34 |
button {
|
35 |
background-color: #4CAF50;
|