JeCabrera commited on
Commit
c65b75a
·
verified ·
1 Parent(s): 919fc75

Update styles.py

Browse files
Files changed (1) hide show
  1. styles.py +24 -4
styles.py CHANGED
@@ -22,17 +22,37 @@ def get_custom_css():
22
  }
23
 
24
  .stButton > button {
25
- width: 100%;
 
26
  border-radius: 5px;
27
  height: 3em;
28
- background-color: #FFD700; /* Changed to yellow */
29
- color: black; /* Changed to black for better contrast on yellow */
30
  font-weight: bold;
31
  transition: all 0.3s ease;
 
32
  }
33
 
34
  .stButton > button:hover {
35
- background-color: #FFC800; /* Slightly darker yellow on hover */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  transform: translateY(-2px);
37
  }
38
 
 
22
  }
23
 
24
  .stButton > button {
25
+ width: 80%;
26
+ margin-left: 10%;
27
  border-radius: 5px;
28
  height: 3em;
29
+ background-color: #FFD700;
30
+ color: black;
31
  font-weight: bold;
32
  transition: all 0.3s ease;
33
+ border: 1px solid black;
34
  }
35
 
36
  .stButton > button:hover {
37
+ background-color: #FFC800;
38
+ transform: translateY(-2px);
39
+ }
40
+
41
+ /* Style for download button */
42
+ [data-testid="stDownloadButton"] button {
43
+ width: 80%;
44
+ margin-left: 10%;
45
+ border-radius: 5px;
46
+ height: 3em;
47
+ background-color: #4CAF50;
48
+ color: black;
49
+ font-weight: bold;
50
+ transition: all 0.3s ease;
51
+ border: 1px solid black;
52
+ }
53
+
54
+ [data-testid="stDownloadButton"] button:hover {
55
+ background-color: #45a049;
56
  transform: translateY(-2px);
57
  }
58