vben
2020-11-28 de499a145556427304abe075b62e6869f44dc640
提交 | 用户 | age
faf3f4 1 @import (reference) '../../../../design/index.less';
2
3 @prefix-cls: ~'editable-cell';
4
5 .@{prefix-cls} {
6   position: relative;
7
8   &__wrapper {
9     display: flex;
10     align-items: center;
11   }
12
13   &__icon {
14     &:hover {
15       transform: scale(1.2);
16
17       svg {
18         color: @primary-color;
19       }
20     }
21   }
22
23   &__normal {
24     padding-right: 48px;
25
26     &-icon {
27       position: absolute;
28       top: 4px;
29       right: 0;
30       display: none;
31       width: 20px;
32       cursor: pointer;
33     }
34   }
35
36   &:hover {
37     .@{prefix-cls}__normal-icon {
38       display: inline-block;
39     }
40   }
41 }