neerajkalyank commited on
Commit
94b8fab
1 Parent(s): 3c5e31c

Create app.css

Browse files
Files changed (1) hide show
  1. app.css +45 -0
app.css ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Custom CSS to adjust field sizes, button color, and label styling
2
+ app.css = """
3
+ #name_field, #father_name_field {
4
+ max-width: 200px;
5
+ }
6
+
7
+ #age_field {
8
+ max-width: 80px;
9
+ }
10
+
11
+ #phone_field {
12
+ max-width: 150px;
13
+ }
14
+
15
+ #pincode_field {
16
+ max-width: 100px;
17
+ }
18
+
19
+ /* Style for the main button */
20
+ button {
21
+ background-color: #28a745; /* Green color */
22
+ color: white;
23
+ font-weight: bold;
24
+ }
25
+
26
+ button:hover {
27
+ background-color: #218838; /* Darker green on hover */
28
+ }
29
+
30
+ /* Style for labels to look like buttons */
31
+ label {
32
+ display: inline-block;
33
+ padding: 8px 12px;
34
+ background-color: #007bff; /* Blue color for labels */
35
+ color: white;
36
+ font-weight: bold;
37
+ border-radius: 5px;
38
+ margin-bottom: 5px;
39
+ text-align: center;
40
+ }
41
+
42
+ label:hover {
43
+ background-color: #0056b3; /* Darker blue on hover */
44
+ }
45
+ """