Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create wishlist.css #1465

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions css/wishlist.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/* wishlist.css */

/* Style for the wishlist container */
.wishlist-container {
padding: 20px;
background-color: #f9f9f9;
border-radius: 5px;
margin: 20px 0;
}

/* Style for wishlist items */
.wishlist-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px;
border-bottom: 1px solid #ddd;
}

/* Last wishlist item without border */
.wishlist-item:last-child {
border-bottom: none;
}

/* Style for the product image in the wishlist */
.wishlist-item img {
width: 80px;
height: 80px;
border-radius: 5px;
}

/* Style for the product details in the wishlist */
.wishlist-item-details {
flex-grow: 1;
padding: 0 15px;
}

/* Style for the product title in the wishlist */
.wishlist-item-title {
font-size: 16px;
font-weight: bold;
margin-bottom: 5px;
}

/* Style for the product price in the wishlist */
.wishlist-item-price {
font-size: 14px;
color: #666;
}

/* Style for the remove button in the wishlist */
.wishlist-item-remove {
background-color: #ff4444;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}

/* Hover effect for remove button */
.wishlist-item-remove:hover {
background-color: #ff0000;
}
Loading