Spaces:
Sleeping
Sleeping
Create styles.py
Browse files- components/styles.py +15 -0
components/styles.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
def get_styles():
|
| 2 |
+
return """
|
| 3 |
+
.popup-container {
|
| 4 |
+
position: fixed;
|
| 5 |
+
top: 50%;
|
| 6 |
+
left: 50%;
|
| 7 |
+
transform: translate(-50%, -50%);
|
| 8 |
+
background: white;
|
| 9 |
+
border: 2px solid #ccc;
|
| 10 |
+
border-radius: 10px;
|
| 11 |
+
padding: 20px;
|
| 12 |
+
width: 400px;
|
| 13 |
+
z-index: 1000;
|
| 14 |
+
}
|
| 15 |
+
"""
|