Added Apple-like Play and Shuffle icons to the list view
This commit is contained in:
parent
edd42ea6a0
commit
67dfc7671c
5 changed files with 32 additions and 7 deletions
BIN
src/renderer/assets/feather/x-circlePng.png
Normal file
BIN
src/renderer/assets/feather/x-circlePng.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
BIN
src/renderer/assets/playPng.png
Normal file
BIN
src/renderer/assets/playPng.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
BIN
src/renderer/assets/shufflePng.png
Normal file
BIN
src/renderer/assets/shufflePng.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3 KiB |
|
@ -1969,6 +1969,31 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.md-ico-play {
|
||||||
|
content:url("./assets/playPng.png");
|
||||||
|
width: 10px;
|
||||||
|
height: 12px;
|
||||||
|
margin-right: 1px;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md-ico-shuffle {
|
||||||
|
content:url("./assets/shufflePng.png");
|
||||||
|
width: 15px;
|
||||||
|
height: 13px;
|
||||||
|
margin-right: 1px;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md-ico-remove {
|
||||||
|
content:url("./assets/feather/x-circlePng.png");
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 1px;
|
||||||
|
margin-bottom: -1.5px;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
.md-select {
|
.md-select {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
|
|
|
@ -59,20 +59,20 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="playlist-controls">
|
<div class="playlist-controls">
|
||||||
<button class="md-btn" style="min-width: 120px;"
|
<button class="md-btn" style="min-width: 100px;"
|
||||||
@click="app.mk.shuffleMode = 0; play()">
|
@click="app.mk.shuffleMode = 0; play()"> <img class="md-ico-play">
|
||||||
Play
|
Play
|
||||||
</button>
|
</button>
|
||||||
<button class="md-btn" style="min-width: 120px;"
|
<button class="md-btn" style="min-width: 100px;"
|
||||||
@click="app.mk.shuffleMode = 1;play()">
|
@click="app.mk.shuffleMode = 1;play()"> <img class="md-ico-shuffle">
|
||||||
Shuffle
|
Shuffle
|
||||||
</button>
|
</button>
|
||||||
<button class="md-btn" style="min-width: 120px;" v-if="inLibrary!=null && confirm!=true"
|
<button class="md-btn" style="min-width: 180px;" v-if="inLibrary!=null && confirm!=true"
|
||||||
@click="confirmButton()">
|
@click="confirmButton()"> <img class="md-ico-remove">
|
||||||
{{ (!inLibrary) ? "Add to Library" : "Remove from Library" }}
|
{{ (!inLibrary) ? "Add to Library" : "Remove from Library" }}
|
||||||
</button>
|
</button>
|
||||||
<button class="md-btn" style="min-width: 120px;" v-if="confirm==true"
|
<button class="md-btn" style="min-width: 120px;" v-if="confirm==true"
|
||||||
@click="(!inLibrary) ? addToLibrary(data.attributes.playParams.id.toString()) : removeFromLibrary(data.attributes.playParams.id.toString()) ">
|
@click="(!inLibrary) ? addToLibrary(data.attributes.playParams.id.toString()) : removeFromLibrary(data.attributes.playParams.id.toString()) "> <img class="md-ico-remove">
|
||||||
Confirm?
|
Confirm?
|
||||||
</button>
|
</button>
|
||||||
<button class="playlist-more" @click="menu">
|
<button class="playlist-more" @click="menu">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue