rewrite queue page to use songlist

+ add nav components to queue page
+ revert tooltip to undo handling updates - I can't find
a viable solution to the updates problem
This commit is contained in:
geoffrey45
2022-09-06 18:53:26 +03:00
parent d114aa48cd
commit 6e46750270
11 changed files with 206 additions and 100 deletions
+1 -3
View File
@@ -24,9 +24,7 @@ defineProps<{
<style lang="scss">
.play-btn {
height: 100%;
aspect-ratio: 1;
display: grid;
place-items: center;
padding: 0;
}
</style>
+6 -8
View File
@@ -76,7 +76,6 @@ const imguri = paths.images.thumb;
const options_button_clicked = ref(false);
const artisttitle = ref<HTMLElement | null>(null);
const tooltip = ref<HTMLElement | null>(null);
const props = defineProps<{
track: Track;
@@ -107,13 +106,14 @@ function showMenu(e: Event) {
height: 3.75rem;
gap: 1rem;
user-select: none;
// background-color: $gray;
// &:nth-child(odd) {
// background-color: rgba(26, 26, 26, 0.068);
// }
&:hover {
background-color: $gray4;
.options-icon {
opacity: 1 !important;
}
}
.song-album {
@@ -138,7 +138,6 @@ function showMenu(e: Event) {
opacity: 0.5;
font-size: 0.8rem;
width: 100%;
// margin-left: $small;
}
.song-duration {
@@ -151,7 +150,6 @@ function showMenu(e: Event) {
}
.options-icon {
opacity: 0;
display: flex;
align-items: center;
justify-content: center;
@@ -160,7 +158,7 @@ function showMenu(e: Event) {
svg {
transition: all 0.2s ease-in;
transform: rotate(90deg);
// transform: rotate(90deg);
stroke: $track-btn-svg;
circle {