cms/app-client/app/styles/player.scss
author nowmad@23.1.168.192.in-addr.arpa
Fri, 22 Jan 2016 10:35:52 +0100
changeset 95 f7ab931581af
parent 86 15ded106ef1a
child 196 7550cb541901
permissions -rw-r--r--
improve interface

.player-component{
  text-align: center;
}

#audio_player {
  display: inline-block;
  width: 80px;
  height: 80px;
  position: relative;
  padding: 8px;
  margin: 10px auto;
  background: #fff;
  border-radius: 88px;
}
#audio_player .background {
  width: 60px;
  height: 60px;
  border: solid 10px #e5e5e5;
  background: #fff;
  border-radius: 80px;
}
#audio_player .btn {
  cursor: pointer;
}
#audio_player .btn_play {
  display: block;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -16px;
  margin-left: -16px;
  text-indent: -900em;
  z-index: 10;
  background: url(images/button_play.png) 10px no-repeat;
  background-size: 21px 31px;
}
/* pause */
#audio_player .btn_play.playing {
  background: url(images/button_pause.png) center no-repeat;
  background-size: 28px 28px;
}
#audio_player .progress {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 8px;
  left: 8px;
}
#audio_player .progress .slice {
  position: absolute;
  width: 80px;
  height: 80px;
  clip: rect(0px,80px,80px,40px);
}
#audio_player .progress .slice.gt50 {
  clip: rect(auto, auto, auto, auto);
}
#audio_player .progress .slice .pie {
  border: 10px solid #276f84;
  position: absolute;
  width: 60px;
  height: 60px;
  clip: rect(0,40px,80px,0);
  -moz-border-radius: 80px;
  -webkit-border-radius: 80px;
  border-radius: 80px;
}
#audio_player .progress .slice .pie.fill {
  -moz-transform: rotate(180deg) !important;
  -webkit-transform: rotate(180deg) !important;
  -o-transform: rotate(180deg) !important;
  transform: rotate(180deg) !important;
}

.audio-controls {
    color: #2a768c;
    cursor: pointer;
    display: inline-block;
    font-size: 30px;
    margin: 43px 10px;
    vertical-align: top;
}

.duration{
  margin: -30px auto 0;
  padding-left: 175px;
  text-align: center;
}

.audio-wrapper{
  display: inline-block;
}