_coupons.css
1.65 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
92
93
94
95
96
97
.me-coupons-page {
font-size: 12px;
.coupons > .title {
font-size: 14px;
font-weight: bold;
}
.coupons-header {
width: 776px;
height: 25px;
line-height: 25px;
text-align: center;
border: 1px solid #e6e6e6;
background: #efefef;
margin: 0 auto;
span {
display: block;
float: left;
}
}
.coupon {
display: table;
border: 1px solid #e6e6e6;
width: 778px;
margin: 10px auto;
text-align: center;
color: #666;
> * {
display: table-cell;
vertical-align: middle;
border-left: 1px solid #e6e6e6;
padding: 5px;
line-height: 18px;
}
.coupons-img {
border-left: none;
}
}
.coupon .term-of-validity {
color: #e8044f;
}
.un-use-coupons {
.coupons-img {
width: 20%;
}
.value {
width: 18%;
}
.term-of-validity {
width: 22%;
span {
display: none;
}
}
.use-remark {
width: 24%;
}
.status {
width: 16%;
}
.end-soon span {
display: inline;
padding: 3px 10px;
color: #fff;
background: #e8044f;
}
}
.used-coupons {
.coupons-header > span,
.coupon > * {
width: 16.66%;
}
}
.no-valid-coupons {
.coupons-header > span,
.coupon > * {
width: 25%;
}
}
}