Improve hero carousel [1/-] #136
This commit is contained in:
5 files changed
+371
-302
No files matched your search
+6
-1
@@ -356,7 +356,12 @@ function App() {
|
||||
</DialogActions>
|
||||
</Dialog>
|
||||
<AnimatePresence>
|
||||
<div style={{ display: "flex" }}>
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
width: "calc(100vw - 14px)",
|
||||
}}
|
||||
>
|
||||
<CssBaseline />
|
||||
<SideMenu />
|
||||
<AppBar />
|
||||
|
||||
@@ -9,7 +9,7 @@ export const CarouselSkeleton = () => {
|
||||
<Paper
|
||||
className="hero-carousel-slide"
|
||||
sx={{
|
||||
background: theme.palette.primary.background.dark,
|
||||
background: theme.palette.primary.background.main,
|
||||
}}
|
||||
>
|
||||
<div className="hero-carousel-background">
|
||||
@@ -17,6 +17,10 @@ export const CarouselSkeleton = () => {
|
||||
variant="rectangular"
|
||||
height="100%"
|
||||
animation="wave"
|
||||
sx={{
|
||||
width: "100vw",
|
||||
height: "100vh",
|
||||
}}
|
||||
></Skeleton>
|
||||
</div>
|
||||
<Box className="hero-carousel-detail">
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/** @format */
|
||||
|
||||
.home {
|
||||
&-background {
|
||||
&-container {
|
||||
@@ -23,8 +22,8 @@
|
||||
isolation: isolate;
|
||||
&-slide {
|
||||
position: relative;
|
||||
height: 70vh;
|
||||
border-radius: 10px !important;
|
||||
height: 100%;
|
||||
border-radius: 0px !important;
|
||||
overflow: hidden;
|
||||
margin: 0 auto;
|
||||
}
|
||||
@@ -34,6 +33,7 @@
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
filter: brightness(0.7);
|
||||
}
|
||||
&-container {
|
||||
position: absolute;
|
||||
@@ -42,16 +42,7 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
mask-image: linear-gradient(
|
||||
to right,
|
||||
rgba(0, 0, 0, 0.1),
|
||||
black 90%
|
||||
);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to right,
|
||||
rgba(0, 0, 0, 0.1),
|
||||
black 90%
|
||||
);
|
||||
opacity: 0.8;
|
||||
}
|
||||
&-image {
|
||||
position: absolute;
|
||||
@@ -63,18 +54,19 @@
|
||||
bottom: 0;
|
||||
background-position: center;
|
||||
opacity: 1;
|
||||
mask-image: linear-gradient(
|
||||
to right,
|
||||
transparent 2%,
|
||||
rgba(0, 0, 0, 0.5) 20%,
|
||||
black 70%
|
||||
);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to right,
|
||||
transparent 2%,
|
||||
rgba(0, 0, 0, 0.5) 20%,
|
||||
black 70%
|
||||
);
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
rgb(0 0 0 / 0.45),
|
||||
transparent
|
||||
);
|
||||
}
|
||||
}
|
||||
&-icon {
|
||||
position: absolute;
|
||||
@@ -111,14 +103,21 @@
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
display: flex;
|
||||
height: 70vh;
|
||||
height: 100%;
|
||||
width: 70%;
|
||||
padding: 2em;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
justify-content: flex-end;
|
||||
align-items: flex-start;
|
||||
padding-bottom: 5em;
|
||||
}
|
||||
&-indicator {
|
||||
&-container {
|
||||
width: calc(100% - 2em) !important;
|
||||
margin-top: -1em !important;
|
||||
margin-left: 1em !important;
|
||||
margin-right: 1em !important;
|
||||
}
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
border-radius: 0;
|
||||
|
||||
+332
-271
@@ -18,7 +18,7 @@ import Button from "@mui/material/Button";
|
||||
import Paper from "@mui/material/Paper";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Chip from "@mui/material/Chip";
|
||||
import Divider from "@mui/material/Divider";
|
||||
import LinearProgress from "@mui/material/LinearProgress";
|
||||
import Stack from "@mui/material/Stack";
|
||||
|
||||
import { yellow } from "@mui/material/colors";
|
||||
@@ -204,11 +204,9 @@ const Home = () => {
|
||||
<>
|
||||
<Box
|
||||
component="main"
|
||||
className="scrollY"
|
||||
className="scrollY home"
|
||||
sx={{
|
||||
flexGrow: 1,
|
||||
pt: 11,
|
||||
px: 3,
|
||||
pb: 3,
|
||||
position: "relative",
|
||||
}}
|
||||
@@ -269,9 +267,9 @@ const Home = () => {
|
||||
</Carousel> */}
|
||||
<Carousel
|
||||
className="hero-carousel"
|
||||
autoPlay={true}
|
||||
autoPlay={false}
|
||||
animation="fade"
|
||||
height="70vh"
|
||||
height="100vh"
|
||||
IndicatorIcon={
|
||||
<div className="hero-carousel-indicator"></div>
|
||||
}
|
||||
@@ -289,9 +287,12 @@ const Home = () => {
|
||||
},
|
||||
}}
|
||||
indicatorContainerProps={{
|
||||
className: "hero-carousel-indicator-container",
|
||||
style: {
|
||||
position: "absolute",
|
||||
display: "flex",
|
||||
gap: "1em",
|
||||
zIndex: 1,
|
||||
},
|
||||
}}
|
||||
sx={{
|
||||
@@ -421,7 +422,7 @@ const Home = () => {
|
||||
</div>
|
||||
<Box className="hero-carousel-detail">
|
||||
<Typography
|
||||
variant="h3"
|
||||
variant="h2"
|
||||
className="hero-carousel-text"
|
||||
sx={{
|
||||
mb: 2.5,
|
||||
@@ -459,13 +460,27 @@ const Home = () => {
|
||||
direction="row"
|
||||
gap={1}
|
||||
divider={
|
||||
<Divider
|
||||
variant="middle"
|
||||
component="div"
|
||||
orientation="vertical"
|
||||
flexItem
|
||||
/>
|
||||
<Box
|
||||
sx={{
|
||||
width: "4px",
|
||||
height: "4px",
|
||||
background:
|
||||
"white",
|
||||
alignSelf:
|
||||
"center",
|
||||
aspectRatio: 1,
|
||||
borderRadius:
|
||||
"10px",
|
||||
}}
|
||||
></Box>
|
||||
}
|
||||
// <Divider
|
||||
// variant="middle"
|
||||
// component="div"
|
||||
// orientation="vertical"
|
||||
// flexItem
|
||||
// />
|
||||
|
||||
className="hero-carousel-info"
|
||||
>
|
||||
<Typography
|
||||
@@ -553,6 +568,25 @@ const Home = () => {
|
||||
>
|
||||
{item.Overview}
|
||||
</Typography>
|
||||
|
||||
{item.UserData
|
||||
.PlaybackPositionTicks >
|
||||
0 && (
|
||||
<LinearProgress
|
||||
variant="determinate"
|
||||
value={
|
||||
item
|
||||
.UserData
|
||||
.PlayedPercentage
|
||||
}
|
||||
color="white"
|
||||
sx={{
|
||||
mt: 2,
|
||||
borderRadius: 1,
|
||||
width: "50%",
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{/* TODO Link PLay and More info buttons in carousel */}
|
||||
<Box
|
||||
sx={{
|
||||
@@ -593,275 +627,302 @@ const Home = () => {
|
||||
})
|
||||
)}
|
||||
</Carousel>
|
||||
{libraries.isLoading ? (
|
||||
<CardsSkeleton />
|
||||
) : (
|
||||
<CardScroller displayCards={4} title="Libraries">
|
||||
{libraries.status == "success" &&
|
||||
libraries.data.Items.map((item, index) => {
|
||||
return (
|
||||
<Card
|
||||
key={index}
|
||||
itemName={item.Name}
|
||||
itemId={item.Id}
|
||||
// imageTags={false}
|
||||
imageTags={
|
||||
!!item.ImageTags.Primary
|
||||
}
|
||||
cardType="lib"
|
||||
cardOrientation="landscape"
|
||||
iconType={item.CollectionType}
|
||||
onClickEvent={() => {
|
||||
navigate(
|
||||
`/library/${item.Id}`,
|
||||
);
|
||||
}}
|
||||
blurhash={
|
||||
item.ImageBlurHashes ==
|
||||
{}
|
||||
? ""
|
||||
: !!item.ImageTags
|
||||
<Box
|
||||
className="padded-container"
|
||||
sx={{
|
||||
px: 3,
|
||||
}}
|
||||
>
|
||||
{libraries.isLoading ? (
|
||||
<CardsSkeleton />
|
||||
) : (
|
||||
<CardScroller displayCards={4} title="Libraries">
|
||||
{libraries.status == "success" &&
|
||||
libraries.data.Items.map(
|
||||
(item, index) => {
|
||||
return (
|
||||
<Card
|
||||
key={index}
|
||||
itemName={item.Name}
|
||||
itemId={item.Id}
|
||||
// imageTags={false}
|
||||
imageTags={
|
||||
!!item
|
||||
.ImageTags
|
||||
.Primary
|
||||
? !!item
|
||||
.ImageBlurHashes
|
||||
.Primary
|
||||
? item
|
||||
.ImageBlurHashes
|
||||
.Primary[
|
||||
item
|
||||
}
|
||||
cardType="lib"
|
||||
cardOrientation="landscape"
|
||||
iconType={
|
||||
item.CollectionType
|
||||
}
|
||||
onClickEvent={() => {
|
||||
navigate(
|
||||
`/library/${item.Id}`,
|
||||
);
|
||||
}}
|
||||
blurhash={
|
||||
item.ImageBlurHashes ==
|
||||
{}
|
||||
? ""
|
||||
: !!item
|
||||
.ImageTags
|
||||
.Primary
|
||||
]
|
||||
: ""
|
||||
: ""
|
||||
}
|
||||
currentUser={user.data}
|
||||
></Card>
|
||||
);
|
||||
})}
|
||||
</CardScroller>
|
||||
)}
|
||||
{upNextItems.isLoading ? (
|
||||
<CardsSkeleton />
|
||||
) : upNextItems.isSuccess &&
|
||||
upNextItems.data.Items.length == 0 ? (
|
||||
<></>
|
||||
) : (
|
||||
<CardScroller displayCards={4} title="Up Next">
|
||||
{upNextItems.data.Items.map((item, index) => {
|
||||
return (
|
||||
<Card
|
||||
key={index}
|
||||
itemName={
|
||||
!!item.SeriesId
|
||||
? item.SeriesName
|
||||
: item.Name
|
||||
}
|
||||
itemId={
|
||||
!!item.SeriesId
|
||||
? item.SeriesId
|
||||
: item.Id
|
||||
}
|
||||
// imageTags={false}
|
||||
imageTags={
|
||||
!!item.ImageTags.Primary
|
||||
}
|
||||
cardType="thumb"
|
||||
iconType={item.Type}
|
||||
subText={
|
||||
!!item.SeriesId
|
||||
? "S" +
|
||||
item.ParentIndexNumber +
|
||||
":E" +
|
||||
item.IndexNumber +
|
||||
" - " +
|
||||
item.Name
|
||||
: item.ProductionYear
|
||||
}
|
||||
cardOrientation="landscape"
|
||||
blurhash={
|
||||
item.ImageBlurHashes == {}
|
||||
? ""
|
||||
: !!item.ImageTags
|
||||
? !!item
|
||||
.ImageBlurHashes
|
||||
.Primary
|
||||
? item
|
||||
.ImageBlurHashes
|
||||
.Primary[
|
||||
item
|
||||
.ImageTags
|
||||
.Primary
|
||||
]
|
||||
: ""
|
||||
: ""
|
||||
}
|
||||
currentUser={
|
||||
user.data
|
||||
}
|
||||
></Card>
|
||||
);
|
||||
},
|
||||
)}
|
||||
</CardScroller>
|
||||
)}
|
||||
{upNextItems.isLoading ? (
|
||||
<CardsSkeleton />
|
||||
) : upNextItems.isSuccess &&
|
||||
upNextItems.data.Items.length == 0 ? (
|
||||
<></>
|
||||
) : (
|
||||
<CardScroller displayCards={4} title="Up Next">
|
||||
{upNextItems.data.Items.map(
|
||||
(item, index) => {
|
||||
return (
|
||||
<Card
|
||||
key={index}
|
||||
itemName={
|
||||
!!item.SeriesId
|
||||
? item.SeriesName
|
||||
: item.Name
|
||||
}
|
||||
itemId={
|
||||
!!item.SeriesId
|
||||
? item.SeriesId
|
||||
: item.Id
|
||||
}
|
||||
// imageTags={false}
|
||||
imageTags={
|
||||
!!item.ImageTags
|
||||
.Primary
|
||||
? !!item.ImageBlurHashes
|
||||
.Primary
|
||||
? item
|
||||
.ImageBlurHashes
|
||||
.Primary[
|
||||
item
|
||||
}
|
||||
cardType="thumb"
|
||||
iconType={item.Type}
|
||||
subText={
|
||||
!!item.SeriesId
|
||||
? "S" +
|
||||
item.ParentIndexNumber +
|
||||
":E" +
|
||||
item.IndexNumber +
|
||||
" - " +
|
||||
item.Name
|
||||
: item.ProductionYear
|
||||
}
|
||||
cardOrientation="landscape"
|
||||
blurhash={
|
||||
item.ImageBlurHashes ==
|
||||
{}
|
||||
? ""
|
||||
: !!item
|
||||
.ImageTags
|
||||
.Primary
|
||||
]
|
||||
: ""
|
||||
: ""
|
||||
}
|
||||
currentUser={user.data}
|
||||
favourite={
|
||||
item.UserData.IsFavorite
|
||||
}
|
||||
></Card>
|
||||
);
|
||||
})}
|
||||
</CardScroller>
|
||||
)}
|
||||
{resumeItemsVideo.isLoading ? (
|
||||
<CardsSkeleton />
|
||||
) : resumeItemsVideo.data.Items.length == 0 ? (
|
||||
<></>
|
||||
) : (
|
||||
<CardScroller
|
||||
displayCards={4}
|
||||
title="Continue Watching"
|
||||
>
|
||||
{resumeItemsVideo.data.Items.map(
|
||||
(item, index) => {
|
||||
return (
|
||||
<Card
|
||||
key={index}
|
||||
itemName={
|
||||
!!item.SeriesId
|
||||
? item.SeriesName
|
||||
: item.Name
|
||||
}
|
||||
itemId={
|
||||
!!item.SeriesId
|
||||
? item.SeriesId
|
||||
: item.Id
|
||||
}
|
||||
// imageTags={false}
|
||||
imageTags={
|
||||
!!item.SeriesId
|
||||
? item
|
||||
.ParentBackdropImageTags
|
||||
.length !=
|
||||
0
|
||||
: item
|
||||
.BackdropImageTags
|
||||
.length !=
|
||||
0
|
||||
}
|
||||
cardType="thumb"
|
||||
iconType={item.Type}
|
||||
subText={
|
||||
!!item.SeriesId
|
||||
? "S" +
|
||||
item.ParentIndexNumber +
|
||||
":E" +
|
||||
item.IndexNumber +
|
||||
" - " +
|
||||
item.Name
|
||||
: item.ProductionYear
|
||||
}
|
||||
playedPercent={
|
||||
item.UserData
|
||||
.PlayedPercentage
|
||||
}
|
||||
cardOrientation="landscape"
|
||||
blurhash={
|
||||
item.ImageBlurHashes ==
|
||||
{}
|
||||
? ""
|
||||
: !!item.ImageTags
|
||||
.Backdrop
|
||||
? !!item
|
||||
.ImageBlurHashes
|
||||
.Backdrop
|
||||
? item
|
||||
? !!item
|
||||
.ImageBlurHashes
|
||||
.Backdrop[
|
||||
item
|
||||
.ImageTags
|
||||
.Backdrop
|
||||
]
|
||||
.Primary
|
||||
? item
|
||||
.ImageBlurHashes
|
||||
.Primary[
|
||||
item
|
||||
.ImageTags
|
||||
.Primary
|
||||
]
|
||||
: ""
|
||||
: ""
|
||||
: ""
|
||||
}
|
||||
currentUser={user.data}
|
||||
favourite={
|
||||
item.UserData.IsFavorite
|
||||
}
|
||||
></Card>
|
||||
);
|
||||
},
|
||||
)}
|
||||
</CardScroller>
|
||||
)}
|
||||
{resumeItemsAudio.isLoading ? (
|
||||
<CardsSkeleton />
|
||||
) : resumeItemsAudio.data.Items.length == 0 ? (
|
||||
<></>
|
||||
) : (
|
||||
<CardScroller
|
||||
displayCards={4}
|
||||
title="Continue Listening"
|
||||
>
|
||||
{resumeItemsAudio.data.Items.map(
|
||||
(item, index) => {
|
||||
return (
|
||||
<Card
|
||||
key={index}
|
||||
itemName={
|
||||
!!item.SeriesId
|
||||
? item.SeriesName
|
||||
: item.Name
|
||||
}
|
||||
itemId={
|
||||
!!item.SeriesId
|
||||
? item.SeriesId
|
||||
: item.Id
|
||||
}
|
||||
// imageTags={false}
|
||||
imageTags={
|
||||
!!item.ImageTags.Primary
|
||||
}
|
||||
iconType={item.Type}
|
||||
subText={item.ProductionYear}
|
||||
playedPercent={
|
||||
item.UserData
|
||||
.PlayedPercentage
|
||||
}
|
||||
cardOrientation="sqaure"
|
||||
blurhash={
|
||||
item.ImageBlurHashes ==
|
||||
{}
|
||||
? ""
|
||||
: !!item.ImageTags
|
||||
.Primary
|
||||
? !!item
|
||||
.ImageBlurHashes
|
||||
.Primary
|
||||
}
|
||||
currentUser={user.data}
|
||||
favourite={
|
||||
item.UserData
|
||||
.IsFavorite
|
||||
}
|
||||
></Card>
|
||||
);
|
||||
},
|
||||
)}
|
||||
</CardScroller>
|
||||
)}
|
||||
{resumeItemsVideo.isLoading ? (
|
||||
<CardsSkeleton />
|
||||
) : resumeItemsVideo.data.Items.length == 0 ? (
|
||||
<></>
|
||||
) : (
|
||||
<CardScroller
|
||||
displayCards={4}
|
||||
title="Continue Watching"
|
||||
>
|
||||
{resumeItemsVideo.data.Items.map(
|
||||
(item, index) => {
|
||||
return (
|
||||
<Card
|
||||
key={index}
|
||||
itemName={
|
||||
!!item.SeriesId
|
||||
? item.SeriesName
|
||||
: item.Name
|
||||
}
|
||||
itemId={
|
||||
!!item.SeriesId
|
||||
? item.SeriesId
|
||||
: item.Id
|
||||
}
|
||||
// imageTags={false}
|
||||
imageTags={
|
||||
!!item.SeriesId
|
||||
? item
|
||||
.ParentBackdropImageTags
|
||||
.length !=
|
||||
0
|
||||
: item
|
||||
.BackdropImageTags
|
||||
.length !=
|
||||
0
|
||||
}
|
||||
cardType="thumb"
|
||||
iconType={item.Type}
|
||||
subText={
|
||||
!!item.SeriesId
|
||||
? "S" +
|
||||
item.ParentIndexNumber +
|
||||
":E" +
|
||||
item.IndexNumber +
|
||||
" - " +
|
||||
item.Name
|
||||
: item.ProductionYear
|
||||
}
|
||||
playedPercent={
|
||||
item.UserData
|
||||
.PlayedPercentage
|
||||
}
|
||||
cardOrientation="landscape"
|
||||
blurhash={
|
||||
item.ImageBlurHashes ==
|
||||
{}
|
||||
? ""
|
||||
: !!item
|
||||
.ImageTags
|
||||
.Backdrop
|
||||
? !!item
|
||||
.ImageBlurHashes
|
||||
.Primary[
|
||||
item
|
||||
.ImageTags
|
||||
.Primary
|
||||
]
|
||||
.Backdrop
|
||||
? item
|
||||
.ImageBlurHashes
|
||||
.Backdrop[
|
||||
item
|
||||
.ImageTags
|
||||
.Backdrop
|
||||
]
|
||||
: ""
|
||||
: ""
|
||||
: ""
|
||||
}
|
||||
currentUser={user.data}
|
||||
favourite={
|
||||
item.UserData.IsFavorite
|
||||
}
|
||||
></Card>
|
||||
);
|
||||
},
|
||||
)}
|
||||
</CardScroller>
|
||||
)}
|
||||
{latestMediaLibs.map((lib, index) => {
|
||||
return (
|
||||
<LatestMediaSection
|
||||
key={lib[0]}
|
||||
latestMediaLib={lib}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
<Button variant="contained" onClick={handleLogout}>
|
||||
Logout
|
||||
</Button>
|
||||
}
|
||||
currentUser={user.data}
|
||||
favourite={
|
||||
item.UserData
|
||||
.IsFavorite
|
||||
}
|
||||
></Card>
|
||||
);
|
||||
},
|
||||
)}
|
||||
</CardScroller>
|
||||
)}
|
||||
{resumeItemsAudio.isLoading ? (
|
||||
<CardsSkeleton />
|
||||
) : resumeItemsAudio.data.Items.length == 0 ? (
|
||||
<></>
|
||||
) : (
|
||||
<CardScroller
|
||||
displayCards={4}
|
||||
title="Continue Listening"
|
||||
>
|
||||
{resumeItemsAudio.data.Items.map(
|
||||
(item, index) => {
|
||||
return (
|
||||
<Card
|
||||
key={index}
|
||||
itemName={
|
||||
!!item.SeriesId
|
||||
? item.SeriesName
|
||||
: item.Name
|
||||
}
|
||||
itemId={
|
||||
!!item.SeriesId
|
||||
? item.SeriesId
|
||||
: item.Id
|
||||
}
|
||||
// imageTags={false}
|
||||
imageTags={
|
||||
!!item.ImageTags
|
||||
.Primary
|
||||
}
|
||||
iconType={item.Type}
|
||||
subText={
|
||||
item.ProductionYear
|
||||
}
|
||||
playedPercent={
|
||||
item.UserData
|
||||
.PlayedPercentage
|
||||
}
|
||||
cardOrientation="sqaure"
|
||||
blurhash={
|
||||
item.ImageBlurHashes ==
|
||||
{}
|
||||
? ""
|
||||
: !!item
|
||||
.ImageTags
|
||||
.Primary
|
||||
? !!item
|
||||
.ImageBlurHashes
|
||||
.Primary
|
||||
? item
|
||||
.ImageBlurHashes
|
||||
.Primary[
|
||||
item
|
||||
.ImageTags
|
||||
.Primary
|
||||
]
|
||||
: ""
|
||||
: ""
|
||||
}
|
||||
currentUser={user.data}
|
||||
favourite={
|
||||
item.UserData
|
||||
.IsFavorite
|
||||
}
|
||||
></Card>
|
||||
);
|
||||
},
|
||||
)}
|
||||
</CardScroller>
|
||||
)}
|
||||
{latestMediaLibs.map((lib, index) => {
|
||||
return (
|
||||
<LatestMediaSection
|
||||
key={lib[0]}
|
||||
latestMediaLib={lib}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</Box>
|
||||
</Box>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -16,7 +16,7 @@ div::-webkit-scrollbar {
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
&:hover {
|
||||
background-color: rgb(255 255 255 / 0.15);
|
||||
background-color: rgb(255 255 255 / 0.1);
|
||||
}
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
@@ -25,7 +25,7 @@ div::-webkit-scrollbar {
|
||||
border-radius: 9999px;
|
||||
background-color: rgb(255 255 255 / 0.25);
|
||||
&:hover {
|
||||
background-color: rgb(255 255 255 / 0.35);
|
||||
background-color: rgb(255 255 255 / 0.45);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user