some css fix
This commit is contained in:
parent
f326930708
commit
95eb02d837
3 changed files with 20 additions and 11 deletions
|
@ -1 +1 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list" style="width: min-content;" ><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg>
|
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 511 B |
|
@ -688,6 +688,8 @@ input[type=range].web-slider::-webkit-slider-runnable-track {
|
||||||
|
|
||||||
&.app-sidebar-item-playlist {
|
&.app-sidebar-item-playlist {
|
||||||
-webkit-user-drag: element;
|
-webkit-user-drag: element;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3574,7 +3576,7 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
|
||||||
}
|
}
|
||||||
|
|
||||||
.playback-button--small.active {
|
.playback-button--small.active {
|
||||||
background-color: rgba(200, 200, 200, 0.1);
|
background-color: rgba(200, 200, 200, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-col{
|
.right-col{
|
||||||
|
@ -3593,6 +3595,10 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
|
||||||
&:hover ::-webkit-scrollbar-thumb {
|
&:hover ::-webkit-scrollbar-thumb {
|
||||||
box-shadow: inset 0px 0px 10px 10px rgb(200 200 200 / 50%);
|
box-shadow: inset 0px 0px 10px 10px rgb(200 200 200 / 50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lyric-body{
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.queue-col{
|
.queue-col{
|
||||||
|
|
|
@ -348,16 +348,19 @@
|
||||||
menus.multiple.items = menus.multiple.items.concat(this.contextExt.multiple)
|
menus.multiple.items = menus.multiple.items.concat(this.contextExt.multiple)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let rating = await app.getRating(self.item)
|
try{
|
||||||
if(rating == 0) {
|
let rating = await app.getRating(self.item).catch();
|
||||||
menus.normal.items.find(x => x.id == 'love').disabled = false
|
if (rating) {
|
||||||
menus.normal.items.find(x => x.id == 'dislike').disabled = false
|
if(rating == 0) {
|
||||||
}else if(rating == 1) {
|
menus.normal.items.find(x => x.id == 'love').disabled = false
|
||||||
menus.normal.items.find(x => x.id == 'unlove').disabled = false
|
menus.normal.items.find(x => x.id == 'dislike').disabled = false
|
||||||
}else if(rating == -1) {
|
}else if(rating == 1) {
|
||||||
menus.normal.items.find(x => x.id == 'undo_dislike').disabled = false
|
menus.normal.items.find(x => x.id == 'unlove').disabled = false
|
||||||
|
}else if(rating == -1) {
|
||||||
|
menus.normal.items.find(x => x.id == 'undo_dislike').disabled = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
} catch(_){}
|
||||||
CiderContextMenu.Create(event, menus[useMenu])
|
CiderContextMenu.Create(event, menus[useMenu])
|
||||||
},
|
},
|
||||||
visibilityChanged: function (isVisible, entry) {
|
visibilityChanged: function (isVisible, entry) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue