mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
improve card tabs close hover style
This commit is contained in:
parent
ad07fd923b
commit
dc0629ca82
@ -382,6 +382,7 @@
|
||||
}
|
||||
&&-card &-tab-inner {
|
||||
padding: 7px 16px 6px;
|
||||
transition: all 0.3s @ease-in-out;
|
||||
}
|
||||
&&-card &-tab-active {
|
||||
background: #fff;
|
||||
@ -399,6 +400,7 @@
|
||||
color: #999;
|
||||
transition: all 0.3s @ease-in-out;
|
||||
.iconfont-size-under-12px(9px);
|
||||
transform-origin: 100% 50%;
|
||||
width: 0;
|
||||
text-align: right;
|
||||
vertical-align: middle;
|
||||
@ -409,6 +411,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
&&-card &-tab:not(&-tab-active):hover &-tab-inner {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
&&-card &-tab-active .anticon-cross,
|
||||
&&-card &-tab:hover .anticon-cross {
|
||||
width: 16px;
|
||||
|
Loading…
Reference in New Issue
Block a user