index.scss
1.28 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
.zui-cell {
position: relative;
display: flex;
box-sizing: border-box;
width: 100%;
padding: $h-gap-lg $v-gap-md;
&::after {
position: absolute;
content: '';
width: 100%;
left: 0;
bottom: 0;
height: 1px;
background-color: $color-border;
-webkit-transform: scale(1, 0.5);
transform: scale(1, 0.5);
-webkit-transform-origin: center bottom;
transform-origin: center bottom;
}
overflow: hidden;
background-color: #fff;
&--clickable {
cursor: pointer;
transition: background-color 150ms;
&.active {
background-color: $bg-active;
}
}
&__left-icon, &__right-icon {
display: flex;
align-items: center;
font-size: 42upx;
}
&__left-icon {
margin-left: $v-gap-sm;
}
&__right-icon {
margin-left: $v-gap-sm;
color: $color-disabled;
}
&__title, &__value {
display: flex;
}
&__title {
flex: auto;
flex-direction: column;
justify-content: center;
min-width: 150upx;
padding-right: 10upx;
box-sizing: border-box;
}
&__value {
flex: auto;
align-items: center;
justify-content: flex-end;
position: relative;
overflow: hidden;
color: $color-text-minor;
text-align: right;
vertical-align: middle;
word-wrap: break-word;
}
&__label {
padding-top: $h-gap-sm;
color: $color-minor;
font-size: $font-sm;
}
}