-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscrollbar.css
More file actions
86 lines (78 loc) · 2.36 KB
/
scrollbar.css
File metadata and controls
86 lines (78 loc) · 2.36 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
::-webkit-scrollbar {
width: 0;
height: 0;
}
::-webkit-scrollbar-track {
background: #5b9e9200;
border-radius: 999px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: var(--defaultChatBg5Transparent);
}
::-webkit-scrollbar-thumb:hover {
background: var(--defaultChatBg5);
}
/* Up arrow */
::-webkit-scrollbar-button:single-button:vertical:decrement {
background: var(--up-arrow) no-repeat center center;
background-size: 35px;
}
::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
background: var(--up-arrow-hovered) no-repeat center center;
background-size: 35px;
}
/* Down arrow */
::-webkit-scrollbar-button:single-button:vertical:increment {
background: var(--down-arrow) no-repeat center center;
background-size: 35px;
}
::-webkit-scrollbar-button:single-button:vertical:increment:hover {
background: var(--down-arrow-hovered) no-repeat center center;
background-size: 35px;
}
/* Left arrow */
::-webkit-scrollbar-button:single-button:horizontal:decrement {
background: var(--left-arrow) no-repeat center center;
background-size: 20px;
}
::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
background: var(--left-arrow-hovered) no-repeat center center;
background-size: 20px;
}
/* Right arrow */
::-webkit-scrollbar-button:single-button:horizontal:increment {
background: var(--right-arrow) no-repeat center center;
background-size: 30px;
}
::-webkit-scrollbar-button:single-button:horizontal:increment:hover {
background: var(--right-arrow-hovered) no-repeat center center;
background-size: 30px;
}
@media(max-width: 500px) {
::-webkit-scrollbar {
width: 0;
height: 0;
}
.body > .bar3 .container .center::-webkit-scrollbar {
width: 0;
height: 0;
}
.body > .bar2 .container .main .chats::-webkit-scrollbar {
width: 0;
height: 0;
}
}
/* when hovered */
.body > .bar3 .container .center.hovering::-webkit-scrollbar-thumb {
background: var(--defaultChatBg5Transparent);
}
.body > .bar2 .container .main .chats.hovering::-webkit-scrollbar-thumb {
background: var(--defaultChatBg5Transparent);
}
.body > .bar3 .container .center.hovering::-webkit-scrollbar-thumb:hover {
background: var(--defaultChatBg5);
}
.body > .bar2 .container .main .chats.hovering::-webkit-scrollbar-thumb:hover {
background: var(--defaultChatBg5);
}