tabs禁用样式优化
This commit is contained in:
parent
ca091bfb68
commit
e6df000e0a
|
@ -48,12 +48,16 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled > a:first-child,
|
&.disabled,
|
||||||
&.is-disabled > a:first-child {
|
&.is-disabled {
|
||||||
color: $Tabs-onDisabled-color;
|
cursor: not-allowed;
|
||||||
background-color: transparent;
|
|
||||||
border-color: transparent;
|
> a:first-child {
|
||||||
pointer-events: none;
|
color: $Tabs-onDisabled-color;
|
||||||
|
background-color: transparent;
|
||||||
|
border-color: transparent;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active > a:first-child,
|
&.active > a:first-child,
|
||||||
|
|
Loading…
Reference in New Issue