From d8906af971a275bced54606bebcca147bde57f2b Mon Sep 17 00:00:00 2001 From: NikolaBorislavovHristov Date: Thu, 3 Oct 2019 14:58:03 +0300 Subject: [PATCH] disabled slider styles implemented --- src/common/Slider/styles.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/common/Slider/styles.less b/src/common/Slider/styles.less index ca3b46190..fb6c3d134 100644 --- a/src/common/Slider/styles.less +++ b/src/common/Slider/styles.less @@ -12,6 +12,18 @@ html.active-slider-within { overflow: visible; cursor: pointer; + &:global(.disabled) { + pointer-events: none; + + .track, .track-before { + background-color: var(--color-surfacedark); + } + + .thumb { + fill: var(--color-surfacedark); + } + } + .layer { position: absolute; top: 0;