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

Customized scrollbar #1208

Merged
merged 1 commit into from
Jun 28, 2024
Merged
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
22 changes: 22 additions & 0 deletions Css-files/cart.css
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,25 @@ background-size: 100% 100%;}
font-size: 28px;
font-weight: bold;
}

::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
background-image: linear-gradient(to top, rgb(246, 10, 10) , rgb(248, 145, 49), rgb(236, 239, 56));
}

::-webkit-scrollbar {
width:12px;

}

::-webkit-scrollbar-thumb {
background-color: #ff0707;
border-radius: 10px;
border:.3px solid white;
background-image: -webkit-linear-gradient(90deg,
rgb(20, 21, 12) 0%,
rgb(0, 0, 0) 25%,
transparent 100%,
rgb(247, 4, 4) 75%,
transparent)
}
21 changes: 21 additions & 0 deletions Css-files/cateringservices.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,24 @@ textarea {
#butt:hover {
background-color: rgb(196, 89, 89);
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
background-image: linear-gradient(to top, rgb(246, 10, 10) , rgb(248, 145, 49), rgb(236, 239, 56));
}

::-webkit-scrollbar {
width:12px;

}

::-webkit-scrollbar-thumb {
background-color: #ff0707;
border-radius: 10px;
border:.3px solid white;
background-image: -webkit-linear-gradient(90deg,
rgb(20, 21, 12) 0%,
rgb(0, 0, 0) 25%,
transparent 100%,
rgb(247, 4, 4) 75%,
transparent)
}
22 changes: 22 additions & 0 deletions Css-files/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -757,3 +757,25 @@ td {
margin-top: 250px;
margin-left: 100px;
} */

::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
background-image: linear-gradient(to top, rgb(246, 10, 10) , rgb(248, 145, 49), rgb(236, 239, 56));
}

::-webkit-scrollbar {
width:12px;

}

::-webkit-scrollbar-thumb {
background-color: #ff0707;
border-radius: 10px;
border:.3px solid white;
background-image: -webkit-linear-gradient(90deg,
rgb(20, 21, 12) 0%,
rgb(0, 0, 0) 25%,
transparent 100%,
rgb(247, 4, 4) 75%,
transparent)
}
21 changes: 21 additions & 0 deletions Css-files/detailed-dish.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,24 @@
gap: 10px;
}
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
background-image: linear-gradient(to top, rgb(246, 10, 10) , rgb(248, 145, 49), rgb(236, 239, 56));
}

::-webkit-scrollbar {
width:12px;

}

::-webkit-scrollbar-thumb {
background-color: #ff0707;
border-radius: 10px;
border:.3px solid white;
background-image: -webkit-linear-gradient(90deg,
rgb(20, 21, 12) 0%,
rgb(0, 0, 0) 25%,
transparent 100%,
rgb(247, 4, 4) 75%,
transparent)
}
20 changes: 15 additions & 5 deletions Css-files/offers.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,26 @@ body {
=========================================
*/

::-webkit-scrollbar {
width: 0.625rem;
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
background-image: linear-gradient(to top, rgb(246, 10, 10) , rgb(248, 145, 49), rgb(236, 239, 56));
}

::-webkit-scrollbar-track {
background: var(--white-color);
::-webkit-scrollbar {
width:12px;

}

::-webkit-scrollbar-thumb {
background: var(--secondry-color);
background-color: #ff0707;
border-radius: 10px;
border:.3px solid white;
background-image: -webkit-linear-gradient(90deg,
rgb(20, 21, 12) 0%,
rgb(0, 0, 0) 25%,
transparent 100%,
rgb(247, 4, 4) 75%,
transparent)
}

/*
Expand Down
24 changes: 23 additions & 1 deletion Css-files/services.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,26 @@ textarea {

#butt:hover {
background-color: rgb(196, 89, 89);
}
}

::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
background-image: linear-gradient(to top, rgb(246, 10, 10) , rgb(248, 145, 49), rgb(236, 239, 56));
}

::-webkit-scrollbar {
width:12px;

}

::-webkit-scrollbar-thumb {
background-color: #ff0707;
border-radius: 10px;
border:.3px solid white;
background-image: -webkit-linear-gradient(90deg,
rgb(20, 21, 12) 0%,
rgb(0, 0, 0) 25%,
transparent 100%,
rgb(247, 4, 4) 75%,
transparent)
}
23 changes: 22 additions & 1 deletion Css-files/services1.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,25 @@
font-weight: 500;
text-decoration: 8px;
border-radius: 8px;
}
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
background-image: linear-gradient(to top, rgb(246, 10, 10) , rgb(248, 145, 49), rgb(236, 239, 56));
}

::-webkit-scrollbar {
width:12px;

}

::-webkit-scrollbar-thumb {
background-color: #ff0707;
border-radius: 10px;
border:.3px solid white;
background-image: -webkit-linear-gradient(90deg,
rgb(20, 21, 12) 0%,
rgb(0, 0, 0) 25%,
transparent 100%,
rgb(247, 4, 4) 75%,
transparent)
}
10 changes: 10 additions & 0 deletions Css-files/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -843,4 +843,14 @@ textarea {
height: fit-content;
padding: 100px;
}
}
::-webkit-scrollbar{
width:20px;
}
::-webkit-scrollbar-track{
background: red;
}
::-webkit-scrollbar-thumb{
border-radius: 12px;
background-color: yellow;
}
16 changes: 9 additions & 7 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,24 @@ body {
/*Scrollbar Style*/
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
background-color: #CCCCCC;
/* background-image: linear-gradient(to top, rgb(246, 10, 10) , rgb(248, 145, 49), rgb(236, 239, 56)); */
background-color: white;
}

::-webkit-scrollbar {
width: 10px;
background-color: #F5F5F5;
width:12px;

}

::-webkit-scrollbar-thumb {
background-color: #FFF;
background-color: #ff0707;
border-radius: 10px;
border:.3px solid white;
background-image: -webkit-linear-gradient(90deg,
rgba(0, 0, 0, 1) 0%,
rgba(0, 0, 0, 1) 25%,
rgb(20, 21, 12) 0%,
rgb(0, 0, 0) 25%,
transparent 100%,
rgba(0, 0, 0, 1) 75%,
rgb(247, 4, 4) 75%,
transparent)
}

Expand Down
Loading