nagasurendra commited on
Commit
f36f178
·
verified ·
1 Parent(s): e103440

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. 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; /* Position the + symbol slightly outside of the card */
301
- right: -10px; /* Position at the top-right, slightly outside */
302
- font-size: 1.5rem; /* Increase size of the + symbol */
303
- padding: 6px 10px; /* Button padding */
304
- background-color: #fff; /* White background */
305
- color: #0FAA39; /* Black color for the + symbol */
306
- border: 2px solid #0FAA39; /* Green border */
307
- border-radius: 50%; /* Circular button */
 
 
308
  cursor: pointer;
309
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
310
- z-index: 1; /* Ensure the button is above content */
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 */