Spaces:
Sleeping
Sleeping
File size: 4,597 Bytes
754681a 95d679a 754681a 95d679a 754681a 95d679a 19ec3c2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
/* Custom button styles for Perfect Webinar Framework */
/* Generate Webinar Script button - yellow with black border */
div.stButton > button:first-child {
width: 100%;
margin-top: 0.5rem;
border-radius: 5px;
height: 3em;
background: #FFD700; /* Solid yellow color like in the image */
color: black;
font-weight: bold;
border: 1px solid black; /* Changed to 1px border */
transition: all 0.3s ease;
}
div.stButton > button:first-child:hover {
background: #FFDF33; /* Slightly brighter yellow on hover */
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
border: 1px solid black;
}
/* Download buttons - green/blue gradient */
div.stDownloadButton > button:first-child {
background: linear-gradient(90deg, #4CAF50, #2196F3); /* Green to blue gradient */
color: white; /* White text for better visibility on gradient */
font-weight: bold;
padding: 0.5rem 1rem;
border-radius: 5px;
border: 1px solid black; /* 1px border as requested */
transition: all 0.3s;
width: 80%; /* Width 80% as requested */
margin: 0 auto;
display: block;
}
div.stDownloadButton > button:first-child:hover {
background: linear-gradient(135deg, #3ED83E 0%, #4169E1 100%);
transform: translateY(-2px) !important;
box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
border: 2px solid black !important;
}
/* Special styling for download buttons in the webinar names container */
.webinar-names-container div.stDownloadButton > button:first-child {
background: linear-gradient(90deg, #FF5722, #FF9800); /* Orange gradient */
color: white;
font-weight: bold;
border: 1px solid black;
}
.webinar-names-container div.stDownloadButton > button:first-child:hover {
background: linear-gradient(135deg, #FF7043, #FFA726);
transform: translateY(-2px) !important;
box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
border: 2px solid black !important;
}
/* Reduce top spacing and hide unnecessary elements */
.block-container {
padding-top: 1rem;
padding-bottom: 0rem;
}
header {
visibility: hidden;
}
#MainMenu {
visibility: hidden;
}
footer {
visibility: hidden;
}
/* Add any other custom styles here */
/* Styles for the webinar names container in the second tab */
.webinar-names-container {
padding: 15px;
margin-top: 10px;
margin-bottom: 10px;
}
/* Add border to all webinar name containers */
.webinar-names-container.with-border {
border: 1px solid #ddd;
border-radius: 5px;
padding: 20px;
}
/* Additional styling for containers with many items */
.webinar-names-container.many-items .stDownloadButton {
margin-top: 15px;
margin-bottom: 15px;
}
/* Special styling for download buttons in the webinar names tab */
div.stDownloadButton[data-testid*="download_top_names"] > button:first-child,
div.stDownloadButton[data-testid*="download_bottom_names"] > button:first-child {
background: linear-gradient(90deg, #FF5722, #FF9800) !important; /* Orange gradient */
color: white !important;
font-weight: bold !important;
border: 1px solid black !important;
}
div.stDownloadButton[data-testid*="download_top_names"] > button:first-child:hover,
div.stDownloadButton[data-testid*="download_bottom_names"] > button:first-child:hover {
background: linear-gradient(135deg, #FF7043, #FFA726) !important;
transform: translateY(-2px) !important;
box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
border: 2px solid black !important;
}
/* Custom download button for names tab */
.custom-download-button.names-download-button {
background: linear-gradient(90deg, #FF5722, #FF9800); /* Orange gradient */
color: white;
font-weight: bold;
padding: 0.75rem 1rem;
border-radius: 5px;
border: 1px solid #333;
text-align: center;
margin: 20px auto;
width: 80%;
cursor: pointer;
transition: all 0.3s;
display: block;
}
.custom-download-button.names-download-button:hover {
background: linear-gradient(135deg, #FF7043, #FFA726);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
border: 2px solid #333;
}
/* Make sure links inside the button inherit the text color */
.custom-download-button.names-download-button a {
color: white !important;
display: block;
width: 100%;
height: 100%;
font-weight: bold;
text-decoration: none !important;
} |