Merge pull request #590 from RickCole21/master

tabs禁用样式优化
This commit is contained in:
liaoxuezhi 2020-05-13 09:29:00 +08:00 committed by GitHub
commit 75ff86679c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,12 +48,16 @@
text-decoration: none;
}
&.disabled > a:first-child,
&.is-disabled > a:first-child {
color: $Tabs-onDisabled-color;
background-color: transparent;
border-color: transparent;
pointer-events: none;
&.disabled,
&.is-disabled {
cursor: not-allowed;
> a:first-child {
color: $Tabs-onDisabled-color;
background-color: transparent;
border-color: transparent;
pointer-events: none;
}
}
&.active > a:first-child,