-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy pathindex.less
More file actions
71 lines (67 loc) · 1.42 KB
/
index.less
File metadata and controls
71 lines (67 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@import '../../../src/style/themes/color.less';
@import '../../../src/style/themes/index.less';
.t-swipe {
width: 100%;
margin: 0 auto;
background-color: var(--color-background);
&-item {
font-size: 32 * @rpx;
color: @COLOR_TEXT_PRIMARY;
&-title {
width: 100%;
height: 90 * @rpx;
line-height: 100 * @rpx;
font-size: 28 * @rpx;
color: var(--color-text-assist);
text-indent: 1em;
}
&-con {
height: 130 * @rpx;
line-height: 130 * @rpx;
width: 100%;
&-view {
background-color: var(--color-card);
text-indent: 1em;
position: relative;
height: 100%;
color: var(--color-text-primary);
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
max-height: 1px;
min-height: 1px;
transform: scaleY(0.5);
background-color: var(--color-border);
}
}
}
}
}
.t-swipe-item-con-btn {
display: flex;
justify-content: center;
align-items: center;
}
.t-swipe-item-con-btn-icon {
font-size: 32px;
}
.left-slot {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.control-buttons {
display: flex;
gap: 16 * @rpx;
padding: 16 * @rpx;
background-color: var(--color-background);
button {
flex: 1;
font-size: 24 * @rpx;
}
}