Spaces:
Sleeping
Sleeping
Update components/styles.py
Browse files- components/styles.py +13 -16
components/styles.py
CHANGED
@@ -22,28 +22,25 @@ button:hover {
|
|
22 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
23 |
}
|
24 |
|
25 |
-
/*
|
26 |
-
#popup-
|
27 |
-
display:
|
28 |
-
justify-content: center;
|
29 |
-
align-items: center;
|
30 |
position: fixed;
|
31 |
top: 0;
|
32 |
left: 0;
|
33 |
width: 100vw;
|
34 |
height: 100vh;
|
35 |
background-color: rgba(0, 0, 0, 0.5);
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
}
|
40 |
|
41 |
-
#popup-
|
42 |
-
|
43 |
-
opacity: 1;
|
44 |
}
|
45 |
|
46 |
-
|
47 |
width: 400px;
|
48 |
max-width: 90%;
|
49 |
background-color: #fff;
|
@@ -54,25 +51,25 @@ button:hover {
|
|
54 |
position: relative;
|
55 |
}
|
56 |
|
57 |
-
|
58 |
width: 100%;
|
59 |
max-height: 200px;
|
60 |
object-fit: cover;
|
61 |
border-radius: 12px 12px 0 0;
|
62 |
}
|
63 |
|
64 |
-
|
65 |
margin-top: 20px;
|
66 |
font-size: 24px;
|
67 |
}
|
68 |
|
69 |
-
|
70 |
width: 100%;
|
71 |
margin-top: 10px;
|
72 |
border-collapse: collapse;
|
73 |
}
|
74 |
|
75 |
-
|
76 |
padding: 10px;
|
77 |
border: 1px solid #ddd;
|
78 |
}
|
|
|
22 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
23 |
}
|
24 |
|
25 |
+
/* Popup container styling */
|
26 |
+
#popup-container {
|
27 |
+
display: none;
|
|
|
|
|
28 |
position: fixed;
|
29 |
top: 0;
|
30 |
left: 0;
|
31 |
width: 100vw;
|
32 |
height: 100vh;
|
33 |
background-color: rgba(0, 0, 0, 0.5);
|
34 |
+
justify-content: center;
|
35 |
+
align-items: center;
|
36 |
+
z-index: 1000;
|
37 |
}
|
38 |
|
39 |
+
#popup-container.active {
|
40 |
+
display: flex;
|
|
|
41 |
}
|
42 |
|
43 |
+
#popup-content {
|
44 |
width: 400px;
|
45 |
max-width: 90%;
|
46 |
background-color: #fff;
|
|
|
51 |
position: relative;
|
52 |
}
|
53 |
|
54 |
+
#popup-content img {
|
55 |
width: 100%;
|
56 |
max-height: 200px;
|
57 |
object-fit: cover;
|
58 |
border-radius: 12px 12px 0 0;
|
59 |
}
|
60 |
|
61 |
+
#popup-content h3 {
|
62 |
margin-top: 20px;
|
63 |
font-size: 24px;
|
64 |
}
|
65 |
|
66 |
+
#popup-content table {
|
67 |
width: 100%;
|
68 |
margin-top: 10px;
|
69 |
border-collapse: collapse;
|
70 |
}
|
71 |
|
72 |
+
#popup-content table td {
|
73 |
padding: 10px;
|
74 |
border: 1px solid #ddd;
|
75 |
}
|