summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_scrollbar.scss
blob: b6ec4f22f7b60eb216751393d7955b81c2c4f388 (plain)
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
@charset 'UTF-8';

::-webkit-scrollbar {
    height: 8px; // for horizontal scrollbars
    width: 8px;  // for vertical scrollbars
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .1);
}

::-webkit-scrollbar-thumb {
    @include border-radius($border-rad * 2);
    background: rgba(0, 0, 0, .4);
}

body {
    scrollbar-3dlight-color: #7D7E94;
    scrollbar-arrow-color: #C1C1D1;
    scrollbar-darkshadow-color: #2D2C4D;
    scrollbar-face-color: rgba(0, 0, 0, .1);
    scrollbar-highlight-color: #7D7E94;
    scrollbar-shadow-color: #2D2C4D;
    scrollbar-track-color: rgba(0, 0, 0, .1);
}

.scrollbar--horizontal,
.scrollbar--vertical {
    @include border-radius(2px);
    @include alpha-property(background-color, $black, .5);
}