Spaces:
Build error
Build error
Update styles/styles.css
Browse files- styles/styles.css +115 -98
styles/styles.css
CHANGED
@@ -1,99 +1,116 @@
|
|
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 |
}
|
|
|
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 |
}
|