Spaces:
Running
Running
Update style.py
Browse files
style.py
CHANGED
@@ -9,36 +9,49 @@ styles = {
|
|
9 |
"button": """
|
10 |
<style>
|
11 |
.stButton > button {
|
12 |
-
width:
|
|
|
13 |
margin-top: 1rem;
|
14 |
-
|
|
|
|
|
15 |
color: black;
|
16 |
font-weight: bold;
|
17 |
-
border:
|
|
|
18 |
}
|
19 |
.stButton > button:hover {
|
20 |
-
background
|
21 |
-
|
22 |
-
border:
|
23 |
}
|
24 |
</style>
|
25 |
""",
|
26 |
"download_button": """
|
27 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
.stDownloadButton button {
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
font-weight:
|
35 |
-
margin: 1rem 0 !important;
|
36 |
transition: all 0.3s ease !important;
|
|
|
37 |
}
|
38 |
.stDownloadButton button:hover {
|
39 |
-
background
|
40 |
-
box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
|
41 |
transform: translateY(-2px) !important;
|
|
|
42 |
}
|
43 |
</style>
|
44 |
""",
|
|
|
9 |
"button": """
|
10 |
<style>
|
11 |
.stButton > button {
|
12 |
+
width: 80%;
|
13 |
+
margin-left: 10%;
|
14 |
margin-top: 1rem;
|
15 |
+
border-radius: 5px;
|
16 |
+
height: 3em;
|
17 |
+
background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
|
18 |
color: black;
|
19 |
font-weight: bold;
|
20 |
+
border: 1px solid #E6C200;
|
21 |
+
transition: all 0.3s ease;
|
22 |
}
|
23 |
.stButton > button:hover {
|
24 |
+
background: linear-gradient(135deg, #FFDF33 0%, #FFB733 100%);
|
25 |
+
transform: translateY(-2px);
|
26 |
+
border: 1px solid #E6C200;
|
27 |
}
|
28 |
</style>
|
29 |
""",
|
30 |
"download_button": """
|
31 |
<style>
|
32 |
+
.stDownloadButton {
|
33 |
+
text-align: center;
|
34 |
+
display: flex;
|
35 |
+
justify-content: center;
|
36 |
+
margin-top: 5px;
|
37 |
+
width: 80%;
|
38 |
+
margin-left: auto;
|
39 |
+
margin-right: auto;
|
40 |
+
}
|
41 |
.stDownloadButton button {
|
42 |
+
width: 100%;
|
43 |
+
border-radius: 5px;
|
44 |
+
height: 3em;
|
45 |
+
background: linear-gradient(135deg, #32CD32 0%, #228B22 100%);
|
46 |
+
color: white !important;
|
47 |
+
font-weight: bold !important;
|
|
|
48 |
transition: all 0.3s ease !important;
|
49 |
+
border: 1px solid #228B22 !important;
|
50 |
}
|
51 |
.stDownloadButton button:hover {
|
52 |
+
background: linear-gradient(135deg, #3ED83E 0%, #2A9D2A 100%);
|
|
|
53 |
transform: translateY(-2px) !important;
|
54 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
|
55 |
}
|
56 |
</style>
|
57 |
""",
|