mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-07-29 14:12:21 +00:00
default to qeueu tab in right sidebar
- fix progress bar issue on chrome - fix image not showing on media notification
This commit is contained in:
parent
afaee8ec57
commit
9432332243
@ -10,33 +10,27 @@ input[type="range"] {
|
|||||||
&::-webkit-slider-thumb {
|
&::-webkit-slider-thumb {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
|
||||||
height: 0.9rem;
|
height: 0;
|
||||||
width: 0.9rem;
|
width: 0.8rem;
|
||||||
border-radius: 0 50% 50% 0;
|
border-radius: 50%;
|
||||||
background: $accent;
|
background: $accent;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-moz-range-thumb {
|
&::-moz-range-thumb {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
height: 0rem;
|
|
||||||
|
height: 0;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: $accent;
|
background: $accent;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
&::-moz-range-thumb {
|
|
||||||
height: .8rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&::-ms-thumb {
|
&::-ms-thumb {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
display: none;
|
|
||||||
|
|
||||||
height: 0.9rem;
|
height: 0;
|
||||||
width: 0.9rem;
|
width: 0.8rem;
|
||||||
border-radius: 0 50% 50% 0;
|
border-radius: 50%;
|
||||||
background: $accent;
|
background: $accent;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,7 @@ body {
|
|||||||
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
image-rendering: -webkit-optimize-contrast;
|
||||||
}
|
}
|
||||||
|
|
||||||
.heading {
|
.heading {
|
||||||
@ -61,7 +62,6 @@ a {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.l-container {
|
.l-container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: min-content 1fr min-content;
|
grid-template-columns: min-content 1fr min-content;
|
||||||
@ -85,8 +85,6 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.gsearch-input {
|
.gsearch-input {
|
||||||
grid-area: search-input;
|
grid-area: search-input;
|
||||||
border-left: solid 1px $gray3;
|
border-left: solid 1px $gray3;
|
||||||
@ -164,7 +162,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.shadow-sm {
|
.shadow-sm {
|
||||||
box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.452);
|
box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.452);
|
||||||
}
|
}
|
||||||
|
|
||||||
.shadow-md {
|
.shadow-md {
|
||||||
|
@ -35,6 +35,20 @@ const queue = useQStore();
|
|||||||
position: relative;
|
position: relative;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
::-moz-range-thumb {
|
||||||
|
height: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-slider-thumb {
|
||||||
|
height: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-ms-thumb {
|
||||||
|
height: 0.8rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.headin {
|
.headin {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
@ -84,7 +98,7 @@ const queue = useQStore();
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
width: max-content;
|
width: max-content;
|
||||||
padding: 0.2rem .35rem;
|
padding: 0.2rem 0.35rem;
|
||||||
top: 13.25rem;
|
top: 13.25rem;
|
||||||
left: 1.5rem;
|
left: 1.5rem;
|
||||||
background-color: $black;
|
background-color: $black;
|
||||||
|
@ -53,6 +53,7 @@ function playThis(track: Track) {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
padding: $small;
|
padding: $small;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
scrollbar-color: grey transparent;
|
scrollbar-color: grey transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,6 @@ const props = defineProps<{
|
|||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $accent;
|
background-color: $accent;
|
||||||
border: 1px solid transparent;
|
|
||||||
|
|
||||||
.h {
|
.h {
|
||||||
background-color: $black;
|
background-color: $black;
|
||||||
|
@ -90,12 +90,12 @@ const context = useContextStore();
|
|||||||
right: -13rem;
|
right: -13rem;
|
||||||
width: 13rem;
|
width: 13rem;
|
||||||
top: -0.5rem;
|
top: -0.5rem;
|
||||||
max-height: 21.25rem;
|
height: 23.5rem;
|
||||||
|
|
||||||
padding: $small !important;
|
padding: $small !important;
|
||||||
background-color: $context;
|
background-color: $context;
|
||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
transform-origin: left;
|
transform-origin: top left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
@ -177,14 +177,14 @@ const context = useContextStore();
|
|||||||
.context-normalizedY {
|
.context-normalizedY {
|
||||||
.context-item > .children {
|
.context-item > .children {
|
||||||
transform-origin: bottom right;
|
transform-origin: bottom right;
|
||||||
|
top: -.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.context-many-kids {
|
.context-many-kids {
|
||||||
.context-item > .children {
|
.context-item > .children {
|
||||||
top: -0.5rem;
|
// top: -0.5rem;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -116,6 +116,7 @@ function emitUpdate(track: Track) {
|
|||||||
height: 3.75rem;
|
height: 3.75rem;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
gap: $small;
|
gap: $small;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
.context {
|
.context {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Track } from "../interfaces.js";
|
import { Track } from "../interfaces.js";
|
||||||
import perks from "./perks.js";
|
import { paths } from "../config";
|
||||||
|
|
||||||
export default (
|
export default (
|
||||||
track: Track,
|
track: Track,
|
||||||
@ -13,32 +13,32 @@ export default (
|
|||||||
artist: track.artists.join(", "),
|
artist: track.artists.join(", "),
|
||||||
artwork: [
|
artwork: [
|
||||||
{
|
{
|
||||||
src: track.image,
|
src: paths.images.thumb + track.image,
|
||||||
sizes: "96x96",
|
sizes: "96x96",
|
||||||
type: "image/jpeg",
|
type: "image/jpeg",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: track.image,
|
src: paths.images.thumb + track.image,
|
||||||
sizes: "128x128",
|
sizes: "128x128",
|
||||||
type: "image/webp",
|
type: "image/webp",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: track.image,
|
src: paths.images.thumb + track.image,
|
||||||
sizes: "192x192",
|
sizes: "192x192",
|
||||||
type: "image/webp",
|
type: "image/webp",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: track.image,
|
src: paths.images.thumb + track.image,
|
||||||
sizes: "256x256",
|
sizes: "256x256",
|
||||||
type: "image/webp",
|
type: "image/webp",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: track.image,
|
src: paths.images.thumb + track.image,
|
||||||
sizes: "384x384",
|
sizes: "384x384",
|
||||||
type: "image/webp",
|
type: "image/webp",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: track.image,
|
src: paths.images.thumb + track.image,
|
||||||
sizes: "512x512",
|
sizes: "512x512",
|
||||||
type: "image/webp",
|
type: "image/webp",
|
||||||
},
|
},
|
||||||
|
@ -10,7 +10,7 @@ const tablist = {
|
|||||||
export default defineStore("tabs", {
|
export default defineStore("tabs", {
|
||||||
state: () => ({
|
state: () => ({
|
||||||
tabs: tablist,
|
tabs: tablist,
|
||||||
current: tablist.home,
|
current: tablist.queue,
|
||||||
}),
|
}),
|
||||||
actions: {
|
actions: {
|
||||||
changeTab(tab: string) {
|
changeTab(tab: string) {
|
||||||
|
3
v1-pre-alpha.release.md
Normal file
3
v1-pre-alpha.release.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
### Features required in the first release
|
||||||
|
|
||||||
|
- [ ]
|
Loading…
x
Reference in New Issue
Block a user