first commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
.t-swipe-cell {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.t-swipe-cell__left,
|
||||
.t-swipe-cell__right {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.t-swipe-cell__left {
|
||||
left: 0;
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
}
|
||||
.t-swipe-cell__right {
|
||||
right: 0;
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
.t-swipe-cell__content {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0 var(--td-spacer-2, 32rpx);
|
||||
}
|
||||
:deep(.t-swipe-cell__icon) {
|
||||
font-size: var(--td-font-size-xl, 40rpx);
|
||||
}
|
||||
:deep(.t-swipe-cell__icon) + .t-swipe-cell__text:not(:empty) {
|
||||
margin-left: var(--td-spacer, 16rpx);
|
||||
font: var(--td-font-body-medium, 28rpx / 44rpx var(--td-font-family, PingFang SC, Microsoft YaHei, Arial Regular));
|
||||
}
|
||||
Reference in New Issue
Block a user