Spaces:
Build error
Build error
Update components/styles.py
Browse files- components/styles.py +35 -32
components/styles.py
CHANGED
|
@@ -22,58 +22,61 @@ button:hover {
|
|
| 22 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 23 |
}
|
| 24 |
|
| 25 |
-
/*
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
top: 50%;
|
| 30 |
-
left: 50%;
|
| 31 |
-
transform: translate(-50%, -50%);
|
| 32 |
background-color: #fff;
|
| 33 |
border-radius: 12px;
|
| 34 |
-
padding: 20px;
|
| 35 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 36 |
-
|
| 37 |
-
width: 400px;
|
| 38 |
-
max-width: 90%;
|
| 39 |
text-align: center;
|
| 40 |
}
|
| 41 |
|
| 42 |
-
|
| 43 |
width: 100%;
|
| 44 |
-
|
| 45 |
object-fit: cover;
|
| 46 |
-
border-radius: 12px 12px 0 0;
|
| 47 |
}
|
| 48 |
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
font-
|
| 52 |
}
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
border-collapse: collapse;
|
| 58 |
}
|
| 59 |
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
|
|
|
| 63 |
}
|
| 64 |
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
margin-top: 20px;
|
| 68 |
-
background-color: #ff3333;
|
| 69 |
color: white;
|
| 70 |
border: none;
|
|
|
|
| 71 |
border-radius: 8px;
|
| 72 |
-
padding: 10px;
|
| 73 |
cursor: pointer;
|
| 74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
}
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
|
|
|
|
|
|
| 79 |
}
|
|
|
|
| 22 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 23 |
}
|
| 24 |
|
| 25 |
+
/* Popup card styling */
|
| 26 |
+
.popup-card {
|
| 27 |
+
width: 400px;
|
| 28 |
+
max-width: 90%;
|
|
|
|
|
|
|
|
|
|
| 29 |
background-color: #fff;
|
| 30 |
border-radius: 12px;
|
|
|
|
| 31 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 32 |
+
overflow: hidden;
|
|
|
|
|
|
|
| 33 |
text-align: center;
|
| 34 |
}
|
| 35 |
|
| 36 |
+
.popup-image {
|
| 37 |
width: 100%;
|
| 38 |
+
height: auto;
|
| 39 |
object-fit: cover;
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
+
.popup-content {
|
| 43 |
+
padding: 20px;
|
| 44 |
+
font-family: Arial, sans-serif;
|
| 45 |
}
|
| 46 |
|
| 47 |
+
.popup-content h3 {
|
| 48 |
+
font-size: 20px;
|
| 49 |
+
font-weight: bold;
|
|
|
|
| 50 |
}
|
| 51 |
|
| 52 |
+
.popup-content .price {
|
| 53 |
+
font-size: 18px;
|
| 54 |
+
color: #4CAF50;
|
| 55 |
+
font-weight: bold;
|
| 56 |
}
|
| 57 |
|
| 58 |
+
.add-btn {
|
| 59 |
+
background-color: #4CAF50;
|
|
|
|
|
|
|
| 60 |
color: white;
|
| 61 |
border: none;
|
| 62 |
+
padding: 10px 20px;
|
| 63 |
border-radius: 8px;
|
|
|
|
| 64 |
cursor: pointer;
|
| 65 |
+
font-size: 14px;
|
| 66 |
+
margin: 10px 0;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.add-btn:hover {
|
| 70 |
+
background-color: #45a049;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.customizable {
|
| 74 |
+
font-size: 12px;
|
| 75 |
+
color: #999;
|
| 76 |
}
|
| 77 |
|
| 78 |
+
.description {
|
| 79 |
+
font-size: 14px;
|
| 80 |
+
margin-top: 10px;
|
| 81 |
+
color: #555;
|
| 82 |
}
|