aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/assets/scss/scrollbar.scss
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/assets/scss/scrollbar.scss')
-rw-r--r--viewer/src/assets/scss/scrollbar.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/viewer/src/assets/scss/scrollbar.scss b/viewer/src/assets/scss/scrollbar.scss
new file mode 100644
index 0000000..cfca929
--- /dev/null
+++ b/viewer/src/assets/scss/scrollbar.scss
@@ -0,0 +1,20 @@
1@import "~@/assets/scss/theme.scss";
2
3// === Scrollbar styling
4
5.scrollbar {
6 overflow: auto;
7 scrollbar-color: $scrollbar-color transparent;
8 scrollbar-width: thin;
9 &::-webkit-scrollbar {
10 width: $scrollbar-width;
11 height: $scrollbar-width;
12 }
13 &::-webkit-scrollbar-corner {
14 background-color: transparent;
15 }
16 &::-webkit-scrollbar-thumb {
17 box-shadow: inset 0 0 1px black;
18 background-color: $scrollbar-color;
19 }
20}