Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -204,6 +204,36 @@ button.selected::after{
|
|
204 |
"""
|
205 |
|
206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
demo = gr.Blocks(css=css_content) #, fill_width=True)
|
208 |
with demo:
|
209 |
'''
|
|
|
204 |
"""
|
205 |
|
206 |
|
207 |
+
demo = gr.Blocks(css="""
|
208 |
+
#popup-modal {
|
209 |
+
position: fixed;
|
210 |
+
top: 0; left: 0;
|
211 |
+
width: 100vw; height: 100vh;
|
212 |
+
background: rgba(0,0,0,0.5);
|
213 |
+
display: flex;
|
214 |
+
justify-content: center;
|
215 |
+
align-items: center;
|
216 |
+
z-index: 999;
|
217 |
+
}
|
218 |
+
#popup-content {
|
219 |
+
background: white;
|
220 |
+
padding: 20px;
|
221 |
+
border-radius: 10px;
|
222 |
+
box-shadow: 0 0 20px rgba(0,0,0,0.3);
|
223 |
+
text-align: center;
|
224 |
+
width: 300px;
|
225 |
+
}
|
226 |
+
#popup-button {
|
227 |
+
margin-top: 15px;
|
228 |
+
background-color: #5b65a7;
|
229 |
+
color: white;
|
230 |
+
}
|
231 |
+
#popup-button:hover {
|
232 |
+
background-color: #3c4687;
|
233 |
+
}
|
234 |
+
""")
|
235 |
+
|
236 |
+
|
237 |
demo = gr.Blocks(css=css_content) #, fill_width=True)
|
238 |
with demo:
|
239 |
'''
|