Tabs: not change tab color on hover when disabled (#10549)

For tabs of style "border-card", don't set the color property on hover
if it is disabled.
This commit is contained in:
Jeremy Studer 2018-04-03 22:45:42 -04:00 committed by 杨奕
parent a7e60ea766
commit 2bc4df7863

View File

@ -224,7 +224,7 @@
border-right-color: $--border-color-base;
border-left-color: $--border-color-base;
}
&:hover {
&:not(.is-disabled):hover {
color: $--color-primary;
}
}