neerajkalyank commited on
Commit
d7afbce
1 Parent(s): 97272d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -159,23 +159,23 @@ body {
159
  color: #ffffff;
160
  }
161
 
162
- /* Form Field Styles */
163
  #name_field, #father_name_field, #age_field, #phone_field, #address_field, #pincode_field, textarea {
164
  max-width: 700px;
165
- border: 1px solid #555;
166
  border-radius: 8px;
167
  padding: 12px;
168
- background: rgba(255, 255, 255, 0.9);
169
  color: #2d2d2d;
170
  font-size: 15px;
171
  margin-bottom: 15px;
172
- transition: 0.3s ease-in-out;
173
- box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
174
  }
175
 
176
  #name_field:focus, #father_name_field:focus, #age_field:focus, #phone_field:focus, #address_field:focus, #pincode_field:focus, textarea:focus {
177
  border-color: #ffd54f;
178
- box-shadow: 0 0 12px rgba(255, 213, 79, 0.8);
179
  transform: scale(1.02);
180
  }
181
 
@@ -265,7 +265,6 @@ h1, h2, h3, h4, h5, h6 {
265
  margin-bottom: 18px;
266
  color: #f5f5f5;
267
  }
268
-
269
  """
270
 
271
  app.launch()
 
159
  color: #ffffff;
160
  }
161
 
162
+ /* Form Field Styles with Strip Effect */
163
  #name_field, #father_name_field, #age_field, #phone_field, #address_field, #pincode_field, textarea {
164
  max-width: 700px;
165
+ border: 1px solid #444;
166
  border-radius: 8px;
167
  padding: 12px;
168
+ background: rgba(245, 245, 245, 0.85);
169
  color: #2d2d2d;
170
  font-size: 15px;
171
  margin-bottom: 15px;
172
+ transition: border 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
173
+ box-shadow: 0px 4px 0px 0px #d0d0d0; /* Adds the strip effect at the bottom */
174
  }
175
 
176
  #name_field:focus, #father_name_field:focus, #age_field:focus, #phone_field:focus, #address_field:focus, #pincode_field:focus, textarea:focus {
177
  border-color: #ffd54f;
178
+ box-shadow: 0 0 10px rgba(255, 213, 79, 0.7);
179
  transform: scale(1.02);
180
  }
181
 
 
265
  margin-bottom: 18px;
266
  color: #f5f5f5;
267
  }
 
268
  """
269
 
270
  app.launch()