🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
This commit is contained in:
afc163 2019-01-04 22:35:27 +08:00 committed by 偏右
parent 78489672c7
commit d670717ab2
2 changed files with 2 additions and 7 deletions

View File

@ -8,6 +8,7 @@
}
.button-disabled() {
&-disabled,
&.disabled,
&[disabled] {
&,

View File

@ -330,12 +330,6 @@
.button-size(@btn-height-sm; @btn-padding-sm; @font-size-base; @border-radius-base);
line-height: @btn-height-sm - 2px;
&-disabled {
.button-color(@btn-disable-color; @btn-disable-bg; @btn-disable-border);
cursor: not-allowed;
&:hover {
.button-color(@btn-disable-color; @btn-disable-bg; @btn-disable-border);
}
}
.button-disabled();
}
}