Skip to content

Instantly share code, notes, and snippets.

@pastleo
Last active February 14, 2018 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pastleo/8e12d830b35c4bd0173371ee97a9f9ed to your computer and use it in GitHub Desktop.
Save pastleo/8e12d830b35c4bd0173371ee97a9f9ed to your computer and use it in GitHub Desktop.
kkbox-player-full-screen css overwrite

kkbox-player-full-screen css overwrite

this make the kkbox web player full screen with lyrics

How to use?

  1. install stylus first: https://add0n.com/stylus.html
  2. head to Stylus manage page, click Write new style
  3. Click import, and choose kkbox-player-full-screen.css
  4. save, disable this style first
  5. go to kkbox web player
  6. choose a song to play, then enable this style
  7. enjoy!
@-moz-document url-prefix("https://play.kkbox.com/") {
.right-column {
left: 0;
right: 0;
width: 100vw;
}
.lyrics-list .active a {
position: fixed;
left: 0;
right: 0;
background: none;
display: block;
top: 300px;
color: #34bd87;
font-size: 50px;
}
@keyframes slideout {
from {
height: 20px;
background: #34bd87;
}
to {
height: 0px;
background: transparent;
}
}
.lyrics-list .active {
animation-name: slideout;
animation-fill-mode: forwards;
animation-duration: 0.5s;
}
.lyrics-list .active:before {
content: "-";
color: transparent;
}
.lyrics-list .active + li {
background: -moz-linear-gradient(top, rgba(52, 189, 135, 1) 0%, rgba(52, 189, 135, 0.5) 100%);
/* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(52, 189, 135, 1) 0%, rgba(52, 189, 135, 0.5) 100%);
/* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(52, 189, 135, 1) 0%, rgba(52, 189, 135, 0.5) 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#34bd87', endColorstr='#8034bd87', GradientType=0);
/* IE6-9 */
}
.lyrics-list .active + li + li {
background: -moz-linear-gradient(top, rgba(52, 189, 135, 0.5) 0%, rgba(52, 189, 135, 0) 100%);
/* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(52, 189, 135, 0.5) 0%, rgba(52, 189, 135, 0) 100%);
/* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(52, 189, 135, 0.5) 0%, rgba(52, 189, 135, 0) 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8034bd87', endColorstr='#0034bd87', GradientType=0);
/* IE6-9 */
}
.lyrics-list li {
text-align: center;
}
.progress {
margin-top: 180px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment