File size: 2,334 Bytes
592ab66
 
 
 
 
 
 
 
 
 
 
1eab75b
 
 
70cd3d2
592ab66
 
 
70cd3d2
1eab75b
 
 
 
592ab66
 
70cd3d2
592ab66
 
70cd3d2
 
592ab66
 
 
b689cfd
 
 
 
 
 
 
1eab75b
b689cfd
 
 
 
 
 
 
 
1eab75b
 
b689cfd
 
1eab75b
 
 
b689cfd
 
 
1eab75b
b689cfd
1eab75b
b689cfd
 
1eab75b
 
 
 
 
592ab66
d8705e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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: 90%;
                margin: 1rem auto;
                display: block;
                background: linear-gradient(to right, #FFD700, #FFA500);
                color: black;
                font-weight: bold;
                border: none;
                transition: all 0.3s ease;
                text-transform: uppercase;
                letter-spacing: 1px;
                border-radius: 5px;
                padding: 0.5rem 1rem;
            }
            .stButton > button:hover {
                background: linear-gradient(to right, #FFC800, #FF8C00);
                color: black;
                border: none;
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            }
        </style>
    """,
    "download_button": """
        <style>
            [data-testid="stDownloadButton"] {
                text-align: center;
                display: flex;
                justify-content: center;
                margin-top: 5px;
                width: 90%;
                margin-left: auto;
                margin-right: auto;
            }
            
            [data-testid="stDownloadButton"] button {
                width: 100%;
                border-radius: 5px;
                height: 3em;
                background: linear-gradient(to right, #00D100, #009900);
                color: white;
                font-weight: bold;
                transition: all 0.3s ease;
                border: none;
                text-transform: uppercase;
                letter-spacing: 1px;
            }
            
            [data-testid="stDownloadButton"] button:hover {
                background: linear-gradient(to right, #00C000, #008800);
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            }
        </style>
    """,
    "results_container": """
        padding: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
    """
}