Scrollbar style, close #72

This commit is contained in:
DIYgod
2016-09-20 12:12:21 +08:00
parent fa0017c55d
commit 62d146a9dc
6 changed files with 20 additions and 6 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ var ap5 = new APlayer({
mutex: true,
theme: '#ad7a86',
mode: 'random',
listmaxheight: '60px',
listmaxheight: '80px',
music: [
{
title: 'あっちゅ~ま青春!',
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
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": {
+1 -1
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');
+14
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;