summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorMichael Serajnik <ms@mserajnik.at>2017-12-18 19:06:24 +0100
committerrr- <rr-@sakuya.pl>2018-03-10 17:45:37 +0100
commita08c7d65daaf6febaa6c0d22598fce85f5ff4b7b (patch)
treecaff326fcc8e3fad97289f81fb8141cad0f7c337 /client
parent7596f9042cc9d83d488e8f278ddf51c9f32a8df2 (diff)
client/css: add scrollbar styling
Diffstat (limited to 'client')
-rw-r--r--client/css/colors.styl2
-rw-r--r--client/css/core-general.styl7
2 files changed, 8 insertions, 1 deletions
diff --git a/client/css/colors.styl b/client/css/colors.styl
index ed68e41..3be05fe 100644
--- a/client/css/colors.styl
+++ b/client/css/colors.styl
@@ -55,3 +55,5 @@ $hovered-first-note-point-color = red
$safety-safe = #88D488
$safety-sketchy = #F3D75F
$safety-unsafe = #F3985F
+$scrollbar-thumb-color = $main-color
+$scrollbar-bg-color = $input-enabled-background-color
diff --git a/client/css/core-general.styl b/client/css/core-general.styl
index ef3aea1..02f4516 100644
--- a/client/css/core-general.styl
+++ b/client/css/core-general.styl
@@ -238,7 +238,12 @@ a .access-key
margin-bottom: 0 !important
.table-wrap
- overflow-x: scroll
+ overflow-x: auto
+ &::-webkit-scrollbar
+ height: 6px
+ background-color: $scrollbar-bg-color
+ &::-webkit-scrollbar-thumb
+ background-color: $scrollbar-thumb-color
/* hack to prevent text from being copied */
[data-pseudo-content]:before {