aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/assets/scss/scrollbar.scss
blob: cfca929b623cbd7c211e2254db3772074c2b7474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@import "~@/assets/scss/theme.scss";

// === Scrollbar styling

.scrollbar {
  overflow: auto;
  scrollbar-color: $scrollbar-color transparent;
  scrollbar-width: thin;
  &::-webkit-scrollbar {
    width: $scrollbar-width;
    height: $scrollbar-width;
  }
  &::-webkit-scrollbar-corner {
    background-color: transparent;
  }
  &::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 1px black;
    background-color: $scrollbar-color;
  }
}