Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +8 -1
templates/cart.html
CHANGED
|
@@ -46,7 +46,6 @@
|
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
-
|
| 50 |
.cart-item-actions {
|
| 51 |
display: flex;
|
| 52 |
flex-direction: column; /* Stack the icon and price vertically */
|
|
@@ -66,11 +65,18 @@
|
|
| 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 */
|
|
@@ -80,6 +86,7 @@
|
|
| 80 |
|
| 81 |
|
| 82 |
|
|
|
|
| 83 |
.image-wrapper {
|
| 84 |
width: 80px; /* Width of the image container */
|
| 85 |
height: 140px !important; /* Height of the image container */
|
|
|
|
| 46 |
|
| 47 |
|
| 48 |
|
|
|
|
| 49 |
.cart-item-actions {
|
| 50 |
display: flex;
|
| 51 |
flex-direction: column; /* Stack the icon and price vertically */
|
|
|
|
| 65 |
left: 50px; /* Move the button 30px to the right */
|
| 66 |
}
|
| 67 |
|
| 68 |
+
/* Hover effect */
|
| 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 |
+
/* Prevent background color on focus or click */
|
| 75 |
+
.remove-btn:focus {
|
| 76 |
+
outline: none; /* Remove the outline */
|
| 77 |
+
background-color: transparent; /* Keep background transparent after clicking */
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
.text-primary {
|
| 81 |
color: #000 !important; /* Ensure the price is black */
|
| 82 |
text-align: center; /* Center-align the price */
|
|
|
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
+
|
| 90 |
.image-wrapper {
|
| 91 |
width: 80px; /* Width of the image container */
|
| 92 |
height: 140px !important; /* Height of the image container */
|