Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +7 -5
templates/cart.html
CHANGED
|
@@ -260,6 +260,7 @@
|
|
| 260 |
align-items: center;
|
| 261 |
text-align: center;
|
| 262 |
}
|
|
|
|
| 263 |
.suggestion-section {
|
| 264 |
margin-top: 20px;
|
| 265 |
padding: 15px;
|
|
@@ -276,6 +277,7 @@
|
|
| 276 |
padding-top: 5px;
|
| 277 |
}
|
| 278 |
|
|
|
|
| 279 |
.suggestion-item {
|
| 280 |
display: flex;
|
| 281 |
flex-direction: column; /* Stack content vertically */
|
|
@@ -290,7 +292,7 @@
|
|
| 290 |
transition: transform 0.3s ease;
|
| 291 |
margin-right: 15px; /* Ensure there's space between the cards */
|
| 292 |
text-align: center; /* Center content */
|
| 293 |
-
position: relative; /*
|
| 294 |
}
|
| 295 |
|
| 296 |
.suggestion-item:hover {
|
|
@@ -310,10 +312,10 @@
|
|
| 310 |
margin-bottom: 10px; /* Space below the text */
|
| 311 |
}
|
| 312 |
|
| 313 |
-
/*
|
| 314 |
.add-icon {
|
| 315 |
position: absolute;
|
| 316 |
-
top: 10px; /* Position at the top
|
| 317 |
right: 10px; /* Position at the top-right */
|
| 318 |
font-size: 1.5rem; /* Increase size of the + symbol */
|
| 319 |
padding: 8px 12px; /* Button padding */
|
|
@@ -327,8 +329,8 @@
|
|
| 327 |
}
|
| 328 |
|
| 329 |
.add-icon:hover {
|
| 330 |
-
background-color: #
|
| 331 |
-
color: #
|
| 332 |
}
|
| 333 |
|
| 334 |
/* Ensure the scroll container works fine */
|
|
|
|
| 260 |
align-items: center;
|
| 261 |
text-align: center;
|
| 262 |
}
|
| 263 |
+
|
| 264 |
.suggestion-section {
|
| 265 |
margin-top: 20px;
|
| 266 |
padding: 15px;
|
|
|
|
| 277 |
padding-top: 5px;
|
| 278 |
}
|
| 279 |
|
| 280 |
+
/* Card styling */
|
| 281 |
.suggestion-item {
|
| 282 |
display: flex;
|
| 283 |
flex-direction: column; /* Stack content vertically */
|
|
|
|
| 292 |
transition: transform 0.3s ease;
|
| 293 |
margin-right: 15px; /* Ensure there's space between the cards */
|
| 294 |
text-align: center; /* Center content */
|
| 295 |
+
position: relative; /* Position relative for positioning the + icon */
|
| 296 |
}
|
| 297 |
|
| 298 |
.suggestion-item:hover {
|
|
|
|
| 312 |
margin-bottom: 10px; /* Space below the text */
|
| 313 |
}
|
| 314 |
|
| 315 |
+
/* Position the + symbol button at the top-right of each card */
|
| 316 |
.add-icon {
|
| 317 |
position: absolute;
|
| 318 |
+
top: 10px; /* Position at the top */
|
| 319 |
right: 10px; /* Position at the top-right */
|
| 320 |
font-size: 1.5rem; /* Increase size of the + symbol */
|
| 321 |
padding: 8px 12px; /* Button padding */
|
|
|
|
| 329 |
}
|
| 330 |
|
| 331 |
.add-icon:hover {
|
| 332 |
+
background-color: #0FAA39; /* Green background on hover */
|
| 333 |
+
color: #fff; /* White color for the + symbol when hovered */
|
| 334 |
}
|
| 335 |
|
| 336 |
/* Ensure the scroll container works fine */
|