feat: show queue item from currently playing item in queueButton
This commit is contained in:
5 files changed
+105
-101
No files matched your search
@@ -139,6 +139,7 @@
|
||||
flex-basis: 14%;
|
||||
}
|
||||
width: 14%;
|
||||
flex-basis: 14%;
|
||||
height: fit-content;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
|
||||
@@ -7,7 +7,7 @@ export const Route = createFileRoute("/_api/login")({
|
||||
const api = context.api;
|
||||
if (!api) {
|
||||
console.info("Awaiting Api generation.");
|
||||
return;
|
||||
throw redirect({ to: "/login/manual" });
|
||||
}
|
||||
const publicUsers = (await getUserApi(api).getPublicUsers()).data;
|
||||
if (publicUsers.length > 0) {
|
||||
@@ -16,4 +16,4 @@ export const Route = createFileRoute("/_api/login")({
|
||||
throw redirect({ to: "/login/manual" });
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
.video {
|
||||
&-osd {
|
||||
opacity: 0;
|
||||
@@ -18,9 +17,9 @@
|
||||
}
|
||||
gap: 0.5em;
|
||||
}
|
||||
&-trick-bubble{
|
||||
&-trick-bubble {
|
||||
overflow: hidden;
|
||||
border-radius: $border-radius-default;
|
||||
border-radius: $border-radius-default;
|
||||
}
|
||||
}
|
||||
&-osd-visible {
|
||||
@@ -36,7 +35,7 @@
|
||||
bottom: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
&-volume-indicator{
|
||||
&-volume-indicator {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 12em;
|
||||
@@ -50,13 +49,12 @@
|
||||
right: 2em;
|
||||
z-index: 10;
|
||||
border-radius: 2em;
|
||||
.material-symbols-rounded{
|
||||
.material-symbols-rounded {
|
||||
font-size: 3em;
|
||||
--fill:1;
|
||||
--fill: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
video {
|
||||
&::-webkit-media-text-track-display {
|
||||
overflow: visible !important;
|
||||
@@ -69,7 +67,6 @@ video {
|
||||
text-shadow: 0 2px 10px rgb(0 0 0 / 0.8);
|
||||
}
|
||||
}
|
||||
|
||||
.video-player {
|
||||
background: black;
|
||||
position: absolute;
|
||||
@@ -77,7 +74,7 @@ video {
|
||||
height: 100vh;
|
||||
top: 0;
|
||||
left: 0;
|
||||
&-osd{
|
||||
&-osd {
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
@@ -90,17 +87,17 @@ video {
|
||||
justify-content: space-between;
|
||||
padding: 1em 2em;
|
||||
background: linear-gradient(to top, rgb(0 0 0 / 0.7) 5vh, transparent 26vh 90vh, rgb(0 0 0 / 0.7));
|
||||
&.hovering{
|
||||
&.hovering {
|
||||
cursor: default;
|
||||
}
|
||||
&-controls{
|
||||
&-progress{
|
||||
&-controls {
|
||||
&-progress {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.2em;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
&-text{
|
||||
&-text {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
justify-content: space-between;
|
||||
@@ -113,12 +110,12 @@ video {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
.MuiSlider-valueLabel {
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
border-radius: $border-radius-default;
|
||||
border: 1.2px solid rgb(255 255 255 / 0.1);
|
||||
}
|
||||
.MuiSlider-valueLabel {
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
border-radius: $border-radius-default;
|
||||
border: 1.2px solid rgb(255 255 255 / 0.1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user