Commit 1e3312b5fb720e1b161dd57e10da7f5e2932907b
1 parent
4af01c5b
Modify && regrunt all less.
Showing
2 changed files
with
21 additions
and
6 deletions
css/style/collection.css
... | ... | @@ -92,6 +92,9 @@ |
92 | 92 | border: 1px solid #ddd; |
93 | 93 | background-color: #fff; |
94 | 94 | padding: 10px; |
95 | + position: relative; | |
96 | + -webkit-transition: all 0.3s; | |
97 | + transition: all 0.3s; | |
95 | 98 | } |
96 | 99 | #collection .m-table-view .cell-extend-pic { |
97 | 100 | padding: 0; |
... | ... | @@ -205,14 +208,16 @@ |
205 | 208 | left: 0; |
206 | 209 | top: 0; |
207 | 210 | height: 100%; |
208 | - z-index: -1; | |
209 | 211 | color: transparent; |
210 | 212 | } |
211 | 213 | .labchk .m-radio { |
212 | 214 | position: absolute; |
213 | 215 | top: 50%; |
214 | - left: 0; | |
216 | + left: 10px; | |
215 | 217 | margin-top: -11px; |
218 | + opacity: 0; | |
219 | + -webkit-transition: all 0.3s; | |
220 | + transition: all 0.3s; | |
216 | 221 | } |
217 | 222 | .m-footer { |
218 | 223 | padding: 0px; |
... | ... | @@ -233,9 +238,11 @@ |
233 | 238 | height: 50px; |
234 | 239 | } |
235 | 240 | .panel-open .labchk { |
236 | - z-index: 1; | |
237 | 241 | left: -40px; |
238 | 242 | } |
243 | +.panel-open .labchk .m-radio { | |
244 | + opacity: 1; | |
245 | +} | |
239 | 246 | .panel-open .m-table-view .cellin { |
240 | 247 | -webkit-transform: translate3d(50px, 0, 0); |
241 | 248 | transform: translate3d(50px, 0, 0); | ... | ... |
css/style/collection.less
... | ... | @@ -23,6 +23,9 @@ |
23 | 23 | border: 1px solid #ddd; |
24 | 24 | background-color: #fff; |
25 | 25 | padding: 10px; |
26 | + position: relative; | |
27 | + -webkit-transition: all 0.3s; | |
28 | + transition: all 0.3s; | |
26 | 29 | } |
27 | 30 | } |
28 | 31 | .cell-extend-pic { |
... | ... | @@ -142,13 +145,16 @@ |
142 | 145 | left: 0; |
143 | 146 | top: 0; |
144 | 147 | height: 100%; |
145 | - z-index: -1; | |
146 | 148 | color: transparent; |
147 | 149 | .m-radio { |
148 | 150 | position: absolute; |
149 | 151 | top: 50%; |
150 | - left: 0; | |
152 | + left: 10px; | |
151 | 153 | margin-top: -11px; |
154 | + opacity: 0; | |
155 | + -webkit-transition: all 0.3s; | |
156 | + transition: all 0.3s; | |
157 | + | |
152 | 158 | } |
153 | 159 | } |
154 | 160 | .m-footer { |
... | ... | @@ -171,8 +177,10 @@ |
171 | 177 | height: 50px; |
172 | 178 | } |
173 | 179 | .labchk { |
174 | - z-index: 1; | |
175 | 180 | left: -40px; |
181 | + .m-radio { | |
182 | + opacity: 1; | |
183 | + } | |
176 | 184 | } |
177 | 185 | .m-table-view .cellin { |
178 | 186 | -webkit-transform: translate3d(50px, 0, 0); | ... | ... |