chore(deps): fix vite 5.2 bundle

This commit is contained in:
Prayag Prajapati committed 2024-04-27 23:03:22 +05:30
1 parent 5d5d36ea2a
commit a77967eb95
59 files changed
+119 -127

No files matched your search

@@ -0,0 +1,116 @@
$image-size: 4em;
.audio-player {
position: fixed;
bottom: 0;
right: 0;
background: rgb(0 0 0 / 0.6);
z-index: 10;
display: grid;
padding: 0.5em 1em;
// margin: 1em;
backdrop-filter: blur(10px);
// border-radius: 10px;
// overflow: hidden;
gap: 1em;
box-shadow: 0 0 20px rgb(0 0 0 / 0.25);
border-top: 1.2px solid rgb(255 255 255 / 0.2);
grid-template-columns: 25% 1fr 25%;
#waveform {
width: 100%;
transform: scaleY(0);
transition: transform $transition-time-default;
&[data-show="true"] {
transform: scaleY(1) !important;
}
}
&-controls {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5em;
padding: 0.5em 0;
flex-flow: column;
}
&-info {
display: grid;
gap: 0.5em;
grid-template-columns: minmax(0, $image-size) minmax(0, 1fr);
width: fit-content;
align-items: center;
flex-grow: 1;
width: 100%;
overflow: hidden;
}
&-image {
width: $image-size;
aspect-ratio: 1;
object-fit: cover;
z-index: 1;
flex-shrink: 0;
flex-grow: 1;
position: relative;
&-container {
border-radius: 5px;
position: relative;
overflow: hidden;
height: fit-content;
aspect-ratio: 1;
background: rgb(255 255 255 / 0.1);
border: 1.2px solid rgb(255 255 255 / 0.1);
}
&-icon {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: 2em !important;
z-index: 0;
}
}
&-track {
grid-template-columns: $image-size 60% 0.5fr 0.5fr !important;
}
&-playlist{
background: $clr-background-dark !important;
border: 1.2px solid rgb(255 255 255 / 0.2);
display: flex;
flex-direction: column;
gap: 1em;
// Magic scrollbar
&::-webkit-scrollbar {
&-thumb {
height: 150px;
max-height: 33%;
}
&-track {
margin-top: 20px;
margin-bottom: 20px;
background: transparent !important;
}
}
&-track{
display: grid;
gap: 1em;
grid-template-columns: 4em 1fr 4em;
cursor: pointer;
&.active{
color: $clr-accent-default;
}
&-image{
background: rgb(255 255 255 / 0.1);
border: 1.2px solid rgb(255 255 255 / 0.1);
overflow: hidden;
border-radius:5px;
width: 100%;
aspect-ratio: 1;
height: 4em;
}
}
}
}