diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue index ef9356c98..618a78a89 100644 --- a/front/src/components/audio/Player.vue +++ b/front/src/components/audio/Player.vue @@ -60,27 +60,31 @@ :title="labels.previousTrack" class="two wide column control" :disabled="emptyQueue"> - +
- +
- +
- +
-
+
@@ -90,9 +94,15 @@ - +
-
+
-
+
@@ -168,6 +180,7 @@ export default { renderAudio: true, sliderVolume: this.volume, defaultAmbiantColors: defaultAmbiantColors, + showVolume: false, ambiantColors: defaultAmbiantColors } }, @@ -370,16 +383,16 @@ export default { } .volume-control { position: relative; + width: 12.5% !important; .icon { // margin: 0; } [type="range"] { - max-width: 100%; + max-width: 70%; position: absolute; - bottom: 5px; - left: 10%; + bottom: 1.1rem; + left: 25%; cursor: pointer; - display: none; } input[type=range] { -webkit-appearance: none; @@ -390,22 +403,29 @@ export default { input[type=range]::-webkit-slider-runnable-track { cursor: pointer; background: white; + opacity: 0.3; } input[type=range]::-webkit-slider-thumb { background: white; cursor: pointer; -webkit-appearance: none; + border-radius: 3px; + width: 10px; } input[type=range]:focus::-webkit-slider-runnable-track { background: #white; + opacity: 0.3; } input[type=range]::-moz-range-track { cursor: pointer; background: white; + opacity: 0.3; } input[type=range]::-moz-range-thumb { background: white; cursor: pointer; + border-radius: 3px; + width: 10px; } input[type=range]::-ms-track { cursor: pointer; @@ -415,13 +435,17 @@ export default { } input[type=range]::-ms-fill-lower { background: white; + opacity: 0.3; } input[type=range]::-ms-fill-upper { background: white; + opacity: 0.3; } input[type=range]::-ms-thumb { background: white; cursor: pointer; + border-radius: 3px; + width: 10px; } input[type=range]:focus::-ms-fill-lower { background: white; @@ -429,11 +453,10 @@ export default { input[type=range]:focus::-ms-fill-upper { background: #white; } - &:hover { - [type="range"] { - display: block; - } - } +} + +.active.volume-control { + width: 60% !important; } .looping.control {