JeCabrera commited on
Commit
ad21d39
·
verified ·
1 Parent(s): 71c09a9

Update style.py

Browse files
Files changed (1) hide show
  1. style.py +30 -9
style.py CHANGED
@@ -8,18 +8,39 @@ styles = {
8
  """,
9
  "button": """
10
  <style>
11
- .stButton > button {
12
  width: 100%;
13
- margin-top: 1rem;
14
- background-color: #FFD700;
15
- color: black;
16
- font-weight: bold;
 
17
  border: none;
 
18
  }
19
- .stButton > button:hover {
20
- background-color: #FFC800;
21
- color: black;
22
- border: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
  """,