diff --git a/front/scripts/fix-fomantic-css.py b/front/scripts/fix-fomantic-css.py index 4979e705a..eb5b3d156 100755 --- a/front/scripts/fix-fomantic-css.py +++ b/front/scripts/fix-fomantic-css.py @@ -175,6 +175,9 @@ def discard_unused_icons(rule): ".chevron", ".right", ".left", + ".compress", + ".expand", + ".image", ] if ":before" not in rule["lines"][0]: return False diff --git a/front/src/components/Queue.vue b/front/src/components/Queue.vue index 11354cef4..24dfc3f13 100644 --- a/front/src/components/Queue.vue +++ b/front/src/components/Queue.vue @@ -62,7 +62,11 @@ const labels = computed(() => ({ previous: $pgettext('*/*/*', 'Previous track'), next: $pgettext('*/*/*', 'Next track'), pause: $pgettext('*/*/*', 'Pause'), - play: $pgettext('*/*/*', 'Play') + play: $pgettext('*/*/*', 'Play'), + fullscreen: $pgettext('*/*/*', 'Fullscreen'), + exitFullscreen: $pgettext('*/*/*', 'Exit fullscreen'), + showCoverArt: $pgettext('*/*/*', 'Show cover art'), + showVisualizer: $pgettext('*/*/*', 'Show visualizer') })) watchEffect(async () => { @@ -204,41 +208,61 @@ const coverType = ref(CoverType.COVER_ART) ref="milkdrop" /> -
- - - -
- + + - -
-

{{ currentTrack.title }}

-

{{ currentTrack.artistName }} — {{ currentTrack.albumTitle }}

-
-
+ + + + + +
+

{{ currentTrack.title }}

+

{{ currentTrack.artistName }} — {{ currentTrack.albumTitle }}

+
+
+

@@ -475,9 +499,3 @@ const coverType = ref(CoverType.COVER_ART)
- - diff --git a/front/src/style/components/_queue.scss b/front/src/style/components/_queue.scss index 418407a68..4b49b0239 100644 --- a/front/src/style/components/_queue.scss +++ b/front/src/style/components/_queue.scss @@ -1,10 +1,10 @@ .queue-controls { - @include media("tablet") { + transition: all 0.2s ease-in-out; + opacity: 0; + transform: translateY(0.5em); + } button { z-index: 2; padding: 0.78571429em; + pointer-events: all; &:first-child { margin-right: 0 !important; @@ -369,7 +380,7 @@ .track-info { position: absolute; - z-index: 3; + z-index: 2; bottom: 0; left: 0; width: 100%; diff --git a/front/yarn.lock b/front/yarn.lock index 2b1e0471e..970b6cacc 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -2191,14 +2191,14 @@ buntis@0.2.1: resolved "https://registry.yarnpkg.com/buntis/-/buntis-0.2.1.tgz#a043aabc7d64f2243bfaa53e34e999c2dd790e82" integrity sha512-5wszfQlsqJmZrfxpPkO5yQcEoBAmfUYlXxXU/IM6PhPZ8DMnMMJQ9rvAHfe5WZmnB6E1IoJYylFfTaf1e2FJbQ== -butterchurn-presets@^3.0.0-beta.4: +butterchurn-presets@3.0.0-beta.4: version "3.0.0-beta.4" resolved "https://registry.yarnpkg.com/butterchurn-presets/-/butterchurn-presets-3.0.0-beta.4.tgz#393d3f7863d546bdef2c52aec90da76bdbcacd3b" integrity sha512-TbQLUPvGOYMZAtWKoCmBtludh9aQZ6NaMGQU4lvPeadBPy3Du3yNmwBjlTMLP5c5mRWElxQPjTL1PtR7FZK3OQ== dependencies: "@babel/runtime" "^7.12.5" -butterchurn@^3.0.0-beta.4: +butterchurn@3.0.0-beta.4: version "3.0.0-beta.4" resolved "https://registry.yarnpkg.com/butterchurn/-/butterchurn-3.0.0-beta.4.tgz#f459d8b81decd4f28f4c90b5c0fc40611ad3d86f" integrity sha512-hiY1ktHYHQ8MT65nnZi7GjrgZZ6sl/ipT5rBqEfaYJd90L4SvOtB6lVxtKadtzAyJo2TQJc4gJfEca4cpZo0DA==