Improved audio player

This commit is contained in:
2018-03-11 17:20:52 +01:00
parent 99a0e9217a
commit 5e8727da1d
2 changed files with 34 additions and 16 deletions

View File

@ -22,7 +22,7 @@
width 100%
height 200px
filter brightness(100%)
transition filter 250ms ease
transition filter transition-speed ease
.soundtrack-play-button
position absolute
@ -36,6 +36,7 @@
color rgba(0, 0, 0, 0.15)
background rgba(255, 255, 255, 0.9)
pointer-events none
box-shadow outline-shadow-medium
.icon-play
transform translateX(27%)
@ -102,13 +103,16 @@ animation change-color
opacity 1
.soundtrack-image
filter brightness(0)
filter brightness(0) !important
:hover
.soundtrack-play-button
color button-hover-color
background button-hover-background
.soundtrack-image
filter brightness(50%)
.soundtrack-footer
text-align center
margin-bottom 1rem