|
|
@@ -460,55 +460,64 @@ body {
|
|
|
100% {opacity:0;left:-150px; top:0px;}
|
|
|
}
|
|
|
|
|
|
-.app-voice-pause,.app-voice-play{
|
|
|
- height: 30px;
|
|
|
- width: 30px;
|
|
|
+.app-voice-pause,.app-voice-play {
|
|
|
+ float: right;
|
|
|
+ height: 25px;
|
|
|
+ width: 25px;
|
|
|
background-repeat: no-repeat;
|
|
|
- background-image: url(../img/yuyin.png);
|
|
|
background-size: 100px 30px;
|
|
|
opacity: 1;
|
|
|
}
|
|
|
- .app-voice-you .app-voice-pause{
|
|
|
- /*从未播放*/
|
|
|
- background-position: -0px -5px;
|
|
|
+.app-voice-you {
|
|
|
+ cursor:pointer;
|
|
|
+ height: 25px;
|
|
|
+ width: 75px;
|
|
|
+ .app-voice-time {
|
|
|
+ float: left;
|
|
|
+ margin-top: 2.5px;
|
|
|
+ }
|
|
|
+ .app-voice-pause{
|
|
|
+ /*从未播放*/
|
|
|
+ background-position: -2px -5px;
|
|
|
+ }
|
|
|
}
|
|
|
-.app-voice-you .app-voice-play{
|
|
|
+.app-voice-you .app-voice-play {
|
|
|
/*播放中(不需要过渡动画)*/
|
|
|
- background-position: -0px -5px;
|
|
|
- -webkit-animation: voiceplay 1s infinite step-start;
|
|
|
- -moz-animation: voiceplay 1s infinite step-start;
|
|
|
- -o-animation: voiceplay 1s infinite step-start;
|
|
|
- animation: voiceplay 1s infinite step-start;
|
|
|
+ background-position: -2px -5px;
|
|
|
+ -webkit-animation: voiceplay 2s infinite step-start;
|
|
|
+ -moz-animation: voiceplay 2s infinite step-start;
|
|
|
+ -o-animation: voiceplay 2s infinite step-start;
|
|
|
+ animation: voiceplay 2s infinite step-start;
|
|
|
}
|
|
|
|
|
|
@keyframes voiceplay {
|
|
|
|
|
|
- 0% {background-position: -0px -5px;}
|
|
|
+ 0% {background-position: -5px -5px;}
|
|
|
|
|
|
33.333333% {
|
|
|
- background-position: -25px -5px;
|
|
|
+ background-position: -27.5px -5px;
|
|
|
}
|
|
|
|
|
|
66.666666% {
|
|
|
background-position: -50px -5px;
|
|
|
}
|
|
|
|
|
|
- 100% {background-position: -75px -5px;}
|
|
|
+ 100% {background-position: -72.5px -5px;}
|
|
|
|
|
|
}
|
|
|
|
|
|
@-webkit-keyframes voiceplay {
|
|
|
|
|
|
- 0% {background-position: -0px -5px;}
|
|
|
+ 0% {background-position: -5px -5px;}
|
|
|
|
|
|
33.333333% {
|
|
|
- background-position: -25px -5px;
|
|
|
+ background-position: -27.5px -5px;
|
|
|
}
|
|
|
|
|
|
66.666666% {
|
|
|
background-position: -50px -5px;
|
|
|
}
|
|
|
|
|
|
- 100% {background-position: -75px -5px;}
|
|
|
+ 100% {background-position: -72.5px -5px;}
|
|
|
|
|
|
}
|