diff --git a/src/Controls.astro b/src/Controls.astro index 014adeb..4b49bdc 100644 --- a/src/Controls.astro +++ b/src/Controls.astro @@ -12,8 +12,9 @@ import { Enlarge, ForwardSolid, PlaySolid, - Refresh -} from "@iconoir/vue"; + Refresh, + SoundHighSolid +} from "@iconoir/vue" ---
@@ -30,6 +31,13 @@ import { } +
+ +
+ + +
+
{Live ? @@ -58,7 +66,6 @@ import {
- diff --git a/src/Index.scss b/src/Index.scss index 60a751a..afa176d 100644 --- a/src/Index.scss +++ b/src/Index.scss @@ -81,6 +81,24 @@ width: max-content; } } + .vc-volume-controller, .vc-volume-controller-input { + display: flex; + align-items: center; + } + .vc-volume-controller:hover { + .vc-volume-controller-input { + width: auto; + opacity: 1; + pointer-events: all; + transition: 0.3s opacity, 0.4s width; + } + } + .vc-volume-controller-input { + width: 0px; + opacity: 0; + pointer-events: none; + transition: 0.3s opacity, 0.4s width; + } .vc-seek { background: rgb(255 255 255 / 10%); width: 100%; diff --git a/src/Player.astro b/src/Player.astro index 1aca23b..e5df341 100644 --- a/src/Player.astro +++ b/src/Player.astro @@ -24,10 +24,10 @@ import { Settings } from '@iconoir/vue' ---
- + {Audio ? : null } - {Milieu ? : null } {Audio ? : null } + {Milieu ? : null } {SettingsMenu ? @@ -38,4 +38,20 @@ import { Settings } from '@iconoir/vue' } -
\ No newline at end of file + + + +{Audio ? + + : + +} +