Spaces:
Sleeping
Sleeping
Update styles.py
Browse files
styles.py
CHANGED
@@ -22,17 +22,37 @@ def get_custom_css():
|
|
22 |
}
|
23 |
|
24 |
.stButton > button {
|
25 |
-
width:
|
|
|
26 |
border-radius: 5px;
|
27 |
height: 3em;
|
28 |
-
background-color: #FFD700;
|
29 |
-
color: black;
|
30 |
font-weight: bold;
|
31 |
transition: all 0.3s ease;
|
|
|
32 |
}
|
33 |
|
34 |
.stButton > button:hover {
|
35 |
-
background-color: #FFC800;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
transform: translateY(-2px);
|
37 |
}
|
38 |
|
|
|
22 |
}
|
23 |
|
24 |
.stButton > button {
|
25 |
+
width: 80%;
|
26 |
+
margin-left: 10%;
|
27 |
border-radius: 5px;
|
28 |
height: 3em;
|
29 |
+
background-color: #FFD700;
|
30 |
+
color: black;
|
31 |
font-weight: bold;
|
32 |
transition: all 0.3s ease;
|
33 |
+
border: 1px solid black;
|
34 |
}
|
35 |
|
36 |
.stButton > button:hover {
|
37 |
+
background-color: #FFC800;
|
38 |
+
transform: translateY(-2px);
|
39 |
+
}
|
40 |
+
|
41 |
+
/* Style for download button */
|
42 |
+
[data-testid="stDownloadButton"] button {
|
43 |
+
width: 80%;
|
44 |
+
margin-left: 10%;
|
45 |
+
border-radius: 5px;
|
46 |
+
height: 3em;
|
47 |
+
background-color: #4CAF50;
|
48 |
+
color: black;
|
49 |
+
font-weight: bold;
|
50 |
+
transition: all 0.3s ease;
|
51 |
+
border: 1px solid black;
|
52 |
+
}
|
53 |
+
|
54 |
+
[data-testid="stDownloadButton"] button:hover {
|
55 |
+
background-color: #45a049;
|
56 |
transform: translateY(-2px);
|
57 |
}
|
58 |
|