Files
Blink/src/routes/home/home.module.scss
T
2023-05-02 13:05:52 +05:30

118 lines
2.0 KiB
SCSS

/** @format */
.hero-carousel {
position: relative;
overflow: hidden;
isolation: isolate;
&-slide {
position: relative;
height: 70vh;
border-radius: 10px !important;
overflow: hidden;
margin: 0 auto;
}
&-background {
&-blurhash {
width: 100%;
height: 100%;
position: absolute;
z-index: 1;
}
&-container {
position: absolute;
z-index: 0;
top: 0;
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%
);
}
&-image {
position: absolute;
background-size: cover;
z-index: 1;
top: 0;
left: 0;
right: 0;
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%
);
}
&-icon {
position: absolute;
font-size: 15em !important;
left: 70%;
top: 50%;
transform: translate(-50%, -50%);
fill: url(#clr-gradient-default) !important;
&-container {
position: absolute;
background: $clr-gradient-dark;
// background: url("/public/assetsStatic//meshbackground.png");
z-index: 0;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
}
}
&-text {
display: -webkit-box;
overflow: hidden;
-webkit-line-clamp: 2;
margin-bottom: 0.5em;
&-logo {
max-width: 10em;
height: 2em;
object-fit: contain;
object-position: bottom;
}
}
&-detail {
position: relative;
z-index: 0;
display: flex;
height: 70vh;
width: 70%;
padding: 2em;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
&-indicator {
width: 100%;
height: 5px;
border-radius: 0;
}
}
.backdropContainer {
background: linear-gradient(
45deg,
$clr-background-default,
$clr-background-light
);
}