Merge branch 'feature/indexcss' into release/5.5.1
Showing
1 changed file
with
192 additions
and
1 deletions
1 | -@import "coupons"; | 1 | +.my-coupon-page { |
2 | + .coupon-tab { | ||
3 | + height: 90px; | ||
4 | + padding: 25px 0; | ||
5 | + text-align: center; | ||
6 | + background-color: #fff; | ||
7 | + font-size: 32px; | ||
8 | + color: #b0b0b0; | ||
9 | + | ||
10 | + ul li { | ||
11 | + float: left; | ||
12 | + width: 50%; | ||
13 | + border-right: 1px solid #b0b0b0; | ||
14 | + | ||
15 | + &.activate { | ||
16 | + color: #444; | ||
17 | + } | ||
18 | + | ||
19 | + &:last-child { | ||
20 | + border: none; | ||
21 | + } | ||
22 | + } | ||
23 | + } | ||
24 | + | ||
25 | + .coupon-group { | ||
26 | + background-color: #f2f2f2; | ||
27 | + color: #f2f2f2; | ||
28 | + margin: 20px 20px 0; | ||
29 | + | ||
30 | + & > div { | ||
31 | + padding: 0 15px; | ||
32 | + } | ||
33 | + | ||
34 | + .coupon-header { | ||
35 | + border-radius: 10px 10px 0 0; | ||
36 | + background-color: #e53333; | ||
37 | + height: 60px; | ||
38 | + line-height: 60px; | ||
39 | + overflow: hidden; | ||
40 | + text-overflow: ellipsis; | ||
41 | + white-space: nowrap; | ||
42 | + font-size: 28px; | ||
43 | + } | ||
44 | + | ||
45 | + .coupon-content { | ||
46 | + border-radius: 0 0 10px 10px; | ||
47 | + height: 140px; | ||
48 | + border-top: 2px dashed #e53333; | ||
49 | + display: table; | ||
50 | + padding: 15px 0; | ||
51 | + background-color: #f06a6b; | ||
52 | + | ||
53 | + .coupon-content-group1 { | ||
54 | + display: table-cell; | ||
55 | + text-align: center; | ||
56 | + vertical-align: middle; | ||
57 | + font-size: 20px; | ||
58 | + | ||
59 | + p { | ||
60 | + width: 200px; | ||
61 | + overflow: hidden; | ||
62 | + min-height: 28px; | ||
63 | + } | ||
64 | + | ||
65 | + .coupon-money { | ||
66 | + font-size: 80px; | ||
67 | + } | ||
68 | + } | ||
69 | + | ||
70 | + .coupon-content-group2 { | ||
71 | + display: table-cell; | ||
72 | + font-size: 20px; | ||
73 | + border-left: 1px solid #f1aeaf; | ||
74 | + padding-left: 20px; | ||
75 | + padding-right: 20px; | ||
76 | + width: 100%; | ||
77 | + | ||
78 | + .coupon-content-group2-table { | ||
79 | + display: table; | ||
80 | + overflow: hidden; | ||
81 | + height: 100%; | ||
82 | + width: 100%; | ||
83 | + line-height: 45px; | ||
84 | + } | ||
85 | + | ||
86 | + .coupon-content-group2-table > div { | ||
87 | + display: table-row; | ||
88 | + height: 100%; | ||
89 | + } | ||
90 | + | ||
91 | + .left { | ||
92 | + float: left; | ||
93 | + line-height: 45px; | ||
94 | + color: #fff; | ||
95 | + } | ||
96 | + | ||
97 | + .left.down .iconfont:before { | ||
98 | + font-size: 12px; | ||
99 | + content: "\e609"; | ||
100 | + } | ||
101 | + | ||
102 | + .left.up .iconfont:before { | ||
103 | + font-size: 12px; | ||
104 | + content: "\e608"; | ||
105 | + } | ||
106 | + | ||
107 | + .right { | ||
108 | + float: right; | ||
109 | + } | ||
110 | + | ||
111 | + .coupon-soon-expire { | ||
112 | + color: #000; | ||
113 | + } | ||
114 | + | ||
115 | + .btn { | ||
116 | + display: inline-block; | ||
117 | + width: 120px; | ||
118 | + height: 45px; | ||
119 | + text-align: center; | ||
120 | + background-color: #e53333; | ||
121 | + border-radius: 10px; | ||
122 | + color: #fff; | ||
123 | + } | ||
124 | + | ||
125 | + .employ { | ||
126 | + width: 171px; | ||
127 | + height: 146px; | ||
128 | + position: absolute; | ||
129 | + display: block; | ||
130 | + z-index: 2; | ||
131 | + right: 37px; | ||
132 | + margin-top: -95px; | ||
133 | + background-image: resolve("home/employ.png"); | ||
134 | + background-size: cover; | ||
135 | + } | ||
136 | + } | ||
137 | + } | ||
138 | + | ||
139 | + .coupon-footer { | ||
140 | + background-color: #f06a6b; | ||
141 | + padding: 20px; | ||
142 | + font-size: 18px; | ||
143 | + border-radius: 10px; | ||
144 | + color: #fff; | ||
145 | + border-top: 1px dashed #fff; | ||
146 | + } | ||
147 | + } | ||
148 | + | ||
149 | + .coupon-not-result { | ||
150 | + width: 100%; | ||
151 | + height: auto; | ||
152 | + overflow: hidden; | ||
153 | + position: fixed; | ||
154 | + left: 0; | ||
155 | + top: 50%; | ||
156 | + margin-top: -162px; | ||
157 | + | ||
158 | + i { | ||
159 | + width: 100%; | ||
160 | + height: 120px; | ||
161 | + overflow: hidden; | ||
162 | + display: block; | ||
163 | + background: resolve("home/employ/not.png") center top no-repeat; | ||
164 | + background-size: auto 100%; | ||
165 | + } | ||
166 | + | ||
167 | + p { | ||
168 | + width: 100%; | ||
169 | + height: auto; | ||
170 | + overflow: hidden; | ||
171 | + padding: 20px 0 0; | ||
172 | + font-size: 32px; | ||
173 | + text-align: center; | ||
174 | + color: #444; | ||
175 | + } | ||
176 | + | ||
177 | + a { | ||
178 | + width: 73.75%; | ||
179 | + height: 80px; | ||
180 | + overflow: hidden; | ||
181 | + font-size: 36px; | ||
182 | + line-height: 80px; | ||
183 | + display: block; | ||
184 | + background: #444; | ||
185 | + color: #fff; | ||
186 | + text-align: center; | ||
187 | + margin: 60px auto 0; | ||
188 | + border-radius: 0.2rem; | ||
189 | + } | ||
190 | + } | ||
191 | +} | ||
192 | + |
-
Please register or login to post a comment