diff --git a/src/assets/scss/ProgressBar.scss b/src/assets/scss/ProgressBar.scss index 3999fa89..7c81d5fa 100644 --- a/src/assets/scss/ProgressBar.scss +++ b/src/assets/scss/ProgressBar.scss @@ -4,7 +4,7 @@ input[type="range"] { width: calc(100% - 2px); height: 0.3rem; border-radius: 5px; - background: $gray linear-gradient(90deg, $accent, $accent) no-repeat; + background: $gray4 linear-gradient(90deg, $accent, $darkestblue) no-repeat; background-size: 100% 100%; &::-webkit-slider-thumb { @@ -13,7 +13,7 @@ input[type="range"] { height: 0; width: 0.8rem; border-radius: 50%; - background: $accent; + background: $darkestblue; } &::-moz-range-thumb { @@ -21,7 +21,7 @@ input[type="range"] { height: 0; border-radius: 50%; - background: $accent; + background: $darkestblue; border: none; } @@ -31,7 +31,7 @@ input[type="range"] { height: 0; width: 0.8rem; border-radius: 50%; - background: $accent; + background: $darkestblue; border: none; } } diff --git a/src/components/LeftSidebar/NP/HotKeys.vue b/src/components/LeftSidebar/NP/HotKeys.vue index f1b59823..6382e0ab 100644 --- a/src/components/LeftSidebar/NP/HotKeys.vue +++ b/src/components/LeftSidebar/NP/HotKeys.vue @@ -1,59 +1,50 @@ diff --git a/src/components/RightSideBar/NowPlayingRight.vue b/src/components/RightSideBar/NowPlayingRight.vue index b1bee6bd..3c6f9ef2 100644 --- a/src/components/RightSideBar/NowPlayingRight.vue +++ b/src/components/RightSideBar/NowPlayingRight.vue @@ -2,21 +2,25 @@
- - - +
+ + + + + +
@@ -48,7 +52,7 @@
-
+
@@ -69,6 +73,9 @@ import ArtistName from "../shared/ArtistName.vue"; import HotKeys from "../LeftSidebar/NP/HotKeys.vue"; import Progress from "../LeftSidebar/NP/Progress.vue"; +import HeartSvg from "../../assets/icons/heart.svg"; +import PlusSvg from "../../assets/icons/plus.svg"; + const queue = useQStore(); const settings = useSettingsStore(); @@ -86,6 +93,9 @@ const settings = useSettingsStore(); width: 50rem; display: grid; align-items: center; + width: max-content; + padding: $small $medium; + margin: 0 auto; .inner { display: grid; @@ -95,10 +105,26 @@ const settings = useSettingsStore(); align-items: center; } - // background-color: $gray5; - width: max-content; - padding: $small $medium; - margin: 0 auto; + .with-icons { + background-color: rgba(255, 255, 255, 0.048); + display: grid; + gap: $small; + grid-template-columns: repeat(3, max-content); + align-items: center; + padding: 0 5px; + margin-top: -$smaller; + + button { + height: 2rem; + width: 2rem; + background: transparent; + padding: 0; + + &:last-child:hover { + background: $red; + } + } + } img { height: 2.75rem; @@ -106,6 +132,7 @@ const settings = useSettingsStore(); aspect-ratio: 1; object-fit: cover; cursor: pointer; + margin-top: $smaller; } .info { @@ -154,9 +181,20 @@ const settings = useSettingsStore(); } .buttons { - width: 9rem; + // width: 10rem; + height: 3.25rem; + margin-top: -$smaller; + background-color: rgba(255, 255, 255, 0.048); + display: grid; + place-items: center; + padding: 0 $small; } } + + .right { + display: grid; + place-content: end; + } // width: 100%; // .time { diff --git a/src/components/RightSideBar/Queue/upNext.vue b/src/components/RightSideBar/Queue/upNext.vue index 102df077..1d5de67d 100644 --- a/src/components/RightSideBar/Queue/upNext.vue +++ b/src/components/RightSideBar/Queue/upNext.vue @@ -1,20 +1,14 @@ @@ -23,67 +17,51 @@ import { paths } from "@/config"; import { Track } from "@/interfaces"; import { putCommas } from "@/utils"; +import useQueueStore from "@/stores/queue"; import { showTrackContextMenu as showContext } from "@/composables/context"; import { ref } from "vue"; -const props = defineProps<{ - track: Track | null; - playNext: () => void; -}>(); - const context_on = ref(false); - -function showMenu(e: Event) { - if (props.track) { - showContext(e, props.track, context_on); - } -} +const queue = useQueueStore();