aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-10 23:31:33 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-10 23:31:33 +0100
commitcb61957623f8643c8c2d55b676560dd5526e663e (patch)
tree3e983d815979f7b8b7731825ecf09d282ef5122a /assets
parenta23d848db276ec33534115bd9a9c02171b1bd893 (diff)
Add scrollbar plugin and update README
Diffstat (limited to 'assets')
-rw-r--r--assets/plugins/_scrollbars.scss15
1 files changed, 15 insertions, 0 deletions
diff --git a/assets/plugins/_scrollbars.scss b/assets/plugins/_scrollbars.scss
new file mode 100644
index 0000000..caf87fa
--- /dev/null
+++ b/assets/plugins/_scrollbars.scss
@@ -0,0 +1,15 @@
+@import "defaults";
+@import "variables";
+
+::-webkit-scrollbar {
+ width: $padding-8;
+}
+
+::-webkit-scrollbar-thumb {
+ background: transparent;
+ border-radius: $padding-8;
+}
+
+:hover::-webkit-scrollbar-thumb {
+ background: $gray-500;
+}