From 473e81566b3018bfc520b51b459cf49195a5ec6f Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Fri, 2 Apr 2021 17:58:49 +0200 Subject: [PATCH] Add basic styles for scrollbar --- src/themes/dark.less | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/themes/dark.less b/src/themes/dark.less index 76b2401..a658e26 100644 --- a/src/themes/dark.less +++ b/src/themes/dark.less @@ -91,7 +91,7 @@ @layout-trigger-color: @text-color; // Tooltip -@tooltip-bg: rgb(46, 51, 56, 0.8); +@tooltip-bg: @main-light; @zindex-tooltip: 1; // Modal @@ -100,3 +100,21 @@ // Radio buttons @radio-solid-checked-color: @white; + +// Scrollbar +::-webkit-scrollbar { + width: 10px; +} + +::-webkit-scrollbar-track { + background: @main; +} + +::-webkit-scrollbar-thumb { + background: lighten(@main-light, 15%); + border-radius: @border-radius-base; + + &:hover { + background: @text-disabled; + } +}