minor playlist styling fix
This commit is contained in:
parent
eeb63b5124
commit
e512862aed
3 changed files with 12 additions and 0 deletions
|
@ -406,12 +406,16 @@ var Playlist = /** @class */ (function () {
|
|||
this.overlay.style.backgroundColor = 'rgba(255, 255, 255, 0.75)';
|
||||
this.overlay.style.backdropFilter = 'blur(5px)';
|
||||
this.overlay.style.pointerEvents = 'auto';
|
||||
this.queueTab.innerHTML = 'Close';
|
||||
this.queueTab.classList.add('expanded');
|
||||
}
|
||||
else {
|
||||
this.queueContainer.style.height = this.queueInitialHeight;
|
||||
this.overlay.style.backgroundColor = 'rgba(255, 255, 255, 0)';
|
||||
this.overlay.style.backdropFilter = 'none';
|
||||
this.overlay.style.pointerEvents = 'none';
|
||||
this.queueTab.innerHTML = 'Playlist';
|
||||
this.queueTab.classList.remove('expanded');
|
||||
}
|
||||
};
|
||||
Playlist.prototype.createQueueListItem = function (episode) {
|
||||
|
|
|
@ -315,6 +315,10 @@ ol > li:not(:last-child) {
|
|||
background-image: url('/icon-queue.svg');
|
||||
}
|
||||
|
||||
#queue-container h2.expanded {
|
||||
background-image: url('/icon-trash.svg');
|
||||
}
|
||||
|
||||
#queue-container h2:hover {
|
||||
color: #c50;
|
||||
text-decoration: underline;
|
||||
|
|
|
@ -121,11 +121,15 @@ class Playlist {
|
|||
this.overlay.style.backgroundColor = 'rgba(255, 255, 255, 0.75)';
|
||||
this.overlay.style.backdropFilter = 'blur(5px)';
|
||||
this.overlay.style.pointerEvents = 'auto';
|
||||
this.queueTab.innerHTML = 'Close';
|
||||
this.queueTab.classList.add('expanded');
|
||||
} else {
|
||||
this.queueContainer.style.height = this.queueInitialHeight;
|
||||
this.overlay.style.backgroundColor = 'rgba(255, 255, 255, 0)';
|
||||
this.overlay.style.backdropFilter = 'none';
|
||||
this.overlay.style.pointerEvents = 'none';
|
||||
this.queueTab.innerHTML = 'Playlist';
|
||||
this.queueTab.classList.remove('expanded');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue