Skip to content

Commit

Permalink
refactor: Change in css to modify look
Browse files Browse the repository at this point in the history
  • Loading branch information
chhakuli123 committed May 28, 2023
1 parent 2c1b63c commit 83317d2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
11 changes: 10 additions & 1 deletion src/components/Product-listing/product-card/productcard.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,16 @@
margin-right: 0.3rem;
margin-bottom: 0.1rem;
}

.add-to-cart-btn.outofstock {
cursor: not-allowed;
opacity: 0.8;
}
.add-to-cart-btn.outofstock:hover {
background-color: var(--deep-blue);
color: var(--white);
outline: none;
cursor: not-allowed;
}
.product-card {
position: relative;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/cart/cart.css
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
font-size: 1.1rem;
font-weight: bold;
color: var(--deep-blue);
margin: 1rem 0;
margin-top: 1rem;
}

.checkout-btn {
Expand Down
8 changes: 1 addition & 7 deletions src/components/checkout/checkout.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,9 @@
font-size: 1.5rem;
color: var(--section-title);
text-align: center;
margin-bottom: 0.5rem;
margin: 0.5rem 0;
}
.order-details-container {
box-shadow: 0px 0px 0.2rem var(--boxshadow-color);
border-radius: 0.3rem;
padding: 0.5rem;
margin: 0.5rem 0;
}
Expand All @@ -110,8 +108,6 @@
font-weight: bold;
}
.price-details {
box-shadow: 0px 0px 0.2rem var(--boxshadow-color);
border-radius: 0.3rem;
padding: 0.5rem;
margin: 0.5rem 0;
}
Expand All @@ -120,8 +116,6 @@
justify-content: space-between;
}
.delivery-container {
box-shadow: 0px 0px 0.2rem var(--boxshadow-color);
border-radius: 0.3rem;
padding: 0.5rem;
}
.recipient-name {
Expand Down
5 changes: 1 addition & 4 deletions src/components/user-profile/userprofile.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
display: flex;
justify-content: center;
align-items: center;
margin: 7rem 0;
margin: 5rem 0;
}

.profile-container {
Expand Down Expand Up @@ -85,9 +85,6 @@
right: 7rem;
}
@media (max-width: 768px) {
.profile-page {
margin: 7rem 0;
}
.profile-container {
padding: 1rem;
}
Expand Down

0 comments on commit 83317d2

Please sign in to comment.