Spaces:
Running
Running
styles = { | |
"main_layout": """ | |
<style> | |
.block-container { padding-top: 1rem; padding-bottom: 5rem; } | |
h1 { margin-top: 0rem; padding-top: 1rem; } | |
h4 { margin-top: 0.5rem; padding-top: 0rem; } | |
</style> | |
""", | |
"button": """ | |
<style> | |
.stButton button { | |
width: 100%; | |
background-color: #FF4B4B; | |
color: white; | |
border-radius: 0.5rem; | |
padding: 0.5rem 1rem; | |
font-weight: 600; | |
border: none; | |
margin: 1rem 0; | |
} | |
.stButton button:hover { | |
background-color: #FF3333; | |
box-shadow: 0 4px 8px rgba(0,0,0,0.1); | |
transform: translateY(-2px); | |
} | |
</style> | |
""", | |
"download_button": """ | |
<style> | |
.stDownloadButton button { | |
background-color: #4CAF50 !important; | |
color: white !important; | |
padding: 0.5rem 1rem !important; | |
border-radius: 0.5rem !important; | |
border: none !important; | |
font-weight: 600 !important; | |
margin: 1rem 0 !important; | |
transition: all 0.3s ease !important; | |
} | |
.stDownloadButton button:hover { | |
background-color: #45a049 !important; | |
box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important; | |
transform: translateY(-2px) !important; | |
} | |
</style> | |
""", | |
"results_container": """ | |
padding: 15px; | |
border: 1px solid #ddd; | |
border-radius: 8px; | |
""" | |
} |