Spaces:
Running
Running
Update style.py
Browse files
style.py
CHANGED
@@ -8,18 +8,39 @@ styles = {
|
|
8 |
""",
|
9 |
"button": """
|
10 |
<style>
|
11 |
-
.stButton
|
12 |
width: 100%;
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
17 |
border: none;
|
|
|
18 |
}
|
19 |
-
.stButton
|
20 |
-
background-color: #
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
</style>
|
25 |
""",
|
|
|
8 |
""",
|
9 |
"button": """
|
10 |
<style>
|
11 |
+
.stButton button {
|
12 |
width: 100%;
|
13 |
+
background-color: #FF4B4B;
|
14 |
+
color: white;
|
15 |
+
border-radius: 0.5rem;
|
16 |
+
padding: 0.5rem 1rem;
|
17 |
+
font-weight: 600;
|
18 |
border: none;
|
19 |
+
margin: 1rem 0;
|
20 |
}
|
21 |
+
.stButton button:hover {
|
22 |
+
background-color: #FF3333;
|
23 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
24 |
+
transform: translateY(-2px);
|
25 |
+
}
|
26 |
+
</style>
|
27 |
+
""",
|
28 |
+
"download_button": """
|
29 |
+
<style>
|
30 |
+
.stDownloadButton button {
|
31 |
+
background-color: #4CAF50 !important;
|
32 |
+
color: white !important;
|
33 |
+
padding: 0.5rem 1rem !important;
|
34 |
+
border-radius: 0.5rem !important;
|
35 |
+
border: none !important;
|
36 |
+
font-weight: 600 !important;
|
37 |
+
margin: 1rem 0 !important;
|
38 |
+
transition: all 0.3s ease !important;
|
39 |
+
}
|
40 |
+
.stDownloadButton button:hover {
|
41 |
+
background-color: #45a049 !important;
|
42 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
|
43 |
+
transform: translateY(-2px) !important;
|
44 |
}
|
45 |
</style>
|
46 |
""",
|