From 421aeaa08135e747ff9f2a59974c26b350cdcda7 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Thu, 22 Nov 2012 22:43:18 -0500 Subject: [PATCH] Slider: Explicitly apply opacity filter to disabled handles. Fixed #6727 - Slider: Visual issues with disabled slider in IE8 --- grunt.js | 2 +- themes/base/jquery.ui.slider.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/grunt.js b/grunt.js index 524421be7..f43648870 100644 --- a/grunt.js +++ b/grunt.js @@ -299,8 +299,8 @@ grunt.initConfig({ }), // TODO consider reenabling some of these rules rules: { + "adjoining-classes": false, "import": false, - "important": false, "outline-none": false, // especially this one "overqualified-elements": false, diff --git a/themes/base/jquery.ui.slider.css b/themes/base/jquery.ui.slider.css index d0ee1a00d..e590a376c 100644 --- a/themes/base/jquery.ui.slider.css +++ b/themes/base/jquery.ui.slider.css @@ -28,6 +28,12 @@ background-position: 0 0; } +/* For IE8 - See #6727 */ +.ui-slider.ui-state-disabled .ui-slider-handle, +.ui-slider.ui-state-disabled .ui-slider-range { + filter: inherit; +} + .ui-slider-horizontal { height: .8em; } -- 2.39.5