Skip to content

Commit

Permalink
only show volume slider when hovering over volume area
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesdemey committed Oct 2, 2016
1 parent 6aa77dc commit 0188cdb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/scss/_mediaplayer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,21 @@
.controls__volume {
display: flex;

width: 25%;
width: 22.5%;
height: 28px;
line-height: 28px;

position: absolute;
left: 10px;
transition: all 150ms;

.volume__seeker { transition: all 150ms; opacity: 0; }

&:hover {
width: 25%;

.volume__seeker { opacity: 1; }
}
}

.volume__icon button.icon__toggle {
Expand Down

0 comments on commit 0188cdb

Please sign in to comment.