💄 use disabled cursor on disabled tab, close #13709

This commit is contained in:
afc163 2018-12-21 22:36:04 +08:00
parent cb0a92e13b
commit a7597819a2
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48

View File

@ -158,12 +158,6 @@
clear: both;
}
.@{tab-prefix-cls}-tab-disabled {
pointer-events: none;
cursor: not-allowed;
color: @disabled-color;
}
.@{tab-prefix-cls}-tab {
display: inline-block;
height: 100%;
@ -191,11 +185,19 @@
.@{iconfont-css-prefix} {
margin-right: 8px;
}
}
.@{tab-prefix-cls}-tab-active {
color: @tabs-highlight-color;
font-weight: 500;
&-disabled {
&,
&:hover {
cursor: not-allowed;
color: @disabled-color;
}
}
&-active {
color: @tabs-highlight-color;
font-weight: 500;
}
}
}