tabs禁用样式优化

This commit is contained in:
rickcole 2020-05-12 20:03:23 +08:00
parent 20f92f32ec
commit a2c50196ec

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,