fix: fix slider disabled style bug.

This commit is contained in:
SimaQ 2015-10-20 19:39:43 +08:00
parent a8ed06ec86
commit 59c36965ea
2 changed files with 10 additions and 10 deletions

View File

@ -3,14 +3,14 @@ require('./style/index.less');
// matchMedia polyfill for // matchMedia polyfill for
// https://github.com/WickyNilliams/enquire.js/issues/82 // https://github.com/WickyNilliams/enquire.js/issues/82
window.matchMedia = window.matchMedia || function () { window.matchMedia = window.matchMedia || function () {
return { return {
matches: false, matches: false,
addListener: function () { addListener: function () {
}, },
removeListener: function () { removeListener: function () {
} }
};
}; };
};
const antd = { const antd = {
Affix: require('./components/affix'), Affix: require('./components/affix'),

View File

@ -126,13 +126,13 @@
background-color: @slider-disabled-color !important; background-color: @slider-disabled-color !important;
} }
.@{slider-prefix-cls}-handle { .@{slider-prefix-cls}-handle, .@{slider-prefix-cls}-dot {
border-color: @slider-disabled-color; border-color: @slider-disabled-color!important;
background-color: #fff; background-color: #fff;
cursor: not-allowed; cursor: not-allowed;
} }
.@{slider-prefix-cls}-mark-text, .dot { .@{slider-prefix-cls}-mark-text, .@{slider-prefix-cls}-dot {
cursor: not-allowed!important; cursor: not-allowed!important;
} }
} }