-
Notifications
You must be signed in to change notification settings - Fork 0
/
Playlist.css
63 lines (59 loc) · 1.17 KB
/
Playlist.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.selectionPlaylist {
background: linear-gradient(
135deg,
rgb(222, 222, 216) 0%,
rgb(120, 127, 143) 100%
)
repeat scroll 0% 0%;
width: 800px;
min-width: 500px;
height: 240px;
padding: 20px;
margin-bottom: 20px;
display: flex;
flex-direction: row;
}
.selectionPlaylist__artwork {
margin-right: 20px;
}
.artwork {
width: 200px;
}
.selectionPlaylist__trackList {
width: 100%;
overflow-x: hidden;
overflow-y: hidden;
}
.selectionPlaylist__trackList:hover {
overflow-y: scroll;
}
.track {
padding: 10px 10px;
border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
cursor: pointer;
}
.track:hover {
background: hsla(0, 0%, 100%, 0.1);
}
.track__title {
color: hsla(0, 0%, 100%, 0.7);
font-size: 18px;
}
/*
* https://css-tricks.com/the-current-state-of-styling-scrollbars/
* scrollbar 2
*/
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar {
width: 9px;
background-color: transparent;
}
::-webkit-scrollbar-thumb {
border: 1px solid white;
border-radius: 10px;
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
background-color: transparent;
}