kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix: Text and buttons in queue window are visible
rodzic
aba17fa204
commit
2541ab3bc1
|
|
@ -180,7 +180,7 @@ if (!isWebGLSupported) {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<section
|
<section
|
||||||
class="main opaque component-queue"
|
class="main opaque component-queue default solid"
|
||||||
:aria-label="labels.queue"
|
:aria-label="labels.queue"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|
@ -202,12 +202,12 @@ if (!isWebGLSupported) {
|
||||||
v-if="fullscreen"
|
v-if="fullscreen"
|
||||||
class="cover-shadow"
|
class="cover-shadow"
|
||||||
:src="store.getters['instance/absoluteUrl'](currentTrack.coverUrl)"
|
:src="store.getters['instance/absoluteUrl'](currentTrack.coverUrl)"
|
||||||
>
|
/>
|
||||||
<img
|
<img
|
||||||
ref="cover"
|
ref="cover"
|
||||||
alt=""
|
alt=""
|
||||||
:src="store.getters['instance/absoluteUrl'](currentTrack.coverUrl)"
|
:src="store.getters['instance/absoluteUrl'](currentTrack.coverUrl)"
|
||||||
>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<milk-drop
|
<milk-drop
|
||||||
v-else-if="coverType === CoverType.MILK_DROP"
|
v-else-if="coverType === CoverType.MILK_DROP"
|
||||||
|
|
@ -401,7 +401,7 @@ if (!isWebGLSupported) {
|
||||||
@click="store.commit('ui/queueFocused', null)"
|
@click="store.commit('ui/queueFocused', null)"
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
red
|
destructive
|
||||||
outline
|
outline
|
||||||
icon="bi-trash-fill"
|
icon="bi-trash-fill"
|
||||||
style="float: right; margin-right: 16px;"
|
style="float: right; margin-right: 16px;"
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ defineProps<Props>()
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="queue-item"
|
class="queue-item interactive ghost solid default raised "
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div class="handle">
|
<div class="handle">
|
||||||
|
|
@ -39,7 +39,7 @@ defineProps<Props>()
|
||||||
class="ui mini image"
|
class="ui mini image"
|
||||||
alt=""
|
alt=""
|
||||||
:src="source.coverUrl"
|
:src="source.coverUrl"
|
||||||
>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div @click="$emit('play', index)">
|
<div @click="$emit('play', index)">
|
||||||
<div
|
<div
|
||||||
|
|
@ -47,7 +47,8 @@ defineProps<Props>()
|
||||||
:title="source.title"
|
:title="source.title"
|
||||||
:aria-label="source.labels.selectTrack"
|
:aria-label="source.labels.selectTrack"
|
||||||
>
|
>
|
||||||
<strong>{{ source.title }}</strong><br>
|
<strong>{{ source.title }}</strong
|
||||||
|
><br />
|
||||||
<span>
|
<span>
|
||||||
{{ generateTrackCreditStringFromQueue(source) }}
|
{{ generateTrackCreditStringFromQueue(source) }}
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.queue-controls {
|
.queue-controls {
|
||||||
@include media("<desktop") {
|
@include media('<desktop') {
|
||||||
height: $bottom-player-height;
|
height: $bottom-player-height;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -33,9 +33,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.component-queue {
|
.component-queue {
|
||||||
|
|
||||||
.queue-controls {
|
.queue-controls {
|
||||||
@include media("<desktop") {
|
@include media('<desktop') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.main {
|
&.main {
|
||||||
|
|
@ -49,7 +48,7 @@
|
||||||
top: 1em;
|
top: 1em;
|
||||||
right: 1em;
|
right: 1em;
|
||||||
z-index: 9999999;
|
z-index: 9999999;
|
||||||
@include media("<desktop") {
|
@include media('<desktop') {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -91,7 +90,7 @@
|
||||||
width: 40px;
|
width: 40px;
|
||||||
}
|
}
|
||||||
.queue.segment {
|
.queue.segment {
|
||||||
@include media("<desktop") {
|
@include media('<desktop') {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
> .container {
|
> .container {
|
||||||
|
|
@ -99,12 +98,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.handle {
|
.handle {
|
||||||
@include media("<desktop") {
|
@include media('<desktop') {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.duration-cell {
|
.duration-cell {
|
||||||
@include media("<tablet") {
|
@include media('<tablet') {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -114,10 +113,10 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
@include media("<desktop") {
|
@include media('<desktop') {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
@include media(">=desktop") {
|
@include media('>=desktop') {
|
||||||
right: 1em;
|
right: 1em;
|
||||||
left: 38%;
|
left: 38%;
|
||||||
}
|
}
|
||||||
|
|
@ -144,7 +143,7 @@
|
||||||
max-height: 50vh;
|
max-height: 50vh;
|
||||||
max-width: 50vh;
|
max-width: 50vh;
|
||||||
}
|
}
|
||||||
@include media("<desktop") {
|
@include media('<desktop') {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -170,7 +169,8 @@
|
||||||
border-radius: 0.28571429rem;
|
border-radius: 0.28571429rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.progress-wrapper, .warning.message {
|
.progress-wrapper,
|
||||||
|
.warning.message {
|
||||||
width: 25em;
|
width: 25em;
|
||||||
}
|
}
|
||||||
.ui.progress .bar {
|
.ui.progress .bar {
|
||||||
|
|
@ -188,8 +188,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: rgba(255, 255, 255, 0.15);
|
background-color: rgba(255, 255, 255, 0.15);
|
||||||
}
|
}
|
||||||
.ui.progress:not(.indeterminate)
|
.ui.progress:not(.indeterminate) .bar.position:not(.buffer) {
|
||||||
.bar.position:not(.buffer) {
|
|
||||||
background: var(--vibrant-color);
|
background: var(--vibrant-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -197,13 +196,7 @@
|
||||||
left: -46px;
|
left: -46px;
|
||||||
width: 200% !important;
|
width: 200% !important;
|
||||||
color: grey;
|
color: grey;
|
||||||
background: repeating-linear-gradient(
|
background: repeating-linear-gradient(-55deg, grey 1px, grey 10px, transparent 10px, transparent 20px) !important;
|
||||||
-55deg,
|
|
||||||
grey 1px,
|
|
||||||
grey 10px,
|
|
||||||
transparent 10px,
|
|
||||||
transparent 20px
|
|
||||||
) !important;
|
|
||||||
|
|
||||||
animation-name: MOVE-BG;
|
animation-name: MOVE-BG;
|
||||||
animation-duration: 2s;
|
animation-duration: 2s;
|
||||||
|
|
@ -283,7 +276,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Wvffle's styles
|
// Wvffle's styles
|
||||||
.theme-light .cover-container.fullscreen {
|
.theme-light .cover-container.fullscreen {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
@ -298,7 +290,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media("<desktop") {
|
@include media('<desktop') {
|
||||||
grid-template-columns: 1fr 0;
|
grid-template-columns: 1fr 0;
|
||||||
&.show-player {
|
&.show-player {
|
||||||
#queue {
|
#queue {
|
||||||
|
|
@ -400,7 +392,7 @@
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
@include media(">tablet") {
|
@include media('>tablet') {
|
||||||
transition: all 0.2s ease-in-out;
|
transition: all 0.2s ease-in-out;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transform: translateY(0.5em);
|
transform: translateY(0.5em);
|
||||||
|
|
@ -447,7 +439,8 @@
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 3em 1em 1em;
|
padding: 3em 1em 1em;
|
||||||
|
|
||||||
h1, h2 {
|
h1,
|
||||||
|
h2 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -499,7 +492,7 @@
|
||||||
|
|
||||||
.heart {
|
.heart {
|
||||||
&:not(.pink) {
|
&:not(.pink) {
|
||||||
color: rgba(0, 0, 0, 0.2)
|
color: rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -513,8 +506,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.title.ellipsis {
|
.title.ellipsis {
|
||||||
@include media("<tablet") {
|
@include media('<tablet') {
|
||||||
max-width: 35vw;
|
max-width: 35vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -523,25 +516,18 @@
|
||||||
} */
|
} */
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background: var(--player-color);
|
|
||||||
color: var(--player-background);
|
|
||||||
|
|
||||||
.button > i {
|
|
||||||
color: var(--player-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .button.pink > i {
|
/* .button.pink > i {
|
||||||
color: var(--fw-red-800);
|
color: var(--fw-red-800);
|
||||||
} */
|
} */
|
||||||
|
|
||||||
&:hover .button > i {
|
&:hover .button > i {
|
||||||
color: var(--player-color);
|
color: var(--player-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.drag-container:not(.dragging) .hover .queue-item {
|
.drag-container:not(.dragging) .hover .queue-item {
|
||||||
background: rgba(0,0,0,.05);
|
background: rgba(0, 0, 0, 0.05);
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue