32 lines
742 B
CSS
32 lines
742 B
CSS
.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));
|
|
}
|