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
// https://github.com/WickyNilliams/enquire.js/issues/82
window.matchMedia = window.matchMedia || function () {
return {
matches: false,
addListener: function () {
},
removeListener: function () {
}
};
return {
matches: false,
addListener: function () {
},
removeListener: function () {
}
};
};
const antd = {
Affix: require('./components/affix'),

View File

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