Scrollbar style, close #72

This commit is contained in:
DIYgod 2016-09-20 12:12:21 +08:00
parent fa0017c55d
commit 62d146a9dc
No known key found for this signature in database
GPG Key ID: F8797DD1088C6506
6 changed files with 20 additions and 6 deletions

View File

@ -107,7 +107,7 @@ var ap5 = new APlayer({
mutex: true,
theme: '#ad7a86',
mode: 'random',
listmaxheight: '60px',
listmaxheight: '80px',
music: [
{
title: 'あっちゅ~ま青春!',

4
dist/APlayer.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "aplayer",
"version": "1.5.2",
"version": "1.5.3",
"description": "Wow, such a beautiful html5 music player",
"main": "dist/APlayer.min.js",
"scripts": {

View File

@ -1,4 +1,4 @@
console.log("\n %c APlayer 1.5.2 %c http://aplayer.js.org \n\n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");
console.log("\n %c APlayer 1.5.3 %c http://aplayer.js.org \n\n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");
require('./APlayer.scss');

View File

@ -343,6 +343,20 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
height: 0 !important;
}
&::-webkit-scrollbar{
width: 5px;
}
&::-webkit-scrollbar-track{
background-color: #f9f9f9;
}
&::-webkit-scrollbar-thumb{
border-radius: 3px;
background-color: #eee;
}
&::-webkit-scrollbar-thumb:hover{
background-color: #ccc;
}
ol {
list-style-type: none;
margin: 0;