mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
tabs禁用样式优化
This commit is contained in:
parent
ca091bfb68
commit
e6df000e0a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user