From 8fe125bd1be5d9ce40cdae560609bf14b69315a5 Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Fri, 10 Dec 2021 20:53:23 +0100 Subject: [PATCH] Adds thin-scroll-bar class --- app/assets/stylesheets/admin/shared/scroll_bar.scss | 13 +++++++++++++ app/assets/stylesheets/darkswarm/all.scss | 1 + 2 files changed, 14 insertions(+) create mode 100644 app/assets/stylesheets/admin/shared/scroll_bar.scss diff --git a/app/assets/stylesheets/admin/shared/scroll_bar.scss b/app/assets/stylesheets/admin/shared/scroll_bar.scss new file mode 100644 index 0000000000..adcb9a54f6 --- /dev/null +++ b/app/assets/stylesheets/admin/shared/scroll_bar.scss @@ -0,0 +1,13 @@ +.thin-scroll-bar::-webkit-scrollbar-track { + background-color: #f6f6f6;; + border: 1px solid #f0f0f0; +} + +.thin-scroll-bar::-webkit-scrollbar { + width: 7px; +} + +.thin-scroll-bar::-webkit-scrollbar-thumb { + background-color: #c3c3c3; + min-height: 40px; +} \ No newline at end of file diff --git a/app/assets/stylesheets/darkswarm/all.scss b/app/assets/stylesheets/darkswarm/all.scss index 2a7eefd1e9..aef5c4db7d 100644 --- a/app/assets/stylesheets/darkswarm/all.scss +++ b/app/assets/stylesheets/darkswarm/all.scss @@ -23,3 +23,4 @@ ofn-modal { } @import "../shared/question-mark-icon"; +@import '../admin/shared/scroll_bar';