mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
fix: fix slider disabled style bug.
This commit is contained in:
parent
a8ed06ec86
commit
59c36965ea
14
index.js
14
index.js
@ -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'),
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user