You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/clips_page/ClipListGrid/ClipListGrid.scss

80 lines
1.7 KiB
SCSS

.ClipListGrid {
.container,.container-fluid{
overflow: hidden;
}
h1{
font-size: 30px;
font-weight: 200;
text-align: center;
margin-bottom: 1rem;
}
padding: 2rem 0;
.clip-grid-item {
position: relative;
height: 25vh;
border-radius: var(--xshop-border-radius);
overflow: hidden;
margin-bottom: 2rem;
img {
position: absolute;
width: 100%;
height: 100%;
left: 0;
right: 0;
bottom: 0;
top: 0;
object-fit: cover;
}
h2 {
display: flex;
position: absolute;
z-index: 2;
background: rgba($xshop-diff, .7);
padding: 7px;
bottom: 0;
left: 0;
right: 0;
backdrop-filter: blur(5px);
margin-bottom: 0;
font-weight: 400;
justify-content: center;
align-items: center;
text-align: center;
transition: 500ms;
height: 3.5rem;
i{
transition: 500ms;
font-size: 0;
}
span{
transition: 500ms;
font-size: 20px;
}
}
&:hover {
h2 {
right: 1rem;
left: 1rem;
bottom: 1rem;
border-radius: var(--xshop-border-radius);
height: calc(100% - 2rem);
span{
font-size: 0;
}
i{
font-size: 75px;
}
}
}
}
}