getCouponCom.less
1.5 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
@charset "UTF-8";
.coupon-com {
background-color: transparent;
.box {
display: flex;
justify-content: space-between;
align-items: center;
.coupons-box {
display: flex;
justify-content: space-between;
align-items: center;
background-repeat: no-repeat;
background-size: 100% 100%;
margin: 0 auto;
width: 256px;
height: 120px;
.left-box {
background-repeat: no-repeat;
background-size: 100% 100%;
margin-left: 25px;
font-weight: 400;
width: 170px;
height: 120px;
.discount-box {
display: flex;
justify-content: flex-start;
align-items: baseline;
margin-top: 20px;
line-height: 42px;
.sy {
font-size: 20px;
font-weight: 600;
}
.discount {
font-size: 50px;
font-weight: 600;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
.filled-box {
font-size: 24px;
font-weight: 400;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
}
}
&.usable {
.box {
.coupons-box {
.left-box {
.discount-box {
.sy {
color: #EA162D;
}
.discount {
color: #EA162D;
}
}
.filled-box {
color: #966F4A;
}
}
}
}
}
&.disable {
.box {
.coupons-box {
.left-box {
.discount-box {
.sy {
color: #B4B4B4;
}
.discount {
color: #B4B4B4;
}
}
.filled-box {
color: #B4B4B4;
}
}
}
}
}
}