Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +8 -6
templates/cart.html
CHANGED
|
@@ -45,6 +45,8 @@
|
|
| 45 |
}set corner radius 10px, background color stroke
|
| 46 |
|
| 47 |
|
|
|
|
|
|
|
| 48 |
.cart-item-actions {
|
| 49 |
display: flex;
|
| 50 |
flex-direction: column; /* Stack the icon and price vertically */
|
|
@@ -58,18 +60,17 @@
|
|
| 58 |
cursor: pointer; /* Change cursor to pointer */
|
| 59 |
font-size: 1.5rem; /* Adjust the size of the trash icon */
|
| 60 |
margin-bottom: 10px; /* Add space below the delete icon */
|
| 61 |
-
transition:
|
| 62 |
-
position: relative; /* Make it relative for
|
| 63 |
top: -40px; /* Move the button 10px upwards */
|
| 64 |
-
left:
|
| 65 |
}
|
|
|
|
| 66 |
.remove-btn:hover {
|
| 67 |
color: black; /* Change the icon color to black on hover */
|
| 68 |
-
background-color:
|
| 69 |
-
border-radius: 5px; /* Optional: Add rounded corners to the button on hover */
|
| 70 |
}
|
| 71 |
|
| 72 |
-
|
| 73 |
.text-primary {
|
| 74 |
color: #000 !important; /* Ensure the price is black */
|
| 75 |
text-align: center; /* Center-align the price */
|
|
@@ -78,6 +79,7 @@
|
|
| 78 |
|
| 79 |
|
| 80 |
|
|
|
|
| 81 |
.image-wrapper {
|
| 82 |
width: 80px; /* Width of the image container */
|
| 83 |
height: 140px !important; /* Height of the image container */
|
|
|
|
| 45 |
}set corner radius 10px, background color stroke
|
| 46 |
|
| 47 |
|
| 48 |
+
|
| 49 |
+
|
| 50 |
.cart-item-actions {
|
| 51 |
display: flex;
|
| 52 |
flex-direction: column; /* Stack the icon and price vertically */
|
|
|
|
| 60 |
cursor: pointer; /* Change cursor to pointer */
|
| 61 |
font-size: 1.5rem; /* Adjust the size of the trash icon */
|
| 62 |
margin-bottom: 10px; /* Add space below the delete icon */
|
| 63 |
+
transition: color 0.3s ease; /* Smooth transition for icon color */
|
| 64 |
+
position: relative; /* Make it relative for movement */
|
| 65 |
top: -40px; /* Move the button 10px upwards */
|
| 66 |
+
left: 50px; /* Move the button 30px to the right */
|
| 67 |
}
|
| 68 |
+
|
| 69 |
.remove-btn:hover {
|
| 70 |
color: black; /* Change the icon color to black on hover */
|
| 71 |
+
background-color: transparent; /* Keep background transparent on hover */
|
|
|
|
| 72 |
}
|
| 73 |
|
|
|
|
| 74 |
.text-primary {
|
| 75 |
color: #000 !important; /* Ensure the price is black */
|
| 76 |
text-align: center; /* Center-align the price */
|
|
|
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
+
|
| 83 |
.image-wrapper {
|
| 84 |
width: 80px; /* Width of the image container */
|
| 85 |
height: 140px !important; /* Height of the image container */
|