From 76c0825b3be43f9b057c54d3eaa0fbed3fd84759 Mon Sep 17 00:00:00 2001 From: Gareth Daunton Date: Tue, 2 Aug 2016 19:26:30 -0400 Subject: [PATCH] Removed background change for disabled thumb hover. --- src/definitions/modules/range.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/definitions/modules/range.less b/src/definitions/modules/range.less index d96e3c2f6..b7ab45f59 100644 --- a/src/definitions/modules/range.less +++ b/src/definitions/modules/range.less @@ -71,12 +71,12 @@ transition: @thumbTransition; } -.ui.range .inner .thumb:hover { +.ui.range:not(.disabled) .inner .thumb:hover { pointer: @thumbHoverPointer; background: @thumbHoverBackground; } -.ui.range:focus .inner .thumb { +.ui.range:not(.disabled):focus .inner .thumb { background: @thumbHoverBackground; } @@ -226,7 +226,7 @@ transition: @hoverOpacityTransition; } -.ui.hover.range:hover .inner .thumb, .ui.hover.range:focus .inner .thumb { +.ui.hover.range:not(.disabled):hover .inner .thumb, .ui.hover.range:not(.disabled):focus .inner .thumb { opacity: @hoverVarHoverOpacity; }