forked from SUGAM-ARORA/UniCollab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request SUGAM-ARORA#556 from Ojas-Arora/test
Enchancing the Design and Styling of the Cart Page
- Loading branch information
Showing
7 changed files
with
357 additions
and
476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ | ||
} |
Oops, something went wrong.