JeCabrera commited on
Commit
3f05b48
·
verified ·
1 Parent(s): 3399f5f

Update styles.py

Browse files
Files changed (1) hide show
  1. styles.py +25 -8
styles.py CHANGED
@@ -17,28 +17,30 @@ def get_custom_css():
17
  padding: 2rem;
18
  }
19
 
 
20
  .stMarkdown {
21
- color: #2c3e50;
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 - updated to match the image */
42
  [data-testid="stDownloadButton"] {
43
  text-align: center;
44
  display: flex;
@@ -49,7 +51,7 @@ def get_custom_css():
49
  width: 80%;
50
  border-radius: 5px;
51
  height: 3em;
52
- background-color: #00D100; /* Bright green color from the image */
53
  color: black;
54
  font-weight: bold;
55
  transition: all 0.3s ease;
@@ -57,12 +59,27 @@ def get_custom_css():
57
  }
58
 
59
  [data-testid="stDownloadButton"] button:hover {
60
- background-color: #00C000; /* Slightly darker on hover */
61
  transform: translateY(-2px);
62
  }
63
 
 
64
  .stTextInput>div>div>input {
65
  border-radius: 5px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  }
67
  </style>
68
  """
 
17
  padding: 2rem;
18
  }
19
 
20
+ /* Updated text color to match COPYXPERT navy blue */
21
  .stMarkdown {
22
+ color: #1A3A5F;
23
  }
24
 
25
+ /* Updated button to use the blue gradient from COPYXPERT logo */
26
  .stButton > button {
27
  width: 80%;
28
  margin-left: 10%;
29
  border-radius: 5px;
30
  height: 3em;
31
+ background: linear-gradient(135deg, #3D89B8 0%, #1A3A5F 100%);
32
+ color: white;
33
  font-weight: bold;
34
  transition: all 0.3s ease;
35
+ border: 1px solid #1A3A5F;
36
  }
37
 
38
  .stButton > button:hover {
39
+ background: linear-gradient(135deg, #4D99C8 0%, #2A4A6F 100%);
40
  transform: translateY(-2px);
41
  }
42
 
43
+ /* Style for download button - keeping the green */
44
  [data-testid="stDownloadButton"] {
45
  text-align: center;
46
  display: flex;
 
51
  width: 80%;
52
  border-radius: 5px;
53
  height: 3em;
54
+ background-color: #00D100;
55
  color: black;
56
  font-weight: bold;
57
  transition: all 0.3s ease;
 
59
  }
60
 
61
  [data-testid="stDownloadButton"] button:hover {
62
+ background-color: #00C000;
63
  transform: translateY(-2px);
64
  }
65
 
66
+ /* Added light blue border for text inputs */
67
  .stTextInput>div>div>input {
68
  border-radius: 5px;
69
+ border-color: #3D89B8;
70
+ }
71
+
72
+ /* Added styling for expanders to match branding */
73
+ .streamlit-expanderHeader {
74
+ background-color: #f0f5f9;
75
+ color: #1A3A5F;
76
+ font-weight: bold;
77
+ }
78
+
79
+ /* Added styling for text areas */
80
+ .stTextArea textarea {
81
+ border-color: #3D89B8;
82
+ border-radius: 5px;
83
  }
84
  </style>
85
  """