File: _scrollbars.scss

package info (click to toggle)
gnome-shell 49.3-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 27,712 kB
  • sloc: javascript: 75,067; ansic: 66,191; xml: 1,798; sh: 919; python: 666; makefile: 51
file content (29 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (4)
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
/* Scrollbars */

StScrollView {
  &.vfade { -st-vfade-offset: 68px; }
  &.hfade { -st-hfade-offset: 68px; }
}

StScrollBar {
  padding: 0;

  StScrollView & {
    min-width: 8px;
    min-height: 8px;
  }

  StBin#trough {
    border-radius: 0;
    background-color: transparent;
  }

  > .vhandle, > .hhandle {
    border-radius: 8px;
    background-color: mix($fg_color, $bg_color, 30%);
    border: 3px solid transparent; //would be nice to margin or at least to transparent
    transition: 500ms all ease;
    &:hover {background-color: mix($fg_color, $bg_color, 50%);}
    &:active {background-color: mix($fg_color, $bg_color, 40%);}
  }
}