Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +12 -9
templates/cart.html
CHANGED
|
@@ -297,18 +297,21 @@
|
|
| 297 |
/* Styling for the + symbol button (with green border, white background, and black text) */
|
| 298 |
.add-back-button {
|
| 299 |
position: absolute;
|
| 300 |
-
top: -10px;
|
| 301 |
-
right: -10px;
|
| 302 |
-
font-size:
|
| 303 |
-
padding:
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
|
|
|
|
|
|
| 308 |
cursor: pointer;
|
| 309 |
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
|
| 310 |
-
z-index: 1;
|
| 311 |
}
|
|
|
|
| 312 |
.add-back-button:hover {
|
| 313 |
background-color: #fff; /* Green background on hover */
|
| 314 |
color: #0FAA39; /* White color for the + symbol when hovered */
|
|
|
|
| 297 |
/* Styling for the + symbol button (with green border, white background, and black text) */
|
| 298 |
.add-back-button {
|
| 299 |
position: absolute;
|
| 300 |
+
top: -10px;
|
| 301 |
+
right: -10px;
|
| 302 |
+
font-size: 1rem; /* Smaller font size */
|
| 303 |
+
padding: 0; /* Remove padding */
|
| 304 |
+
width: 30px; /* Set fixed width */
|
| 305 |
+
height: 30px; /* Set fixed height */
|
| 306 |
+
background-color: #fff;
|
| 307 |
+
color: #0FAA39;
|
| 308 |
+
border: 2px solid #0FAA39;
|
| 309 |
+
border-radius: 0; /* Square shape */
|
| 310 |
cursor: pointer;
|
| 311 |
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
|
| 312 |
+
z-index: 1;
|
| 313 |
}
|
| 314 |
+
|
| 315 |
.add-back-button:hover {
|
| 316 |
background-color: #fff; /* Green background on hover */
|
| 317 |
color: #0FAA39; /* White color for the + symbol when hovered */
|