Implement Private Session indicator icon

This commit is contained in:
Amaru8 2022-04-08 20:30:00 +02:00
parent 2ab9867116
commit 3ff5723c1e
4 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye-off"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>

After

Width:  |  Height:  |  Size: 462 B

View file

@ -11279,9 +11279,15 @@ body[platform="darwin"] .app-chrome .app-chrome-item > .window-controls > div.cl
}
.app-chrome .app-chrome-item > .app-playback-controls .lossless-icon {
background-image: url("assets/lossless.svg") !important;
right: 0;
}
.app-chrome .app-chrome-item > .app-playback-controls .ppe-icon {
background-image: url("assets/ppe.svg") !important;
right: 0;
}
.app-chrome .app-chrome-item > .app-playback-controls .private-icon {
background-image: url("assets/private.svg") !important;
left: 3;
}
.app-chrome .app-chrome-item > .app-playback-controls .audio-type {
filter: contrast(0);
@ -11290,7 +11296,6 @@ body[platform="darwin"] .app-chrome .app-chrome-item > .window-controls > div.cl
height: 15px;
width: 15px;
position: absolute;
right: 0;
margin-bottom: 15px;
}
.app-chrome .app-chrome-item > .app-playback-controls .song-duration p {

View file

@ -1187,10 +1187,17 @@ body[platform="darwin"] .app-chrome .app-chrome-item > .window-controls > div.cl
.lossless-icon {
background-image: url("./assets/lossless.svg") !important;
right: 0;
}
.ppe-icon {
background-image: url("./assets/ppe.svg") !important;
right: 0;
}
.private-icon {
background-image: url("./assets/private.svg") !important;
left: 3;
}
.audio-type {
@ -1200,7 +1207,6 @@ body[platform="darwin"] .app-chrome .app-chrome-item > .window-controls > div.cl
height: 15px;
width: 15px;
position: absolute;
right: 0;
margin-bottom: 15px;
}
}

View file

@ -73,6 +73,7 @@
v-if="mk.nowPlayingItem['attributes']['contentRating'] == 'explicit'"
style="display: inline-block"></div>
</div>
<div class="audio-type private-icon" v-if="cfg.general.privateEnabled === true"></div>
<div class="audio-type ppe-icon" v-if="cfg.audio.maikiwiAudio.ciderPPE === true"></div>
<div class="song-artist-album">
<div class="song-artist-album-content"