Skip to content

Commit

Permalink
Merge pull request SUGAM-ARORA#556 from Ojas-Arora/test
Browse files Browse the repository at this point in the history
Enchancing the Design and Styling of the Cart Page
  • Loading branch information
SUGAM-ARORA authored Jul 24, 2024
2 parents 0f05a3f + 148a767 commit adbc31e
Show file tree
Hide file tree
Showing 7 changed files with 357 additions and 476 deletions.
3 changes: 1 addition & 2 deletions src/Components/Login.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ form.sign-in-form {
grid-template-columns: repeat(2, 1fr);

}

.container1:before {
content: "";
position: absolute;
Expand All @@ -248,7 +247,7 @@ form.sign-in-form {
darkturquoise 100%
);
transition: 1.8s ease-in-out;
border-radius: 80%;
border-radius: 50% 50% 0 0; /* Changed to a semi-circle */
z-index: 6;
}

Expand Down
Binary file added src/Components/cart/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
167 changes: 84 additions & 83 deletions src/Components/cart/cart.css
Original file line number Diff line number Diff line change
@@ -1,84 +1,85 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #1f1c35;
color: white;
}

.cart-container {
text-align: center;
margin-top: 50px;
}

.cart-top {
position: fixed;
top: 10px;
right: 10px;
background-color: #ff21bc;
padding: 10px;
border-radius: 50%;
color: white;
cursor: pointer;
display: flex;
align-items: center;
}

.cart-icon {
width: 24px;
height: 24px;
vertical-align: middle;
margin-right: 10px;
}

.cart-count {
margin-left: 5px;
font-size: 16px;
}

.cart-item {
border: 1px solid #ddd;
padding: 10px;
margin: 10px;
display: inline-block;
width: calc(33% - 40px);
box-sizing: border-box;
text-align: left;
box-shadow: 7px 7px 32px 0 #6052ff;
position: relative;
}

.add-to-cart,
.remove-from-cart {
background-color: #ff21bc;
color: #fff;
border: none;
padding: 10px;
position: absolute;
bottom: 10px;
left: 30%;
transform: translateX(-50%);
border-radius: 3px;
cursor: pointer;
}

.remove-from-cart {
left: 70%;
}

.shop-today a {
color: #007185;
text-decoration: none;
font-weight: bold;
}

.cart-signin button {
background-color: #ff21bc;
border: 1px solid #a88734 #9c7e31 #846a29;
color: #fff;
padding: 10px 20px;
margin: 10px;
cursor: pointer;
border-radius: 3px;
}

font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #1f1c35;
color: white;
}

.cart-container {
text-align: center;
margin-top: 50px;
}

.cart-top {
position: fixed;
top: 10px;
right: 10px;
background-color: #ff21bc;
padding: 10px;
border-radius: 50%;
color: white;
cursor: pointer;
display: flex;
align-items: center;
}

.cart-icon {
width: 24px;
height: 24px;
vertical-align: middle;
margin-right: 10px;
}

.cart-count {
margin-left: 5px;
font-size: 16px;
}

.cart-item {
border: 1px solid #ddd;
padding: 10px;
margin: 10px;
display: inline-block;
width: calc(33% - 40px);
box-sizing: border-box;
text-align: left;
box-shadow: 7px 7px 32px 0 #6052ff;
position: relative;
}

.add-to-cart,
.remove-from-cart {
background-color: #ff21bc;
color: #fff;
border: none;
padding: 10px;
position: absolute;
bottom: 10px;
left: 30%;
transform: translateX(-50%);
border-radius: 3px;
cursor: pointer;
}

.remove-from-cart {
left: 70%;
}

.shop-today a {
color: #007185;
text-decoration: none;
font-weight: bold;
}

.cart-signin button {
background-color: #ff21bc;
border: 1px solid #a88734 #9c7e31 #846a29;
color: #fff;
padding: 10px 20px;
margin: 10px;
cursor: pointer;
border-radius: 3px;
justify-content: flex-end; /* Aligns content (button) to the right */
padding: 10px; /* Optional padding for the container */
}
Loading

0 comments on commit adbc31e

Please sign in to comment.