JeCabrera commited on
Commit
d618d12
·
verified ·
1 Parent(s): dee91d9

Update styles/styles.css

Browse files
Files changed (1) hide show
  1. styles/styles.css +296 -149
styles/styles.css CHANGED
@@ -1,150 +1,297 @@
1
- /* Custom button styles for Perfect Webinar Framework */
2
-
3
- /* Generate Webinar Script button - yellow with black border */
4
- div.stButton > button:first-child {
5
- width: 100%;
6
- margin-top: 0.5rem;
7
- border-radius: 5px;
8
- height: 3em;
9
- background: #FFD700; /* Solid yellow color like in the image */
10
- color: black;
11
- font-weight: bold;
12
- border: 1px solid black; /* Changed to 1px border */
13
- transition: all 0.3s ease;
14
- }
15
-
16
- div.stButton > button:first-child:hover {
17
- background: #FFDF33; /* Slightly brighter yellow on hover */
18
- transform: translateY(-2px);
19
- box-shadow: 0 4px 8px rgba(0,0,0,0.2);
20
- border: 1px solid black;
21
- }
22
-
23
- /* Download buttons - green/blue gradient */
24
- div.stDownloadButton > button:first-child {
25
- background: linear-gradient(90deg, #4CAF50, #2196F3); /* Green to blue gradient */
26
- color: white; /* White text for better visibility on gradient */
27
- font-weight: bold;
28
- padding: 0.5rem 1rem;
29
- border-radius: 5px;
30
- border: 1px solid black; /* 1px border as requested */
31
- transition: all 0.3s;
32
- width: 80%; /* Width 80% as requested */
33
- margin: 0 auto;
34
- display: block;
35
- }
36
-
37
- div.stDownloadButton > button:first-child:hover {
38
- background: linear-gradient(135deg, #3ED83E 0%, #4169E1 100%);
39
- transform: translateY(-2px) !important;
40
- box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
41
- border: 2px solid black !important;
42
- }
43
-
44
- /* Special styling for download buttons in the webinar names container */
45
- .webinar-names-container div.stDownloadButton > button:first-child {
46
- background: linear-gradient(90deg, #FF5722, #FF9800); /* Orange gradient */
47
- color: white;
48
- font-weight: bold;
49
- border: 1px solid black;
50
- }
51
-
52
- .webinar-names-container div.stDownloadButton > button:first-child:hover {
53
- background: linear-gradient(135deg, #FF7043, #FFA726);
54
- transform: translateY(-2px) !important;
55
- box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
56
- border: 2px solid black !important;
57
- }
58
-
59
-
60
- /* Reduce top spacing and hide unnecessary elements */
61
- .block-container {
62
- padding-top: 1rem;
63
- padding-bottom: 0rem;
64
- }
65
-
66
- header {
67
- visibility: hidden;
68
- }
69
-
70
- #MainMenu {
71
- visibility: hidden;
72
- }
73
-
74
- footer {
75
- visibility: hidden;
76
- }
77
-
78
- /* Add any other custom styles here */
79
-
80
-
81
- /* Styles for the webinar names container in the second tab */
82
- .webinar-names-container {
83
- padding: 15px;
84
- margin-top: 10px;
85
- margin-bottom: 10px;
86
- }
87
-
88
- /* Add border to all webinar name containers */
89
- .webinar-names-container.with-border {
90
- border: 1px solid #ddd;
91
- border-radius: 5px;
92
- padding: 20px;
93
- }
94
-
95
- /* Additional styling for containers with many items */
96
- .webinar-names-container.many-items .stDownloadButton {
97
- margin-top: 15px;
98
- margin-bottom: 15px;
99
- }
100
-
101
- /* Special styling for download buttons in the webinar names tab */
102
- div.stDownloadButton[data-testid*="download_top_names"] > button:first-child,
103
- div.stDownloadButton[data-testid*="download_bottom_names"] > button:first-child {
104
- background: linear-gradient(90deg, #FF5722, #FF9800) !important; /* Orange gradient */
105
- color: white !important;
106
- font-weight: bold !important;
107
- border: 1px solid black !important;
108
- }
109
-
110
- div.stDownloadButton[data-testid*="download_top_names"] > button:first-child:hover,
111
- div.stDownloadButton[data-testid*="download_bottom_names"] > button:first-child:hover {
112
- background: linear-gradient(135deg, #FF7043, #FFA726) !important;
113
- transform: translateY(-2px) !important;
114
- box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
115
- border: 2px solid black !important;
116
- }
117
-
118
-
119
- /* Custom download button for names tab */
120
- .custom-download-button.names-download-button {
121
- background: linear-gradient(90deg, #FF5722, #FF9800); /* Orange gradient */
122
- color: white;
123
- font-weight: bold;
124
- padding: 0.75rem 1rem;
125
- border-radius: 5px;
126
- border: 1px solid #333;
127
- text-align: center;
128
- margin: 20px auto;
129
- width: 80%;
130
- cursor: pointer;
131
- transition: all 0.3s;
132
- display: block;
133
- }
134
-
135
- .custom-download-button.names-download-button:hover {
136
- background: linear-gradient(135deg, #FF7043, #FFA726);
137
- transform: translateY(-2px);
138
- box-shadow: 0 4px 8px rgba(0,0,0,0.3);
139
- border: 2px solid #333;
140
- }
141
-
142
- /* Make sure links inside the button inherit the text color */
143
- .custom-download-button.names-download-button a {
144
- color: white !important;
145
- display: block;
146
- width: 100%;
147
- height: 100%;
148
- font-weight: bold;
149
- text-decoration: none !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
  }
 
1
+ /* Custom button styles for Perfect Webinar Framework */
2
+
3
+ /* Generate Webinar Script button - yellow with black border */
4
+ div.stButton > button:first-child {
5
+ width: 100%;
6
+ margin-top: 0.5rem;
7
+ border-radius: 5px;
8
+ height: 3em;
9
+ background: #FFD700; /* Solid yellow color like in the image */
10
+ color: black;
11
+ font-weight: bold;
12
+ border: 1px solid black; /* Changed to 1px border */
13
+ transition: all 0.3s ease;
14
+ }
15
+
16
+ div.stButton > button:first-child:hover {
17
+ background: #FFDF33; /* Slightly brighter yellow on hover */
18
+ transform: translateY(-2px);
19
+ box-shadow: 0 4px 8px rgba(0,0,0,0.2);
20
+ border: 1px solid black;
21
+ }
22
+
23
+ /* Download buttons - green/blue gradient */
24
+ div.stDownloadButton > button:first-child {
25
+ background: linear-gradient(90deg, #4CAF50, #2196F3); /* Green to blue gradient */
26
+ color: white; /* White text for better visibility on gradient */
27
+ font-weight: bold;
28
+ padding: 0.5rem 1rem;
29
+ border-radius: 5px;
30
+ border: 1px solid black; /* 1px border as requested */
31
+ transition: all 0.3s;
32
+ width: 80%; /* Width 80% as requested */
33
+ margin: 0 auto;
34
+ display: block;
35
+ }
36
+
37
+ div.stDownloadButton > button:first-child:hover {
38
+ background: linear-gradient(135deg, #3ED83E 0%, #4169E1 100%);
39
+ transform: translateY(-2px) !important;
40
+ box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
41
+ border: 2px solid black !important;
42
+ }
43
+
44
+ /* Special styling for download buttons in the webinar names container */
45
+ .webinar-names-container div.stDownloadButton > button:first-child {
46
+ background: linear-gradient(90deg, #FF5722, #FF9800); /* Orange gradient */
47
+ color: white;
48
+ font-weight: bold;
49
+ border: 1px solid black;
50
+ }
51
+
52
+ .webinar-names-container div.stDownloadButton > button:first-child:hover {
53
+ background: linear-gradient(135deg, #FF7043, #FFA726);
54
+ transform: translateY(-2px) !important;
55
+ box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
56
+ border: 2px solid black !important;
57
+ }
58
+
59
+
60
+ /* Reduce top spacing and hide unnecessary elements */
61
+ .block-container {
62
+ padding-top: 1rem;
63
+ padding-bottom: 0rem;
64
+ }
65
+
66
+ header {
67
+ visibility: hidden;
68
+ }
69
+
70
+ #MainMenu {
71
+ visibility: hidden;
72
+ }
73
+
74
+ footer {
75
+ visibility: hidden;
76
+ }
77
+
78
+ /* Add any other custom styles here */
79
+
80
+
81
+ /* Styles for the webinar names container in the second tab */
82
+ .webinar-names-container {
83
+ padding: 15px;
84
+ margin-top: 10px;
85
+ margin-bottom: 10px;
86
+ }
87
+
88
+ /* Add border to all webinar name containers */
89
+ .webinar-names-container.with-border {
90
+ border: 1px solid #ddd;
91
+ border-radius: 5px;
92
+ padding: 20px;
93
+ }
94
+
95
+ /* Additional styling for containers with many items */
96
+ .webinar-names-container.many-items .stDownloadButton {
97
+ margin-top: 15px;
98
+ margin-bottom: 15px;
99
+ }
100
+
101
+ /* Special styling for download buttons in the webinar names tab */
102
+ div.stDownloadButton[data-testid*="download_top_names"] > button:first-child,
103
+ div.stDownloadButton[data-testid*="download_bottom_names"] > button:first-child {
104
+ background: linear-gradient(90deg, #FF5722, #FF9800) !important; /* Orange gradient */
105
+ color: white !important;
106
+ font-weight: bold !important;
107
+ border: 1px solid black !important;
108
+ }
109
+
110
+ div.stDownloadButton[data-testid*="download_top_names"] > button:first-child:hover,
111
+ div.stDownloadButton[data-testid*="download_bottom_names"] > button:first-child:hover {
112
+ background: linear-gradient(135deg, #FF7043, #FFA726) !important;
113
+ transform: translateY(-2px) !important;
114
+ box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
115
+ border: 2px solid black !important;
116
+ }
117
+
118
+
119
+ /* Custom download button for names tab */
120
+ .custom-download-button.names-download-button {
121
+ background: linear-gradient(90deg, #FF5722, #FF9800); /* Orange gradient */
122
+ color: white;
123
+ font-weight: bold;
124
+ padding: 0.75rem 1rem;
125
+ border-radius: 5px;
126
+ border: 1px solid #333;
127
+ text-align: center;
128
+ margin: 20px auto;
129
+ width: 80%;
130
+ cursor: pointer;
131
+ transition: all 0.3s;
132
+ display: block;
133
+ }
134
+
135
+ .custom-download-button.names-download-button:hover {
136
+ background: linear-gradient(135deg, #FF7043, #FFA726);
137
+ transform: translateY(-2px);
138
+ box-shadow: 0 4px 8px rgba(0,0,0,0.3);
139
+ border: 2px solid #333;
140
+ }
141
+
142
+ /* Make sure links inside the button inherit the text color */
143
+ .custom-download-button.names-download-button a {
144
+ color: white !important;
145
+ display: block;
146
+ width: 100%;
147
+ height: 100%;
148
+ font-weight: bold;
149
+ text-decoration: none !important;
150
+ }
151
+
152
+ /* Custom button styles for Sales Page Generator */
153
+
154
+ /* Generate Sales Page Section button - yellow with black border */
155
+ div.stButton > button:first-child {
156
+ width: 100%;
157
+ margin-top: 0.5rem;
158
+ margin-bottom: 1rem;
159
+ border-radius: 5px;
160
+ height: 3em;
161
+ background: #FFD700; /* Solid yellow color */
162
+ color: black;
163
+ font-weight: bold;
164
+ border: 1px solid black;
165
+ transition: all 0.3s ease;
166
+ padding: 0.5rem 1rem;
167
+ }
168
+
169
+ div.stButton > button:first-child:hover {
170
+ background: #FFDF33; /* Slightly brighter yellow on hover */
171
+ transform: translateY(-2px);
172
+ box-shadow: 0 4px 8px rgba(0,0,0,0.2);
173
+ border: 1px solid black;
174
+ }
175
+
176
+ /* Download buttons - green/blue gradient */
177
+ div.stDownloadButton > button:first-child {
178
+ background: linear-gradient(90deg, #4CAF50, #2196F3); /* Green to blue gradient */
179
+ color: white; /* White text for better visibility on gradient */
180
+ font-weight: bold;
181
+ padding: 0.75rem 1.25rem;
182
+ border-radius: 5px;
183
+ border: 1px solid black;
184
+ transition: all 0.3s;
185
+ width: 80%;
186
+ margin: 1rem auto;
187
+ display: block;
188
+ }
189
+
190
+ div.stDownloadButton > button:first-child:hover {
191
+ background: linear-gradient(135deg, #3ED83E 0%, #4169E1 100%);
192
+ transform: translateY(-2px) !important;
193
+ box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
194
+ border: 2px solid black !important;
195
+ }
196
+
197
+ /* Reduce top spacing and hide unnecessary elements */
198
+ .block-container {
199
+ padding-top: 1rem;
200
+ padding-bottom: 1rem;
201
+ }
202
+
203
+ header {
204
+ visibility: hidden;
205
+ }
206
+
207
+ #MainMenu {
208
+ visibility: hidden;
209
+ }
210
+
211
+ footer {
212
+ visibility: hidden;
213
+ }
214
+
215
+ /* Input fields styling */
216
+ div.stTextInput > div > div > input {
217
+ padding: 0.75rem 1rem;
218
+ margin-bottom: 1rem;
219
+ border-radius: 5px;
220
+ border: 1px solid #ddd;
221
+ }
222
+
223
+ /* Selectbox styling */
224
+ div.stSelectbox > div > div {
225
+ padding: 0.5rem;
226
+ margin-bottom: 1rem;
227
+ }
228
+
229
+ /* Expander styling */
230
+ div.streamlit-expanderHeader {
231
+ padding: 0.75rem 1rem;
232
+ margin-top: 0.5rem;
233
+ margin-bottom: 0.5rem;
234
+ }
235
+
236
+ div.streamlit-expanderContent {
237
+ padding: 1rem;
238
+ }
239
+
240
+ /* Slider styling */
241
+ div.stSlider {
242
+ padding: 1rem 0.5rem;
243
+ margin-bottom: 1rem;
244
+ }
245
+
246
+ /* Subheader styling */
247
+ h3 {
248
+ margin-top: 1.5rem;
249
+ margin-bottom: 1rem;
250
+ padding: 0.5rem 0;
251
+ }
252
+
253
+ /* Content display area */
254
+ .stMarkdown {
255
+ padding: 1rem;
256
+ margin-top: 0.5rem;
257
+ margin-bottom: 1rem;
258
+ border-radius: 5px;
259
+ }
260
+
261
+ /* Sales page section container */
262
+ .sales-page-section-container {
263
+ padding: 1.5rem;
264
+ margin-top: 1rem;
265
+ margin-bottom: 1.5rem;
266
+ border: 1px solid #ddd;
267
+ border-radius: 5px;
268
+ }
269
+
270
+ /* Spinner styling */
271
+ div.stSpinner > div {
272
+ margin: 1rem auto;
273
+ }
274
+
275
+ /* Warning and error messages */
276
+ div.stAlert {
277
+ padding: 1rem;
278
+ margin: 1rem 0 1.5rem 0;
279
+ border-radius: 5px;
280
+ }
281
+
282
+ /* Main title styling */
283
+ h1 {
284
+ margin-bottom: 1rem;
285
+ padding-bottom: 0.5rem;
286
+ }
287
+
288
+ /* Subtitle styling */
289
+ h3 {
290
+ margin-bottom: 1.5rem;
291
+ }
292
+
293
+ /* Container for generated content */
294
+ .stMarkdown > div > p {
295
+ margin-bottom: 1rem;
296
+ line-height: 1.6;
297
  }