Files
Blink/src/routes/library/library.module.scss
T

120 lines
2.2 KiB
SCSS

/** @format */
.library-list {
&-image {
position: relative;
width: 100%;
height: 100%;
z-index: 1;
object-fit: cover;
&-container {
position: relative;
width: 4.5em;
height: 4.5em;
aspect-ratio: 1;
border-radius: $border-radius-intensity-1;
overflow: hidden;
box-shadow: 0 2px 7px rgb(0 0 0 / 0.2);
}
}
&-icon {
font-size: 3em;
fill: url(#clr-gradient-default) !important;
&-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
z-index: 0;
background: $clr-gradient-dark;
}
}
}
.library {
padding: 0 !important;
position: relative;
display: flex;
flex-direction: column;
align-items: stretch;
&-grid {
display: grid;
grid-template-columns: repeat(8, minmax(0, 1fr));
justify-items: center;
align-items: start;
}
&-items {
height: calc(100vh - 4em);
overflow-y: auto;
overflow-x: hidden;
padding-bottom: 1em;
padding-right: 1em;
padding-top: 4.5em;
&-header {
position: absolute;
top: 4.4em;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 4em;
}
&-options {
padding: 0.5em 1.2em;
gap: 0.5em;
background: $clr-background-opacity-0_5;
border-radius: 100px;
overflow: hidden;
backdrop-filter: blur(10px);
display: flex;
align-items: center;
justify-content: center;
}
}
&-filter {
&-container {
margin-top: 0.75em;
width: 22em;
max-height: 32em;
background: rgb(0 0 0 / 0.65);
border-radius: $border-radius-default;
box-shadow: 0 0 10px rgb(0 0 0 / 0.4);
backdrop-filter: blur(10px);
overflow-y: overlay;
}
width: 100%;
justify-content: space-between;
margin: 0 0.5em !important;
&-title {
justify-self: start;
}
&-accordian {
background: transparent !important;
margin: 0 !important;
box-shadow: none !important;
}
}
&-genre {
&-header {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 0.5em;
position: relative;
margin-bottom: 0.25em !important;
&-decoration {
width: 1em;
height: 2px;
background: white;
}
}
}
}