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

Added more features in the home page #474

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
16 changes: 8 additions & 8 deletions client/src/Animations.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/* Animations */
.fromTop{
animation: slideTop 1s ease forwards;
animation: slideTop 2s ease forwards;
}
.fromLeft{
animation: slideLeft 1s ease forwards;
animation: slideLeft 2s ease forwards;
}
.fromRight{
animation: slideRight 1s ease forwards;
animation: slideRight 2s ease forwards;
}
.fromBottom{
animation: slideBottom 1s ease forwards;
animation: slideBottom 2s ease forwards;
}

@keyframes slideRight {
Expand All @@ -19,7 +19,7 @@
}
100% {
transform: translateX(0);
opacity: 1;
opacity: 1.5;
}
}
@keyframes slideLeft {
Expand All @@ -29,7 +29,7 @@
}
100% {
transform: translateX(0);
opacity: 1;
opacity: 1.5;
}
}
@keyframes slideTop {
Expand All @@ -39,7 +39,7 @@
}
100% {
transform: translateY(0);
opacity: 1;
opacity: 1.5;
}
}
@keyframes slideBottom {
Expand All @@ -59,6 +59,6 @@
}
100% {
transform: scale(1);
opacity: 1;
opacity: 1.5;
}
}
2 changes: 1 addition & 1 deletion client/src/Components/Footer/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

/* Copyright section styles */
.copyright-section {
color: #ffffff; /* Text color for copyright */
color: #f7e8e8; /* Text color for copyright */
font-size: 0.875rem; /* Smaller text size */
}

Expand Down
2 changes: 1 addition & 1 deletion client/src/Pages/BannerCard.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.mySwiper .swiper-pagination {
bottom: 0; /* Moves pagination to the bottom */
margin-top: 10px; /* Adds some margin between the card and dots */
margin-top: 20px; /* Adds some margin between the card and dots */
position: relative; /* Avoids overlap with the image */
}
5 changes: 5 additions & 0 deletions client/src/Pages/Cart.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
font-size: 24px;
margin-bottom: 10px;
}
.cart-header:hover{
color:#28a745;
}

.error-message {
color: red;
Expand Down Expand Up @@ -101,6 +104,7 @@

.suggested-products h2 {
font-size: 20px;
font-weight: 600;
}

.suggested-products ul {
Expand All @@ -117,6 +121,7 @@
.cart-table th,
.cart-table td {
font-size: 14px;
font-weight: 500;
}
}

7 changes: 3 additions & 4 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ body {

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
width: 7px; /* Width of the scrollbar */
width: 8px; /* Width of the scrollbar */
z-index: 9999;
}


::-webkit-scrollbar-track {
background: rgb(252, 252, 253); /* Color of the track (the empty space behind the scrollbar) */
background: rgb(214, 214, 222); /* Color of the track (the empty space behind the scrollbar) */
}

::-webkit-scrollbar-thumb {
Expand All @@ -26,8 +26,7 @@ body {
}

::-webkit-scrollbar-thumb:hover {
background-color: rgb(15, 103, 198) ; /* Blue color for the scrollbar */

background: linear-gradient(45deg, #000e17, #3d00a6, #abffee); /* Inverted gradient color on hover */
}

code {
Expand Down