aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/main/frontend/resources/scss/components/_scrollbars.scss
blob: d036c7143f0239228a67a336a4fa09cd22b7ee97 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.ps__rail-x {
    opacity: 1;
    height: 4px;
    /* there must be 'bottom' or 'top' for ps__rail-x */
    bottom: 0px;
}

.ps__rail-y {
    opacity: 1;
    width: 4px;
    /* there must be 'right' or 'left' for ps__rail-y */
    right: 0;
}

.ps__thumb-x {
    background-color: $light-gray;
    border-radius: 0px;
    height: 4px;
    /* there must be 'bottom' for ps__thumb-x */
    bottom: 0px;
}

.ps__thumb-y {
    background-color: $light-gray;
    border-radius: 0px;
    width: 4px;
    /* there must be 'right' for ps__thumb-y */
    right: 0px;
}

.ps:hover > .ps__rail-x,
.ps:hover > .ps__rail-y,
.ps--focus > .ps__rail-x,
.ps--focus > .ps__rail-y,
.ps--scrolling-x > .ps__rail-x,
.ps--scrolling-y > .ps__rail-y {
    opacity: 1;
    background-color: transparent;
}

.ps .ps__rail-x:hover,
.ps .ps__rail-y:hover,
.ps .ps__rail-x:focus,
.ps .ps__rail-y:focus,
.ps .ps__rail-x.ps--clicking,
.ps .ps__rail-y.ps--clicking {
    opacity: 1;
    background-color: transparent;
}

.ps__rail-x:hover > .ps__thumb-x,
.ps__rail-x:focus > .ps__thumb-x,
.ps__rail-x.ps--clicking .ps__thumb-x {
    background-color: $light-gray;
    height: 4px;
}

.ps__rail-y:hover > .ps__thumb-y,
.ps__rail-y:focus > .ps__thumb-y,
.ps__rail-y.ps--clicking .ps__thumb-y {
    background-color: $light-gray;
    width: 4px;
}