summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_scrollbar.scss
blob: 06ee37dc9ed79f445377281353fa936dc81f0636 (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
32
33
34
35
36
37
38
39
@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, .2);
}

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);
}

.scrollbar--view {
    -ms-overflow-style: none;

    .browser--ie & {
        margin: 0 !important;
    }
}