diff --git a/src/components/Player.vue b/src/components/Player.vue index b8789e4..6466f6c 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -7,7 +7,8 @@ class="player" :class="player.isPlaying ? 'pause' : 'play'" /> -
+ - {{ player.volume }} @@ -91,29 +91,19 @@ export default { overflow:hidden; } - #volumeicon { - width: 20px; - height: 20px; - background-size: contain; - background-repeat: no-repeat; + .volumeIcon { + width: 25px; + height: 25px; position: relative; - left: 75px; - top: 14px; + left: 85px; + top: 20px; } - #volumeicon.full { - background: red; - /* background-image: url('../img/sound_full.png'); */ - } - - #volumeicon.mid { - background: yellow; - /* background-image: url('../img/sound_mid.png'); */ - } - - #volumeicon.silent { - background: green; - /* background-image: url('../img/sound_silent.png'); */ + .volumeFull { + background-color: #0082c9; + mask-repeat: no-repeat; + mask-size: 100%; + mask-image: var(--icon-sound-000); } .volume{ @@ -121,7 +111,7 @@ export default { display: inline-block; position: relative; left: 40px; - top: -7px; + top: -12px; }