Commit c22ee3fcb526b67d269c5920b0a847e697c15b26
1 parent
93c87af0
Add docs into project.
Showing
8 changed files
with
7155 additions
and
126 deletions
.gitignore
Gruntfile.js
... | ... | @@ -30,14 +30,61 @@ module.exports = function (grunt) { |
30 | 30 | livereload: true |
31 | 31 | } |
32 | 32 | } |
33 | + }, | |
34 | + | |
35 | + concat: { | |
36 | + dist: { | |
37 | + src: ['css/**/*.css'], | |
38 | + dest: 'css/build.dest.css' | |
39 | + } | |
40 | + }, | |
41 | + | |
42 | + ui_docs: { | |
43 | + mydocs: { | |
44 | + title: 'css-docs', // documentation page title | |
45 | + docsPath: 'docs/styleguide/', // path where you want to generate the styleguide | |
46 | + docsAssetsPath: 'assets/', // relative to docsPath | |
47 | + docsUIDocsAssetsPath: 'css/', // relative to docsAssetsPath | |
48 | + | |
49 | + rawAssetsDir: 'css/', // path to the assets you want to document | |
50 | + | |
51 | + // js: { | |
52 | + // rawDir: 'js/', // relative to rawAssetsDir | |
53 | + // validExtensions: ['.js', '.coffe'], | |
54 | + // ignore: ['**/vendor/**', '**/vendor-setup/**'] | |
55 | + // }, | |
56 | + css: { | |
57 | + rawDir: 'css/', // relative to rawAssetsDir | |
58 | + validExtensions: ['css'], | |
59 | + // ['.scss', '.css', '.sass', '.styl', '.less'], | |
60 | + ignore: ['**/bourbon/**'], | |
61 | + builtFilePaths: ['css/build.dest.css'], // path to the generated sass file(s) | |
62 | + outputDir: './' // relative to rawAssetsDir | |
63 | + } | |
64 | + } | |
65 | + }, | |
66 | + | |
67 | + apidoc: { | |
68 | + myapp: { | |
69 | + src: 'js/', | |
70 | + dest: 'docs/apiguide/', | |
71 | + options: { | |
72 | + debug: true, | |
73 | + includeFilters: [ ".*\\.js$" ], | |
74 | + excludeFilters: [ "node_modules/" ] | |
75 | + } | |
76 | + } | |
33 | 77 | } |
34 | 78 | }); |
35 | 79 | |
36 | 80 | grunt.loadNpmTasks( "grunt-contrib-less" ); |
37 | 81 | grunt.loadNpmTasks( "grunt-contrib-watch" ); |
82 | + grunt.loadNpmTasks( "grunt-contrib-concat" ); | |
83 | + grunt.loadNpmTasks( "grunt-ui-docs" ); | |
84 | + grunt.loadNpmTasks( "grunt-apidoc" ); | |
38 | 85 | // grunt.loadNpmTasks('grunt-spritesmith'); |
39 | 86 | |
40 | 87 | grunt.registerTask('default', [ |
41 | - 'less', 'watch' | |
88 | + 'less', 'concat', 'watch' | |
42 | 89 | ]); |
43 | 90 | }; | ... | ... |
css/build.dest.css
0 → 100644
1 | +.container{ | |
2 | + width:1200px; | |
3 | + margin:0 auto; | |
4 | +} | |
5 | +.t-background{ | |
6 | + transition:background 0.5s; | |
7 | + -moz-transition:background 0.5s; /* Firefox 4 */ | |
8 | + -webkit-transition:background 0.5s; /* Safari and Chrome */ | |
9 | + -o-transition:background 0.5s; /* Opera */ | |
10 | +} | |
11 | +.t-all{ | |
12 | + transition:all 0.5s; | |
13 | + -moz-transition:all 0.5s; /* Firefox 4 */ | |
14 | + -webkit-transition:all 0.5s; /* Safari and Chrome */ | |
15 | + -o-transition:all 0.5s; /* Opera */ | |
16 | +} | |
17 | +body{ | |
18 | + background:#e6e6e6; | |
19 | +} | |
20 | +header{ | |
21 | + height: 42px; | |
22 | + background:#323232; | |
23 | + margin-bottom:30px; | |
24 | + transition:all 0.5s; | |
25 | + -moz-transition:all 0.5s; /* Firefox 4 */ | |
26 | + -webkit-transition:all 0.5s; /* Safari and Chrome */ | |
27 | + -o-transition:all 0.5s; /* Opera */ | |
28 | +} | |
29 | +header h1{ | |
30 | + float:left; | |
31 | +} | |
32 | +header .logo{ | |
33 | + color:#fff; | |
34 | + font-size: 14px; | |
35 | + font-family:"Microsoft YaHei","WenQuanYi Micro Hei",SimHei,tahoma,sans-serif; | |
36 | + font-weight:lighter; | |
37 | +} | |
38 | +header .logo{ | |
39 | + float: left; | |
40 | +} | |
41 | +header .slogn{ | |
42 | + margin-left:15px; | |
43 | +} | |
44 | +header .btns{ | |
45 | + display: inline-block; | |
46 | + float: right; | |
47 | +} | |
48 | +header .btns a{ | |
49 | + line-height:42px; | |
50 | + color:#fff; | |
51 | +} | |
52 | +header .btns .btn{ | |
53 | + display:inline-block; | |
54 | + width: 50px; | |
55 | + height: 24px; | |
56 | + margin-left:10px; | |
57 | + line-height:24px; | |
58 | + background: #24a3ff; | |
59 | + text-align:center; | |
60 | + border-radius:3px; | |
61 | +} | |
62 | +header .btns .dived{ | |
63 | + line-height: 42px; | |
64 | + color:#fff; | |
65 | + margin-left:8px; | |
66 | +} | |
67 | + | |
68 | +header .btns .btn:hover{ | |
69 | + opacity:0.8; | |
70 | + filter: alpha(opacity=80); | |
71 | +} | |
72 | +.op-groups{ | |
73 | + width:230px; | |
74 | + float:left; | |
75 | + padding:15px 20px;; | |
76 | +} | |
77 | +.op-groups{ | |
78 | + -webkit-box-sizing: border-box; | |
79 | + -moz-box-sizing: border-box; | |
80 | + box-sizing: border-box; | |
81 | + border:10px #bbbbbb solid; | |
82 | + border-radius:10px; | |
83 | + background: #f5f5f5; | |
84 | + padding:15px 20px; | |
85 | + padding-bottom:5px; | |
86 | +} | |
87 | +.op-groups li{ | |
88 | + width: 100%; | |
89 | + margin-bottom:10px; | |
90 | + position: relative; | |
91 | +} | |
92 | +.op-groups li a{ | |
93 | + display:inline-block; | |
94 | + height: 40px; | |
95 | + line-height: 40px; | |
96 | + text-align: center; | |
97 | + font-size: 16px; | |
98 | + font-family:"Microsoft YaHei","WenQuanYi Micro Hei",SimHei,tahoma,sans-serif; | |
99 | + color:#666; | |
100 | + width: 100%; | |
101 | + background:#fff; | |
102 | +} | |
103 | +.op-groups li a:hover{ | |
104 | + background: #ccc; | |
105 | + color:#fff; | |
106 | +} | |
107 | +.op-groups li .icon-angle{ | |
108 | + margin-left: 10px; | |
109 | +} | |
110 | + | |
111 | +.simulator{ | |
112 | + width: 690px; | |
113 | + float:left; | |
114 | +} | |
115 | +.module{ | |
116 | + width:280px; | |
117 | + float:right; | |
118 | + -webkit-box-sizing: border-box; | |
119 | + -moz-box-sizing: border-box; | |
120 | + box-sizing: border-box; | |
121 | + border:10px #bbbbbb solid; | |
122 | + border-radius:10px; | |
123 | + background: #f5f5f5; | |
124 | + padding:15px 20px; | |
125 | + padding-bottom:5px; | |
126 | +} | |
127 | +.module hgroup{ | |
128 | + margin-bottom: 20px; | |
129 | +} | |
130 | +.module h2{ | |
131 | + width: 220px; | |
132 | + height: 40px; | |
133 | + line-height: 40px; | |
134 | + text-align: center; | |
135 | + font-size: 16px; | |
136 | + color:#666; | |
137 | + border:1px #bbbbbb solid; | |
138 | + background: #fff; | |
139 | + margin-bottom: 20px; | |
140 | +} | |
141 | +.module .slide{ | |
142 | + width: 220px; | |
143 | +} | |
144 | +.module .item-box{ | |
145 | + width: 240px; | |
146 | + overflow: hidden; | |
147 | +} | |
148 | + | |
149 | +.module .item{ | |
150 | + -webkit-box-sizing: border-box; | |
151 | + -moz-box-sizing: border-box; | |
152 | + box-sizing: border-box; | |
153 | + border:1px solid #f5f5f5; | |
154 | + width: 100px; | |
155 | + height: 85px; | |
156 | + float: left; | |
157 | + text-align: center; | |
158 | + margin-bottom: 20px; | |
159 | + font-size: 15px; | |
160 | + color:#666; | |
161 | + font-family:"Microsoft YaHei","WenQuanYi Micro Hei",SimHei,tahoma,sans-serif; | |
162 | + margin-right: 20px; | |
163 | +} | |
164 | +.module .item .m-icon{ | |
165 | + margin-bottom: 14px; | |
166 | +} | |
167 | +.simulator .wrap{ | |
168 | + width: 400px; | |
169 | + height: 800px; | |
170 | + background: url(../images/dist/admin_8.png) center top no-repeat; | |
171 | + margin: 0 auto; | |
172 | + position: relative; | |
173 | + | |
174 | +} | |
175 | +.simulator .wrap .inner{ | |
176 | + width: 377px; | |
177 | + height: 670px; | |
178 | + position: absolute; | |
179 | + overflow: auto; | |
180 | + left: 11px; | |
181 | + top:36px; | |
182 | + background:#fff; | |
183 | +} | |
184 | +/*内部占位标签*/ | |
185 | +.simulator .holder{ | |
186 | + -webkit-box-sizing: border-box; | |
187 | + -moz-box-sizing: border-box; | |
188 | + box-sizing: border-box; | |
189 | + position:relative; | |
190 | + width: 100%; | |
191 | + height: 180px; | |
192 | + background: #dddddd; | |
193 | + border:1px solid #dddddd; | |
194 | + cursor: pointer; | |
195 | +} | |
196 | +.simulator .holder:hover{ | |
197 | + border:1px dashed #f60; | |
198 | +} | |
199 | +.simulator .wrap .inner .ops{ | |
200 | + display: inline-block; | |
201 | + position: absolute; | |
202 | + right: 10px; | |
203 | +} | |
204 | +.simulator .wrap .inner .title{ | |
205 | + display: inline-block; | |
206 | + position: absolute; | |
207 | + left: 10px; | |
208 | + line-height:30px; | |
209 | +} | |
210 | +.simulator .holder .m-btn{ | |
211 | + display: inline-block; | |
212 | + width: 40px; | |
213 | + height: 30px; | |
214 | + text-align: center; | |
215 | + line-height: 30px; | |
216 | + background: #777; | |
217 | + color:#fff; | |
218 | +} | |
219 | +.simulator .holder .m-btn:hover{ | |
220 | + opacity: .8; | |
221 | + filter: alpha(opacity=80); | |
222 | +} | |
223 | + | |
224 | +.flexslider{ | |
225 | + height: 460px; | |
226 | + position: relative; | |
227 | +} | |
228 | +.flexslider .slide { | |
229 | + display: block; | |
230 | + width: 100%; | |
231 | + background-size: cover | |
232 | +} | |
233 | + | |
234 | +.flexslider .slides { | |
235 | + z-index: 0; | |
236 | + height: 420px; | |
237 | + margin-bottom: 9px; | |
238 | +} | |
239 | +.flexslider .slider .flex-direction-nav { | |
240 | + margin: 0 auto | |
241 | +} | |
242 | + | |
243 | +.flexslider .slider .flex-direction-nav a { | |
244 | + position: absolute | |
245 | +} | |
246 | + | |
247 | +.flexslider .slider .flex-direction-nav a:hover { | |
248 | + opacity: .8; | |
249 | + filter: alpha(Opacity=80) | |
250 | +} | |
251 | + | |
252 | +.flexslider .flex-control-nav { | |
253 | + text-align: center; | |
254 | +} | |
255 | + | |
256 | +.flexslider .flex-control-nav li { | |
257 | + display: inline-block; | |
258 | + margin: 0 5px | |
259 | +} | |
260 | + | |
261 | +.flexslider .flex-control-nav a { | |
262 | + overflow: hidden; | |
263 | + text-indent: 9999px; | |
264 | + display: inline-block; | |
265 | + background-image: url(../images/dist/admin_sprite.png); | |
266 | + background-position: -138px -186px; | |
267 | + width: 8px; | |
268 | + height: 8px; | |
269 | +} | |
270 | + | |
271 | +.flexslider .flex-control-nav a.flex-active { | |
272 | + background-image: url(../images/dist/admin_sprite.png); | |
273 | + background-position: -124px -186px; | |
274 | + width: 8px; | |
275 | + height: 8px; | |
276 | +} | |
277 | + | |
278 | +.flexslider .flex-direction-nav .flex-prev { | |
279 | + position: absolute; | |
280 | + bottom: 12px; | |
281 | + left: 0; | |
282 | + display: inline-block; | |
283 | + background-image: url(../images/dist/admin_sprite.png); | |
284 | + background-position: -22px -186px; | |
285 | + width: 16px; | |
286 | + height: 20px; | |
287 | +} | |
288 | +.flexslider .flex-direction-nav .flex-next { | |
289 | + display: inline-block; | |
290 | + position: absolute; | |
291 | + bottom: 12px; | |
292 | + right: 0px; | |
293 | + background-image: url(../images/dist/admin_sprite.png); | |
294 | + background-position: 0px -186px; | |
295 | + width: 16px; | |
296 | + height: 20px; | |
297 | +} | |
298 | + | |
299 | +.container{ | |
300 | + width:1200px; | |
301 | + margin:0 auto; | |
302 | +} | |
303 | +.t-background{ | |
304 | + transition:background 0.5s; | |
305 | + -moz-transition:background 0.5s; /* Firefox 4 */ | |
306 | + -webkit-transition:background 0.5s; /* Safari and Chrome */ | |
307 | + -o-transition:background 0.5s; /* Opera */ | |
308 | +} | |
309 | +.t-all{ | |
310 | + transition:all 0.5s; | |
311 | + -moz-transition:all 0.5s; /* Firefox 4 */ | |
312 | + -webkit-transition:all 0.5s; /* Safari and Chrome */ | |
313 | + -o-transition:all 0.5s; /* Opera */ | |
314 | +} | |
315 | +body{ | |
316 | + background:#e6e6e6; | |
317 | +} | |
318 | +header{ | |
319 | + height: 42px; | |
320 | + background:#323232; | |
321 | + margin-bottom:30px; | |
322 | + transition:all 0.5s; | |
323 | + -moz-transition:all 0.5s; /* Firefox 4 */ | |
324 | + -webkit-transition:all 0.5s; /* Safari and Chrome */ | |
325 | + -o-transition:all 0.5s; /* Opera */ | |
326 | +} | |
327 | +header h1{ | |
328 | + float:left; | |
329 | +} | |
330 | +header .logo{ | |
331 | + color:#fff; | |
332 | + font-size: 14px; | |
333 | + font-family:"Microsoft YaHei","WenQuanYi Micro Hei",SimHei,tahoma,sans-serif; | |
334 | + font-weight:lighter; | |
335 | +} | |
336 | +header .logo{ | |
337 | + float: left; | |
338 | +} | |
339 | +header .slogn{ | |
340 | + margin-left:15px; | |
341 | +} | |
342 | +header .btns{ | |
343 | + display: inline-block; | |
344 | + float: right; | |
345 | +} | |
346 | +header .btns a{ | |
347 | + line-height:42px; | |
348 | + color:#fff; | |
349 | +} | |
350 | +header .btns .btn{ | |
351 | + display:inline-block; | |
352 | + width: 50px; | |
353 | + height: 24px; | |
354 | + margin-left:10px; | |
355 | + line-height:24px; | |
356 | + background: #24a3ff; | |
357 | + text-align:center; | |
358 | + border-radius:3px; | |
359 | +} | |
360 | +header .btns .dived{ | |
361 | + line-height: 42px; | |
362 | + color:#fff; | |
363 | + margin-left:8px; | |
364 | +} | |
365 | + | |
366 | +header .btns .btn:hover{ | |
367 | + opacity:0.8; | |
368 | + filter: alpha(opacity=80); | |
369 | +} | |
370 | +.op-groups{ | |
371 | + width:230px; | |
372 | + float:left; | |
373 | + padding:15px 20px;; | |
374 | +} | |
375 | +.op-groups{ | |
376 | + -webkit-box-sizing: border-box; | |
377 | + -moz-box-sizing: border-box; | |
378 | + box-sizing: border-box; | |
379 | + border:10px #bbbbbb solid; | |
380 | + border-radius:10px; | |
381 | + background: #f5f5f5; | |
382 | + padding:15px 20px; | |
383 | + padding-bottom:5px; | |
384 | +} | |
385 | +.op-groups li{ | |
386 | + width: 100%; | |
387 | + margin-bottom:10px; | |
388 | + position: relative; | |
389 | +} | |
390 | +.op-groups li a{ | |
391 | + display:inline-block; | |
392 | + height: 40px; | |
393 | + line-height: 40px; | |
394 | + text-align: center; | |
395 | + font-size: 16px; | |
396 | + font-family:"Microsoft YaHei","WenQuanYi Micro Hei",SimHei,tahoma,sans-serif; | |
397 | + color:#666; | |
398 | + width: 100%; | |
399 | + background:#fff; | |
400 | +} | |
401 | +.op-groups li a:hover{ | |
402 | + background: #ccc; | |
403 | + color:#fff; | |
404 | +} | |
405 | +.op-groups li .icon-angle{ | |
406 | + margin-left: 10px; | |
407 | +} | |
408 | + | |
409 | +.simulator{ | |
410 | + width: 690px; | |
411 | + float:left; | |
412 | +} | |
413 | +.module{ | |
414 | + width:280px; | |
415 | + float:right; | |
416 | + -webkit-box-sizing: border-box; | |
417 | + -moz-box-sizing: border-box; | |
418 | + box-sizing: border-box; | |
419 | + border:10px #bbbbbb solid; | |
420 | + border-radius:10px; | |
421 | + background: #f5f5f5; | |
422 | + padding:15px 20px; | |
423 | + padding-bottom:5px; | |
424 | +} | |
425 | +.module hgroup{ | |
426 | + margin-bottom: 20px; | |
427 | +} | |
428 | +.module h2{ | |
429 | + width: 220px; | |
430 | + height: 40px; | |
431 | + line-height: 40px; | |
432 | + text-align: center; | |
433 | + font-size: 16px; | |
434 | + color:#666; | |
435 | + border:1px #bbbbbb solid; | |
436 | + background: #fff; | |
437 | + margin-bottom: 20px; | |
438 | +} | |
439 | +.module .slide{ | |
440 | + width: 220px; | |
441 | +} | |
442 | +.module .item-box{ | |
443 | + width: 240px; | |
444 | + overflow: hidden; | |
445 | +} | |
446 | + | |
447 | +.module .item{ | |
448 | + -webkit-box-sizing: border-box; | |
449 | + -moz-box-sizing: border-box; | |
450 | + box-sizing: border-box; | |
451 | + border:1px solid #f5f5f5; | |
452 | + width: 100px; | |
453 | + height: 85px; | |
454 | + float: left; | |
455 | + text-align: center; | |
456 | + margin-bottom: 20px; | |
457 | + font-size: 15px; | |
458 | + color:#666; | |
459 | + font-family:"Microsoft YaHei","WenQuanYi Micro Hei",SimHei,tahoma,sans-serif; | |
460 | + margin-right: 20px; | |
461 | +} | |
462 | +.module .item .m-icon{ | |
463 | + margin-bottom: 14px; | |
464 | +} | |
465 | +.simulator .wrap{ | |
466 | + width: 400px; | |
467 | + height: 800px; | |
468 | + background: url(../images/dist/admin_8.png) center top no-repeat; | |
469 | + margin: 0 auto; | |
470 | + position: relative; | |
471 | + | |
472 | +} | |
473 | +.simulator .wrap .inner{ | |
474 | + width: 377px; | |
475 | + height: 670px; | |
476 | + position: absolute; | |
477 | + overflow: auto; | |
478 | + left: 11px; | |
479 | + top:36px; | |
480 | + background:#fff; | |
481 | +} | |
482 | +/*内部占位标签*/ | |
483 | +.simulator .holder{ | |
484 | + -webkit-box-sizing: border-box; | |
485 | + -moz-box-sizing: border-box; | |
486 | + box-sizing: border-box; | |
487 | + position:relative; | |
488 | + width: 100%; | |
489 | + height: 180px; | |
490 | + background: #dddddd; | |
491 | + border:1px solid #dddddd; | |
492 | + cursor: pointer; | |
493 | +} | |
494 | +.simulator .holder:hover{ | |
495 | + border:1px dashed #f60; | |
496 | +} | |
497 | +.simulator .wrap .inner .ops{ | |
498 | + display: inline-block; | |
499 | + position: absolute; | |
500 | + right: 10px; | |
501 | +} | |
502 | +.simulator .wrap .inner .title{ | |
503 | + display: inline-block; | |
504 | + position: absolute; | |
505 | + left: 10px; | |
506 | + line-height:30px; | |
507 | +} | |
508 | +.simulator .holder .m-btn{ | |
509 | + display: inline-block; | |
510 | + width: 40px; | |
511 | + height: 30px; | |
512 | + text-align: center; | |
513 | + line-height: 30px; | |
514 | + background: #777; | |
515 | + color:#fff; | |
516 | +} | |
517 | +.simulator .holder .m-btn:hover{ | |
518 | + opacity: .8; | |
519 | + filter: alpha(opacity=80); | |
520 | +} | |
521 | + | |
522 | +.flexslider{ | |
523 | + height: 460px; | |
524 | + position: relative; | |
525 | +} | |
526 | +.flexslider .slide { | |
527 | + display: block; | |
528 | + width: 100%; | |
529 | + background-size: cover | |
530 | +} | |
531 | + | |
532 | +.flexslider .slides { | |
533 | + z-index: 0; | |
534 | + height: 420px; | |
535 | + margin-bottom: 9px; | |
536 | +} | |
537 | +.flexslider .slider .flex-direction-nav { | |
538 | + margin: 0 auto | |
539 | +} | |
540 | + | |
541 | +.flexslider .slider .flex-direction-nav a { | |
542 | + position: absolute | |
543 | +} | |
544 | + | |
545 | +.flexslider .slider .flex-direction-nav a:hover { | |
546 | + opacity: .8; | |
547 | + filter: alpha(Opacity=80) | |
548 | +} | |
549 | + | |
550 | +.flexslider .flex-control-nav { | |
551 | + text-align: center; | |
552 | +} | |
553 | + | |
554 | +.flexslider .flex-control-nav li { | |
555 | + display: inline-block; | |
556 | + margin: 0 5px | |
557 | +} | |
558 | + | |
559 | +.flexslider .flex-control-nav a { | |
560 | + overflow: hidden; | |
561 | + text-indent: 9999px; | |
562 | + display: inline-block; | |
563 | + background-image: url(../images/dist/admin_sprite.png); | |
564 | + background-position: -138px -186px; | |
565 | + width: 8px; | |
566 | + height: 8px; | |
567 | +} | |
568 | + | |
569 | +.flexslider .flex-control-nav a.flex-active { | |
570 | + background-image: url(../images/dist/admin_sprite.png); | |
571 | + background-position: -124px -186px; | |
572 | + width: 8px; | |
573 | + height: 8px; | |
574 | +} | |
575 | + | |
576 | +.flexslider .flex-direction-nav .flex-prev { | |
577 | + position: absolute; | |
578 | + bottom: 12px; | |
579 | + left: 0; | |
580 | + display: inline-block; | |
581 | + background-image: url(../images/dist/admin_sprite.png); | |
582 | + background-position: -22px -186px; | |
583 | + width: 16px; | |
584 | + height: 20px; | |
585 | +} | |
586 | +.flexslider .flex-direction-nav .flex-next { | |
587 | + display: inline-block; | |
588 | + position: absolute; | |
589 | + bottom: 12px; | |
590 | + right: 0px; | |
591 | + background-image: url(../images/dist/admin_sprite.png); | |
592 | + background-position: 0px -186px; | |
593 | + width: 16px; | |
594 | + height: 20px; | |
595 | +} | |
596 | + | |
597 | +@import "icon.css"; | |
598 | +@import "icon_admin.css"; | |
599 | +* { | |
600 | + -moz-tap-highlight-color: rgba(0, 0, 0, 0); | |
601 | + -o-tap-highlight-color: rgba(0, 0, 0, 0); | |
602 | + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
603 | +} | |
604 | +html { | |
605 | + height: 100%; | |
606 | +} | |
607 | +html, | |
608 | +body, | |
609 | +div, | |
610 | +span, | |
611 | +object, | |
612 | +iframe, | |
613 | +h1, | |
614 | +h2, | |
615 | +h3, | |
616 | +h4, | |
617 | +h5, | |
618 | +h6, | |
619 | +p, | |
620 | +blockquote, | |
621 | +pre, | |
622 | +abbr, | |
623 | +address, | |
624 | +cite, | |
625 | +code, | |
626 | +del, | |
627 | +dfn, | |
628 | +em, | |
629 | +img, | |
630 | +ins, | |
631 | +kbd, | |
632 | +q, | |
633 | +samp, | |
634 | +small, | |
635 | +strong, | |
636 | +sub, | |
637 | +sup, | |
638 | +var, | |
639 | +b, | |
640 | +i, | |
641 | +dl, | |
642 | +dt, | |
643 | +dd, | |
644 | +ol, | |
645 | +ul, | |
646 | +li, | |
647 | +fieldset, | |
648 | +form, | |
649 | +label, | |
650 | +legend, | |
651 | +table, | |
652 | +caption, | |
653 | +tbody, | |
654 | +tfoot, | |
655 | +thead, | |
656 | +tr, | |
657 | +th, | |
658 | +td, | |
659 | +article, | |
660 | +aside, | |
661 | +canvas, | |
662 | +details, | |
663 | +figcaption, | |
664 | +figure, | |
665 | +footer, | |
666 | +header, | |
667 | +menu, | |
668 | +nav, | |
669 | +section, | |
670 | +summary, | |
671 | +time, | |
672 | +mark, | |
673 | +audio, | |
674 | +video { | |
675 | + margin: 0; | |
676 | + padding: 0; | |
677 | + border: 0; | |
678 | + outline: 0; | |
679 | + vertical-align: baseline; | |
680 | + background: transparent; | |
681 | +} | |
682 | +body { | |
683 | + font: 12px/1.5 sans-serif; | |
684 | + position: relative; | |
685 | + color: #333; | |
686 | + min-height: 100%; | |
687 | + overflow-x: hidden; | |
688 | +} | |
689 | +article, | |
690 | +aside, | |
691 | +details, | |
692 | +figcaption, | |
693 | +figure, | |
694 | +footer, | |
695 | +header, | |
696 | +menu, | |
697 | +nav, | |
698 | +section { | |
699 | + display: block; | |
700 | +} | |
701 | +nav ul { | |
702 | + list-style: none; | |
703 | +} | |
704 | +li { | |
705 | + list-style: none; | |
706 | +} | |
707 | +em { | |
708 | + font-style: normal; | |
709 | +} | |
710 | +ins { | |
711 | + background-color: #ff9; | |
712 | + color: #000; | |
713 | + text-decoration: none; | |
714 | +} | |
715 | +mark { | |
716 | + background-color: #ff9; | |
717 | + color: #000; | |
718 | + font-style: italic; | |
719 | + font-weight: bold; | |
720 | +} | |
721 | +table { | |
722 | + border-collapse: collapse; | |
723 | + border-spacing: 0; | |
724 | +} | |
725 | +hr { | |
726 | + display: block; | |
727 | + height: 1px; | |
728 | + border: 0; | |
729 | + border-top: 1px solid #cccccc; | |
730 | + margin: 0; | |
731 | + padding: 0; | |
732 | +} | |
733 | +input, | |
734 | +select { | |
735 | + vertical-align: middle; | |
736 | +} | |
737 | +input:focus, | |
738 | +button:focus { | |
739 | + outline: none; | |
740 | +} | |
741 | +a { | |
742 | + color: #333; | |
743 | + text-decoration: none; | |
744 | + margin: 0; | |
745 | + padding: 0; | |
746 | + vertical-align: baseline; | |
747 | + background: transparent; | |
748 | +} | |
749 | +a:active, | |
750 | +a:visited { | |
751 | + color: #333; | |
752 | +} | |
753 | +input, | |
754 | +img { | |
755 | + border: 0; | |
756 | + vertical-align: middle; | |
757 | +} | |
758 | +textarea, | |
759 | +input, | |
760 | +a { | |
761 | + -webkit-tap-highlight-color: transparent; | |
762 | +} | |
763 | +/* 清除浮动 */ | |
764 | +.clearfix, | |
765 | +.clear { | |
766 | + display: inline-table; | |
767 | + zoom: 1; | |
768 | +} | |
769 | +* html .clearfix, | |
770 | +* html .clear { | |
771 | + height: 1%; | |
772 | +} | |
773 | +* html .clearfix, | |
774 | +* html .clear { | |
775 | + zoom: 1; | |
776 | +} | |
777 | +.clearfix, | |
778 | +.clear { | |
779 | + display: block; | |
780 | +} | |
781 | +.clear { | |
782 | + clear: both; | |
783 | +} | |
784 | +.clearfix:after, | |
785 | +.clear:after { | |
786 | + content: " "; | |
787 | + display: block; | |
788 | + height: 0; | |
789 | + clear: both; | |
790 | + visibility: hidden; | |
791 | + line-height: 0px; | |
792 | +} | |
793 | +.border-1px { | |
794 | + position: relative; | |
795 | +} | |
796 | +.border-1px:before, | |
797 | +.border-1px:after { | |
798 | + border-top: 1px solid #e2e2e2; | |
799 | + content: ''; | |
800 | + display: block; | |
801 | + width: 100%; | |
802 | + position: absolute; | |
803 | + left: 0; | |
804 | + z-index: 1; | |
805 | +} | |
806 | +.border-1px:before { | |
807 | + top: 0; | |
808 | +} | |
809 | +.border-1px:after { | |
810 | + bottom: 0; | |
811 | +} | |
812 | +.border-1px.border-top:after { | |
813 | + display: none; | |
814 | +} | |
815 | +.border-1px.border-bottom:before { | |
816 | + display: none; | |
817 | +} | |
818 | +.border-1px-full { | |
819 | + position: relative; | |
820 | +} | |
821 | +.border-1px-full:after { | |
822 | + content: ''; | |
823 | + position: absolute; | |
824 | + top: 0; | |
825 | + left: 0; | |
826 | + z-index: 1; | |
827 | + border: 1px solid #e2e2e2; | |
828 | + -webkit-box-sizing: border-box; | |
829 | + box-sizing: border-box; | |
830 | + width: 200%; | |
831 | + height: 200%; | |
832 | + -webkit-transform: scale(0.5); | |
833 | + transform: scale(0.5); | |
834 | + -webkit-transform-origin: left top; | |
835 | + transform-origin: left top; | |
836 | +} | |
837 | +@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) { | |
838 | + .border-1px::after, | |
839 | + .border-1px::before { | |
840 | + -webkit-transform: scaleY(0.7); | |
841 | + -webkit-transform-origin: 0 0; | |
842 | + transform: scaleY(0.7); | |
843 | + } | |
844 | + .border-1px::after { | |
845 | + -webkit-transform-origin: left bottom; | |
846 | + } | |
847 | +} | |
848 | +@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { | |
849 | + .border-1px::after, | |
850 | + .border-1px::before { | |
851 | + -webkit-transform: scaleY(0.5); | |
852 | + transform: scaleY(0.5); | |
853 | + } | |
854 | +} | |
855 | +/*************************************************** | |
856 | +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等; | |
857 | +* update : 2015/02/03; | |
858 | +* use : 按需使用对应class即可; | |
859 | +* desc : ; | |
860 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
861 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
862 | +****************************************************/ | |
863 | +.text-left { | |
864 | + text-align: left !important; | |
865 | +} | |
866 | +.text-center { | |
867 | + text-align: center !important; | |
868 | +} | |
869 | +.text-right { | |
870 | + text-align: right !important; | |
871 | +} | |
872 | +.text-nowrap { | |
873 | + white-space: nowrap !important; | |
874 | +} | |
875 | +.text-overflow { | |
876 | + overflow: hidden; | |
877 | + text-overflow: ellipsis; | |
878 | +} | |
879 | +.text-lowercase { | |
880 | + text-transform: lowercase; | |
881 | +} | |
882 | +.text-uppercase { | |
883 | + text-transform: uppercase; | |
884 | +} | |
885 | +.text-capitalize { | |
886 | + text-transform: capitalize; | |
887 | +} | |
888 | +.text-indent { | |
889 | + text-indent: -999em; | |
890 | +} | |
891 | +.float-left { | |
892 | + float: left !important; | |
893 | +} | |
894 | +.float-right { | |
895 | + float: right !important; | |
896 | +} | |
897 | +.float-none { | |
898 | + float: none !important; | |
899 | +} | |
900 | +.display-block { | |
901 | + display: block !important; | |
902 | +} | |
903 | +.clearfix:after { | |
904 | + content: ''; | |
905 | + display: block; | |
906 | + height: 0; | |
907 | + overflow: hidden; | |
908 | + font-size: 0; | |
909 | + clear: both; | |
910 | +} | |
911 | +.m-hide { | |
912 | + display: none !important; | |
913 | + visibility: hidden; | |
914 | + opacity: 0; | |
915 | + z-index: -1; | |
916 | +} | |
917 | +.m-hidden { | |
918 | + visibility: hidden; | |
919 | + opacity: 0; | |
920 | + z-index: -1; | |
921 | +} | |
922 | +.m-show { | |
923 | + display: block !important; | |
924 | + visibility: visible; | |
925 | +} | |
926 | +.m-separate { | |
927 | + position: relative; | |
928 | + width: 100%; | |
929 | + line-height: 50px; | |
930 | + text-align: center; | |
931 | + font-size: 12px; | |
932 | + color: #666; | |
933 | + overflow: visible; | |
934 | +} | |
935 | +.m-more, | |
936 | +a.m-more { | |
937 | + display: block; | |
938 | + font-size: 12px; | |
939 | + text-align: center; | |
940 | + color: #999; | |
941 | + line-height: 45px; | |
942 | + background-color: #FFF; | |
943 | +} | |
944 | +.m-animate-hide { | |
945 | + -webkit-transform: translate(0, 100%) translateZ(0) !important; | |
946 | + -ms-transform: translate(0, 100%) translateZ(0) !important; | |
947 | + -o-transform: translate(0, 100%) translateZ(0) !important; | |
948 | + transform: translate(0, 100%) translateZ(0) !important; | |
949 | +} | |
950 | +.m-animate-show { | |
951 | + -webkit-transform: translate(0, 0) translateZ(0) !important; | |
952 | + -ms-transform: translate(0, 0) translateZ(0) !important; | |
953 | + -o-transform: translate(0, 0) translateZ(0) !important; | |
954 | + transform: translate(0, 0) translateZ(0) !important; | |
955 | +} | |
956 | +.hidden { | |
957 | + opacity: 0; | |
958 | + z-index: -1; | |
959 | +} | |
960 | +.mask-hidden { | |
961 | + opacity: 0; | |
962 | +} | |
963 | +.font-white { | |
964 | + color: #FFF !important; | |
965 | +} | |
966 | +.font-white-opacity { | |
967 | + color: rgba(255, 255, 255, 0.8) !important; | |
968 | +} | |
969 | +.font-deep { | |
970 | + color: #333 !important; | |
971 | +} | |
972 | +.font-gray { | |
973 | + color: #666 !important; | |
974 | +} | |
975 | +.font-light { | |
976 | + color: #999 !important; | |
977 | +} | |
978 | +.font-yellow { | |
979 | + color: #FF9D2C !important; | |
980 | +} | |
981 | +.font-orange { | |
982 | + color: #FF6B00 !important; | |
983 | +} | |
984 | +.font-red { | |
985 | + color: #fa4535 !important; | |
986 | +} | |
987 | +.font-green { | |
988 | + color: #23ac38 !important; | |
989 | +} | |
990 | +.background-white { | |
991 | + background-color: #FFF; | |
992 | +} | |
993 | +.background-gray { | |
994 | + background-color: #666 !important; | |
995 | +} | |
996 | +.background-deep-gray { | |
997 | + background-color: #444 !important; | |
998 | +} | |
999 | +.background-yellow { | |
1000 | + background-color: #FF9D2C !important; | |
1001 | +} | |
1002 | +.background-orange { | |
1003 | + background-color: #FF6B00 !important; | |
1004 | +} | |
1005 | +.background-red { | |
1006 | + background-color: #fa4535 !important; | |
1007 | +} | |
1008 | +.background-green { | |
1009 | + background-color: #23ac38 !important; | |
1010 | +} | |
1011 | +.position-relative { | |
1012 | + position: relative; | |
1013 | +} | |
1014 | +.z-index2 { | |
1015 | + z-index: 2; | |
1016 | +} | |
1017 | +.width-auto { | |
1018 | + width: auto !important; | |
1019 | +} | |
1020 | +.width-200p { | |
1021 | + width: 200%; | |
1022 | +} | |
1023 | +.m-col-1 { | |
1024 | + width: 100% !important; | |
1025 | +} | |
1026 | +.m-col-2 { | |
1027 | + width: 50% !important; | |
1028 | +} | |
1029 | +.m-col-3 { | |
1030 | + width: 33.33% !important; | |
1031 | +} | |
1032 | +.m-col-4 { | |
1033 | + width: 25% !important; | |
1034 | +} | |
1035 | +/*************************************************** | |
1036 | +* feature : 全局头部,提供默认 深色(绿底白字) & 浅色(白底黑字)主题; | |
1037 | +* update : 2015/02/03; | |
1038 | +* use : .m-header; | |
1039 | +* extend : .header-*; | |
1040 | +* example : <header class="m-header header-light"></header>; | |
1041 | +* desc : 默认为深色主题, 通过 .header-light 来引用浅色主题; | |
1042 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1043 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1044 | +****************************************************/ | |
1045 | +.m-header { | |
1046 | + z-index: 5; | |
1047 | + color: #FFF; | |
1048 | + color: #ffffff; | |
1049 | + background-color: #23AC38; | |
1050 | + position: relative; | |
1051 | +} | |
1052 | +.m-header .head { | |
1053 | + padding: 0 50px; | |
1054 | + box-sizing: border-box; | |
1055 | + height: 44px; | |
1056 | + text-align: center; | |
1057 | +} | |
1058 | +.m-header .head h1 { | |
1059 | + display: inline-block; | |
1060 | + vertical-align: middle; | |
1061 | + line-height: 44px; | |
1062 | + font-weight: normal; | |
1063 | + font-size: 18px; | |
1064 | + white-space: nowrap; | |
1065 | + text-overflow: ellipsis; | |
1066 | + overflow: hidden; | |
1067 | +} | |
1068 | +.m-header .lt-bar, | |
1069 | +.m-header .rt-bar { | |
1070 | + position: absolute; | |
1071 | + left: 0; | |
1072 | + top: 0; | |
1073 | + bottom: 0; | |
1074 | + min-width: 44px; | |
1075 | + line-height: 44px; | |
1076 | + height: 100%; | |
1077 | + text-align: center; | |
1078 | + cursor: pointer; | |
1079 | + z-index: 1; | |
1080 | +} | |
1081 | +.m-header .lt-bar { | |
1082 | + float: left; | |
1083 | +} | |
1084 | +.m-header .lt-bar.text { | |
1085 | + padding-left: 10px; | |
1086 | + text-align: left; | |
1087 | +} | |
1088 | +.m-header .rt-bar { | |
1089 | + float: right; | |
1090 | + left: auto; | |
1091 | + right: 0; | |
1092 | +} | |
1093 | +.m-header .rt-bar.text { | |
1094 | + padding-right: 10px; | |
1095 | + text-align: right; | |
1096 | +} | |
1097 | +.m-header .text { | |
1098 | + text-align: center; | |
1099 | + line-height: 44px; | |
1100 | + font-size: 15px; | |
1101 | + color: #FFF; | |
1102 | +} | |
1103 | +.m-header.header-light { | |
1104 | + background-color: #FFF; | |
1105 | + color: #666; | |
1106 | +} | |
1107 | +.m-header.header-light .text { | |
1108 | + color: #666; | |
1109 | +} | |
1110 | +.m-header.header-light .m-input { | |
1111 | + color: #333; | |
1112 | +} | |
1113 | +.m-header.header-light .m-input::-webkit-input-placeholder { | |
1114 | + color: #999; | |
1115 | +} | |
1116 | +/* | |
1117 | + * Swiper 2.7.0 | |
1118 | + * Mobile touch slider and framework with hardware accelerated transitions | |
1119 | + * | |
1120 | + * http://www.idangero.us/sliders/swiper/ | |
1121 | + * | |
1122 | + * Copyright 2010-2014, Vladimir Kharlampidi | |
1123 | + * The iDangero.us | |
1124 | + * http://www.idangero.us/ | |
1125 | + * | |
1126 | + * Licensed under GPL & MIT | |
1127 | + * | |
1128 | + * Released on: August 30, 2014 | |
1129 | +*/ | |
1130 | +/* =============================================================== | |
1131 | +Basic Swiper Styles | |
1132 | +================================================================*/ | |
1133 | +.swiper-container { | |
1134 | + margin: 0 auto; | |
1135 | + position: relative; | |
1136 | + overflow: hidden; | |
1137 | + -webkit-backface-visibility: hidden; | |
1138 | + -moz-backface-visibility: hidden; | |
1139 | + -ms-backface-visibility: hidden; | |
1140 | + -o-backface-visibility: hidden; | |
1141 | + backface-visibility: hidden; | |
1142 | + /* Fix of Webkit flickering */ | |
1143 | + z-index: 1; | |
1144 | +} | |
1145 | +.swiper-wrapper { | |
1146 | + position: relative; | |
1147 | + width: 100%; | |
1148 | + -webkit-transition-property: -webkit-transform, left, top; | |
1149 | + -webkit-transition-duration: 0s; | |
1150 | + -webkit-transform: translate3d(0px, 0, 0); | |
1151 | + -webkit-transition-timing-function: ease; | |
1152 | + -moz-transition-property: -moz-transform, left, top; | |
1153 | + -moz-transition-duration: 0s; | |
1154 | + -moz-transform: translate3d(0px, 0, 0); | |
1155 | + -moz-transition-timing-function: ease; | |
1156 | + -o-transition-property: -o-transform, left, top; | |
1157 | + -o-transition-duration: 0s; | |
1158 | + -o-transform: translate3d(0px, 0, 0); | |
1159 | + -o-transition-timing-function: ease; | |
1160 | + -o-transform: translate(0px, 0px); | |
1161 | + -ms-transition-property: -ms-transform, left, top; | |
1162 | + -ms-transition-duration: 0s; | |
1163 | + -ms-transform: translate3d(0px, 0, 0); | |
1164 | + -ms-transition-timing-function: ease; | |
1165 | + transition-property: transform, left, top; | |
1166 | + transition-duration: 0s; | |
1167 | + transform: translate3d(0px, 0, 0); | |
1168 | + transition-timing-function: ease; | |
1169 | + -webkit-box-sizing: content-box; | |
1170 | + -moz-box-sizing: content-box; | |
1171 | + box-sizing: content-box; | |
1172 | +} | |
1173 | +.swiper-free-mode > .swiper-wrapper { | |
1174 | + -webkit-transition-timing-function: ease-out; | |
1175 | + -moz-transition-timing-function: ease-out; | |
1176 | + -ms-transition-timing-function: ease-out; | |
1177 | + -o-transition-timing-function: ease-out; | |
1178 | + transition-timing-function: ease-out; | |
1179 | + margin: 0 auto; | |
1180 | +} | |
1181 | +.swiper-slide { | |
1182 | + float: left; | |
1183 | + -webkit-box-sizing: content-box; | |
1184 | + -moz-box-sizing: content-box; | |
1185 | + box-sizing: content-box; | |
1186 | +} | |
1187 | +/* IE10 Windows Phone 8 Fixes */ | |
1188 | +.swiper-wp8-horizontal { | |
1189 | + -ms-touch-action: pan-y; | |
1190 | +} | |
1191 | +.swiper-wp8-vertical { | |
1192 | + -ms-touch-action: pan-x; | |
1193 | +} | |
1194 | +/* =============================================================== | |
1195 | +Your custom styles, here you need to specify container's and slide's | |
1196 | +sizes, pagination, etc. | |
1197 | +================================================================*/ | |
1198 | +.swiper-container { | |
1199 | + /* Specify Swiper's Size: */ | |
1200 | + /*width:200px; | |
1201 | + height: 100px;*/ | |
1202 | +} | |
1203 | +.swiper-slide { | |
1204 | + /* Specify Slides's Size: */ | |
1205 | + /*width: 100%; | |
1206 | + height: 100%;*/ | |
1207 | +} | |
1208 | +.swiper-slide-active { | |
1209 | + /* Specific active slide styling: */ | |
1210 | +} | |
1211 | +.swiper-slide-visible { | |
1212 | + /* Specific visible slide styling: */ | |
1213 | +} | |
1214 | +/* =============================================================== | |
1215 | +Pagination Styles | |
1216 | +================================================================*/ | |
1217 | +.swiper-pagination-switch { | |
1218 | + /* Stylize pagination button: */ | |
1219 | +} | |
1220 | +.swiper-active-switch { | |
1221 | + /* Specific active button style: */ | |
1222 | +} | |
1223 | +.swiper-visible-switch { | |
1224 | + /* Specific visible button style: */ | |
1225 | +} | |
1226 | +.swiper-pagination { | |
1227 | + position: absolute; | |
1228 | + text-align: center; | |
1229 | + -webkit-transition: 300ms; | |
1230 | + -moz-transition: 300ms; | |
1231 | + -o-transition: 300ms; | |
1232 | + transition: 300ms; | |
1233 | + -webkit-transform: translate3d(0, 0, 0); | |
1234 | + -ms-transform: translate3d(0, 0, 0); | |
1235 | + -o-transform: translate3d(0, 0, 0); | |
1236 | + transform: translate3d(0, 0, 0); | |
1237 | + z-index: 10; | |
1238 | +} | |
1239 | +.swiper-pagination { | |
1240 | + bottom: 10px; | |
1241 | + left: 0; | |
1242 | + width: 100%; | |
1243 | +} | |
1244 | +.swiper-pagination .swiper-pagination-switch { | |
1245 | + margin: 0 5px; | |
1246 | +} | |
1247 | +.swiper-pagination-switch { | |
1248 | + width: 8px; | |
1249 | + height: 8px; | |
1250 | + display: inline-block; | |
1251 | + /*background: #FFF;*/ | |
1252 | + background: none; | |
1253 | + -webkit-box-shadow: inset 0 0 0 2px #ddd; | |
1254 | + box-shadow: inset 0 0 0 2px #ddd; | |
1255 | + -webkit-box-shadow: inset hoff voff blur color; | |
1256 | + box-shadow: inset hoff voff blur color; | |
1257 | + border-radius: 100%; | |
1258 | + /* -webkit-transition: all ease-in-out .15s; | |
1259 | + -o-transition: all ease-in-out .15s; | |
1260 | + transition: all ease-in-out .15s;*/ | |
1261 | +} | |
1262 | +.swiper-active-switch { | |
1263 | + opacity: 1; | |
1264 | + -webkit-box-shadow: inset 0 0 0 4px #23AC38; | |
1265 | + box-shadow: inset 0 0 0 4px #23AC38; | |
1266 | + /*background: #23AC38;*/ | |
1267 | + /*-webkit-box-shadow: none;*/ | |
1268 | + /*box-shadow: none;*/ | |
1269 | +} | |
1270 | +.m-slider { | |
1271 | + height: 120px; | |
1272 | + position: relative; | |
1273 | + overflow: hidden; | |
1274 | + font-size: 0; | |
1275 | +} | |
1276 | +.m-slider a { | |
1277 | + display: block; | |
1278 | + width: 100%; | |
1279 | + height: 100%; | |
1280 | +} | |
1281 | +.m-slider img { | |
1282 | + display: inline-block; | |
1283 | + width: 100%; | |
1284 | + height: 100%; | |
1285 | + float: left; | |
1286 | +} | |
1287 | +.m-slider .swiper-container { | |
1288 | + height: 100%; | |
1289 | +} | |
1290 | +.m-slider .swiper-wrapper { | |
1291 | + height: 100%; | |
1292 | +} | |
1293 | +.m-section .section-head { | |
1294 | + line-height: 45px; | |
1295 | + padding: 0 10px; | |
1296 | + background-color: #fff; | |
1297 | + font-size: 14px; | |
1298 | + color: #666; | |
1299 | + text-align: left; | |
1300 | + font-weight: bold; | |
1301 | + margin-bottom: 10px; | |
1302 | +} | |
1303 | +.m-section .section-head:first-letter { | |
1304 | + font-size: 18px; | |
1305 | + color: #23ac38; | |
1306 | +} | |
1307 | +.section-items { | |
1308 | + margin-bottom: 10px; | |
1309 | +} | |
1310 | +.section-items .section-item { | |
1311 | + display: block; | |
1312 | + margin-bottom: 5px; | |
1313 | + width: 100%; | |
1314 | +} | |
1315 | +.section-items .section-item img { | |
1316 | + width: 100%; | |
1317 | + max-width: 100%; | |
1318 | +} | |
1319 | +.product-items { | |
1320 | + background-color: #FFF; | |
1321 | + margin-bottom: 10px; | |
1322 | +} | |
1323 | +.product-items .items .item { | |
1324 | + width: 33.33%; | |
1325 | + float: left; | |
1326 | + font-size: 13px; | |
1327 | + text-align: center; | |
1328 | + padding: 8px 0; | |
1329 | +} | |
1330 | +.product-items .items .item a { | |
1331 | + display: block; | |
1332 | + position: relative; | |
1333 | + z-index: 2; | |
1334 | +} | |
1335 | +.product-items .items .item h3 { | |
1336 | + font-size: 13px; | |
1337 | + padding: 0 5px; | |
1338 | + font-weight: 700; | |
1339 | + color: #333; | |
1340 | + line-height: 16px; | |
1341 | + padding: 0 10px; | |
1342 | + text-align: left; | |
1343 | + text-overflow: ellipsis; | |
1344 | + overflow: hidden; | |
1345 | + white-space: nowrap; | |
1346 | +} | |
1347 | +.product-items .items .item p { | |
1348 | + padding: 0 10px; | |
1349 | + text-align: left; | |
1350 | +} | |
1351 | +.product-items .items .item em { | |
1352 | + text-align: left; | |
1353 | + display: block; | |
1354 | + font-size: 13px; | |
1355 | + font-weight: 700; | |
1356 | + font-style: normal; | |
1357 | + color: #FA4535; | |
1358 | + text-overflow: ellipsis; | |
1359 | + overflow: hidden; | |
1360 | + white-space: nowrap; | |
1361 | +} | |
1362 | +.product-items .items .item span { | |
1363 | + display: block; | |
1364 | + text-align: center; | |
1365 | + overflow: hidden; | |
1366 | + white-space: nowrap; | |
1367 | + text-overflow: ellipsis; | |
1368 | +} | |
1369 | +.product-items .items .item .pic { | |
1370 | + max-width: 100%; | |
1371 | + height: 60px; | |
1372 | + display: inline-block; | |
1373 | + vertical-align: middle; | |
1374 | +} | |
1375 | +.product-items .items .item:after { | |
1376 | + border-left: none; | |
1377 | + border-top: none; | |
1378 | +} | |
1379 | +.scroll-wrap { | |
1380 | + overflow-y: hidden; | |
1381 | + overflow-x: scroll; | |
1382 | + -webkit-overflow-scrolling: touch; | |
1383 | +} | |
1384 | +.scroll-wrap .m-goods-items { | |
1385 | + white-space: nowrap; | |
1386 | +} | |
1387 | +.scroll-wrap .m-goods-items li { | |
1388 | + float: none; | |
1389 | + display: inline; | |
1390 | + width: 110px !important; | |
1391 | +} | |
1392 | +.scroll-wrap .m-goods-items li a { | |
1393 | + display: inline-block; | |
1394 | + width: 100px; | |
1395 | +} | |
1396 | +.scroll-wrap .m-tab, | |
1397 | +.scroll-wrap .m-nav { | |
1398 | + white-space: nowrap; | |
1399 | + overflow: visible; | |
1400 | + width: auto; | |
1401 | +} | |
1402 | +.scroll-wrap .m-tab li, | |
1403 | +.scroll-wrap .m-nav li { | |
1404 | + float: none; | |
1405 | + display: inline; | |
1406 | + width: 90px; | |
1407 | +} | |
1408 | +.scroll-wrap .m-tab li a, | |
1409 | +.scroll-wrap .m-nav li a { | |
1410 | + display: inline-block; | |
1411 | +} | |
1412 | +.m-list-view { | |
1413 | + margin-bottom: 10px; | |
1414 | +} | |
1415 | +.m-list-view .cell { | |
1416 | + font-size: 14px; | |
1417 | + padding: 0 0 0 15px; | |
1418 | + background-color: #FFF; | |
1419 | + overflow: hidden; | |
1420 | + position: relative; | |
1421 | + text-align: left; | |
1422 | +} | |
1423 | +.m-list-view .cell-header { | |
1424 | + background-color: #f8f8f8; | |
1425 | + padding: 0 10px; | |
1426 | +} | |
1427 | +.m-list-view .cell-header .title { | |
1428 | + font-size: 13px; | |
1429 | + color: #333; | |
1430 | + line-height: 35px; | |
1431 | + width: auto; | |
1432 | +} | |
1433 | +.m-list-view .cell-header .text { | |
1434 | + font-size: 13px; | |
1435 | + line-height: 35px; | |
1436 | + float: right; | |
1437 | + color: #9e9e9e; | |
1438 | + text-align: right; | |
1439 | + margin: 0; | |
1440 | +} | |
1441 | +.m-list-view .cell-basic { | |
1442 | + padding: 11px 10px; | |
1443 | +} | |
1444 | +.m-list-view .cell-basic .title, | |
1445 | +.m-list-view .cell-basic .text { | |
1446 | + float: none; | |
1447 | + display: inline-block; | |
1448 | + vertical-align: middle; | |
1449 | + margin: 0 10px 0 0; | |
1450 | + line-height: 1.5; | |
1451 | +} | |
1452 | +.m-list-view .cell-basic .sub-title { | |
1453 | + padding-top: 10px; | |
1454 | + font-size: 13px; | |
1455 | + color: #999; | |
1456 | +} | |
1457 | +.m-list-view .cell-radio { | |
1458 | + text-align: right; | |
1459 | + padding: 0 10px; | |
1460 | + margin-bottom: 10px; | |
1461 | + background-color: #eee; | |
1462 | +} | |
1463 | +.m-list-view .cell-radio .title { | |
1464 | + color: #333; | |
1465 | + width: auto; | |
1466 | + text-align: left; | |
1467 | +} | |
1468 | +.m-list-view .cell-radio .text { | |
1469 | + float: none; | |
1470 | + text-align: right; | |
1471 | +} | |
1472 | +.m-list-view .cell-radio .m-radio { | |
1473 | + margin-left: 8px; | |
1474 | +} | |
1475 | +.m-list-view .cell-radio .m-table-view { | |
1476 | + margin: 0 -10px; | |
1477 | +} | |
1478 | +.m-list-view .cell-radio .m-table-view .cell-radio { | |
1479 | + margin: 0; | |
1480 | + background-color: #FFF; | |
1481 | +} | |
1482 | +.m-list-view .cell-block { | |
1483 | + padding: 8px 10px; | |
1484 | +} | |
1485 | +.m-list-view .cell-block h3 { | |
1486 | + font-size: 16px; | |
1487 | + font-weight: normal; | |
1488 | + padding-right: 60px; | |
1489 | + white-space: nowrap; | |
1490 | + text-overflow: ellipsis; | |
1491 | + overflow: hidden; | |
1492 | +} | |
1493 | +.m-list-view .cell-block p { | |
1494 | + font-size: 14px; | |
1495 | + color: #666; | |
1496 | +} | |
1497 | +.m-list-view .cell-block .bottom { | |
1498 | + margin-top: 10px; | |
1499 | + padding-top: 8px; | |
1500 | + line-height: 30px; | |
1501 | +} | |
1502 | +.m-list-view .cell-extend .m-table-view { | |
1503 | + margin: 0 0 0 45px; | |
1504 | +} | |
1505 | +.m-list-view .cell-extend .m-table-view .cell { | |
1506 | + padding: 0; | |
1507 | +} | |
1508 | +.m-list-view .cell-extend .m-table-view .text { | |
1509 | + margin-left: 0; | |
1510 | +} | |
1511 | +.m-list-view .cell-pic { | |
1512 | + padding: 15px; | |
1513 | +} | |
1514 | +.m-list-view .cell-pic .pic { | |
1515 | + float: left; | |
1516 | +} | |
1517 | +.m-list-view .cell-pic .cont { | |
1518 | + margin-left: 90px; | |
1519 | +} | |
1520 | +.m-list-view .cell-pic h3 { | |
1521 | + font-size: 14px; | |
1522 | + font-weight: normal; | |
1523 | +} | |
1524 | +.m-list-view .cell-pic em { | |
1525 | + font-size: 16px; | |
1526 | + font-weight: normal; | |
1527 | +} | |
1528 | +.m-list-view .cell-pic p { | |
1529 | + color: #9b9b9b; | |
1530 | + font-size: 12px; | |
1531 | +} | |
1532 | +.m-list-view .acc-icon { | |
1533 | + position: relative; | |
1534 | + padding-right: 30px; | |
1535 | +} | |
1536 | +.m-list-view .acc-icon .acc { | |
1537 | + position: absolute; | |
1538 | + right: 0; | |
1539 | + top: 0; | |
1540 | + min-width: 30px; | |
1541 | + height: 100%; | |
1542 | + line-height: 44px; | |
1543 | + text-align: left; | |
1544 | + color: #999; | |
1545 | + text-align: right; | |
1546 | +} | |
1547 | +.m-list-view .acc-icon .acc .m-icon { | |
1548 | + margin-right: 4px; | |
1549 | +} | |
1550 | +.m-list-view .title { | |
1551 | + font-size: 15px; | |
1552 | + color: #999; | |
1553 | + float: left; | |
1554 | + font-weight: 400; | |
1555 | + line-height: 44px; | |
1556 | +} | |
1557 | +.m-list-view .text { | |
1558 | + display: block; | |
1559 | + font-size: 15px; | |
1560 | + color: #333; | |
1561 | + line-height: 44px; | |
1562 | + position: relative; | |
1563 | + white-space: nowrap; | |
1564 | + word-break: break-all; | |
1565 | + text-overflow: ellipsis; | |
1566 | + overflow: hidden; | |
1567 | +} | |
1568 | +.m-list-view .text .m-input { | |
1569 | + font-size: 15px; | |
1570 | +} | |
1571 | +.m-goods-items { | |
1572 | + padding: 0 5px 5px; | |
1573 | + overflow-x: scroll; | |
1574 | + overflow-y: hidden; | |
1575 | + -webkit-overflow-scrolling: touch; | |
1576 | +} | |
1577 | +.m-goods-items li { | |
1578 | + float: left; | |
1579 | + width: 110px; | |
1580 | + padding: 0 5px 10px; | |
1581 | + box-sizing: border-box; | |
1582 | +} | |
1583 | +.m-goods-items a { | |
1584 | + display: block; | |
1585 | + background-color: #fff; | |
1586 | + padding-bottom: 5px; | |
1587 | + position: relative; | |
1588 | +} | |
1589 | +.m-goods-items .hot { | |
1590 | + position: absolute; | |
1591 | + top: -1px; | |
1592 | + right: 10px; | |
1593 | + width: 20px; | |
1594 | + height: 56px; | |
1595 | + background: url(../images/icon_mark.png) 0 0 no-repeat; | |
1596 | + background-size: 100%; | |
1597 | + font-size: 0; | |
1598 | + overflow: hidden; | |
1599 | +} | |
1600 | +.m-goods-items .pic { | |
1601 | + display: block; | |
1602 | + width: 100%; | |
1603 | + height: 110px; | |
1604 | + margin: 0 auto 5px; | |
1605 | + background-position: center center; | |
1606 | + background-repeat: no-repeat; | |
1607 | + background-size: cover; | |
1608 | +} | |
1609 | +.m-goods-items h3 { | |
1610 | + font-size: 13px; | |
1611 | + padding: 0 5px; | |
1612 | + font-weight: 700; | |
1613 | + color: #333; | |
1614 | + text-align: left; | |
1615 | + line-height: 16px; | |
1616 | + height: 32px; | |
1617 | + overflow: hidden; | |
1618 | +} | |
1619 | +.m-goods-items em { | |
1620 | + text-align: left; | |
1621 | + display: block; | |
1622 | + padding: 0 5px; | |
1623 | + font-size: 13px; | |
1624 | + font-weight: 700; | |
1625 | + font-style: normal; | |
1626 | + color: #FA4535; | |
1627 | +} | |
1628 | +.m-goods-items .origin-price { | |
1629 | + font-size: 12px; | |
1630 | + color: #bbb; | |
1631 | + text-decoration: line-through; | |
1632 | +} | |
1633 | +.photo-wall { | |
1634 | + width: 100%; | |
1635 | + padding-left: 5px; | |
1636 | + box-sizing: border-box; | |
1637 | + margin-bottom: 5px; | |
1638 | +} | |
1639 | +.photo-wall .photo-item { | |
1640 | + float: left; | |
1641 | + box-sizing: border-box; | |
1642 | + padding: 0 5px 5px 0; | |
1643 | + height: 105px; | |
1644 | +} | |
1645 | +.photo-wall .photo-item img { | |
1646 | + width: 100%; | |
1647 | + height: 100%; | |
1648 | + max-width: 100%; | |
1649 | + max-height: 100%; | |
1650 | +} | |
1651 | +.photo-wall .photo-1p { | |
1652 | + width: 33.33%; | |
1653 | +} | |
1654 | +.photo-wall .photo-2p { | |
1655 | + width: 66.66%; | |
1656 | +} | |
1657 | +.m-nav { | |
1658 | + width: 100%; | |
1659 | + font-size: 14px; | |
1660 | + color: #999; | |
1661 | + overflow: hidden; | |
1662 | + box-sizing: border-box; | |
1663 | +} | |
1664 | +.m-nav a { | |
1665 | + color: #999; | |
1666 | + padding: 0 10px; | |
1667 | + min-width: 70px; | |
1668 | + display: block; | |
1669 | +} | |
1670 | +.m-nav li { | |
1671 | + float: left; | |
1672 | + line-height: 40px; | |
1673 | + text-align: center; | |
1674 | + position: relative; | |
1675 | +} | |
1676 | +.m-nav li:last-child { | |
1677 | + padding-right: 0; | |
1678 | +} | |
1679 | +.m-nav .on a { | |
1680 | + color: #FFF; | |
1681 | + background-color: #23ac38; | |
1682 | + display: block; | |
1683 | + position: relative; | |
1684 | +} | |
1685 | +.m-tab { | |
1686 | + width: 100%; | |
1687 | + background-color: #FFF; | |
1688 | + font-size: 14px; | |
1689 | + color: #999; | |
1690 | + border-width: 1px 0; | |
1691 | + overflow: hidden; | |
1692 | + box-sizing: border-box; | |
1693 | + margin-bottom: 10px; | |
1694 | +} | |
1695 | +.m-tab a { | |
1696 | + display: block; | |
1697 | + color: #999; | |
1698 | + padding: 0 10px; | |
1699 | + min-width: 70px; | |
1700 | +} | |
1701 | +.m-tab li { | |
1702 | + float: left; | |
1703 | + line-height: 45px; | |
1704 | + text-align: center; | |
1705 | + position: relative; | |
1706 | +} | |
1707 | +.m-tab li:last-child { | |
1708 | + padding-right: 0; | |
1709 | +} | |
1710 | +.m-tab .on a { | |
1711 | + color: #23ac38; | |
1712 | + display: block; | |
1713 | + position: relative; | |
1714 | +} | |
1715 | +.m-tab .on a:after { | |
1716 | + content: ''; | |
1717 | + position: absolute; | |
1718 | + bottom: 0; | |
1719 | + left: 0; | |
1720 | + right: 0; | |
1721 | + height: 2px; | |
1722 | + background-color: #23ac38; | |
1723 | +} | |
1724 | +.m-tab.hasright { | |
1725 | + position: relative; | |
1726 | +} | |
1727 | +.m-tab.hasright:before { | |
1728 | + content: ' '; | |
1729 | + display: block; | |
1730 | + position: absolute; | |
1731 | + top: 0; | |
1732 | + left: 0; | |
1733 | + width: 0; | |
1734 | + height: 0; | |
1735 | + transform: scaleY(1); | |
1736 | + animation: movehint 1.2s linear 3; | |
1737 | + -webkit-animation: movehint 1.6s linear 3; | |
1738 | + transition: all .3s; | |
1739 | + -webkit-transition: all .3s; | |
1740 | + opacity: 0; | |
1741 | + border-top: 2px solid #23ac38; | |
1742 | + animation-delay: 2s; | |
1743 | + animation-direction: alternate; | |
1744 | +} | |
1745 | +.m-tab.hasright:after { | |
1746 | + content: ' '; | |
1747 | + display: block; | |
1748 | + position: absolute; | |
1749 | + top: 0; | |
1750 | +} | |
1751 | +@keyframes movehint { | |
1752 | + 30%, | |
1753 | + 60%, | |
1754 | + 90% { | |
1755 | + opacity: 1; | |
1756 | + } | |
1757 | + 0% { | |
1758 | + width: 0; | |
1759 | + } | |
1760 | + 100% { | |
1761 | + width: 100%; | |
1762 | + } | |
1763 | +} | |
1764 | + | |
1765 | +* { | |
1766 | + -moz-tap-highlight-color: rgba(0, 0, 0, 0); | |
1767 | + -o-tap-highlight-color: rgba(0, 0, 0, 0); | |
1768 | + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
1769 | +} | |
1770 | +html { | |
1771 | + height: 100%; | |
1772 | +} | |
1773 | +html, | |
1774 | +body, | |
1775 | +div, | |
1776 | +span, | |
1777 | +object, | |
1778 | +iframe, | |
1779 | +h1, | |
1780 | +h2, | |
1781 | +h3, | |
1782 | +h4, | |
1783 | +h5, | |
1784 | +h6, | |
1785 | +p, | |
1786 | +blockquote, | |
1787 | +pre, | |
1788 | +abbr, | |
1789 | +address, | |
1790 | +cite, | |
1791 | +code, | |
1792 | +del, | |
1793 | +dfn, | |
1794 | +em, | |
1795 | +img, | |
1796 | +ins, | |
1797 | +kbd, | |
1798 | +q, | |
1799 | +samp, | |
1800 | +small, | |
1801 | +strong, | |
1802 | +sub, | |
1803 | +sup, | |
1804 | +var, | |
1805 | +b, | |
1806 | +i, | |
1807 | +dl, | |
1808 | +dt, | |
1809 | +dd, | |
1810 | +ol, | |
1811 | +ul, | |
1812 | +li, | |
1813 | +fieldset, | |
1814 | +form, | |
1815 | +label, | |
1816 | +legend, | |
1817 | +table, | |
1818 | +caption, | |
1819 | +tbody, | |
1820 | +tfoot, | |
1821 | +thead, | |
1822 | +tr, | |
1823 | +th, | |
1824 | +td, | |
1825 | +article, | |
1826 | +aside, | |
1827 | +canvas, | |
1828 | +details, | |
1829 | +figcaption, | |
1830 | +figure, | |
1831 | +footer, | |
1832 | +header, | |
1833 | +menu, | |
1834 | +nav, | |
1835 | +section, | |
1836 | +summary, | |
1837 | +time, | |
1838 | +mark, | |
1839 | +audio, | |
1840 | +video { | |
1841 | + margin: 0; | |
1842 | + padding: 0; | |
1843 | + border: 0; | |
1844 | + outline: 0; | |
1845 | + vertical-align: baseline; | |
1846 | + background: transparent; | |
1847 | +} | |
1848 | +body { | |
1849 | + font: 12px/1.5 sans-serif; | |
1850 | + position: relative; | |
1851 | + color: #333; | |
1852 | + min-height: 100%; | |
1853 | + overflow-x: hidden; | |
1854 | +} | |
1855 | +article, | |
1856 | +aside, | |
1857 | +details, | |
1858 | +figcaption, | |
1859 | +figure, | |
1860 | +footer, | |
1861 | +header, | |
1862 | +menu, | |
1863 | +nav, | |
1864 | +section { | |
1865 | + display: block; | |
1866 | +} | |
1867 | +nav ul { | |
1868 | + list-style: none; | |
1869 | +} | |
1870 | +li { | |
1871 | + list-style: none; | |
1872 | +} | |
1873 | +em { | |
1874 | + font-style: normal; | |
1875 | +} | |
1876 | +ins { | |
1877 | + background-color: #ff9; | |
1878 | + color: #000; | |
1879 | + text-decoration: none; | |
1880 | +} | |
1881 | +mark { | |
1882 | + background-color: #ff9; | |
1883 | + color: #000; | |
1884 | + font-style: italic; | |
1885 | + font-weight: bold; | |
1886 | +} | |
1887 | +table { | |
1888 | + border-collapse: collapse; | |
1889 | + border-spacing: 0; | |
1890 | +} | |
1891 | +hr { | |
1892 | + display: block; | |
1893 | + height: 1px; | |
1894 | + border: 0; | |
1895 | + border-top: 1px solid #cccccc; | |
1896 | + margin: 0; | |
1897 | + padding: 0; | |
1898 | +} | |
1899 | +input, | |
1900 | +select { | |
1901 | + vertical-align: middle; | |
1902 | +} | |
1903 | +input:focus, | |
1904 | +button:focus { | |
1905 | + outline: none; | |
1906 | +} | |
1907 | +a { | |
1908 | + color: #333; | |
1909 | + text-decoration: none; | |
1910 | + margin: 0; | |
1911 | + padding: 0; | |
1912 | + vertical-align: baseline; | |
1913 | + background: transparent; | |
1914 | +} | |
1915 | +a:active, | |
1916 | +a:visited { | |
1917 | + color: #333; | |
1918 | +} | |
1919 | +input, | |
1920 | +img { | |
1921 | + border: 0; | |
1922 | + vertical-align: middle; | |
1923 | +} | |
1924 | +textarea, | |
1925 | +input, | |
1926 | +a { | |
1927 | + -webkit-tap-highlight-color: transparent; | |
1928 | +} | |
1929 | +/* 清除浮动 */ | |
1930 | +.clearfix, | |
1931 | +.clear { | |
1932 | + display: inline-table; | |
1933 | + zoom: 1; | |
1934 | +} | |
1935 | +* html .clearfix, | |
1936 | +* html .clear { | |
1937 | + height: 1%; | |
1938 | +} | |
1939 | +* html .clearfix, | |
1940 | +* html .clear { | |
1941 | + zoom: 1; | |
1942 | +} | |
1943 | +.clearfix, | |
1944 | +.clear { | |
1945 | + display: block; | |
1946 | +} | |
1947 | +.clear { | |
1948 | + clear: both; | |
1949 | +} | |
1950 | +.clearfix:after, | |
1951 | +.clear:after { | |
1952 | + content: " "; | |
1953 | + display: block; | |
1954 | + height: 0; | |
1955 | + clear: both; | |
1956 | + visibility: hidden; | |
1957 | + line-height: 0px; | |
1958 | +} | |
1959 | +/*************************************************** | |
1960 | +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等; | |
1961 | +* update : 2015/02/03; | |
1962 | +* use : 按需使用对应class即可; | |
1963 | +* desc : ; | |
1964 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1965 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1966 | +****************************************************/ | |
1967 | +.text-left { | |
1968 | + text-align: left !important; | |
1969 | +} | |
1970 | +.text-center { | |
1971 | + text-align: center !important; | |
1972 | +} | |
1973 | +.text-right { | |
1974 | + text-align: right !important; | |
1975 | +} | |
1976 | +.text-nowrap { | |
1977 | + white-space: nowrap !important; | |
1978 | +} | |
1979 | +.text-overflow { | |
1980 | + overflow: hidden; | |
1981 | + text-overflow: ellipsis; | |
1982 | +} | |
1983 | +.text-lowercase { | |
1984 | + text-transform: lowercase; | |
1985 | +} | |
1986 | +.text-uppercase { | |
1987 | + text-transform: uppercase; | |
1988 | +} | |
1989 | +.text-capitalize { | |
1990 | + text-transform: capitalize; | |
1991 | +} | |
1992 | +.text-indent { | |
1993 | + text-indent: -999em; | |
1994 | +} | |
1995 | +.float-left { | |
1996 | + float: left !important; | |
1997 | +} | |
1998 | +.float-right { | |
1999 | + float: right !important; | |
2000 | +} | |
2001 | +.float-none { | |
2002 | + float: none !important; | |
2003 | +} | |
2004 | +.display-block { | |
2005 | + display: block !important; | |
2006 | +} | |
2007 | +.clearfix:after { | |
2008 | + content: ''; | |
2009 | + display: block; | |
2010 | + height: 0; | |
2011 | + overflow: hidden; | |
2012 | + font-size: 0; | |
2013 | + clear: both; | |
2014 | +} | |
2015 | +.m-hide { | |
2016 | + display: none !important; | |
2017 | + visibility: hidden; | |
2018 | + opacity: 0; | |
2019 | + z-index: -1; | |
2020 | +} | |
2021 | +.m-hidden { | |
2022 | + visibility: hidden; | |
2023 | + opacity: 0; | |
2024 | + z-index: -1; | |
2025 | +} | |
2026 | +.m-show { | |
2027 | + display: block !important; | |
2028 | + visibility: visible; | |
2029 | +} | |
2030 | +.m-separate { | |
2031 | + position: relative; | |
2032 | + width: 100%; | |
2033 | + line-height: 50px; | |
2034 | + text-align: center; | |
2035 | + font-size: 12px; | |
2036 | + color: #666; | |
2037 | + overflow: visible; | |
2038 | +} | |
2039 | +.m-more, | |
2040 | +a.m-more { | |
2041 | + display: block; | |
2042 | + font-size: 12px; | |
2043 | + text-align: center; | |
2044 | + color: #999; | |
2045 | + line-height: 45px; | |
2046 | + background-color: #FFF; | |
2047 | +} | |
2048 | +.m-animate-hide { | |
2049 | + -webkit-transform: translate(0, 100%) translateZ(0) !important; | |
2050 | + -ms-transform: translate(0, 100%) translateZ(0) !important; | |
2051 | + -o-transform: translate(0, 100%) translateZ(0) !important; | |
2052 | + transform: translate(0, 100%) translateZ(0) !important; | |
2053 | +} | |
2054 | +.m-animate-show { | |
2055 | + -webkit-transform: translate(0, 0) translateZ(0) !important; | |
2056 | + -ms-transform: translate(0, 0) translateZ(0) !important; | |
2057 | + -o-transform: translate(0, 0) translateZ(0) !important; | |
2058 | + transform: translate(0, 0) translateZ(0) !important; | |
2059 | +} | |
2060 | +.hidden { | |
2061 | + opacity: 0; | |
2062 | + z-index: -1; | |
2063 | +} | |
2064 | +.mask-hidden { | |
2065 | + opacity: 0; | |
2066 | +} | |
2067 | +.font-white { | |
2068 | + color: #FFF !important; | |
2069 | +} | |
2070 | +.font-white-opacity { | |
2071 | + color: rgba(255, 255, 255, 0.8) !important; | |
2072 | +} | |
2073 | +.font-deep { | |
2074 | + color: #333 !important; | |
2075 | +} | |
2076 | +.font-gray { | |
2077 | + color: #666 !important; | |
2078 | +} | |
2079 | +.font-light { | |
2080 | + color: #999 !important; | |
2081 | +} | |
2082 | +.font-yellow { | |
2083 | + color: #FF9D2C !important; | |
2084 | +} | |
2085 | +.font-orange { | |
2086 | + color: #FF6B00 !important; | |
2087 | +} | |
2088 | +.font-red { | |
2089 | + color: #fa4535 !important; | |
2090 | +} | |
2091 | +.font-green { | |
2092 | + color: #23ac38 !important; | |
2093 | +} | |
2094 | +.background-white { | |
2095 | + background-color: #FFF; | |
2096 | +} | |
2097 | +.background-gray { | |
2098 | + background-color: #666 !important; | |
2099 | +} | |
2100 | +.background-deep-gray { | |
2101 | + background-color: #444 !important; | |
2102 | +} | |
2103 | +.background-yellow { | |
2104 | + background-color: #FF9D2C !important; | |
2105 | +} | |
2106 | +.background-orange { | |
2107 | + background-color: #FF6B00 !important; | |
2108 | +} | |
2109 | +.background-red { | |
2110 | + background-color: #fa4535 !important; | |
2111 | +} | |
2112 | +.background-green { | |
2113 | + background-color: #23ac38 !important; | |
2114 | +} | |
2115 | +.position-relative { | |
2116 | + position: relative; | |
2117 | +} | |
2118 | +.z-index2 { | |
2119 | + z-index: 2; | |
2120 | +} | |
2121 | +.width-auto { | |
2122 | + width: auto !important; | |
2123 | +} | |
2124 | +.width-200p { | |
2125 | + width: 200%; | |
2126 | +} | |
2127 | +.m-col-1 { | |
2128 | + width: 100% !important; | |
2129 | +} | |
2130 | +.m-col-2 { | |
2131 | + width: 50% !important; | |
2132 | +} | |
2133 | +.m-col-3 { | |
2134 | + width: 33.33% !important; | |
2135 | +} | |
2136 | +.m-col-4 { | |
2137 | + width: 25% !important; | |
2138 | +} | |
2139 | +.border-1px { | |
2140 | + position: relative; | |
2141 | +} | |
2142 | +.border-1px:before, | |
2143 | +.border-1px:after { | |
2144 | + border-top: 1px solid #e2e2e2; | |
2145 | + content: ''; | |
2146 | + display: block; | |
2147 | + width: 100%; | |
2148 | + position: absolute; | |
2149 | + left: 0; | |
2150 | + z-index: 1; | |
2151 | +} | |
2152 | +.border-1px:before { | |
2153 | + top: 0; | |
2154 | +} | |
2155 | +.border-1px:after { | |
2156 | + bottom: 0; | |
2157 | +} | |
2158 | +.border-1px.border-top:after { | |
2159 | + display: none; | |
2160 | +} | |
2161 | +.border-1px.border-bottom:before { | |
2162 | + display: none; | |
2163 | +} | |
2164 | +.border-1px-full { | |
2165 | + position: relative; | |
2166 | +} | |
2167 | +.border-1px-full:after { | |
2168 | + content: ''; | |
2169 | + position: absolute; | |
2170 | + top: 0; | |
2171 | + left: 0; | |
2172 | + z-index: 1; | |
2173 | + border: 1px solid #e2e2e2; | |
2174 | + -webkit-box-sizing: border-box; | |
2175 | + box-sizing: border-box; | |
2176 | + width: 200%; | |
2177 | + height: 200%; | |
2178 | + -webkit-transform: scale(0.5); | |
2179 | + transform: scale(0.5); | |
2180 | + -webkit-transform-origin: left top; | |
2181 | + transform-origin: left top; | |
2182 | +} | |
2183 | +@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) { | |
2184 | + .border-1px::after, | |
2185 | + .border-1px::before { | |
2186 | + -webkit-transform: scaleY(0.7); | |
2187 | + -webkit-transform-origin: 0 0; | |
2188 | + transform: scaleY(0.7); | |
2189 | + } | |
2190 | + .border-1px::after { | |
2191 | + -webkit-transform-origin: left bottom; | |
2192 | + } | |
2193 | +} | |
2194 | +@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { | |
2195 | + .border-1px::after, | |
2196 | + .border-1px::before { | |
2197 | + -webkit-transform: scaleY(0.5); | |
2198 | + transform: scaleY(0.5); | |
2199 | + } | |
2200 | +} | |
2201 | +.m-section .section-head { | |
2202 | + line-height: 45px; | |
2203 | + padding: 0 10px; | |
2204 | + background-color: #fff; | |
2205 | + font-size: 14px; | |
2206 | + color: #666; | |
2207 | + text-align: left; | |
2208 | + font-weight: bold; | |
2209 | + margin-bottom: 10px; | |
2210 | +} | |
2211 | +.m-section .section-head:first-letter { | |
2212 | + font-size: 18px; | |
2213 | + color: #23ac38; | |
2214 | +} | |
2215 | +.section-items { | |
2216 | + margin-bottom: 10px; | |
2217 | +} | |
2218 | +.section-items .section-item { | |
2219 | + display: block; | |
2220 | + margin-bottom: 5px; | |
2221 | + width: 100%; | |
2222 | +} | |
2223 | +.section-items .section-item img { | |
2224 | + width: 100%; | |
2225 | + max-width: 100%; | |
2226 | +} | |
2227 | +.product-items { | |
2228 | + background-color: #FFF; | |
2229 | + margin-bottom: 10px; | |
2230 | +} | |
2231 | +.product-items .items .item { | |
2232 | + width: 33.33%; | |
2233 | + float: left; | |
2234 | + font-size: 13px; | |
2235 | + text-align: center; | |
2236 | + padding: 8px 0; | |
2237 | +} | |
2238 | +.product-items .items .item a { | |
2239 | + display: block; | |
2240 | + position: relative; | |
2241 | + z-index: 2; | |
2242 | +} | |
2243 | +.product-items .items .item h3 { | |
2244 | + font-size: 13px; | |
2245 | + padding: 0 5px; | |
2246 | + font-weight: 700; | |
2247 | + color: #333; | |
2248 | + line-height: 16px; | |
2249 | + padding: 0 10px; | |
2250 | + text-align: left; | |
2251 | + text-overflow: ellipsis; | |
2252 | + overflow: hidden; | |
2253 | + white-space: nowrap; | |
2254 | +} | |
2255 | +.product-items .items .item p { | |
2256 | + padding: 0 10px; | |
2257 | + text-align: left; | |
2258 | +} | |
2259 | +.product-items .items .item em { | |
2260 | + text-align: left; | |
2261 | + display: block; | |
2262 | + font-size: 13px; | |
2263 | + font-weight: 700; | |
2264 | + font-style: normal; | |
2265 | + color: #FA4535; | |
2266 | + text-overflow: ellipsis; | |
2267 | + overflow: hidden; | |
2268 | + white-space: nowrap; | |
2269 | +} | |
2270 | +.product-items .items .item span { | |
2271 | + display: block; | |
2272 | + text-align: center; | |
2273 | + overflow: hidden; | |
2274 | + white-space: nowrap; | |
2275 | + text-overflow: ellipsis; | |
2276 | +} | |
2277 | +.product-items .items .item .pic { | |
2278 | + max-width: 100%; | |
2279 | + height: 60px; | |
2280 | + display: inline-block; | |
2281 | + vertical-align: middle; | |
2282 | +} | |
2283 | +.product-items .items .item:after { | |
2284 | + border-left: none; | |
2285 | + border-top: none; | |
2286 | +} | |
2287 | +.scroll-wrap { | |
2288 | + overflow-y: hidden; | |
2289 | + overflow-x: scroll; | |
2290 | + -webkit-overflow-scrolling: touch; | |
2291 | +} | |
2292 | +.scroll-wrap .m-goods-items { | |
2293 | + white-space: nowrap; | |
2294 | +} | |
2295 | +.scroll-wrap .m-goods-items li { | |
2296 | + float: none; | |
2297 | + display: inline; | |
2298 | + width: 110px !important; | |
2299 | +} | |
2300 | +.scroll-wrap .m-goods-items li a { | |
2301 | + display: inline-block; | |
2302 | + width: 100px; | |
2303 | +} | |
2304 | +.scroll-wrap .m-tab, | |
2305 | +.scroll-wrap .m-nav { | |
2306 | + white-space: nowrap; | |
2307 | + overflow: visible; | |
2308 | + width: auto; | |
2309 | +} | |
2310 | +.scroll-wrap .m-tab li, | |
2311 | +.scroll-wrap .m-nav li { | |
2312 | + float: none; | |
2313 | + display: inline; | |
2314 | + width: 90px; | |
2315 | +} | |
2316 | +.scroll-wrap .m-tab li a, | |
2317 | +.scroll-wrap .m-nav li a { | |
2318 | + display: inline-block; | |
2319 | +} | |
2320 | + | |
2321 | +.m-goods-items { | |
2322 | + padding: 0 5px 5px; | |
2323 | + overflow-x: scroll; | |
2324 | + overflow-y: hidden; | |
2325 | + -webkit-overflow-scrolling: touch; | |
2326 | +} | |
2327 | +.m-goods-items li { | |
2328 | + float: left; | |
2329 | + width: 110px; | |
2330 | + padding: 0 5px 10px; | |
2331 | + box-sizing: border-box; | |
2332 | +} | |
2333 | +.m-goods-items a { | |
2334 | + display: block; | |
2335 | + background-color: #fff; | |
2336 | + padding-bottom: 5px; | |
2337 | + position: relative; | |
2338 | +} | |
2339 | +.m-goods-items .hot { | |
2340 | + position: absolute; | |
2341 | + top: -1px; | |
2342 | + right: 10px; | |
2343 | + width: 20px; | |
2344 | + height: 56px; | |
2345 | + background: url(../images/icon_mark.png) 0 0 no-repeat; | |
2346 | + background-size: 100%; | |
2347 | + font-size: 0; | |
2348 | + overflow: hidden; | |
2349 | +} | |
2350 | +.m-goods-items .pic { | |
2351 | + display: block; | |
2352 | + width: 100%; | |
2353 | + height: 110px; | |
2354 | + margin: 0 auto 5px; | |
2355 | + background-position: center center; | |
2356 | + background-repeat: no-repeat; | |
2357 | + background-size: cover; | |
2358 | +} | |
2359 | +.m-goods-items h3 { | |
2360 | + font-size: 13px; | |
2361 | + padding: 0 5px; | |
2362 | + font-weight: 700; | |
2363 | + color: #333; | |
2364 | + text-align: left; | |
2365 | + line-height: 16px; | |
2366 | + height: 32px; | |
2367 | + overflow: hidden; | |
2368 | +} | |
2369 | +.m-goods-items em { | |
2370 | + text-align: left; | |
2371 | + display: block; | |
2372 | + padding: 0 5px; | |
2373 | + font-size: 13px; | |
2374 | + font-weight: 700; | |
2375 | + font-style: normal; | |
2376 | + color: #FA4535; | |
2377 | +} | |
2378 | +.m-goods-items .origin-price { | |
2379 | + font-size: 12px; | |
2380 | + color: #bbb; | |
2381 | + text-decoration: line-through; | |
2382 | +} | |
2383 | + | |
2384 | +/*************************************************** | |
2385 | +* feature : 全局头部,提供默认 深色(绿底白字) & 浅色(白底黑字)主题; | |
2386 | +* update : 2015/02/03; | |
2387 | +* use : .m-header; | |
2388 | +* extend : .header-*; | |
2389 | +* example : <header class="m-header header-light"></header>; | |
2390 | +* desc : 默认为深色主题, 通过 .header-light 来引用浅色主题; | |
2391 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
2392 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
2393 | +****************************************************/ | |
2394 | +.m-header { | |
2395 | + z-index: 5; | |
2396 | + color: #FFF; | |
2397 | + color: #ffffff; | |
2398 | + background-color: #23AC38; | |
2399 | + position: relative; | |
2400 | +} | |
2401 | +.m-header .head { | |
2402 | + padding: 0 50px; | |
2403 | + box-sizing: border-box; | |
2404 | + height: 44px; | |
2405 | + text-align: center; | |
2406 | +} | |
2407 | +.m-header .head h1 { | |
2408 | + display: inline-block; | |
2409 | + vertical-align: middle; | |
2410 | + line-height: 44px; | |
2411 | + font-weight: normal; | |
2412 | + font-size: 18px; | |
2413 | + white-space: nowrap; | |
2414 | + text-overflow: ellipsis; | |
2415 | + overflow: hidden; | |
2416 | +} | |
2417 | +.m-header .lt-bar, | |
2418 | +.m-header .rt-bar { | |
2419 | + position: absolute; | |
2420 | + left: 0; | |
2421 | + top: 0; | |
2422 | + bottom: 0; | |
2423 | + min-width: 44px; | |
2424 | + line-height: 44px; | |
2425 | + height: 100%; | |
2426 | + text-align: center; | |
2427 | + cursor: pointer; | |
2428 | + z-index: 1; | |
2429 | +} | |
2430 | +.m-header .lt-bar { | |
2431 | + float: left; | |
2432 | +} | |
2433 | +.m-header .lt-bar.text { | |
2434 | + padding-left: 10px; | |
2435 | + text-align: left; | |
2436 | +} | |
2437 | +.m-header .rt-bar { | |
2438 | + float: right; | |
2439 | + left: auto; | |
2440 | + right: 0; | |
2441 | +} | |
2442 | +.m-header .rt-bar.text { | |
2443 | + padding-right: 10px; | |
2444 | + text-align: right; | |
2445 | +} | |
2446 | +.m-header .text { | |
2447 | + text-align: center; | |
2448 | + line-height: 44px; | |
2449 | + font-size: 15px; | |
2450 | + color: #FFF; | |
2451 | +} | |
2452 | +.m-header.header-light { | |
2453 | + background-color: #FFF; | |
2454 | + color: #666; | |
2455 | +} | |
2456 | +.m-header.header-light .text { | |
2457 | + color: #666; | |
2458 | +} | |
2459 | +.m-header.header-light .m-input { | |
2460 | + color: #333; | |
2461 | +} | |
2462 | +.m-header.header-light .m-input::-webkit-input-placeholder { | |
2463 | + color: #999; | |
2464 | +} | |
2465 | + | |
2466 | +/* | |
2467 | +LESS variables are information about icon's compiled state, stored under its original file name | |
2468 | + | |
2469 | +.icon-home { | |
2470 | + width: @icon-home-width; | |
2471 | +} | |
2472 | + | |
2473 | +The large array-like variables contain all information about a single icon | |
2474 | +@icon-home: x y offset_x offset_y width height total_width total_height image_path name; | |
2475 | + | |
2476 | +At the bottom of this section, we provide information about the spritesheet itself | |
2477 | +@spritesheet: width height image @spritesheet-sprites; | |
2478 | +*/ | |
2479 | +/* | |
2480 | +The provided classes are intended to be used with the array-like variables | |
2481 | + | |
2482 | +.icon-home { | |
2483 | + .sprite-width(@icon-home); | |
2484 | +} | |
2485 | +.icon-email { | |
2486 | + .sprite(@icon-email); | |
2487 | +} | |
2488 | +*/ | |
2489 | +/* | |
2490 | +The `.sprites` mixin generates identical output to the CSS template | |
2491 | + but can be overridden inside of LESS | |
2492 | + | |
2493 | +This must be run when you have at least 2 sprites. | |
2494 | + If run with a single sprite, then there will be reference errors. | |
2495 | + | |
2496 | +.sprites(@spritesheet-sprites); | |
2497 | +*/ | |
2498 | +.m-icon { | |
2499 | + display: inline-block; | |
2500 | + vertical-align: middle; | |
2501 | +} | |
2502 | +.icon-back-to { | |
2503 | + background-image: url(../images/dist/sprite.png); | |
2504 | + background-position: 0px 0px; | |
2505 | + width: 22px; | |
2506 | + width: 11px; | |
2507 | + height: 38px; | |
2508 | + height: 19px; | |
2509 | + background-size: 25px; | |
2510 | +} | |
2511 | +.icon-back { | |
2512 | + background-image: url(../images/dist/sprite.png); | |
2513 | + background-position: -28px 0px; | |
2514 | + background-position: -14px 0px; | |
2515 | + width: 22px; | |
2516 | + width: 11px; | |
2517 | + height: 38px; | |
2518 | + height: 19px; | |
2519 | + background-size: 25px; | |
2520 | +} | |
2521 | + | |
2522 | +/* | |
2523 | +LESS variables are information about icon's compiled state, stored under its original file name | |
2524 | + | |
2525 | +.icon-home { | |
2526 | + width: @icon-home-width; | |
2527 | +} | |
2528 | + | |
2529 | +The large array-like variables contain all information about a single icon | |
2530 | +@icon-home: x y offset_x offset_y width height total_width total_height image_path name; | |
2531 | + | |
2532 | +At the bottom of this section, we provide information about the spritesheet itself | |
2533 | +@spritesheet: width height image @spritesheet-sprites; | |
2534 | +*/ | |
2535 | +/* | |
2536 | +The provided classes are intended to be used with the array-like variables | |
2537 | + | |
2538 | +.icon-home { | |
2539 | + .sprite-width(@icon-home); | |
2540 | +} | |
2541 | +.icon-email { | |
2542 | + .sprite(@icon-email); | |
2543 | +} | |
2544 | +*/ | |
2545 | +/* | |
2546 | +The `.sprites` mixin generates identical output to the CSS template | |
2547 | + but can be overridden inside of LESS | |
2548 | + | |
2549 | +This must be run when you have at least 2 sprites. | |
2550 | + If run with a single sprite, then there will be reference errors. | |
2551 | + | |
2552 | +.sprites(@spritesheet-sprites); | |
2553 | +*/ | |
2554 | +.m-icon { | |
2555 | + display: inline-block; | |
2556 | + vertical-align: middle; | |
2557 | +} | |
2558 | +.icon-admin_10 { | |
2559 | + background-image: url(../images/dist/admin_sprite.png); | |
2560 | + background-position: -213px 0px; | |
2561 | + width: 100px; | |
2562 | + height: 56px; | |
2563 | +} | |
2564 | +.icon-admin_11 { | |
2565 | + background-image: url(../images/dist/admin_sprite.png); | |
2566 | + background-position: -107px 0px; | |
2567 | + width: 100px; | |
2568 | + height: 56px; | |
2569 | +} | |
2570 | +.icon-admin_12 { | |
2571 | + background-image: url(../images/dist/admin_sprite.png); | |
2572 | + background-position: -106px -124px; | |
2573 | + width: 100px; | |
2574 | + height: 56px; | |
2575 | +} | |
2576 | +.icon-admin_13 { | |
2577 | + background-image: url(../images/dist/admin_sprite.png); | |
2578 | + background-position: 0px -62px; | |
2579 | + width: 100px; | |
2580 | + height: 56px; | |
2581 | +} | |
2582 | +.icon-admin_14 { | |
2583 | + background-image: url(../images/dist/admin_sprite.png); | |
2584 | + background-position: -106px -62px; | |
2585 | + width: 100px; | |
2586 | + height: 56px; | |
2587 | +} | |
2588 | +.icon-admin_15 { | |
2589 | + background-image: url(../images/dist/admin_sprite.png); | |
2590 | + background-position: 0px -124px; | |
2591 | + width: 100px; | |
2592 | + height: 56px; | |
2593 | +} | |
2594 | +.icon-admin_16 { | |
2595 | + background-image: url(../images/dist/admin_sprite.png); | |
2596 | + background-position: -104px -186px; | |
2597 | + width: 14px; | |
2598 | + height: 14px; | |
2599 | +} | |
2600 | +.icon-admin_17 { | |
2601 | + background-image: url(../images/dist/admin_sprite.png); | |
2602 | + background-position: -44px -186px; | |
2603 | + width: 14px; | |
2604 | + height: 14px; | |
2605 | +} | |
2606 | +.icon-admin_18 { | |
2607 | + background-image: url(../images/dist/admin_sprite.png); | |
2608 | + background-position: -64px -186px; | |
2609 | + width: 14px; | |
2610 | + height: 14px; | |
2611 | +} | |
2612 | +.icon-admin_19 { | |
2613 | + background-image: url(../images/dist/admin_sprite.png); | |
2614 | + background-position: -84px -186px; | |
2615 | + width: 14px; | |
2616 | + height: 14px; | |
2617 | +} | |
2618 | +.icon-admin_2 { | |
2619 | + background-image: url(../images/dist/admin_sprite.png); | |
2620 | + background-position: 0px 0px; | |
2621 | + width: 101px; | |
2622 | + height: 56px; | |
2623 | +} | |
2624 | +.icon-admin_3 { | |
2625 | + background-image: url(../images/dist/admin_sprite.png); | |
2626 | + background-position: -22px -186px; | |
2627 | + width: 16px; | |
2628 | + height: 20px; | |
2629 | +} | |
2630 | +.icon-admin_4 { | |
2631 | + background-image: url(../images/dist/admin_sprite.png); | |
2632 | + background-position: 0px -186px; | |
2633 | + width: 16px; | |
2634 | + height: 20px; | |
2635 | +} | |
2636 | +.icon-admin_5 { | |
2637 | + background-image: url(../images/dist/admin_sprite.png); | |
2638 | + background-position: -138px -186px; | |
2639 | + width: 8px; | |
2640 | + height: 8px; | |
2641 | +} | |
2642 | +.icon-admin_6 { | |
2643 | + background-image: url(../images/dist/admin_sprite.png); | |
2644 | + background-position: -124px -186px; | |
2645 | + width: 8px; | |
2646 | + height: 8px; | |
2647 | +} | |
2648 | +.icon-admin_7 { | |
2649 | + background-image: url(../images/dist/admin_sprite.png); | |
2650 | + background-position: -213px -124px; | |
2651 | + width: 100px; | |
2652 | + height: 56px; | |
2653 | +} | |
2654 | +.icon-admin_9 { | |
2655 | + background-image: url(../images/dist/admin_sprite.png); | |
2656 | + background-position: -213px -62px; | |
2657 | + width: 100px; | |
2658 | + height: 56px; | |
2659 | +} | |
2660 | +.icon-angle { | |
2661 | + background-image: url(../images/dist/admin_sprite.png); | |
2662 | + background-position: -152px -186px; | |
2663 | + width: 8px; | |
2664 | + height: 8px; | |
2665 | +} | |
2666 | + | |
2667 | +.m-list-view { | |
2668 | + margin-bottom: 10px; | |
2669 | +} | |
2670 | +.m-list-view .cell { | |
2671 | + font-size: 14px; | |
2672 | + padding: 0 0 0 15px; | |
2673 | + background-color: #FFF; | |
2674 | + overflow: hidden; | |
2675 | + position: relative; | |
2676 | + text-align: left; | |
2677 | +} | |
2678 | +.m-list-view .cell-header { | |
2679 | + background-color: #f8f8f8; | |
2680 | + padding: 0 10px; | |
2681 | +} | |
2682 | +.m-list-view .cell-header .title { | |
2683 | + font-size: 13px; | |
2684 | + color: #333; | |
2685 | + line-height: 35px; | |
2686 | + width: auto; | |
2687 | +} | |
2688 | +.m-list-view .cell-header .text { | |
2689 | + font-size: 13px; | |
2690 | + line-height: 35px; | |
2691 | + float: right; | |
2692 | + color: #9e9e9e; | |
2693 | + text-align: right; | |
2694 | + margin: 0; | |
2695 | +} | |
2696 | +.m-list-view .cell-basic { | |
2697 | + padding: 11px 10px; | |
2698 | +} | |
2699 | +.m-list-view .cell-basic .title, | |
2700 | +.m-list-view .cell-basic .text { | |
2701 | + float: none; | |
2702 | + display: inline-block; | |
2703 | + vertical-align: middle; | |
2704 | + margin: 0 10px 0 0; | |
2705 | + line-height: 1.5; | |
2706 | +} | |
2707 | +.m-list-view .cell-basic .sub-title { | |
2708 | + padding-top: 10px; | |
2709 | + font-size: 13px; | |
2710 | + color: #999; | |
2711 | +} | |
2712 | +.m-list-view .cell-radio { | |
2713 | + text-align: right; | |
2714 | + padding: 0 10px; | |
2715 | + margin-bottom: 10px; | |
2716 | + background-color: #eee; | |
2717 | +} | |
2718 | +.m-list-view .cell-radio .title { | |
2719 | + color: #333; | |
2720 | + width: auto; | |
2721 | + text-align: left; | |
2722 | +} | |
2723 | +.m-list-view .cell-radio .text { | |
2724 | + float: none; | |
2725 | + text-align: right; | |
2726 | +} | |
2727 | +.m-list-view .cell-radio .m-radio { | |
2728 | + margin-left: 8px; | |
2729 | +} | |
2730 | +.m-list-view .cell-radio .m-table-view { | |
2731 | + margin: 0 -10px; | |
2732 | +} | |
2733 | +.m-list-view .cell-radio .m-table-view .cell-radio { | |
2734 | + margin: 0; | |
2735 | + background-color: #FFF; | |
2736 | +} | |
2737 | +.m-list-view .cell-block { | |
2738 | + padding: 8px 10px; | |
2739 | +} | |
2740 | +.m-list-view .cell-block h3 { | |
2741 | + font-size: 16px; | |
2742 | + font-weight: normal; | |
2743 | + padding-right: 60px; | |
2744 | + white-space: nowrap; | |
2745 | + text-overflow: ellipsis; | |
2746 | + overflow: hidden; | |
2747 | +} | |
2748 | +.m-list-view .cell-block p { | |
2749 | + font-size: 14px; | |
2750 | + color: #666; | |
2751 | +} | |
2752 | +.m-list-view .cell-block .bottom { | |
2753 | + margin-top: 10px; | |
2754 | + padding-top: 8px; | |
2755 | + line-height: 30px; | |
2756 | +} | |
2757 | +.m-list-view .cell-extend .m-table-view { | |
2758 | + margin: 0 0 0 45px; | |
2759 | +} | |
2760 | +.m-list-view .cell-extend .m-table-view .cell { | |
2761 | + padding: 0; | |
2762 | +} | |
2763 | +.m-list-view .cell-extend .m-table-view .text { | |
2764 | + margin-left: 0; | |
2765 | +} | |
2766 | +.m-list-view .cell-pic { | |
2767 | + padding: 15px; | |
2768 | +} | |
2769 | +.m-list-view .cell-pic .pic { | |
2770 | + float: left; | |
2771 | +} | |
2772 | +.m-list-view .cell-pic .cont { | |
2773 | + margin-left: 90px; | |
2774 | +} | |
2775 | +.m-list-view .cell-pic h3 { | |
2776 | + font-size: 14px; | |
2777 | + font-weight: normal; | |
2778 | +} | |
2779 | +.m-list-view .cell-pic em { | |
2780 | + font-size: 16px; | |
2781 | + font-weight: normal; | |
2782 | +} | |
2783 | +.m-list-view .cell-pic p { | |
2784 | + color: #9b9b9b; | |
2785 | + font-size: 12px; | |
2786 | +} | |
2787 | +.m-list-view .acc-icon { | |
2788 | + position: relative; | |
2789 | + padding-right: 30px; | |
2790 | +} | |
2791 | +.m-list-view .acc-icon .acc { | |
2792 | + position: absolute; | |
2793 | + right: 0; | |
2794 | + top: 0; | |
2795 | + min-width: 30px; | |
2796 | + height: 100%; | |
2797 | + line-height: 44px; | |
2798 | + text-align: left; | |
2799 | + color: #999; | |
2800 | + text-align: right; | |
2801 | +} | |
2802 | +.m-list-view .acc-icon .acc .m-icon { | |
2803 | + margin-right: 4px; | |
2804 | +} | |
2805 | +.m-list-view .title { | |
2806 | + font-size: 15px; | |
2807 | + color: #999; | |
2808 | + float: left; | |
2809 | + font-weight: 400; | |
2810 | + line-height: 44px; | |
2811 | +} | |
2812 | +.m-list-view .text { | |
2813 | + display: block; | |
2814 | + font-size: 15px; | |
2815 | + color: #333; | |
2816 | + line-height: 44px; | |
2817 | + position: relative; | |
2818 | + white-space: nowrap; | |
2819 | + word-break: break-all; | |
2820 | + text-overflow: ellipsis; | |
2821 | + overflow: hidden; | |
2822 | +} | |
2823 | +.m-list-view .text .m-input { | |
2824 | + font-size: 15px; | |
2825 | +} | |
2826 | + | |
2827 | +.border-1px { | |
2828 | + position: relative; | |
2829 | +} | |
2830 | +.border-1px:before, | |
2831 | +.border-1px:after { | |
2832 | + border-top: 1px solid #e2e2e2; | |
2833 | + content: ''; | |
2834 | + display: block; | |
2835 | + width: 100%; | |
2836 | + position: absolute; | |
2837 | + left: 0; | |
2838 | + z-index: 1; | |
2839 | +} | |
2840 | +.border-1px:before { | |
2841 | + top: 0; | |
2842 | +} | |
2843 | +.border-1px:after { | |
2844 | + bottom: 0; | |
2845 | +} | |
2846 | +.border-1px.border-top:after { | |
2847 | + display: none; | |
2848 | +} | |
2849 | +.border-1px.border-bottom:before { | |
2850 | + display: none; | |
2851 | +} | |
2852 | +.border-1px-full { | |
2853 | + position: relative; | |
2854 | +} | |
2855 | +.border-1px-full:after { | |
2856 | + content: ''; | |
2857 | + position: absolute; | |
2858 | + top: 0; | |
2859 | + left: 0; | |
2860 | + z-index: 1; | |
2861 | + border: 1px solid #e2e2e2; | |
2862 | + -webkit-box-sizing: border-box; | |
2863 | + box-sizing: border-box; | |
2864 | + width: 200%; | |
2865 | + height: 200%; | |
2866 | + -webkit-transform: scale(0.5); | |
2867 | + transform: scale(0.5); | |
2868 | + -webkit-transform-origin: left top; | |
2869 | + transform-origin: left top; | |
2870 | +} | |
2871 | +@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) { | |
2872 | + .border-1px::after, | |
2873 | + .border-1px::before { | |
2874 | + -webkit-transform: scaleY(0.7); | |
2875 | + -webkit-transform-origin: 0 0; | |
2876 | + transform: scaleY(0.7); | |
2877 | + } | |
2878 | + .border-1px::after { | |
2879 | + -webkit-transform-origin: left bottom; | |
2880 | + } | |
2881 | +} | |
2882 | +@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { | |
2883 | + .border-1px::after, | |
2884 | + .border-1px::before { | |
2885 | + -webkit-transform: scaleY(0.5); | |
2886 | + transform: scaleY(0.5); | |
2887 | + } | |
2888 | +} | |
2889 | + | |
2890 | +.photo-wall { | |
2891 | + width: 100%; | |
2892 | + padding-left: 5px; | |
2893 | + box-sizing: border-box; | |
2894 | + margin-bottom: 5px; | |
2895 | +} | |
2896 | +.photo-wall .photo-item { | |
2897 | + float: left; | |
2898 | + box-sizing: border-box; | |
2899 | + padding: 0 5px 5px 0; | |
2900 | + height: 105px; | |
2901 | +} | |
2902 | +.photo-wall .photo-item img { | |
2903 | + width: 100%; | |
2904 | + height: 100%; | |
2905 | + max-width: 100%; | |
2906 | + max-height: 100%; | |
2907 | +} | |
2908 | +.photo-wall .photo-1p { | |
2909 | + width: 33.33%; | |
2910 | +} | |
2911 | +.photo-wall .photo-2p { | |
2912 | + width: 66.66%; | |
2913 | +} | |
2914 | + | |
2915 | +* { | |
2916 | + -moz-tap-highlight-color: rgba(0, 0, 0, 0); | |
2917 | + -o-tap-highlight-color: rgba(0, 0, 0, 0); | |
2918 | + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
2919 | +} | |
2920 | +html { | |
2921 | + height: 100%; | |
2922 | +} | |
2923 | +html, | |
2924 | +body, | |
2925 | +div, | |
2926 | +span, | |
2927 | +object, | |
2928 | +iframe, | |
2929 | +h1, | |
2930 | +h2, | |
2931 | +h3, | |
2932 | +h4, | |
2933 | +h5, | |
2934 | +h6, | |
2935 | +p, | |
2936 | +blockquote, | |
2937 | +pre, | |
2938 | +abbr, | |
2939 | +address, | |
2940 | +cite, | |
2941 | +code, | |
2942 | +del, | |
2943 | +dfn, | |
2944 | +em, | |
2945 | +img, | |
2946 | +ins, | |
2947 | +kbd, | |
2948 | +q, | |
2949 | +samp, | |
2950 | +small, | |
2951 | +strong, | |
2952 | +sub, | |
2953 | +sup, | |
2954 | +var, | |
2955 | +b, | |
2956 | +i, | |
2957 | +dl, | |
2958 | +dt, | |
2959 | +dd, | |
2960 | +ol, | |
2961 | +ul, | |
2962 | +li, | |
2963 | +fieldset, | |
2964 | +form, | |
2965 | +label, | |
2966 | +legend, | |
2967 | +table, | |
2968 | +caption, | |
2969 | +tbody, | |
2970 | +tfoot, | |
2971 | +thead, | |
2972 | +tr, | |
2973 | +th, | |
2974 | +td, | |
2975 | +article, | |
2976 | +aside, | |
2977 | +canvas, | |
2978 | +details, | |
2979 | +figcaption, | |
2980 | +figure, | |
2981 | +footer, | |
2982 | +header, | |
2983 | +menu, | |
2984 | +nav, | |
2985 | +section, | |
2986 | +summary, | |
2987 | +time, | |
2988 | +mark, | |
2989 | +audio, | |
2990 | +video { | |
2991 | + margin: 0; | |
2992 | + padding: 0; | |
2993 | + border: 0; | |
2994 | + outline: 0; | |
2995 | + vertical-align: baseline; | |
2996 | + background: transparent; | |
2997 | +} | |
2998 | +body { | |
2999 | + font: 12px/1.5 sans-serif; | |
3000 | + position: relative; | |
3001 | + color: #333; | |
3002 | + min-height: 100%; | |
3003 | + overflow-x: hidden; | |
3004 | +} | |
3005 | +article, | |
3006 | +aside, | |
3007 | +details, | |
3008 | +figcaption, | |
3009 | +figure, | |
3010 | +footer, | |
3011 | +header, | |
3012 | +menu, | |
3013 | +nav, | |
3014 | +section { | |
3015 | + display: block; | |
3016 | +} | |
3017 | +nav ul { | |
3018 | + list-style: none; | |
3019 | +} | |
3020 | +li { | |
3021 | + list-style: none; | |
3022 | +} | |
3023 | +em { | |
3024 | + font-style: normal; | |
3025 | +} | |
3026 | +ins { | |
3027 | + background-color: #ff9; | |
3028 | + color: #000; | |
3029 | + text-decoration: none; | |
3030 | +} | |
3031 | +mark { | |
3032 | + background-color: #ff9; | |
3033 | + color: #000; | |
3034 | + font-style: italic; | |
3035 | + font-weight: bold; | |
3036 | +} | |
3037 | +table { | |
3038 | + border-collapse: collapse; | |
3039 | + border-spacing: 0; | |
3040 | +} | |
3041 | +hr { | |
3042 | + display: block; | |
3043 | + height: 1px; | |
3044 | + border: 0; | |
3045 | + border-top: 1px solid #cccccc; | |
3046 | + margin: 0; | |
3047 | + padding: 0; | |
3048 | +} | |
3049 | +input, | |
3050 | +select { | |
3051 | + vertical-align: middle; | |
3052 | +} | |
3053 | +input:focus, | |
3054 | +button:focus { | |
3055 | + outline: none; | |
3056 | +} | |
3057 | +a { | |
3058 | + color: #333; | |
3059 | + text-decoration: none; | |
3060 | + margin: 0; | |
3061 | + padding: 0; | |
3062 | + vertical-align: baseline; | |
3063 | + background: transparent; | |
3064 | +} | |
3065 | +a:active, | |
3066 | +a:visited { | |
3067 | + color: #333; | |
3068 | +} | |
3069 | +input, | |
3070 | +img { | |
3071 | + border: 0; | |
3072 | + vertical-align: middle; | |
3073 | +} | |
3074 | +textarea, | |
3075 | +input, | |
3076 | +a { | |
3077 | + -webkit-tap-highlight-color: transparent; | |
3078 | +} | |
3079 | +/* 清除浮动 */ | |
3080 | +.clearfix, | |
3081 | +.clear { | |
3082 | + display: inline-table; | |
3083 | + zoom: 1; | |
3084 | +} | |
3085 | +* html .clearfix, | |
3086 | +* html .clear { | |
3087 | + height: 1%; | |
3088 | +} | |
3089 | +* html .clearfix, | |
3090 | +* html .clear { | |
3091 | + zoom: 1; | |
3092 | +} | |
3093 | +.clearfix, | |
3094 | +.clear { | |
3095 | + display: block; | |
3096 | +} | |
3097 | +.clear { | |
3098 | + clear: both; | |
3099 | +} | |
3100 | +.clearfix:after, | |
3101 | +.clear:after { | |
3102 | + content: " "; | |
3103 | + display: block; | |
3104 | + height: 0; | |
3105 | + clear: both; | |
3106 | + visibility: hidden; | |
3107 | + line-height: 0px; | |
3108 | +} | |
3109 | + | |
3110 | +.m-section .section-head { | |
3111 | + line-height: 45px; | |
3112 | + padding: 0 10px; | |
3113 | + background-color: #fff; | |
3114 | + font-size: 14px; | |
3115 | + color: #666; | |
3116 | + text-align: left; | |
3117 | + font-weight: bold; | |
3118 | + margin-bottom: 10px; | |
3119 | +} | |
3120 | +.m-section .section-head:first-letter { | |
3121 | + font-size: 18px; | |
3122 | + color: #23ac38; | |
3123 | +} | |
3124 | +.section-items { | |
3125 | + margin-bottom: 10px; | |
3126 | +} | |
3127 | +.section-items .section-item { | |
3128 | + display: block; | |
3129 | + margin-bottom: 5px; | |
3130 | + width: 100%; | |
3131 | +} | |
3132 | +.section-items .section-item img { | |
3133 | + width: 100%; | |
3134 | + max-width: 100%; | |
3135 | +} | |
3136 | +.product-items { | |
3137 | + background-color: #FFF; | |
3138 | + margin-bottom: 10px; | |
3139 | +} | |
3140 | +.product-items .items .item { | |
3141 | + width: 33.33%; | |
3142 | + float: left; | |
3143 | + font-size: 13px; | |
3144 | + text-align: center; | |
3145 | + padding: 8px 0; | |
3146 | +} | |
3147 | +.product-items .items .item a { | |
3148 | + display: block; | |
3149 | + position: relative; | |
3150 | + z-index: 2; | |
3151 | +} | |
3152 | +.product-items .items .item h3 { | |
3153 | + font-size: 13px; | |
3154 | + padding: 0 5px; | |
3155 | + font-weight: 700; | |
3156 | + color: #333; | |
3157 | + line-height: 16px; | |
3158 | + padding: 0 10px; | |
3159 | + text-align: left; | |
3160 | + text-overflow: ellipsis; | |
3161 | + overflow: hidden; | |
3162 | + white-space: nowrap; | |
3163 | +} | |
3164 | +.product-items .items .item p { | |
3165 | + padding: 0 10px; | |
3166 | + text-align: left; | |
3167 | +} | |
3168 | +.product-items .items .item em { | |
3169 | + text-align: left; | |
3170 | + display: block; | |
3171 | + font-size: 13px; | |
3172 | + font-weight: 700; | |
3173 | + font-style: normal; | |
3174 | + color: #FA4535; | |
3175 | + text-overflow: ellipsis; | |
3176 | + overflow: hidden; | |
3177 | + white-space: nowrap; | |
3178 | +} | |
3179 | +.product-items .items .item span { | |
3180 | + display: block; | |
3181 | + text-align: center; | |
3182 | + overflow: hidden; | |
3183 | + white-space: nowrap; | |
3184 | + text-overflow: ellipsis; | |
3185 | +} | |
3186 | +.product-items .items .item .pic { | |
3187 | + max-width: 100%; | |
3188 | + height: 60px; | |
3189 | + display: inline-block; | |
3190 | + vertical-align: middle; | |
3191 | +} | |
3192 | +.product-items .items .item:after { | |
3193 | + border-left: none; | |
3194 | + border-top: none; | |
3195 | +} | |
3196 | +.scroll-wrap { | |
3197 | + overflow-y: hidden; | |
3198 | + overflow-x: scroll; | |
3199 | + -webkit-overflow-scrolling: touch; | |
3200 | +} | |
3201 | +.scroll-wrap .m-goods-items { | |
3202 | + white-space: nowrap; | |
3203 | +} | |
3204 | +.scroll-wrap .m-goods-items li { | |
3205 | + float: none; | |
3206 | + display: inline; | |
3207 | + width: 110px !important; | |
3208 | +} | |
3209 | +.scroll-wrap .m-goods-items li a { | |
3210 | + display: inline-block; | |
3211 | + width: 100px; | |
3212 | +} | |
3213 | +.scroll-wrap .m-tab, | |
3214 | +.scroll-wrap .m-nav { | |
3215 | + white-space: nowrap; | |
3216 | + overflow: visible; | |
3217 | + width: auto; | |
3218 | +} | |
3219 | +.scroll-wrap .m-tab li, | |
3220 | +.scroll-wrap .m-nav li { | |
3221 | + float: none; | |
3222 | + display: inline; | |
3223 | + width: 90px; | |
3224 | +} | |
3225 | +.scroll-wrap .m-tab li a, | |
3226 | +.scroll-wrap .m-nav li a { | |
3227 | + display: inline-block; | |
3228 | +} | |
3229 | + | |
3230 | +/* | |
3231 | + * Swiper 2.7.0 | |
3232 | + * Mobile touch slider and framework with hardware accelerated transitions | |
3233 | + * | |
3234 | + * http://www.idangero.us/sliders/swiper/ | |
3235 | + * | |
3236 | + * Copyright 2010-2014, Vladimir Kharlampidi | |
3237 | + * The iDangero.us | |
3238 | + * http://www.idangero.us/ | |
3239 | + * | |
3240 | + * Licensed under GPL & MIT | |
3241 | + * | |
3242 | + * Released on: August 30, 2014 | |
3243 | +*/ | |
3244 | +/* =============================================================== | |
3245 | +Basic Swiper Styles | |
3246 | +================================================================*/ | |
3247 | +.swiper-container { | |
3248 | + margin: 0 auto; | |
3249 | + position: relative; | |
3250 | + overflow: hidden; | |
3251 | + -webkit-backface-visibility: hidden; | |
3252 | + -moz-backface-visibility: hidden; | |
3253 | + -ms-backface-visibility: hidden; | |
3254 | + -o-backface-visibility: hidden; | |
3255 | + backface-visibility: hidden; | |
3256 | + /* Fix of Webkit flickering */ | |
3257 | + z-index: 1; | |
3258 | +} | |
3259 | +.swiper-wrapper { | |
3260 | + position: relative; | |
3261 | + width: 100%; | |
3262 | + -webkit-transition-property: -webkit-transform, left, top; | |
3263 | + -webkit-transition-duration: 0s; | |
3264 | + -webkit-transform: translate3d(0px, 0, 0); | |
3265 | + -webkit-transition-timing-function: ease; | |
3266 | + -moz-transition-property: -moz-transform, left, top; | |
3267 | + -moz-transition-duration: 0s; | |
3268 | + -moz-transform: translate3d(0px, 0, 0); | |
3269 | + -moz-transition-timing-function: ease; | |
3270 | + -o-transition-property: -o-transform, left, top; | |
3271 | + -o-transition-duration: 0s; | |
3272 | + -o-transform: translate3d(0px, 0, 0); | |
3273 | + -o-transition-timing-function: ease; | |
3274 | + -o-transform: translate(0px, 0px); | |
3275 | + -ms-transition-property: -ms-transform, left, top; | |
3276 | + -ms-transition-duration: 0s; | |
3277 | + -ms-transform: translate3d(0px, 0, 0); | |
3278 | + -ms-transition-timing-function: ease; | |
3279 | + transition-property: transform, left, top; | |
3280 | + transition-duration: 0s; | |
3281 | + transform: translate3d(0px, 0, 0); | |
3282 | + transition-timing-function: ease; | |
3283 | + -webkit-box-sizing: content-box; | |
3284 | + -moz-box-sizing: content-box; | |
3285 | + box-sizing: content-box; | |
3286 | +} | |
3287 | +.swiper-free-mode > .swiper-wrapper { | |
3288 | + -webkit-transition-timing-function: ease-out; | |
3289 | + -moz-transition-timing-function: ease-out; | |
3290 | + -ms-transition-timing-function: ease-out; | |
3291 | + -o-transition-timing-function: ease-out; | |
3292 | + transition-timing-function: ease-out; | |
3293 | + margin: 0 auto; | |
3294 | +} | |
3295 | +.swiper-slide { | |
3296 | + float: left; | |
3297 | + -webkit-box-sizing: content-box; | |
3298 | + -moz-box-sizing: content-box; | |
3299 | + box-sizing: content-box; | |
3300 | +} | |
3301 | +/* IE10 Windows Phone 8 Fixes */ | |
3302 | +.swiper-wp8-horizontal { | |
3303 | + -ms-touch-action: pan-y; | |
3304 | +} | |
3305 | +.swiper-wp8-vertical { | |
3306 | + -ms-touch-action: pan-x; | |
3307 | +} | |
3308 | +/* =============================================================== | |
3309 | +Your custom styles, here you need to specify container's and slide's | |
3310 | +sizes, pagination, etc. | |
3311 | +================================================================*/ | |
3312 | +.swiper-container { | |
3313 | + /* Specify Swiper's Size: */ | |
3314 | + /*width:200px; | |
3315 | + height: 100px;*/ | |
3316 | +} | |
3317 | +.swiper-slide { | |
3318 | + /* Specify Slides's Size: */ | |
3319 | + /*width: 100%; | |
3320 | + height: 100%;*/ | |
3321 | +} | |
3322 | +.swiper-slide-active { | |
3323 | + /* Specific active slide styling: */ | |
3324 | +} | |
3325 | +.swiper-slide-visible { | |
3326 | + /* Specific visible slide styling: */ | |
3327 | +} | |
3328 | +/* =============================================================== | |
3329 | +Pagination Styles | |
3330 | +================================================================*/ | |
3331 | +.swiper-pagination-switch { | |
3332 | + /* Stylize pagination button: */ | |
3333 | +} | |
3334 | +.swiper-active-switch { | |
3335 | + /* Specific active button style: */ | |
3336 | +} | |
3337 | +.swiper-visible-switch { | |
3338 | + /* Specific visible button style: */ | |
3339 | +} | |
3340 | +.swiper-pagination { | |
3341 | + position: absolute; | |
3342 | + text-align: center; | |
3343 | + -webkit-transition: 300ms; | |
3344 | + -moz-transition: 300ms; | |
3345 | + -o-transition: 300ms; | |
3346 | + transition: 300ms; | |
3347 | + -webkit-transform: translate3d(0, 0, 0); | |
3348 | + -ms-transform: translate3d(0, 0, 0); | |
3349 | + -o-transform: translate3d(0, 0, 0); | |
3350 | + transform: translate3d(0, 0, 0); | |
3351 | + z-index: 10; | |
3352 | +} | |
3353 | +.swiper-pagination { | |
3354 | + bottom: 10px; | |
3355 | + left: 0; | |
3356 | + width: 100%; | |
3357 | +} | |
3358 | +.swiper-pagination .swiper-pagination-switch { | |
3359 | + margin: 0 5px; | |
3360 | +} | |
3361 | +.swiper-pagination-switch { | |
3362 | + width: 8px; | |
3363 | + height: 8px; | |
3364 | + display: inline-block; | |
3365 | + /*background: #FFF;*/ | |
3366 | + background: none; | |
3367 | + -webkit-box-shadow: inset 0 0 0 2px #ddd; | |
3368 | + box-shadow: inset 0 0 0 2px #ddd; | |
3369 | + -webkit-box-shadow: inset hoff voff blur color; | |
3370 | + box-shadow: inset hoff voff blur color; | |
3371 | + border-radius: 100%; | |
3372 | + /* -webkit-transition: all ease-in-out .15s; | |
3373 | + -o-transition: all ease-in-out .15s; | |
3374 | + transition: all ease-in-out .15s;*/ | |
3375 | +} | |
3376 | +.swiper-active-switch { | |
3377 | + opacity: 1; | |
3378 | + -webkit-box-shadow: inset 0 0 0 4px #23AC38; | |
3379 | + box-shadow: inset 0 0 0 4px #23AC38; | |
3380 | + /*background: #23AC38;*/ | |
3381 | + /*-webkit-box-shadow: none;*/ | |
3382 | + /*box-shadow: none;*/ | |
3383 | +} | |
3384 | +.m-slider { | |
3385 | + height: 120px; | |
3386 | + position: relative; | |
3387 | + overflow: hidden; | |
3388 | + font-size: 0; | |
3389 | +} | |
3390 | +.m-slider a { | |
3391 | + display: block; | |
3392 | + width: 100%; | |
3393 | + height: 100%; | |
3394 | +} | |
3395 | +.m-slider img { | |
3396 | + display: inline-block; | |
3397 | + width: 100%; | |
3398 | + height: 100%; | |
3399 | + float: left; | |
3400 | +} | |
3401 | +.m-slider .swiper-container { | |
3402 | + height: 100%; | |
3403 | +} | |
3404 | +.m-slider .swiper-wrapper { | |
3405 | + height: 100%; | |
3406 | +} | |
3407 | + | |
3408 | +/* | |
3409 | +LESS variables are information about icon's compiled state, stored under its original file name | |
3410 | + | |
3411 | +.icon-home { | |
3412 | + width: @icon-home-width; | |
3413 | +} | |
3414 | + | |
3415 | +The large array-like variables contain all information about a single icon | |
3416 | +@icon-home: x y offset_x offset_y width height total_width total_height image_path name; | |
3417 | + | |
3418 | +At the bottom of this section, we provide information about the spritesheet itself | |
3419 | +@spritesheet: width height image @spritesheet-sprites; | |
3420 | +*/ | |
3421 | +/* | |
3422 | +The provided classes are intended to be used with the array-like variables | |
3423 | + | |
3424 | +.icon-home { | |
3425 | + .sprite-width(@icon-home); | |
3426 | +} | |
3427 | +.icon-email { | |
3428 | + .sprite(@icon-email); | |
3429 | +} | |
3430 | +*/ | |
3431 | +/* | |
3432 | +The `.sprites` mixin generates identical output to the CSS template | |
3433 | + but can be overridden inside of LESS | |
3434 | + | |
3435 | +This must be run when you have at least 2 sprites. | |
3436 | + If run with a single sprite, then there will be reference errors. | |
3437 | + | |
3438 | +.sprites(@spritesheet-sprites); | |
3439 | +*/ | |
3440 | + | |
3441 | +/* | |
3442 | +LESS variables are information about icon's compiled state, stored under its original file name | |
3443 | + | |
3444 | +.icon-home { | |
3445 | + width: @icon-home-width; | |
3446 | +} | |
3447 | + | |
3448 | +The large array-like variables contain all information about a single icon | |
3449 | +@icon-home: x y offset_x offset_y width height total_width total_height image_path name; | |
3450 | + | |
3451 | +At the bottom of this section, we provide information about the spritesheet itself | |
3452 | +@spritesheet: width height image @spritesheet-sprites; | |
3453 | +*/ | |
3454 | +/* | |
3455 | +The provided classes are intended to be used with the array-like variables | |
3456 | + | |
3457 | +.icon-home { | |
3458 | + .sprite-width(@icon-home); | |
3459 | +} | |
3460 | +.icon-email { | |
3461 | + .sprite(@icon-email); | |
3462 | +} | |
3463 | +*/ | |
3464 | +/* | |
3465 | +The `.sprites` mixin generates identical output to the CSS template | |
3466 | + but can be overridden inside of LESS | |
3467 | + | |
3468 | +This must be run when you have at least 2 sprites. | |
3469 | + If run with a single sprite, then there will be reference errors. | |
3470 | + | |
3471 | +.sprites(@spritesheet-sprites); | |
3472 | +*/ | |
3473 | + | |
3474 | +.m-nav { | |
3475 | + width: 100%; | |
3476 | + font-size: 14px; | |
3477 | + color: #999; | |
3478 | + overflow: hidden; | |
3479 | + box-sizing: border-box; | |
3480 | +} | |
3481 | +.m-nav a { | |
3482 | + color: #999; | |
3483 | + padding: 0 10px; | |
3484 | + min-width: 70px; | |
3485 | + display: block; | |
3486 | +} | |
3487 | +.m-nav li { | |
3488 | + float: left; | |
3489 | + line-height: 40px; | |
3490 | + text-align: center; | |
3491 | + position: relative; | |
3492 | +} | |
3493 | +.m-nav li:last-child { | |
3494 | + padding-right: 0; | |
3495 | +} | |
3496 | +.m-nav .on a { | |
3497 | + color: #FFF; | |
3498 | + background-color: #23ac38; | |
3499 | + display: block; | |
3500 | + position: relative; | |
3501 | +} | |
3502 | +.m-tab { | |
3503 | + width: 100%; | |
3504 | + background-color: #FFF; | |
3505 | + font-size: 14px; | |
3506 | + color: #999; | |
3507 | + border-width: 1px 0; | |
3508 | + overflow: hidden; | |
3509 | + box-sizing: border-box; | |
3510 | + margin-bottom: 10px; | |
3511 | +} | |
3512 | +.m-tab a { | |
3513 | + display: block; | |
3514 | + color: #999; | |
3515 | + padding: 0 10px; | |
3516 | + min-width: 70px; | |
3517 | +} | |
3518 | +.m-tab li { | |
3519 | + float: left; | |
3520 | + line-height: 45px; | |
3521 | + text-align: center; | |
3522 | + position: relative; | |
3523 | +} | |
3524 | +.m-tab li:last-child { | |
3525 | + padding-right: 0; | |
3526 | +} | |
3527 | +.m-tab .on a { | |
3528 | + color: #23ac38; | |
3529 | + display: block; | |
3530 | + position: relative; | |
3531 | +} | |
3532 | +.m-tab .on a:after { | |
3533 | + content: ''; | |
3534 | + position: absolute; | |
3535 | + bottom: 0; | |
3536 | + left: 0; | |
3537 | + right: 0; | |
3538 | + height: 2px; | |
3539 | + background-color: #23ac38; | |
3540 | +} | |
3541 | +.m-tab.hasright { | |
3542 | + position: relative; | |
3543 | +} | |
3544 | +.m-tab.hasright:before { | |
3545 | + content: ' '; | |
3546 | + display: block; | |
3547 | + position: absolute; | |
3548 | + top: 0; | |
3549 | + left: 0; | |
3550 | + width: 0; | |
3551 | + height: 0; | |
3552 | + transform: scaleY(1); | |
3553 | + animation: movehint 1.2s linear 3; | |
3554 | + -webkit-animation: movehint 1.6s linear 3; | |
3555 | + transition: all .3s; | |
3556 | + -webkit-transition: all .3s; | |
3557 | + opacity: 0; | |
3558 | + border-top: 2px solid #23ac38; | |
3559 | + animation-delay: 2s; | |
3560 | + animation-direction: alternate; | |
3561 | +} | |
3562 | +.m-tab.hasright:after { | |
3563 | + content: ' '; | |
3564 | + display: block; | |
3565 | + position: absolute; | |
3566 | + top: 0; | |
3567 | +} | |
3568 | +@keyframes movehint { | |
3569 | + 30%, | |
3570 | + 60%, | |
3571 | + 90% { | |
3572 | + opacity: 1; | |
3573 | + } | |
3574 | + 0% { | |
3575 | + width: 0; | |
3576 | + } | |
3577 | + 100% { | |
3578 | + width: 100%; | |
3579 | + } | |
3580 | +} | |
3581 | + | |
3582 | +/*************************************************** | |
3583 | +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等; | |
3584 | +* update : 2015/02/03; | |
3585 | +* use : 按需使用对应class即可; | |
3586 | +* desc : ; | |
3587 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
3588 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
3589 | +****************************************************/ | |
3590 | +.text-left { | |
3591 | + text-align: left !important; | |
3592 | +} | |
3593 | +.text-center { | |
3594 | + text-align: center !important; | |
3595 | +} | |
3596 | +.text-right { | |
3597 | + text-align: right !important; | |
3598 | +} | |
3599 | +.text-nowrap { | |
3600 | + white-space: nowrap !important; | |
3601 | +} | |
3602 | +.text-overflow { | |
3603 | + overflow: hidden; | |
3604 | + text-overflow: ellipsis; | |
3605 | +} | |
3606 | +.text-lowercase { | |
3607 | + text-transform: lowercase; | |
3608 | +} | |
3609 | +.text-uppercase { | |
3610 | + text-transform: uppercase; | |
3611 | +} | |
3612 | +.text-capitalize { | |
3613 | + text-transform: capitalize; | |
3614 | +} | |
3615 | +.text-indent { | |
3616 | + text-indent: -999em; | |
3617 | +} | |
3618 | +.float-left { | |
3619 | + float: left !important; | |
3620 | +} | |
3621 | +.float-right { | |
3622 | + float: right !important; | |
3623 | +} | |
3624 | +.float-none { | |
3625 | + float: none !important; | |
3626 | +} | |
3627 | +.display-block { | |
3628 | + display: block !important; | |
3629 | +} | |
3630 | +.clearfix:after { | |
3631 | + content: ''; | |
3632 | + display: block; | |
3633 | + height: 0; | |
3634 | + overflow: hidden; | |
3635 | + font-size: 0; | |
3636 | + clear: both; | |
3637 | +} | |
3638 | +.m-hide { | |
3639 | + display: none !important; | |
3640 | + visibility: hidden; | |
3641 | + opacity: 0; | |
3642 | + z-index: -1; | |
3643 | +} | |
3644 | +.m-hidden { | |
3645 | + visibility: hidden; | |
3646 | + opacity: 0; | |
3647 | + z-index: -1; | |
3648 | +} | |
3649 | +.m-show { | |
3650 | + display: block !important; | |
3651 | + visibility: visible; | |
3652 | +} | |
3653 | +.m-separate { | |
3654 | + position: relative; | |
3655 | + width: 100%; | |
3656 | + line-height: 50px; | |
3657 | + text-align: center; | |
3658 | + font-size: 12px; | |
3659 | + color: #666; | |
3660 | + overflow: visible; | |
3661 | +} | |
3662 | +.m-more, | |
3663 | +a.m-more { | |
3664 | + display: block; | |
3665 | + font-size: 12px; | |
3666 | + text-align: center; | |
3667 | + color: #999; | |
3668 | + line-height: 45px; | |
3669 | + background-color: #FFF; | |
3670 | +} | |
3671 | +.m-animate-hide { | |
3672 | + -webkit-transform: translate(0, 100%) translateZ(0) !important; | |
3673 | + -ms-transform: translate(0, 100%) translateZ(0) !important; | |
3674 | + -o-transform: translate(0, 100%) translateZ(0) !important; | |
3675 | + transform: translate(0, 100%) translateZ(0) !important; | |
3676 | +} | |
3677 | +.m-animate-show { | |
3678 | + -webkit-transform: translate(0, 0) translateZ(0) !important; | |
3679 | + -ms-transform: translate(0, 0) translateZ(0) !important; | |
3680 | + -o-transform: translate(0, 0) translateZ(0) !important; | |
3681 | + transform: translate(0, 0) translateZ(0) !important; | |
3682 | +} | |
3683 | +.hidden { | |
3684 | + opacity: 0; | |
3685 | + z-index: -1; | |
3686 | +} | |
3687 | +.mask-hidden { | |
3688 | + opacity: 0; | |
3689 | +} | |
3690 | +.font-white { | |
3691 | + color: #FFF !important; | |
3692 | +} | |
3693 | +.font-white-opacity { | |
3694 | + color: rgba(255, 255, 255, 0.8) !important; | |
3695 | +} | |
3696 | +.font-deep { | |
3697 | + color: #333 !important; | |
3698 | +} | |
3699 | +.font-gray { | |
3700 | + color: #666 !important; | |
3701 | +} | |
3702 | +.font-light { | |
3703 | + color: #999 !important; | |
3704 | +} | |
3705 | +.font-yellow { | |
3706 | + color: #FF9D2C !important; | |
3707 | +} | |
3708 | +.font-orange { | |
3709 | + color: #FF6B00 !important; | |
3710 | +} | |
3711 | +.font-red { | |
3712 | + color: #fa4535 !important; | |
3713 | +} | |
3714 | +.font-green { | |
3715 | + color: #23ac38 !important; | |
3716 | +} | |
3717 | +.background-white { | |
3718 | + background-color: #FFF; | |
3719 | +} | |
3720 | +.background-gray { | |
3721 | + background-color: #666 !important; | |
3722 | +} | |
3723 | +.background-deep-gray { | |
3724 | + background-color: #444 !important; | |
3725 | +} | |
3726 | +.background-yellow { | |
3727 | + background-color: #FF9D2C !important; | |
3728 | +} | |
3729 | +.background-orange { | |
3730 | + background-color: #FF6B00 !important; | |
3731 | +} | |
3732 | +.background-red { | |
3733 | + background-color: #fa4535 !important; | |
3734 | +} | |
3735 | +.background-green { | |
3736 | + background-color: #23ac38 !important; | |
3737 | +} | |
3738 | +.position-relative { | |
3739 | + position: relative; | |
3740 | +} | |
3741 | +.z-index2 { | |
3742 | + z-index: 2; | |
3743 | +} | |
3744 | +.width-auto { | |
3745 | + width: auto !important; | |
3746 | +} | |
3747 | +.width-200p { | |
3748 | + width: 200%; | |
3749 | +} | |
3750 | +.m-col-1 { | |
3751 | + width: 100% !important; | |
3752 | +} | |
3753 | +.m-col-2 { | |
3754 | + width: 50% !important; | |
3755 | +} | |
3756 | +.m-col-3 { | |
3757 | + width: 33.33% !important; | |
3758 | +} | |
3759 | +.m-col-4 { | |
3760 | + width: 25% !important; | |
3761 | +} | |
3762 | + | |
3763 | +@import "icon.css"; | |
3764 | +@import "icon_admin.css"; | |
3765 | +* { | |
3766 | + -moz-tap-highlight-color: rgba(0, 0, 0, 0); | |
3767 | + -o-tap-highlight-color: rgba(0, 0, 0, 0); | |
3768 | + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
3769 | +} | |
3770 | +html { | |
3771 | + height: 100%; | |
3772 | +} | |
3773 | +html, | |
3774 | +body, | |
3775 | +div, | |
3776 | +span, | |
3777 | +object, | |
3778 | +iframe, | |
3779 | +h1, | |
3780 | +h2, | |
3781 | +h3, | |
3782 | +h4, | |
3783 | +h5, | |
3784 | +h6, | |
3785 | +p, | |
3786 | +blockquote, | |
3787 | +pre, | |
3788 | +abbr, | |
3789 | +address, | |
3790 | +cite, | |
3791 | +code, | |
3792 | +del, | |
3793 | +dfn, | |
3794 | +em, | |
3795 | +img, | |
3796 | +ins, | |
3797 | +kbd, | |
3798 | +q, | |
3799 | +samp, | |
3800 | +small, | |
3801 | +strong, | |
3802 | +sub, | |
3803 | +sup, | |
3804 | +var, | |
3805 | +b, | |
3806 | +i, | |
3807 | +dl, | |
3808 | +dt, | |
3809 | +dd, | |
3810 | +ol, | |
3811 | +ul, | |
3812 | +li, | |
3813 | +fieldset, | |
3814 | +form, | |
3815 | +label, | |
3816 | +legend, | |
3817 | +table, | |
3818 | +caption, | |
3819 | +tbody, | |
3820 | +tfoot, | |
3821 | +thead, | |
3822 | +tr, | |
3823 | +th, | |
3824 | +td, | |
3825 | +article, | |
3826 | +aside, | |
3827 | +canvas, | |
3828 | +details, | |
3829 | +figcaption, | |
3830 | +figure, | |
3831 | +footer, | |
3832 | +header, | |
3833 | +menu, | |
3834 | +nav, | |
3835 | +section, | |
3836 | +summary, | |
3837 | +time, | |
3838 | +mark, | |
3839 | +audio, | |
3840 | +video { | |
3841 | + margin: 0; | |
3842 | + padding: 0; | |
3843 | + border: 0; | |
3844 | + outline: 0; | |
3845 | + vertical-align: baseline; | |
3846 | + background: transparent; | |
3847 | +} | |
3848 | +body { | |
3849 | + font: 12px/1.5 sans-serif; | |
3850 | + position: relative; | |
3851 | + color: #333; | |
3852 | + min-height: 100%; | |
3853 | + overflow-x: hidden; | |
3854 | +} | |
3855 | +article, | |
3856 | +aside, | |
3857 | +details, | |
3858 | +figcaption, | |
3859 | +figure, | |
3860 | +footer, | |
3861 | +header, | |
3862 | +menu, | |
3863 | +nav, | |
3864 | +section { | |
3865 | + display: block; | |
3866 | +} | |
3867 | +nav ul { | |
3868 | + list-style: none; | |
3869 | +} | |
3870 | +li { | |
3871 | + list-style: none; | |
3872 | +} | |
3873 | +em { | |
3874 | + font-style: normal; | |
3875 | +} | |
3876 | +ins { | |
3877 | + background-color: #ff9; | |
3878 | + color: #000; | |
3879 | + text-decoration: none; | |
3880 | +} | |
3881 | +mark { | |
3882 | + background-color: #ff9; | |
3883 | + color: #000; | |
3884 | + font-style: italic; | |
3885 | + font-weight: bold; | |
3886 | +} | |
3887 | +table { | |
3888 | + border-collapse: collapse; | |
3889 | + border-spacing: 0; | |
3890 | +} | |
3891 | +hr { | |
3892 | + display: block; | |
3893 | + height: 1px; | |
3894 | + border: 0; | |
3895 | + border-top: 1px solid #cccccc; | |
3896 | + margin: 0; | |
3897 | + padding: 0; | |
3898 | +} | |
3899 | +input, | |
3900 | +select { | |
3901 | + vertical-align: middle; | |
3902 | +} | |
3903 | +input:focus, | |
3904 | +button:focus { | |
3905 | + outline: none; | |
3906 | +} | |
3907 | +a { | |
3908 | + color: #333; | |
3909 | + text-decoration: none; | |
3910 | + margin: 0; | |
3911 | + padding: 0; | |
3912 | + vertical-align: baseline; | |
3913 | + background: transparent; | |
3914 | +} | |
3915 | +a:active, | |
3916 | +a:visited { | |
3917 | + color: #333; | |
3918 | +} | |
3919 | +input, | |
3920 | +img { | |
3921 | + border: 0; | |
3922 | + vertical-align: middle; | |
3923 | +} | |
3924 | +textarea, | |
3925 | +input, | |
3926 | +a { | |
3927 | + -webkit-tap-highlight-color: transparent; | |
3928 | +} | |
3929 | +/* 清除浮动 */ | |
3930 | +.clearfix, | |
3931 | +.clear { | |
3932 | + display: inline-table; | |
3933 | + zoom: 1; | |
3934 | +} | |
3935 | +* html .clearfix, | |
3936 | +* html .clear { | |
3937 | + height: 1%; | |
3938 | +} | |
3939 | +* html .clearfix, | |
3940 | +* html .clear { | |
3941 | + zoom: 1; | |
3942 | +} | |
3943 | +.clearfix, | |
3944 | +.clear { | |
3945 | + display: block; | |
3946 | +} | |
3947 | +.clear { | |
3948 | + clear: both; | |
3949 | +} | |
3950 | +.clearfix:after, | |
3951 | +.clear:after { | |
3952 | + content: " "; | |
3953 | + display: block; | |
3954 | + height: 0; | |
3955 | + clear: both; | |
3956 | + visibility: hidden; | |
3957 | + line-height: 0px; | |
3958 | +} | |
3959 | +.border-1px { | |
3960 | + position: relative; | |
3961 | +} | |
3962 | +.border-1px:before, | |
3963 | +.border-1px:after { | |
3964 | + border-top: 1px solid #e2e2e2; | |
3965 | + content: ''; | |
3966 | + display: block; | |
3967 | + width: 100%; | |
3968 | + position: absolute; | |
3969 | + left: 0; | |
3970 | + z-index: 1; | |
3971 | +} | |
3972 | +.border-1px:before { | |
3973 | + top: 0; | |
3974 | +} | |
3975 | +.border-1px:after { | |
3976 | + bottom: 0; | |
3977 | +} | |
3978 | +.border-1px.border-top:after { | |
3979 | + display: none; | |
3980 | +} | |
3981 | +.border-1px.border-bottom:before { | |
3982 | + display: none; | |
3983 | +} | |
3984 | +.border-1px-full { | |
3985 | + position: relative; | |
3986 | +} | |
3987 | +.border-1px-full:after { | |
3988 | + content: ''; | |
3989 | + position: absolute; | |
3990 | + top: 0; | |
3991 | + left: 0; | |
3992 | + z-index: 1; | |
3993 | + border: 1px solid #e2e2e2; | |
3994 | + -webkit-box-sizing: border-box; | |
3995 | + box-sizing: border-box; | |
3996 | + width: 200%; | |
3997 | + height: 200%; | |
3998 | + -webkit-transform: scale(0.5); | |
3999 | + transform: scale(0.5); | |
4000 | + -webkit-transform-origin: left top; | |
4001 | + transform-origin: left top; | |
4002 | +} | |
4003 | +@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) { | |
4004 | + .border-1px::after, | |
4005 | + .border-1px::before { | |
4006 | + -webkit-transform: scaleY(0.7); | |
4007 | + -webkit-transform-origin: 0 0; | |
4008 | + transform: scaleY(0.7); | |
4009 | + } | |
4010 | + .border-1px::after { | |
4011 | + -webkit-transform-origin: left bottom; | |
4012 | + } | |
4013 | +} | |
4014 | +@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { | |
4015 | + .border-1px::after, | |
4016 | + .border-1px::before { | |
4017 | + -webkit-transform: scaleY(0.5); | |
4018 | + transform: scaleY(0.5); | |
4019 | + } | |
4020 | +} | |
4021 | +/*************************************************** | |
4022 | +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等; | |
4023 | +* update : 2015/02/03; | |
4024 | +* use : 按需使用对应class即可; | |
4025 | +* desc : ; | |
4026 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
4027 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
4028 | +****************************************************/ | |
4029 | +.text-left { | |
4030 | + text-align: left !important; | |
4031 | +} | |
4032 | +.text-center { | |
4033 | + text-align: center !important; | |
4034 | +} | |
4035 | +.text-right { | |
4036 | + text-align: right !important; | |
4037 | +} | |
4038 | +.text-nowrap { | |
4039 | + white-space: nowrap !important; | |
4040 | +} | |
4041 | +.text-overflow { | |
4042 | + overflow: hidden; | |
4043 | + text-overflow: ellipsis; | |
4044 | +} | |
4045 | +.text-lowercase { | |
4046 | + text-transform: lowercase; | |
4047 | +} | |
4048 | +.text-uppercase { | |
4049 | + text-transform: uppercase; | |
4050 | +} | |
4051 | +.text-capitalize { | |
4052 | + text-transform: capitalize; | |
4053 | +} | |
4054 | +.text-indent { | |
4055 | + text-indent: -999em; | |
4056 | +} | |
4057 | +.float-left { | |
4058 | + float: left !important; | |
4059 | +} | |
4060 | +.float-right { | |
4061 | + float: right !important; | |
4062 | +} | |
4063 | +.float-none { | |
4064 | + float: none !important; | |
4065 | +} | |
4066 | +.display-block { | |
4067 | + display: block !important; | |
4068 | +} | |
4069 | +.clearfix:after { | |
4070 | + content: ''; | |
4071 | + display: block; | |
4072 | + height: 0; | |
4073 | + overflow: hidden; | |
4074 | + font-size: 0; | |
4075 | + clear: both; | |
4076 | +} | |
4077 | +.m-hide { | |
4078 | + display: none !important; | |
4079 | + visibility: hidden; | |
4080 | + opacity: 0; | |
4081 | + z-index: -1; | |
4082 | +} | |
4083 | +.m-hidden { | |
4084 | + visibility: hidden; | |
4085 | + opacity: 0; | |
4086 | + z-index: -1; | |
4087 | +} | |
4088 | +.m-show { | |
4089 | + display: block !important; | |
4090 | + visibility: visible; | |
4091 | +} | |
4092 | +.m-separate { | |
4093 | + position: relative; | |
4094 | + width: 100%; | |
4095 | + line-height: 50px; | |
4096 | + text-align: center; | |
4097 | + font-size: 12px; | |
4098 | + color: #666; | |
4099 | + overflow: visible; | |
4100 | +} | |
4101 | +.m-more, | |
4102 | +a.m-more { | |
4103 | + display: block; | |
4104 | + font-size: 12px; | |
4105 | + text-align: center; | |
4106 | + color: #999; | |
4107 | + line-height: 45px; | |
4108 | + background-color: #FFF; | |
4109 | +} | |
4110 | +.m-animate-hide { | |
4111 | + -webkit-transform: translate(0, 100%) translateZ(0) !important; | |
4112 | + -ms-transform: translate(0, 100%) translateZ(0) !important; | |
4113 | + -o-transform: translate(0, 100%) translateZ(0) !important; | |
4114 | + transform: translate(0, 100%) translateZ(0) !important; | |
4115 | +} | |
4116 | +.m-animate-show { | |
4117 | + -webkit-transform: translate(0, 0) translateZ(0) !important; | |
4118 | + -ms-transform: translate(0, 0) translateZ(0) !important; | |
4119 | + -o-transform: translate(0, 0) translateZ(0) !important; | |
4120 | + transform: translate(0, 0) translateZ(0) !important; | |
4121 | +} | |
4122 | +.hidden { | |
4123 | + opacity: 0; | |
4124 | + z-index: -1; | |
4125 | +} | |
4126 | +.mask-hidden { | |
4127 | + opacity: 0; | |
4128 | +} | |
4129 | +.font-white { | |
4130 | + color: #FFF !important; | |
4131 | +} | |
4132 | +.font-white-opacity { | |
4133 | + color: rgba(255, 255, 255, 0.8) !important; | |
4134 | +} | |
4135 | +.font-deep { | |
4136 | + color: #333 !important; | |
4137 | +} | |
4138 | +.font-gray { | |
4139 | + color: #666 !important; | |
4140 | +} | |
4141 | +.font-light { | |
4142 | + color: #999 !important; | |
4143 | +} | |
4144 | +.font-yellow { | |
4145 | + color: #FF9D2C !important; | |
4146 | +} | |
4147 | +.font-orange { | |
4148 | + color: #FF6B00 !important; | |
4149 | +} | |
4150 | +.font-red { | |
4151 | + color: #fa4535 !important; | |
4152 | +} | |
4153 | +.font-green { | |
4154 | + color: #23ac38 !important; | |
4155 | +} | |
4156 | +.background-white { | |
4157 | + background-color: #FFF; | |
4158 | +} | |
4159 | +.background-gray { | |
4160 | + background-color: #666 !important; | |
4161 | +} | |
4162 | +.background-deep-gray { | |
4163 | + background-color: #444 !important; | |
4164 | +} | |
4165 | +.background-yellow { | |
4166 | + background-color: #FF9D2C !important; | |
4167 | +} | |
4168 | +.background-orange { | |
4169 | + background-color: #FF6B00 !important; | |
4170 | +} | |
4171 | +.background-red { | |
4172 | + background-color: #fa4535 !important; | |
4173 | +} | |
4174 | +.background-green { | |
4175 | + background-color: #23ac38 !important; | |
4176 | +} | |
4177 | +.position-relative { | |
4178 | + position: relative; | |
4179 | +} | |
4180 | +.z-index2 { | |
4181 | + z-index: 2; | |
4182 | +} | |
4183 | +.width-auto { | |
4184 | + width: auto !important; | |
4185 | +} | |
4186 | +.width-200p { | |
4187 | + width: 200%; | |
4188 | +} | |
4189 | +.m-col-1 { | |
4190 | + width: 100% !important; | |
4191 | +} | |
4192 | +.m-col-2 { | |
4193 | + width: 50% !important; | |
4194 | +} | |
4195 | +.m-col-3 { | |
4196 | + width: 33.33% !important; | |
4197 | +} | |
4198 | +.m-col-4 { | |
4199 | + width: 25% !important; | |
4200 | +} | |
4201 | +/*************************************************** | |
4202 | +* feature : 全局头部,提供默认 深色(绿底白字) & 浅色(白底黑字)主题; | |
4203 | +* update : 2015/02/03; | |
4204 | +* use : .m-header; | |
4205 | +* extend : .header-*; | |
4206 | +* example : <header class="m-header header-light"></header>; | |
4207 | +* desc : 默认为深色主题, 通过 .header-light 来引用浅色主题; | |
4208 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
4209 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
4210 | +****************************************************/ | |
4211 | +.m-header { | |
4212 | + z-index: 5; | |
4213 | + color: #FFF; | |
4214 | + color: #ffffff; | |
4215 | + background-color: #23AC38; | |
4216 | + position: relative; | |
4217 | +} | |
4218 | +.m-header .head { | |
4219 | + padding: 0 50px; | |
4220 | + box-sizing: border-box; | |
4221 | + height: 44px; | |
4222 | + text-align: center; | |
4223 | +} | |
4224 | +.m-header .head h1 { | |
4225 | + display: inline-block; | |
4226 | + vertical-align: middle; | |
4227 | + line-height: 44px; | |
4228 | + font-weight: normal; | |
4229 | + font-size: 18px; | |
4230 | + white-space: nowrap; | |
4231 | + text-overflow: ellipsis; | |
4232 | + overflow: hidden; | |
4233 | +} | |
4234 | +.m-header .lt-bar, | |
4235 | +.m-header .rt-bar { | |
4236 | + position: absolute; | |
4237 | + left: 0; | |
4238 | + top: 0; | |
4239 | + bottom: 0; | |
4240 | + min-width: 44px; | |
4241 | + line-height: 44px; | |
4242 | + height: 100%; | |
4243 | + text-align: center; | |
4244 | + cursor: pointer; | |
4245 | + z-index: 1; | |
4246 | +} | |
4247 | +.m-header .lt-bar { | |
4248 | + float: left; | |
4249 | +} | |
4250 | +.m-header .lt-bar.text { | |
4251 | + padding-left: 10px; | |
4252 | + text-align: left; | |
4253 | +} | |
4254 | +.m-header .rt-bar { | |
4255 | + float: right; | |
4256 | + left: auto; | |
4257 | + right: 0; | |
4258 | +} | |
4259 | +.m-header .rt-bar.text { | |
4260 | + padding-right: 10px; | |
4261 | + text-align: right; | |
4262 | +} | |
4263 | +.m-header .text { | |
4264 | + text-align: center; | |
4265 | + line-height: 44px; | |
4266 | + font-size: 15px; | |
4267 | + color: #FFF; | |
4268 | +} | |
4269 | +.m-header.header-light { | |
4270 | + background-color: #FFF; | |
4271 | + color: #666; | |
4272 | +} | |
4273 | +.m-header.header-light .text { | |
4274 | + color: #666; | |
4275 | +} | |
4276 | +.m-header.header-light .m-input { | |
4277 | + color: #333; | |
4278 | +} | |
4279 | +.m-header.header-light .m-input::-webkit-input-placeholder { | |
4280 | + color: #999; | |
4281 | +} | |
4282 | +/* | |
4283 | + * Swiper 2.7.0 | |
4284 | + * Mobile touch slider and framework with hardware accelerated transitions | |
4285 | + * | |
4286 | + * http://www.idangero.us/sliders/swiper/ | |
4287 | + * | |
4288 | + * Copyright 2010-2014, Vladimir Kharlampidi | |
4289 | + * The iDangero.us | |
4290 | + * http://www.idangero.us/ | |
4291 | + * | |
4292 | + * Licensed under GPL & MIT | |
4293 | + * | |
4294 | + * Released on: August 30, 2014 | |
4295 | +*/ | |
4296 | +/* =============================================================== | |
4297 | +Basic Swiper Styles | |
4298 | +================================================================*/ | |
4299 | +.swiper-container { | |
4300 | + margin: 0 auto; | |
4301 | + position: relative; | |
4302 | + overflow: hidden; | |
4303 | + -webkit-backface-visibility: hidden; | |
4304 | + -moz-backface-visibility: hidden; | |
4305 | + -ms-backface-visibility: hidden; | |
4306 | + -o-backface-visibility: hidden; | |
4307 | + backface-visibility: hidden; | |
4308 | + /* Fix of Webkit flickering */ | |
4309 | + z-index: 1; | |
4310 | +} | |
4311 | +.swiper-wrapper { | |
4312 | + position: relative; | |
4313 | + width: 100%; | |
4314 | + -webkit-transition-property: -webkit-transform, left, top; | |
4315 | + -webkit-transition-duration: 0s; | |
4316 | + -webkit-transform: translate3d(0px, 0, 0); | |
4317 | + -webkit-transition-timing-function: ease; | |
4318 | + -moz-transition-property: -moz-transform, left, top; | |
4319 | + -moz-transition-duration: 0s; | |
4320 | + -moz-transform: translate3d(0px, 0, 0); | |
4321 | + -moz-transition-timing-function: ease; | |
4322 | + -o-transition-property: -o-transform, left, top; | |
4323 | + -o-transition-duration: 0s; | |
4324 | + -o-transform: translate3d(0px, 0, 0); | |
4325 | + -o-transition-timing-function: ease; | |
4326 | + -o-transform: translate(0px, 0px); | |
4327 | + -ms-transition-property: -ms-transform, left, top; | |
4328 | + -ms-transition-duration: 0s; | |
4329 | + -ms-transform: translate3d(0px, 0, 0); | |
4330 | + -ms-transition-timing-function: ease; | |
4331 | + transition-property: transform, left, top; | |
4332 | + transition-duration: 0s; | |
4333 | + transform: translate3d(0px, 0, 0); | |
4334 | + transition-timing-function: ease; | |
4335 | + -webkit-box-sizing: content-box; | |
4336 | + -moz-box-sizing: content-box; | |
4337 | + box-sizing: content-box; | |
4338 | +} | |
4339 | +.swiper-free-mode > .swiper-wrapper { | |
4340 | + -webkit-transition-timing-function: ease-out; | |
4341 | + -moz-transition-timing-function: ease-out; | |
4342 | + -ms-transition-timing-function: ease-out; | |
4343 | + -o-transition-timing-function: ease-out; | |
4344 | + transition-timing-function: ease-out; | |
4345 | + margin: 0 auto; | |
4346 | +} | |
4347 | +.swiper-slide { | |
4348 | + float: left; | |
4349 | + -webkit-box-sizing: content-box; | |
4350 | + -moz-box-sizing: content-box; | |
4351 | + box-sizing: content-box; | |
4352 | +} | |
4353 | +/* IE10 Windows Phone 8 Fixes */ | |
4354 | +.swiper-wp8-horizontal { | |
4355 | + -ms-touch-action: pan-y; | |
4356 | +} | |
4357 | +.swiper-wp8-vertical { | |
4358 | + -ms-touch-action: pan-x; | |
4359 | +} | |
4360 | +/* =============================================================== | |
4361 | +Your custom styles, here you need to specify container's and slide's | |
4362 | +sizes, pagination, etc. | |
4363 | +================================================================*/ | |
4364 | +.swiper-container { | |
4365 | + /* Specify Swiper's Size: */ | |
4366 | + /*width:200px; | |
4367 | + height: 100px;*/ | |
4368 | +} | |
4369 | +.swiper-slide { | |
4370 | + /* Specify Slides's Size: */ | |
4371 | + /*width: 100%; | |
4372 | + height: 100%;*/ | |
4373 | +} | |
4374 | +.swiper-slide-active { | |
4375 | + /* Specific active slide styling: */ | |
4376 | +} | |
4377 | +.swiper-slide-visible { | |
4378 | + /* Specific visible slide styling: */ | |
4379 | +} | |
4380 | +/* =============================================================== | |
4381 | +Pagination Styles | |
4382 | +================================================================*/ | |
4383 | +.swiper-pagination-switch { | |
4384 | + /* Stylize pagination button: */ | |
4385 | +} | |
4386 | +.swiper-active-switch { | |
4387 | + /* Specific active button style: */ | |
4388 | +} | |
4389 | +.swiper-visible-switch { | |
4390 | + /* Specific visible button style: */ | |
4391 | +} | |
4392 | +.swiper-pagination { | |
4393 | + position: absolute; | |
4394 | + text-align: center; | |
4395 | + -webkit-transition: 300ms; | |
4396 | + -moz-transition: 300ms; | |
4397 | + -o-transition: 300ms; | |
4398 | + transition: 300ms; | |
4399 | + -webkit-transform: translate3d(0, 0, 0); | |
4400 | + -ms-transform: translate3d(0, 0, 0); | |
4401 | + -o-transform: translate3d(0, 0, 0); | |
4402 | + transform: translate3d(0, 0, 0); | |
4403 | + z-index: 10; | |
4404 | +} | |
4405 | +.swiper-pagination { | |
4406 | + bottom: 10px; | |
4407 | + left: 0; | |
4408 | + width: 100%; | |
4409 | +} | |
4410 | +.swiper-pagination .swiper-pagination-switch { | |
4411 | + margin: 0 5px; | |
4412 | +} | |
4413 | +.swiper-pagination-switch { | |
4414 | + width: 8px; | |
4415 | + height: 8px; | |
4416 | + display: inline-block; | |
4417 | + /*background: #FFF;*/ | |
4418 | + background: none; | |
4419 | + -webkit-box-shadow: inset 0 0 0 2px #ddd; | |
4420 | + box-shadow: inset 0 0 0 2px #ddd; | |
4421 | + -webkit-box-shadow: inset hoff voff blur color; | |
4422 | + box-shadow: inset hoff voff blur color; | |
4423 | + border-radius: 100%; | |
4424 | + /* -webkit-transition: all ease-in-out .15s; | |
4425 | + -o-transition: all ease-in-out .15s; | |
4426 | + transition: all ease-in-out .15s;*/ | |
4427 | +} | |
4428 | +.swiper-active-switch { | |
4429 | + opacity: 1; | |
4430 | + -webkit-box-shadow: inset 0 0 0 4px #23AC38; | |
4431 | + box-shadow: inset 0 0 0 4px #23AC38; | |
4432 | + /*background: #23AC38;*/ | |
4433 | + /*-webkit-box-shadow: none;*/ | |
4434 | + /*box-shadow: none;*/ | |
4435 | +} | |
4436 | +.m-slider { | |
4437 | + height: 120px; | |
4438 | + position: relative; | |
4439 | + overflow: hidden; | |
4440 | + font-size: 0; | |
4441 | +} | |
4442 | +.m-slider a { | |
4443 | + display: block; | |
4444 | + width: 100%; | |
4445 | + height: 100%; | |
4446 | +} | |
4447 | +.m-slider img { | |
4448 | + display: inline-block; | |
4449 | + width: 100%; | |
4450 | + height: 100%; | |
4451 | + float: left; | |
4452 | +} | |
4453 | +.m-slider .swiper-container { | |
4454 | + height: 100%; | |
4455 | +} | |
4456 | +.m-slider .swiper-wrapper { | |
4457 | + height: 100%; | |
4458 | +} | |
4459 | +.m-section .section-head { | |
4460 | + line-height: 45px; | |
4461 | + padding: 0 10px; | |
4462 | + background-color: #fff; | |
4463 | + font-size: 14px; | |
4464 | + color: #666; | |
4465 | + text-align: left; | |
4466 | + font-weight: bold; | |
4467 | + margin-bottom: 10px; | |
4468 | +} | |
4469 | +.m-section .section-head:first-letter { | |
4470 | + font-size: 18px; | |
4471 | + color: #23ac38; | |
4472 | +} | |
4473 | +.section-items { | |
4474 | + margin-bottom: 10px; | |
4475 | +} | |
4476 | +.section-items .section-item { | |
4477 | + display: block; | |
4478 | + margin-bottom: 5px; | |
4479 | + width: 100%; | |
4480 | +} | |
4481 | +.section-items .section-item img { | |
4482 | + width: 100%; | |
4483 | + max-width: 100%; | |
4484 | +} | |
4485 | +.product-items { | |
4486 | + background-color: #FFF; | |
4487 | + margin-bottom: 10px; | |
4488 | +} | |
4489 | +.product-items .items .item { | |
4490 | + width: 33.33%; | |
4491 | + float: left; | |
4492 | + font-size: 13px; | |
4493 | + text-align: center; | |
4494 | + padding: 8px 0; | |
4495 | +} | |
4496 | +.product-items .items .item a { | |
4497 | + display: block; | |
4498 | + position: relative; | |
4499 | + z-index: 2; | |
4500 | +} | |
4501 | +.product-items .items .item h3 { | |
4502 | + font-size: 13px; | |
4503 | + padding: 0 5px; | |
4504 | + font-weight: 700; | |
4505 | + color: #333; | |
4506 | + line-height: 16px; | |
4507 | + padding: 0 10px; | |
4508 | + text-align: left; | |
4509 | + text-overflow: ellipsis; | |
4510 | + overflow: hidden; | |
4511 | + white-space: nowrap; | |
4512 | +} | |
4513 | +.product-items .items .item p { | |
4514 | + padding: 0 10px; | |
4515 | + text-align: left; | |
4516 | +} | |
4517 | +.product-items .items .item em { | |
4518 | + text-align: left; | |
4519 | + display: block; | |
4520 | + font-size: 13px; | |
4521 | + font-weight: 700; | |
4522 | + font-style: normal; | |
4523 | + color: #FA4535; | |
4524 | + text-overflow: ellipsis; | |
4525 | + overflow: hidden; | |
4526 | + white-space: nowrap; | |
4527 | +} | |
4528 | +.product-items .items .item span { | |
4529 | + display: block; | |
4530 | + text-align: center; | |
4531 | + overflow: hidden; | |
4532 | + white-space: nowrap; | |
4533 | + text-overflow: ellipsis; | |
4534 | +} | |
4535 | +.product-items .items .item .pic { | |
4536 | + max-width: 100%; | |
4537 | + height: 60px; | |
4538 | + display: inline-block; | |
4539 | + vertical-align: middle; | |
4540 | +} | |
4541 | +.product-items .items .item:after { | |
4542 | + border-left: none; | |
4543 | + border-top: none; | |
4544 | +} | |
4545 | +.scroll-wrap { | |
4546 | + overflow-y: hidden; | |
4547 | + overflow-x: scroll; | |
4548 | + -webkit-overflow-scrolling: touch; | |
4549 | +} | |
4550 | +.scroll-wrap .m-goods-items { | |
4551 | + white-space: nowrap; | |
4552 | +} | |
4553 | +.scroll-wrap .m-goods-items li { | |
4554 | + float: none; | |
4555 | + display: inline; | |
4556 | + width: 110px !important; | |
4557 | +} | |
4558 | +.scroll-wrap .m-goods-items li a { | |
4559 | + display: inline-block; | |
4560 | + width: 100px; | |
4561 | +} | |
4562 | +.scroll-wrap .m-tab, | |
4563 | +.scroll-wrap .m-nav { | |
4564 | + white-space: nowrap; | |
4565 | + overflow: visible; | |
4566 | + width: auto; | |
4567 | +} | |
4568 | +.scroll-wrap .m-tab li, | |
4569 | +.scroll-wrap .m-nav li { | |
4570 | + float: none; | |
4571 | + display: inline; | |
4572 | + width: 90px; | |
4573 | +} | |
4574 | +.scroll-wrap .m-tab li a, | |
4575 | +.scroll-wrap .m-nav li a { | |
4576 | + display: inline-block; | |
4577 | +} | |
4578 | +.m-list-view { | |
4579 | + margin-bottom: 10px; | |
4580 | +} | |
4581 | +.m-list-view .cell { | |
4582 | + font-size: 14px; | |
4583 | + padding: 0 0 0 15px; | |
4584 | + background-color: #FFF; | |
4585 | + overflow: hidden; | |
4586 | + position: relative; | |
4587 | + text-align: left; | |
4588 | +} | |
4589 | +.m-list-view .cell-header { | |
4590 | + background-color: #f8f8f8; | |
4591 | + padding: 0 10px; | |
4592 | +} | |
4593 | +.m-list-view .cell-header .title { | |
4594 | + font-size: 13px; | |
4595 | + color: #333; | |
4596 | + line-height: 35px; | |
4597 | + width: auto; | |
4598 | +} | |
4599 | +.m-list-view .cell-header .text { | |
4600 | + font-size: 13px; | |
4601 | + line-height: 35px; | |
4602 | + float: right; | |
4603 | + color: #9e9e9e; | |
4604 | + text-align: right; | |
4605 | + margin: 0; | |
4606 | +} | |
4607 | +.m-list-view .cell-basic { | |
4608 | + padding: 11px 10px; | |
4609 | +} | |
4610 | +.m-list-view .cell-basic .title, | |
4611 | +.m-list-view .cell-basic .text { | |
4612 | + float: none; | |
4613 | + display: inline-block; | |
4614 | + vertical-align: middle; | |
4615 | + margin: 0 10px 0 0; | |
4616 | + line-height: 1.5; | |
4617 | +} | |
4618 | +.m-list-view .cell-basic .sub-title { | |
4619 | + padding-top: 10px; | |
4620 | + font-size: 13px; | |
4621 | + color: #999; | |
4622 | +} | |
4623 | +.m-list-view .cell-radio { | |
4624 | + text-align: right; | |
4625 | + padding: 0 10px; | |
4626 | + margin-bottom: 10px; | |
4627 | + background-color: #eee; | |
4628 | +} | |
4629 | +.m-list-view .cell-radio .title { | |
4630 | + color: #333; | |
4631 | + width: auto; | |
4632 | + text-align: left; | |
4633 | +} | |
4634 | +.m-list-view .cell-radio .text { | |
4635 | + float: none; | |
4636 | + text-align: right; | |
4637 | +} | |
4638 | +.m-list-view .cell-radio .m-radio { | |
4639 | + margin-left: 8px; | |
4640 | +} | |
4641 | +.m-list-view .cell-radio .m-table-view { | |
4642 | + margin: 0 -10px; | |
4643 | +} | |
4644 | +.m-list-view .cell-radio .m-table-view .cell-radio { | |
4645 | + margin: 0; | |
4646 | + background-color: #FFF; | |
4647 | +} | |
4648 | +.m-list-view .cell-block { | |
4649 | + padding: 8px 10px; | |
4650 | +} | |
4651 | +.m-list-view .cell-block h3 { | |
4652 | + font-size: 16px; | |
4653 | + font-weight: normal; | |
4654 | + padding-right: 60px; | |
4655 | + white-space: nowrap; | |
4656 | + text-overflow: ellipsis; | |
4657 | + overflow: hidden; | |
4658 | +} | |
4659 | +.m-list-view .cell-block p { | |
4660 | + font-size: 14px; | |
4661 | + color: #666; | |
4662 | +} | |
4663 | +.m-list-view .cell-block .bottom { | |
4664 | + margin-top: 10px; | |
4665 | + padding-top: 8px; | |
4666 | + line-height: 30px; | |
4667 | +} | |
4668 | +.m-list-view .cell-extend .m-table-view { | |
4669 | + margin: 0 0 0 45px; | |
4670 | +} | |
4671 | +.m-list-view .cell-extend .m-table-view .cell { | |
4672 | + padding: 0; | |
4673 | +} | |
4674 | +.m-list-view .cell-extend .m-table-view .text { | |
4675 | + margin-left: 0; | |
4676 | +} | |
4677 | +.m-list-view .cell-pic { | |
4678 | + padding: 15px; | |
4679 | +} | |
4680 | +.m-list-view .cell-pic .pic { | |
4681 | + float: left; | |
4682 | +} | |
4683 | +.m-list-view .cell-pic .cont { | |
4684 | + margin-left: 90px; | |
4685 | +} | |
4686 | +.m-list-view .cell-pic h3 { | |
4687 | + font-size: 14px; | |
4688 | + font-weight: normal; | |
4689 | +} | |
4690 | +.m-list-view .cell-pic em { | |
4691 | + font-size: 16px; | |
4692 | + font-weight: normal; | |
4693 | +} | |
4694 | +.m-list-view .cell-pic p { | |
4695 | + color: #9b9b9b; | |
4696 | + font-size: 12px; | |
4697 | +} | |
4698 | +.m-list-view .acc-icon { | |
4699 | + position: relative; | |
4700 | + padding-right: 30px; | |
4701 | +} | |
4702 | +.m-list-view .acc-icon .acc { | |
4703 | + position: absolute; | |
4704 | + right: 0; | |
4705 | + top: 0; | |
4706 | + min-width: 30px; | |
4707 | + height: 100%; | |
4708 | + line-height: 44px; | |
4709 | + text-align: left; | |
4710 | + color: #999; | |
4711 | + text-align: right; | |
4712 | +} | |
4713 | +.m-list-view .acc-icon .acc .m-icon { | |
4714 | + margin-right: 4px; | |
4715 | +} | |
4716 | +.m-list-view .title { | |
4717 | + font-size: 15px; | |
4718 | + color: #999; | |
4719 | + float: left; | |
4720 | + font-weight: 400; | |
4721 | + line-height: 44px; | |
4722 | +} | |
4723 | +.m-list-view .text { | |
4724 | + display: block; | |
4725 | + font-size: 15px; | |
4726 | + color: #333; | |
4727 | + line-height: 44px; | |
4728 | + position: relative; | |
4729 | + white-space: nowrap; | |
4730 | + word-break: break-all; | |
4731 | + text-overflow: ellipsis; | |
4732 | + overflow: hidden; | |
4733 | +} | |
4734 | +.m-list-view .text .m-input { | |
4735 | + font-size: 15px; | |
4736 | +} | |
4737 | +.m-goods-items { | |
4738 | + padding: 0 5px 5px; | |
4739 | + overflow-x: scroll; | |
4740 | + overflow-y: hidden; | |
4741 | + -webkit-overflow-scrolling: touch; | |
4742 | +} | |
4743 | +.m-goods-items li { | |
4744 | + float: left; | |
4745 | + width: 110px; | |
4746 | + padding: 0 5px 10px; | |
4747 | + box-sizing: border-box; | |
4748 | +} | |
4749 | +.m-goods-items a { | |
4750 | + display: block; | |
4751 | + background-color: #fff; | |
4752 | + padding-bottom: 5px; | |
4753 | + position: relative; | |
4754 | +} | |
4755 | +.m-goods-items .hot { | |
4756 | + position: absolute; | |
4757 | + top: -1px; | |
4758 | + right: 10px; | |
4759 | + width: 20px; | |
4760 | + height: 56px; | |
4761 | + background: url(../images/icon_mark.png) 0 0 no-repeat; | |
4762 | + background-size: 100%; | |
4763 | + font-size: 0; | |
4764 | + overflow: hidden; | |
4765 | +} | |
4766 | +.m-goods-items .pic { | |
4767 | + display: block; | |
4768 | + width: 100%; | |
4769 | + height: 110px; | |
4770 | + margin: 0 auto 5px; | |
4771 | + background-position: center center; | |
4772 | + background-repeat: no-repeat; | |
4773 | + background-size: cover; | |
4774 | +} | |
4775 | +.m-goods-items h3 { | |
4776 | + font-size: 13px; | |
4777 | + padding: 0 5px; | |
4778 | + font-weight: 700; | |
4779 | + color: #333; | |
4780 | + text-align: left; | |
4781 | + line-height: 16px; | |
4782 | + height: 32px; | |
4783 | + overflow: hidden; | |
4784 | +} | |
4785 | +.m-goods-items em { | |
4786 | + text-align: left; | |
4787 | + display: block; | |
4788 | + padding: 0 5px; | |
4789 | + font-size: 13px; | |
4790 | + font-weight: 700; | |
4791 | + font-style: normal; | |
4792 | + color: #FA4535; | |
4793 | +} | |
4794 | +.m-goods-items .origin-price { | |
4795 | + font-size: 12px; | |
4796 | + color: #bbb; | |
4797 | + text-decoration: line-through; | |
4798 | +} | |
4799 | +.photo-wall { | |
4800 | + width: 100%; | |
4801 | + padding-left: 5px; | |
4802 | + box-sizing: border-box; | |
4803 | + margin-bottom: 5px; | |
4804 | +} | |
4805 | +.photo-wall .photo-item { | |
4806 | + float: left; | |
4807 | + box-sizing: border-box; | |
4808 | + padding: 0 5px 5px 0; | |
4809 | + height: 105px; | |
4810 | +} | |
4811 | +.photo-wall .photo-item img { | |
4812 | + width: 100%; | |
4813 | + height: 100%; | |
4814 | + max-width: 100%; | |
4815 | + max-height: 100%; | |
4816 | +} | |
4817 | +.photo-wall .photo-1p { | |
4818 | + width: 33.33%; | |
4819 | +} | |
4820 | +.photo-wall .photo-2p { | |
4821 | + width: 66.66%; | |
4822 | +} | |
4823 | +.m-nav { | |
4824 | + width: 100%; | |
4825 | + font-size: 14px; | |
4826 | + color: #999; | |
4827 | + overflow: hidden; | |
4828 | + box-sizing: border-box; | |
4829 | +} | |
4830 | +.m-nav a { | |
4831 | + color: #999; | |
4832 | + padding: 0 10px; | |
4833 | + min-width: 70px; | |
4834 | + display: block; | |
4835 | +} | |
4836 | +.m-nav li { | |
4837 | + float: left; | |
4838 | + line-height: 40px; | |
4839 | + text-align: center; | |
4840 | + position: relative; | |
4841 | +} | |
4842 | +.m-nav li:last-child { | |
4843 | + padding-right: 0; | |
4844 | +} | |
4845 | +.m-nav .on a { | |
4846 | + color: #FFF; | |
4847 | + background-color: #23ac38; | |
4848 | + display: block; | |
4849 | + position: relative; | |
4850 | +} | |
4851 | +.m-tab { | |
4852 | + width: 100%; | |
4853 | + background-color: #FFF; | |
4854 | + font-size: 14px; | |
4855 | + color: #999; | |
4856 | + border-width: 1px 0; | |
4857 | + overflow: hidden; | |
4858 | + box-sizing: border-box; | |
4859 | + margin-bottom: 10px; | |
4860 | +} | |
4861 | +.m-tab a { | |
4862 | + display: block; | |
4863 | + color: #999; | |
4864 | + padding: 0 10px; | |
4865 | + min-width: 70px; | |
4866 | +} | |
4867 | +.m-tab li { | |
4868 | + float: left; | |
4869 | + line-height: 45px; | |
4870 | + text-align: center; | |
4871 | + position: relative; | |
4872 | +} | |
4873 | +.m-tab li:last-child { | |
4874 | + padding-right: 0; | |
4875 | +} | |
4876 | +.m-tab .on a { | |
4877 | + color: #23ac38; | |
4878 | + display: block; | |
4879 | + position: relative; | |
4880 | +} | |
4881 | +.m-tab .on a:after { | |
4882 | + content: ''; | |
4883 | + position: absolute; | |
4884 | + bottom: 0; | |
4885 | + left: 0; | |
4886 | + right: 0; | |
4887 | + height: 2px; | |
4888 | + background-color: #23ac38; | |
4889 | +} | |
4890 | +.m-tab.hasright { | |
4891 | + position: relative; | |
4892 | +} | |
4893 | +.m-tab.hasright:before { | |
4894 | + content: ' '; | |
4895 | + display: block; | |
4896 | + position: absolute; | |
4897 | + top: 0; | |
4898 | + left: 0; | |
4899 | + width: 0; | |
4900 | + height: 0; | |
4901 | + transform: scaleY(1); | |
4902 | + animation: movehint 1.2s linear 3; | |
4903 | + -webkit-animation: movehint 1.6s linear 3; | |
4904 | + transition: all .3s; | |
4905 | + -webkit-transition: all .3s; | |
4906 | + opacity: 0; | |
4907 | + border-top: 2px solid #23ac38; | |
4908 | + animation-delay: 2s; | |
4909 | + animation-direction: alternate; | |
4910 | +} | |
4911 | +.m-tab.hasright:after { | |
4912 | + content: ' '; | |
4913 | + display: block; | |
4914 | + position: absolute; | |
4915 | + top: 0; | |
4916 | +} | |
4917 | +@keyframes movehint { | |
4918 | + 30%, | |
4919 | + 60%, | |
4920 | + 90% { | |
4921 | + opacity: 1; | |
4922 | + } | |
4923 | + 0% { | |
4924 | + width: 0; | |
4925 | + } | |
4926 | + 100% { | |
4927 | + width: 100%; | |
4928 | + } | |
4929 | +} | |
4930 | + | |
4931 | +* { | |
4932 | + -moz-tap-highlight-color: rgba(0, 0, 0, 0); | |
4933 | + -o-tap-highlight-color: rgba(0, 0, 0, 0); | |
4934 | + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
4935 | +} | |
4936 | +html { | |
4937 | + height: 100%; | |
4938 | +} | |
4939 | +html, | |
4940 | +body, | |
4941 | +div, | |
4942 | +span, | |
4943 | +object, | |
4944 | +iframe, | |
4945 | +h1, | |
4946 | +h2, | |
4947 | +h3, | |
4948 | +h4, | |
4949 | +h5, | |
4950 | +h6, | |
4951 | +p, | |
4952 | +blockquote, | |
4953 | +pre, | |
4954 | +abbr, | |
4955 | +address, | |
4956 | +cite, | |
4957 | +code, | |
4958 | +del, | |
4959 | +dfn, | |
4960 | +em, | |
4961 | +img, | |
4962 | +ins, | |
4963 | +kbd, | |
4964 | +q, | |
4965 | +samp, | |
4966 | +small, | |
4967 | +strong, | |
4968 | +sub, | |
4969 | +sup, | |
4970 | +var, | |
4971 | +b, | |
4972 | +i, | |
4973 | +dl, | |
4974 | +dt, | |
4975 | +dd, | |
4976 | +ol, | |
4977 | +ul, | |
4978 | +li, | |
4979 | +fieldset, | |
4980 | +form, | |
4981 | +label, | |
4982 | +legend, | |
4983 | +table, | |
4984 | +caption, | |
4985 | +tbody, | |
4986 | +tfoot, | |
4987 | +thead, | |
4988 | +tr, | |
4989 | +th, | |
4990 | +td, | |
4991 | +article, | |
4992 | +aside, | |
4993 | +canvas, | |
4994 | +details, | |
4995 | +figcaption, | |
4996 | +figure, | |
4997 | +footer, | |
4998 | +header, | |
4999 | +menu, | |
5000 | +nav, | |
5001 | +section, | |
5002 | +summary, | |
5003 | +time, | |
5004 | +mark, | |
5005 | +audio, | |
5006 | +video { | |
5007 | + margin: 0; | |
5008 | + padding: 0; | |
5009 | + border: 0; | |
5010 | + outline: 0; | |
5011 | + vertical-align: baseline; | |
5012 | + background: transparent; | |
5013 | +} | |
5014 | +body { | |
5015 | + font: 12px/1.5 sans-serif; | |
5016 | + position: relative; | |
5017 | + color: #333; | |
5018 | + min-height: 100%; | |
5019 | + overflow-x: hidden; | |
5020 | +} | |
5021 | +article, | |
5022 | +aside, | |
5023 | +details, | |
5024 | +figcaption, | |
5025 | +figure, | |
5026 | +footer, | |
5027 | +header, | |
5028 | +menu, | |
5029 | +nav, | |
5030 | +section { | |
5031 | + display: block; | |
5032 | +} | |
5033 | +nav ul { | |
5034 | + list-style: none; | |
5035 | +} | |
5036 | +li { | |
5037 | + list-style: none; | |
5038 | +} | |
5039 | +em { | |
5040 | + font-style: normal; | |
5041 | +} | |
5042 | +ins { | |
5043 | + background-color: #ff9; | |
5044 | + color: #000; | |
5045 | + text-decoration: none; | |
5046 | +} | |
5047 | +mark { | |
5048 | + background-color: #ff9; | |
5049 | + color: #000; | |
5050 | + font-style: italic; | |
5051 | + font-weight: bold; | |
5052 | +} | |
5053 | +table { | |
5054 | + border-collapse: collapse; | |
5055 | + border-spacing: 0; | |
5056 | +} | |
5057 | +hr { | |
5058 | + display: block; | |
5059 | + height: 1px; | |
5060 | + border: 0; | |
5061 | + border-top: 1px solid #cccccc; | |
5062 | + margin: 0; | |
5063 | + padding: 0; | |
5064 | +} | |
5065 | +input, | |
5066 | +select { | |
5067 | + vertical-align: middle; | |
5068 | +} | |
5069 | +input:focus, | |
5070 | +button:focus { | |
5071 | + outline: none; | |
5072 | +} | |
5073 | +a { | |
5074 | + color: #333; | |
5075 | + text-decoration: none; | |
5076 | + margin: 0; | |
5077 | + padding: 0; | |
5078 | + vertical-align: baseline; | |
5079 | + background: transparent; | |
5080 | +} | |
5081 | +a:active, | |
5082 | +a:visited { | |
5083 | + color: #333; | |
5084 | +} | |
5085 | +input, | |
5086 | +img { | |
5087 | + border: 0; | |
5088 | + vertical-align: middle; | |
5089 | +} | |
5090 | +textarea, | |
5091 | +input, | |
5092 | +a { | |
5093 | + -webkit-tap-highlight-color: transparent; | |
5094 | +} | |
5095 | +/* 清除浮动 */ | |
5096 | +.clearfix, | |
5097 | +.clear { | |
5098 | + display: inline-table; | |
5099 | + zoom: 1; | |
5100 | +} | |
5101 | +* html .clearfix, | |
5102 | +* html .clear { | |
5103 | + height: 1%; | |
5104 | +} | |
5105 | +* html .clearfix, | |
5106 | +* html .clear { | |
5107 | + zoom: 1; | |
5108 | +} | |
5109 | +.clearfix, | |
5110 | +.clear { | |
5111 | + display: block; | |
5112 | +} | |
5113 | +.clear { | |
5114 | + clear: both; | |
5115 | +} | |
5116 | +.clearfix:after, | |
5117 | +.clear:after { | |
5118 | + content: " "; | |
5119 | + display: block; | |
5120 | + height: 0; | |
5121 | + clear: both; | |
5122 | + visibility: hidden; | |
5123 | + line-height: 0px; | |
5124 | +} | |
5125 | +/*************************************************** | |
5126 | +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等; | |
5127 | +* update : 2015/02/03; | |
5128 | +* use : 按需使用对应class即可; | |
5129 | +* desc : ; | |
5130 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
5131 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
5132 | +****************************************************/ | |
5133 | +.text-left { | |
5134 | + text-align: left !important; | |
5135 | +} | |
5136 | +.text-center { | |
5137 | + text-align: center !important; | |
5138 | +} | |
5139 | +.text-right { | |
5140 | + text-align: right !important; | |
5141 | +} | |
5142 | +.text-nowrap { | |
5143 | + white-space: nowrap !important; | |
5144 | +} | |
5145 | +.text-overflow { | |
5146 | + overflow: hidden; | |
5147 | + text-overflow: ellipsis; | |
5148 | +} | |
5149 | +.text-lowercase { | |
5150 | + text-transform: lowercase; | |
5151 | +} | |
5152 | +.text-uppercase { | |
5153 | + text-transform: uppercase; | |
5154 | +} | |
5155 | +.text-capitalize { | |
5156 | + text-transform: capitalize; | |
5157 | +} | |
5158 | +.text-indent { | |
5159 | + text-indent: -999em; | |
5160 | +} | |
5161 | +.float-left { | |
5162 | + float: left !important; | |
5163 | +} | |
5164 | +.float-right { | |
5165 | + float: right !important; | |
5166 | +} | |
5167 | +.float-none { | |
5168 | + float: none !important; | |
5169 | +} | |
5170 | +.display-block { | |
5171 | + display: block !important; | |
5172 | +} | |
5173 | +.clearfix:after { | |
5174 | + content: ''; | |
5175 | + display: block; | |
5176 | + height: 0; | |
5177 | + overflow: hidden; | |
5178 | + font-size: 0; | |
5179 | + clear: both; | |
5180 | +} | |
5181 | +.m-hide { | |
5182 | + display: none !important; | |
5183 | + visibility: hidden; | |
5184 | + opacity: 0; | |
5185 | + z-index: -1; | |
5186 | +} | |
5187 | +.m-hidden { | |
5188 | + visibility: hidden; | |
5189 | + opacity: 0; | |
5190 | + z-index: -1; | |
5191 | +} | |
5192 | +.m-show { | |
5193 | + display: block !important; | |
5194 | + visibility: visible; | |
5195 | +} | |
5196 | +.m-separate { | |
5197 | + position: relative; | |
5198 | + width: 100%; | |
5199 | + line-height: 50px; | |
5200 | + text-align: center; | |
5201 | + font-size: 12px; | |
5202 | + color: #666; | |
5203 | + overflow: visible; | |
5204 | +} | |
5205 | +.m-more, | |
5206 | +a.m-more { | |
5207 | + display: block; | |
5208 | + font-size: 12px; | |
5209 | + text-align: center; | |
5210 | + color: #999; | |
5211 | + line-height: 45px; | |
5212 | + background-color: #FFF; | |
5213 | +} | |
5214 | +.m-animate-hide { | |
5215 | + -webkit-transform: translate(0, 100%) translateZ(0) !important; | |
5216 | + -ms-transform: translate(0, 100%) translateZ(0) !important; | |
5217 | + -o-transform: translate(0, 100%) translateZ(0) !important; | |
5218 | + transform: translate(0, 100%) translateZ(0) !important; | |
5219 | +} | |
5220 | +.m-animate-show { | |
5221 | + -webkit-transform: translate(0, 0) translateZ(0) !important; | |
5222 | + -ms-transform: translate(0, 0) translateZ(0) !important; | |
5223 | + -o-transform: translate(0, 0) translateZ(0) !important; | |
5224 | + transform: translate(0, 0) translateZ(0) !important; | |
5225 | +} | |
5226 | +.hidden { | |
5227 | + opacity: 0; | |
5228 | + z-index: -1; | |
5229 | +} | |
5230 | +.mask-hidden { | |
5231 | + opacity: 0; | |
5232 | +} | |
5233 | +.font-white { | |
5234 | + color: #FFF !important; | |
5235 | +} | |
5236 | +.font-white-opacity { | |
5237 | + color: rgba(255, 255, 255, 0.8) !important; | |
5238 | +} | |
5239 | +.font-deep { | |
5240 | + color: #333 !important; | |
5241 | +} | |
5242 | +.font-gray { | |
5243 | + color: #666 !important; | |
5244 | +} | |
5245 | +.font-light { | |
5246 | + color: #999 !important; | |
5247 | +} | |
5248 | +.font-yellow { | |
5249 | + color: #FF9D2C !important; | |
5250 | +} | |
5251 | +.font-orange { | |
5252 | + color: #FF6B00 !important; | |
5253 | +} | |
5254 | +.font-red { | |
5255 | + color: #fa4535 !important; | |
5256 | +} | |
5257 | +.font-green { | |
5258 | + color: #23ac38 !important; | |
5259 | +} | |
5260 | +.background-white { | |
5261 | + background-color: #FFF; | |
5262 | +} | |
5263 | +.background-gray { | |
5264 | + background-color: #666 !important; | |
5265 | +} | |
5266 | +.background-deep-gray { | |
5267 | + background-color: #444 !important; | |
5268 | +} | |
5269 | +.background-yellow { | |
5270 | + background-color: #FF9D2C !important; | |
5271 | +} | |
5272 | +.background-orange { | |
5273 | + background-color: #FF6B00 !important; | |
5274 | +} | |
5275 | +.background-red { | |
5276 | + background-color: #fa4535 !important; | |
5277 | +} | |
5278 | +.background-green { | |
5279 | + background-color: #23ac38 !important; | |
5280 | +} | |
5281 | +.position-relative { | |
5282 | + position: relative; | |
5283 | +} | |
5284 | +.z-index2 { | |
5285 | + z-index: 2; | |
5286 | +} | |
5287 | +.width-auto { | |
5288 | + width: auto !important; | |
5289 | +} | |
5290 | +.width-200p { | |
5291 | + width: 200%; | |
5292 | +} | |
5293 | +.m-col-1 { | |
5294 | + width: 100% !important; | |
5295 | +} | |
5296 | +.m-col-2 { | |
5297 | + width: 50% !important; | |
5298 | +} | |
5299 | +.m-col-3 { | |
5300 | + width: 33.33% !important; | |
5301 | +} | |
5302 | +.m-col-4 { | |
5303 | + width: 25% !important; | |
5304 | +} | |
5305 | +.border-1px { | |
5306 | + position: relative; | |
5307 | +} | |
5308 | +.border-1px:before, | |
5309 | +.border-1px:after { | |
5310 | + border-top: 1px solid #e2e2e2; | |
5311 | + content: ''; | |
5312 | + display: block; | |
5313 | + width: 100%; | |
5314 | + position: absolute; | |
5315 | + left: 0; | |
5316 | + z-index: 1; | |
5317 | +} | |
5318 | +.border-1px:before { | |
5319 | + top: 0; | |
5320 | +} | |
5321 | +.border-1px:after { | |
5322 | + bottom: 0; | |
5323 | +} | |
5324 | +.border-1px.border-top:after { | |
5325 | + display: none; | |
5326 | +} | |
5327 | +.border-1px.border-bottom:before { | |
5328 | + display: none; | |
5329 | +} | |
5330 | +.border-1px-full { | |
5331 | + position: relative; | |
5332 | +} | |
5333 | +.border-1px-full:after { | |
5334 | + content: ''; | |
5335 | + position: absolute; | |
5336 | + top: 0; | |
5337 | + left: 0; | |
5338 | + z-index: 1; | |
5339 | + border: 1px solid #e2e2e2; | |
5340 | + -webkit-box-sizing: border-box; | |
5341 | + box-sizing: border-box; | |
5342 | + width: 200%; | |
5343 | + height: 200%; | |
5344 | + -webkit-transform: scale(0.5); | |
5345 | + transform: scale(0.5); | |
5346 | + -webkit-transform-origin: left top; | |
5347 | + transform-origin: left top; | |
5348 | +} | |
5349 | +@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) { | |
5350 | + .border-1px::after, | |
5351 | + .border-1px::before { | |
5352 | + -webkit-transform: scaleY(0.7); | |
5353 | + -webkit-transform-origin: 0 0; | |
5354 | + transform: scaleY(0.7); | |
5355 | + } | |
5356 | + .border-1px::after { | |
5357 | + -webkit-transform-origin: left bottom; | |
5358 | + } | |
5359 | +} | |
5360 | +@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { | |
5361 | + .border-1px::after, | |
5362 | + .border-1px::before { | |
5363 | + -webkit-transform: scaleY(0.5); | |
5364 | + transform: scaleY(0.5); | |
5365 | + } | |
5366 | +} | |
5367 | +.m-section .section-head { | |
5368 | + line-height: 45px; | |
5369 | + padding: 0 10px; | |
5370 | + background-color: #fff; | |
5371 | + font-size: 14px; | |
5372 | + color: #666; | |
5373 | + text-align: left; | |
5374 | + font-weight: bold; | |
5375 | + margin-bottom: 10px; | |
5376 | +} | |
5377 | +.m-section .section-head:first-letter { | |
5378 | + font-size: 18px; | |
5379 | + color: #23ac38; | |
5380 | +} | |
5381 | +.section-items { | |
5382 | + margin-bottom: 10px; | |
5383 | +} | |
5384 | +.section-items .section-item { | |
5385 | + display: block; | |
5386 | + margin-bottom: 5px; | |
5387 | + width: 100%; | |
5388 | +} | |
5389 | +.section-items .section-item img { | |
5390 | + width: 100%; | |
5391 | + max-width: 100%; | |
5392 | +} | |
5393 | +.product-items { | |
5394 | + background-color: #FFF; | |
5395 | + margin-bottom: 10px; | |
5396 | +} | |
5397 | +.product-items .items .item { | |
5398 | + width: 33.33%; | |
5399 | + float: left; | |
5400 | + font-size: 13px; | |
5401 | + text-align: center; | |
5402 | + padding: 8px 0; | |
5403 | +} | |
5404 | +.product-items .items .item a { | |
5405 | + display: block; | |
5406 | + position: relative; | |
5407 | + z-index: 2; | |
5408 | +} | |
5409 | +.product-items .items .item h3 { | |
5410 | + font-size: 13px; | |
5411 | + padding: 0 5px; | |
5412 | + font-weight: 700; | |
5413 | + color: #333; | |
5414 | + line-height: 16px; | |
5415 | + padding: 0 10px; | |
5416 | + text-align: left; | |
5417 | + text-overflow: ellipsis; | |
5418 | + overflow: hidden; | |
5419 | + white-space: nowrap; | |
5420 | +} | |
5421 | +.product-items .items .item p { | |
5422 | + padding: 0 10px; | |
5423 | + text-align: left; | |
5424 | +} | |
5425 | +.product-items .items .item em { | |
5426 | + text-align: left; | |
5427 | + display: block; | |
5428 | + font-size: 13px; | |
5429 | + font-weight: 700; | |
5430 | + font-style: normal; | |
5431 | + color: #FA4535; | |
5432 | + text-overflow: ellipsis; | |
5433 | + overflow: hidden; | |
5434 | + white-space: nowrap; | |
5435 | +} | |
5436 | +.product-items .items .item span { | |
5437 | + display: block; | |
5438 | + text-align: center; | |
5439 | + overflow: hidden; | |
5440 | + white-space: nowrap; | |
5441 | + text-overflow: ellipsis; | |
5442 | +} | |
5443 | +.product-items .items .item .pic { | |
5444 | + max-width: 100%; | |
5445 | + height: 60px; | |
5446 | + display: inline-block; | |
5447 | + vertical-align: middle; | |
5448 | +} | |
5449 | +.product-items .items .item:after { | |
5450 | + border-left: none; | |
5451 | + border-top: none; | |
5452 | +} | |
5453 | +.scroll-wrap { | |
5454 | + overflow-y: hidden; | |
5455 | + overflow-x: scroll; | |
5456 | + -webkit-overflow-scrolling: touch; | |
5457 | +} | |
5458 | +.scroll-wrap .m-goods-items { | |
5459 | + white-space: nowrap; | |
5460 | +} | |
5461 | +.scroll-wrap .m-goods-items li { | |
5462 | + float: none; | |
5463 | + display: inline; | |
5464 | + width: 110px !important; | |
5465 | +} | |
5466 | +.scroll-wrap .m-goods-items li a { | |
5467 | + display: inline-block; | |
5468 | + width: 100px; | |
5469 | +} | |
5470 | +.scroll-wrap .m-tab, | |
5471 | +.scroll-wrap .m-nav { | |
5472 | + white-space: nowrap; | |
5473 | + overflow: visible; | |
5474 | + width: auto; | |
5475 | +} | |
5476 | +.scroll-wrap .m-tab li, | |
5477 | +.scroll-wrap .m-nav li { | |
5478 | + float: none; | |
5479 | + display: inline; | |
5480 | + width: 90px; | |
5481 | +} | |
5482 | +.scroll-wrap .m-tab li a, | |
5483 | +.scroll-wrap .m-nav li a { | |
5484 | + display: inline-block; | |
5485 | +} | |
5486 | + | |
5487 | +.m-goods-items { | |
5488 | + padding: 0 5px 5px; | |
5489 | + overflow-x: scroll; | |
5490 | + overflow-y: hidden; | |
5491 | + -webkit-overflow-scrolling: touch; | |
5492 | +} | |
5493 | +.m-goods-items li { | |
5494 | + float: left; | |
5495 | + width: 110px; | |
5496 | + padding: 0 5px 10px; | |
5497 | + box-sizing: border-box; | |
5498 | +} | |
5499 | +.m-goods-items a { | |
5500 | + display: block; | |
5501 | + background-color: #fff; | |
5502 | + padding-bottom: 5px; | |
5503 | + position: relative; | |
5504 | +} | |
5505 | +.m-goods-items .hot { | |
5506 | + position: absolute; | |
5507 | + top: -1px; | |
5508 | + right: 10px; | |
5509 | + width: 20px; | |
5510 | + height: 56px; | |
5511 | + background: url(../images/icon_mark.png) 0 0 no-repeat; | |
5512 | + background-size: 100%; | |
5513 | + font-size: 0; | |
5514 | + overflow: hidden; | |
5515 | +} | |
5516 | +.m-goods-items .pic { | |
5517 | + display: block; | |
5518 | + width: 100%; | |
5519 | + height: 110px; | |
5520 | + margin: 0 auto 5px; | |
5521 | + background-position: center center; | |
5522 | + background-repeat: no-repeat; | |
5523 | + background-size: cover; | |
5524 | +} | |
5525 | +.m-goods-items h3 { | |
5526 | + font-size: 13px; | |
5527 | + padding: 0 5px; | |
5528 | + font-weight: 700; | |
5529 | + color: #333; | |
5530 | + text-align: left; | |
5531 | + line-height: 16px; | |
5532 | + height: 32px; | |
5533 | + overflow: hidden; | |
5534 | +} | |
5535 | +.m-goods-items em { | |
5536 | + text-align: left; | |
5537 | + display: block; | |
5538 | + padding: 0 5px; | |
5539 | + font-size: 13px; | |
5540 | + font-weight: 700; | |
5541 | + font-style: normal; | |
5542 | + color: #FA4535; | |
5543 | +} | |
5544 | +.m-goods-items .origin-price { | |
5545 | + font-size: 12px; | |
5546 | + color: #bbb; | |
5547 | + text-decoration: line-through; | |
5548 | +} | |
5549 | + | |
5550 | +/*************************************************** | |
5551 | +* feature : 全局头部,提供默认 深色(绿底白字) & 浅色(白底黑字)主题; | |
5552 | +* update : 2015/02/03; | |
5553 | +* use : .m-header; | |
5554 | +* extend : .header-*; | |
5555 | +* example : <header class="m-header header-light"></header>; | |
5556 | +* desc : 默认为深色主题, 通过 .header-light 来引用浅色主题; | |
5557 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
5558 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
5559 | +****************************************************/ | |
5560 | +.m-header { | |
5561 | + z-index: 5; | |
5562 | + color: #FFF; | |
5563 | + color: #ffffff; | |
5564 | + background-color: #23AC38; | |
5565 | + position: relative; | |
5566 | +} | |
5567 | +.m-header .head { | |
5568 | + padding: 0 50px; | |
5569 | + box-sizing: border-box; | |
5570 | + height: 44px; | |
5571 | + text-align: center; | |
5572 | +} | |
5573 | +.m-header .head h1 { | |
5574 | + display: inline-block; | |
5575 | + vertical-align: middle; | |
5576 | + line-height: 44px; | |
5577 | + font-weight: normal; | |
5578 | + font-size: 18px; | |
5579 | + white-space: nowrap; | |
5580 | + text-overflow: ellipsis; | |
5581 | + overflow: hidden; | |
5582 | +} | |
5583 | +.m-header .lt-bar, | |
5584 | +.m-header .rt-bar { | |
5585 | + position: absolute; | |
5586 | + left: 0; | |
5587 | + top: 0; | |
5588 | + bottom: 0; | |
5589 | + min-width: 44px; | |
5590 | + line-height: 44px; | |
5591 | + height: 100%; | |
5592 | + text-align: center; | |
5593 | + cursor: pointer; | |
5594 | + z-index: 1; | |
5595 | +} | |
5596 | +.m-header .lt-bar { | |
5597 | + float: left; | |
5598 | +} | |
5599 | +.m-header .lt-bar.text { | |
5600 | + padding-left: 10px; | |
5601 | + text-align: left; | |
5602 | +} | |
5603 | +.m-header .rt-bar { | |
5604 | + float: right; | |
5605 | + left: auto; | |
5606 | + right: 0; | |
5607 | +} | |
5608 | +.m-header .rt-bar.text { | |
5609 | + padding-right: 10px; | |
5610 | + text-align: right; | |
5611 | +} | |
5612 | +.m-header .text { | |
5613 | + text-align: center; | |
5614 | + line-height: 44px; | |
5615 | + font-size: 15px; | |
5616 | + color: #FFF; | |
5617 | +} | |
5618 | +.m-header.header-light { | |
5619 | + background-color: #FFF; | |
5620 | + color: #666; | |
5621 | +} | |
5622 | +.m-header.header-light .text { | |
5623 | + color: #666; | |
5624 | +} | |
5625 | +.m-header.header-light .m-input { | |
5626 | + color: #333; | |
5627 | +} | |
5628 | +.m-header.header-light .m-input::-webkit-input-placeholder { | |
5629 | + color: #999; | |
5630 | +} | |
5631 | + | |
5632 | +/* | |
5633 | +LESS variables are information about icon's compiled state, stored under its original file name | |
5634 | + | |
5635 | +.icon-home { | |
5636 | + width: @icon-home-width; | |
5637 | +} | |
5638 | + | |
5639 | +The large array-like variables contain all information about a single icon | |
5640 | +@icon-home: x y offset_x offset_y width height total_width total_height image_path name; | |
5641 | + | |
5642 | +At the bottom of this section, we provide information about the spritesheet itself | |
5643 | +@spritesheet: width height image @spritesheet-sprites; | |
5644 | +*/ | |
5645 | +/* | |
5646 | +The provided classes are intended to be used with the array-like variables | |
5647 | + | |
5648 | +.icon-home { | |
5649 | + .sprite-width(@icon-home); | |
5650 | +} | |
5651 | +.icon-email { | |
5652 | + .sprite(@icon-email); | |
5653 | +} | |
5654 | +*/ | |
5655 | +/* | |
5656 | +The `.sprites` mixin generates identical output to the CSS template | |
5657 | + but can be overridden inside of LESS | |
5658 | + | |
5659 | +This must be run when you have at least 2 sprites. | |
5660 | + If run with a single sprite, then there will be reference errors. | |
5661 | + | |
5662 | +.sprites(@spritesheet-sprites); | |
5663 | +*/ | |
5664 | +.m-icon { | |
5665 | + display: inline-block; | |
5666 | + vertical-align: middle; | |
5667 | +} | |
5668 | +.icon-back-to { | |
5669 | + background-image: url(../images/dist/sprite.png); | |
5670 | + background-position: 0px 0px; | |
5671 | + width: 22px; | |
5672 | + width: 11px; | |
5673 | + height: 38px; | |
5674 | + height: 19px; | |
5675 | + background-size: 25px; | |
5676 | +} | |
5677 | +.icon-back { | |
5678 | + background-image: url(../images/dist/sprite.png); | |
5679 | + background-position: -28px 0px; | |
5680 | + background-position: -14px 0px; | |
5681 | + width: 22px; | |
5682 | + width: 11px; | |
5683 | + height: 38px; | |
5684 | + height: 19px; | |
5685 | + background-size: 25px; | |
5686 | +} | |
5687 | + | |
5688 | +/* | |
5689 | +LESS variables are information about icon's compiled state, stored under its original file name | |
5690 | + | |
5691 | +.icon-home { | |
5692 | + width: @icon-home-width; | |
5693 | +} | |
5694 | + | |
5695 | +The large array-like variables contain all information about a single icon | |
5696 | +@icon-home: x y offset_x offset_y width height total_width total_height image_path name; | |
5697 | + | |
5698 | +At the bottom of this section, we provide information about the spritesheet itself | |
5699 | +@spritesheet: width height image @spritesheet-sprites; | |
5700 | +*/ | |
5701 | +/* | |
5702 | +The provided classes are intended to be used with the array-like variables | |
5703 | + | |
5704 | +.icon-home { | |
5705 | + .sprite-width(@icon-home); | |
5706 | +} | |
5707 | +.icon-email { | |
5708 | + .sprite(@icon-email); | |
5709 | +} | |
5710 | +*/ | |
5711 | +/* | |
5712 | +The `.sprites` mixin generates identical output to the CSS template | |
5713 | + but can be overridden inside of LESS | |
5714 | + | |
5715 | +This must be run when you have at least 2 sprites. | |
5716 | + If run with a single sprite, then there will be reference errors. | |
5717 | + | |
5718 | +.sprites(@spritesheet-sprites); | |
5719 | +*/ | |
5720 | +.m-icon { | |
5721 | + display: inline-block; | |
5722 | + vertical-align: middle; | |
5723 | +} | |
5724 | +.icon-admin_10 { | |
5725 | + background-image: url(../images/dist/admin_sprite.png); | |
5726 | + background-position: -213px 0px; | |
5727 | + width: 100px; | |
5728 | + height: 56px; | |
5729 | +} | |
5730 | +.icon-admin_11 { | |
5731 | + background-image: url(../images/dist/admin_sprite.png); | |
5732 | + background-position: -107px 0px; | |
5733 | + width: 100px; | |
5734 | + height: 56px; | |
5735 | +} | |
5736 | +.icon-admin_12 { | |
5737 | + background-image: url(../images/dist/admin_sprite.png); | |
5738 | + background-position: -106px -124px; | |
5739 | + width: 100px; | |
5740 | + height: 56px; | |
5741 | +} | |
5742 | +.icon-admin_13 { | |
5743 | + background-image: url(../images/dist/admin_sprite.png); | |
5744 | + background-position: 0px -62px; | |
5745 | + width: 100px; | |
5746 | + height: 56px; | |
5747 | +} | |
5748 | +.icon-admin_14 { | |
5749 | + background-image: url(../images/dist/admin_sprite.png); | |
5750 | + background-position: -106px -62px; | |
5751 | + width: 100px; | |
5752 | + height: 56px; | |
5753 | +} | |
5754 | +.icon-admin_15 { | |
5755 | + background-image: url(../images/dist/admin_sprite.png); | |
5756 | + background-position: 0px -124px; | |
5757 | + width: 100px; | |
5758 | + height: 56px; | |
5759 | +} | |
5760 | +.icon-admin_16 { | |
5761 | + background-image: url(../images/dist/admin_sprite.png); | |
5762 | + background-position: -104px -186px; | |
5763 | + width: 14px; | |
5764 | + height: 14px; | |
5765 | +} | |
5766 | +.icon-admin_17 { | |
5767 | + background-image: url(../images/dist/admin_sprite.png); | |
5768 | + background-position: -44px -186px; | |
5769 | + width: 14px; | |
5770 | + height: 14px; | |
5771 | +} | |
5772 | +.icon-admin_18 { | |
5773 | + background-image: url(../images/dist/admin_sprite.png); | |
5774 | + background-position: -64px -186px; | |
5775 | + width: 14px; | |
5776 | + height: 14px; | |
5777 | +} | |
5778 | +.icon-admin_19 { | |
5779 | + background-image: url(../images/dist/admin_sprite.png); | |
5780 | + background-position: -84px -186px; | |
5781 | + width: 14px; | |
5782 | + height: 14px; | |
5783 | +} | |
5784 | +.icon-admin_2 { | |
5785 | + background-image: url(../images/dist/admin_sprite.png); | |
5786 | + background-position: 0px 0px; | |
5787 | + width: 101px; | |
5788 | + height: 56px; | |
5789 | +} | |
5790 | +.icon-admin_3 { | |
5791 | + background-image: url(../images/dist/admin_sprite.png); | |
5792 | + background-position: -22px -186px; | |
5793 | + width: 16px; | |
5794 | + height: 20px; | |
5795 | +} | |
5796 | +.icon-admin_4 { | |
5797 | + background-image: url(../images/dist/admin_sprite.png); | |
5798 | + background-position: 0px -186px; | |
5799 | + width: 16px; | |
5800 | + height: 20px; | |
5801 | +} | |
5802 | +.icon-admin_5 { | |
5803 | + background-image: url(../images/dist/admin_sprite.png); | |
5804 | + background-position: -138px -186px; | |
5805 | + width: 8px; | |
5806 | + height: 8px; | |
5807 | +} | |
5808 | +.icon-admin_6 { | |
5809 | + background-image: url(../images/dist/admin_sprite.png); | |
5810 | + background-position: -124px -186px; | |
5811 | + width: 8px; | |
5812 | + height: 8px; | |
5813 | +} | |
5814 | +.icon-admin_7 { | |
5815 | + background-image: url(../images/dist/admin_sprite.png); | |
5816 | + background-position: -213px -124px; | |
5817 | + width: 100px; | |
5818 | + height: 56px; | |
5819 | +} | |
5820 | +.icon-admin_9 { | |
5821 | + background-image: url(../images/dist/admin_sprite.png); | |
5822 | + background-position: -213px -62px; | |
5823 | + width: 100px; | |
5824 | + height: 56px; | |
5825 | +} | |
5826 | +.icon-angle { | |
5827 | + background-image: url(../images/dist/admin_sprite.png); | |
5828 | + background-position: -152px -186px; | |
5829 | + width: 8px; | |
5830 | + height: 8px; | |
5831 | +} | |
5832 | + | |
5833 | +.m-list-view { | |
5834 | + margin-bottom: 10px; | |
5835 | +} | |
5836 | +.m-list-view .cell { | |
5837 | + font-size: 14px; | |
5838 | + padding: 0 0 0 15px; | |
5839 | + background-color: #FFF; | |
5840 | + overflow: hidden; | |
5841 | + position: relative; | |
5842 | + text-align: left; | |
5843 | +} | |
5844 | +.m-list-view .cell-header { | |
5845 | + background-color: #f8f8f8; | |
5846 | + padding: 0 10px; | |
5847 | +} | |
5848 | +.m-list-view .cell-header .title { | |
5849 | + font-size: 13px; | |
5850 | + color: #333; | |
5851 | + line-height: 35px; | |
5852 | + width: auto; | |
5853 | +} | |
5854 | +.m-list-view .cell-header .text { | |
5855 | + font-size: 13px; | |
5856 | + line-height: 35px; | |
5857 | + float: right; | |
5858 | + color: #9e9e9e; | |
5859 | + text-align: right; | |
5860 | + margin: 0; | |
5861 | +} | |
5862 | +.m-list-view .cell-basic { | |
5863 | + padding: 11px 10px; | |
5864 | +} | |
5865 | +.m-list-view .cell-basic .title, | |
5866 | +.m-list-view .cell-basic .text { | |
5867 | + float: none; | |
5868 | + display: inline-block; | |
5869 | + vertical-align: middle; | |
5870 | + margin: 0 10px 0 0; | |
5871 | + line-height: 1.5; | |
5872 | +} | |
5873 | +.m-list-view .cell-basic .sub-title { | |
5874 | + padding-top: 10px; | |
5875 | + font-size: 13px; | |
5876 | + color: #999; | |
5877 | +} | |
5878 | +.m-list-view .cell-radio { | |
5879 | + text-align: right; | |
5880 | + padding: 0 10px; | |
5881 | + margin-bottom: 10px; | |
5882 | + background-color: #eee; | |
5883 | +} | |
5884 | +.m-list-view .cell-radio .title { | |
5885 | + color: #333; | |
5886 | + width: auto; | |
5887 | + text-align: left; | |
5888 | +} | |
5889 | +.m-list-view .cell-radio .text { | |
5890 | + float: none; | |
5891 | + text-align: right; | |
5892 | +} | |
5893 | +.m-list-view .cell-radio .m-radio { | |
5894 | + margin-left: 8px; | |
5895 | +} | |
5896 | +.m-list-view .cell-radio .m-table-view { | |
5897 | + margin: 0 -10px; | |
5898 | +} | |
5899 | +.m-list-view .cell-radio .m-table-view .cell-radio { | |
5900 | + margin: 0; | |
5901 | + background-color: #FFF; | |
5902 | +} | |
5903 | +.m-list-view .cell-block { | |
5904 | + padding: 8px 10px; | |
5905 | +} | |
5906 | +.m-list-view .cell-block h3 { | |
5907 | + font-size: 16px; | |
5908 | + font-weight: normal; | |
5909 | + padding-right: 60px; | |
5910 | + white-space: nowrap; | |
5911 | + text-overflow: ellipsis; | |
5912 | + overflow: hidden; | |
5913 | +} | |
5914 | +.m-list-view .cell-block p { | |
5915 | + font-size: 14px; | |
5916 | + color: #666; | |
5917 | +} | |
5918 | +.m-list-view .cell-block .bottom { | |
5919 | + margin-top: 10px; | |
5920 | + padding-top: 8px; | |
5921 | + line-height: 30px; | |
5922 | +} | |
5923 | +.m-list-view .cell-extend .m-table-view { | |
5924 | + margin: 0 0 0 45px; | |
5925 | +} | |
5926 | +.m-list-view .cell-extend .m-table-view .cell { | |
5927 | + padding: 0; | |
5928 | +} | |
5929 | +.m-list-view .cell-extend .m-table-view .text { | |
5930 | + margin-left: 0; | |
5931 | +} | |
5932 | +.m-list-view .cell-pic { | |
5933 | + padding: 15px; | |
5934 | +} | |
5935 | +.m-list-view .cell-pic .pic { | |
5936 | + float: left; | |
5937 | +} | |
5938 | +.m-list-view .cell-pic .cont { | |
5939 | + margin-left: 90px; | |
5940 | +} | |
5941 | +.m-list-view .cell-pic h3 { | |
5942 | + font-size: 14px; | |
5943 | + font-weight: normal; | |
5944 | +} | |
5945 | +.m-list-view .cell-pic em { | |
5946 | + font-size: 16px; | |
5947 | + font-weight: normal; | |
5948 | +} | |
5949 | +.m-list-view .cell-pic p { | |
5950 | + color: #9b9b9b; | |
5951 | + font-size: 12px; | |
5952 | +} | |
5953 | +.m-list-view .acc-icon { | |
5954 | + position: relative; | |
5955 | + padding-right: 30px; | |
5956 | +} | |
5957 | +.m-list-view .acc-icon .acc { | |
5958 | + position: absolute; | |
5959 | + right: 0; | |
5960 | + top: 0; | |
5961 | + min-width: 30px; | |
5962 | + height: 100%; | |
5963 | + line-height: 44px; | |
5964 | + text-align: left; | |
5965 | + color: #999; | |
5966 | + text-align: right; | |
5967 | +} | |
5968 | +.m-list-view .acc-icon .acc .m-icon { | |
5969 | + margin-right: 4px; | |
5970 | +} | |
5971 | +.m-list-view .title { | |
5972 | + font-size: 15px; | |
5973 | + color: #999; | |
5974 | + float: left; | |
5975 | + font-weight: 400; | |
5976 | + line-height: 44px; | |
5977 | +} | |
5978 | +.m-list-view .text { | |
5979 | + display: block; | |
5980 | + font-size: 15px; | |
5981 | + color: #333; | |
5982 | + line-height: 44px; | |
5983 | + position: relative; | |
5984 | + white-space: nowrap; | |
5985 | + word-break: break-all; | |
5986 | + text-overflow: ellipsis; | |
5987 | + overflow: hidden; | |
5988 | +} | |
5989 | +.m-list-view .text .m-input { | |
5990 | + font-size: 15px; | |
5991 | +} | |
5992 | + | |
5993 | +.border-1px { | |
5994 | + position: relative; | |
5995 | +} | |
5996 | +.border-1px:before, | |
5997 | +.border-1px:after { | |
5998 | + border-top: 1px solid #e2e2e2; | |
5999 | + content: ''; | |
6000 | + display: block; | |
6001 | + width: 100%; | |
6002 | + position: absolute; | |
6003 | + left: 0; | |
6004 | + z-index: 1; | |
6005 | +} | |
6006 | +.border-1px:before { | |
6007 | + top: 0; | |
6008 | +} | |
6009 | +.border-1px:after { | |
6010 | + bottom: 0; | |
6011 | +} | |
6012 | +.border-1px.border-top:after { | |
6013 | + display: none; | |
6014 | +} | |
6015 | +.border-1px.border-bottom:before { | |
6016 | + display: none; | |
6017 | +} | |
6018 | +.border-1px-full { | |
6019 | + position: relative; | |
6020 | +} | |
6021 | +.border-1px-full:after { | |
6022 | + content: ''; | |
6023 | + position: absolute; | |
6024 | + top: 0; | |
6025 | + left: 0; | |
6026 | + z-index: 1; | |
6027 | + border: 1px solid #e2e2e2; | |
6028 | + -webkit-box-sizing: border-box; | |
6029 | + box-sizing: border-box; | |
6030 | + width: 200%; | |
6031 | + height: 200%; | |
6032 | + -webkit-transform: scale(0.5); | |
6033 | + transform: scale(0.5); | |
6034 | + -webkit-transform-origin: left top; | |
6035 | + transform-origin: left top; | |
6036 | +} | |
6037 | +@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) { | |
6038 | + .border-1px::after, | |
6039 | + .border-1px::before { | |
6040 | + -webkit-transform: scaleY(0.7); | |
6041 | + -webkit-transform-origin: 0 0; | |
6042 | + transform: scaleY(0.7); | |
6043 | + } | |
6044 | + .border-1px::after { | |
6045 | + -webkit-transform-origin: left bottom; | |
6046 | + } | |
6047 | +} | |
6048 | +@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { | |
6049 | + .border-1px::after, | |
6050 | + .border-1px::before { | |
6051 | + -webkit-transform: scaleY(0.5); | |
6052 | + transform: scaleY(0.5); | |
6053 | + } | |
6054 | +} | |
6055 | + | |
6056 | +.photo-wall { | |
6057 | + width: 100%; | |
6058 | + padding-left: 5px; | |
6059 | + box-sizing: border-box; | |
6060 | + margin-bottom: 5px; | |
6061 | +} | |
6062 | +.photo-wall .photo-item { | |
6063 | + float: left; | |
6064 | + box-sizing: border-box; | |
6065 | + padding: 0 5px 5px 0; | |
6066 | + height: 105px; | |
6067 | +} | |
6068 | +.photo-wall .photo-item img { | |
6069 | + width: 100%; | |
6070 | + height: 100%; | |
6071 | + max-width: 100%; | |
6072 | + max-height: 100%; | |
6073 | +} | |
6074 | +.photo-wall .photo-1p { | |
6075 | + width: 33.33%; | |
6076 | +} | |
6077 | +.photo-wall .photo-2p { | |
6078 | + width: 66.66%; | |
6079 | +} | |
6080 | + | |
6081 | +* { | |
6082 | + -moz-tap-highlight-color: rgba(0, 0, 0, 0); | |
6083 | + -o-tap-highlight-color: rgba(0, 0, 0, 0); | |
6084 | + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
6085 | +} | |
6086 | +html { | |
6087 | + height: 100%; | |
6088 | +} | |
6089 | +html, | |
6090 | +body, | |
6091 | +div, | |
6092 | +span, | |
6093 | +object, | |
6094 | +iframe, | |
6095 | +h1, | |
6096 | +h2, | |
6097 | +h3, | |
6098 | +h4, | |
6099 | +h5, | |
6100 | +h6, | |
6101 | +p, | |
6102 | +blockquote, | |
6103 | +pre, | |
6104 | +abbr, | |
6105 | +address, | |
6106 | +cite, | |
6107 | +code, | |
6108 | +del, | |
6109 | +dfn, | |
6110 | +em, | |
6111 | +img, | |
6112 | +ins, | |
6113 | +kbd, | |
6114 | +q, | |
6115 | +samp, | |
6116 | +small, | |
6117 | +strong, | |
6118 | +sub, | |
6119 | +sup, | |
6120 | +var, | |
6121 | +b, | |
6122 | +i, | |
6123 | +dl, | |
6124 | +dt, | |
6125 | +dd, | |
6126 | +ol, | |
6127 | +ul, | |
6128 | +li, | |
6129 | +fieldset, | |
6130 | +form, | |
6131 | +label, | |
6132 | +legend, | |
6133 | +table, | |
6134 | +caption, | |
6135 | +tbody, | |
6136 | +tfoot, | |
6137 | +thead, | |
6138 | +tr, | |
6139 | +th, | |
6140 | +td, | |
6141 | +article, | |
6142 | +aside, | |
6143 | +canvas, | |
6144 | +details, | |
6145 | +figcaption, | |
6146 | +figure, | |
6147 | +footer, | |
6148 | +header, | |
6149 | +menu, | |
6150 | +nav, | |
6151 | +section, | |
6152 | +summary, | |
6153 | +time, | |
6154 | +mark, | |
6155 | +audio, | |
6156 | +video { | |
6157 | + margin: 0; | |
6158 | + padding: 0; | |
6159 | + border: 0; | |
6160 | + outline: 0; | |
6161 | + vertical-align: baseline; | |
6162 | + background: transparent; | |
6163 | +} | |
6164 | +body { | |
6165 | + font: 12px/1.5 sans-serif; | |
6166 | + position: relative; | |
6167 | + color: #333; | |
6168 | + min-height: 100%; | |
6169 | + overflow-x: hidden; | |
6170 | +} | |
6171 | +article, | |
6172 | +aside, | |
6173 | +details, | |
6174 | +figcaption, | |
6175 | +figure, | |
6176 | +footer, | |
6177 | +header, | |
6178 | +menu, | |
6179 | +nav, | |
6180 | +section { | |
6181 | + display: block; | |
6182 | +} | |
6183 | +nav ul { | |
6184 | + list-style: none; | |
6185 | +} | |
6186 | +li { | |
6187 | + list-style: none; | |
6188 | +} | |
6189 | +em { | |
6190 | + font-style: normal; | |
6191 | +} | |
6192 | +ins { | |
6193 | + background-color: #ff9; | |
6194 | + color: #000; | |
6195 | + text-decoration: none; | |
6196 | +} | |
6197 | +mark { | |
6198 | + background-color: #ff9; | |
6199 | + color: #000; | |
6200 | + font-style: italic; | |
6201 | + font-weight: bold; | |
6202 | +} | |
6203 | +table { | |
6204 | + border-collapse: collapse; | |
6205 | + border-spacing: 0; | |
6206 | +} | |
6207 | +hr { | |
6208 | + display: block; | |
6209 | + height: 1px; | |
6210 | + border: 0; | |
6211 | + border-top: 1px solid #cccccc; | |
6212 | + margin: 0; | |
6213 | + padding: 0; | |
6214 | +} | |
6215 | +input, | |
6216 | +select { | |
6217 | + vertical-align: middle; | |
6218 | +} | |
6219 | +input:focus, | |
6220 | +button:focus { | |
6221 | + outline: none; | |
6222 | +} | |
6223 | +a { | |
6224 | + color: #333; | |
6225 | + text-decoration: none; | |
6226 | + margin: 0; | |
6227 | + padding: 0; | |
6228 | + vertical-align: baseline; | |
6229 | + background: transparent; | |
6230 | +} | |
6231 | +a:active, | |
6232 | +a:visited { | |
6233 | + color: #333; | |
6234 | +} | |
6235 | +input, | |
6236 | +img { | |
6237 | + border: 0; | |
6238 | + vertical-align: middle; | |
6239 | +} | |
6240 | +textarea, | |
6241 | +input, | |
6242 | +a { | |
6243 | + -webkit-tap-highlight-color: transparent; | |
6244 | +} | |
6245 | +/* 清除浮动 */ | |
6246 | +.clearfix, | |
6247 | +.clear { | |
6248 | + display: inline-table; | |
6249 | + zoom: 1; | |
6250 | +} | |
6251 | +* html .clearfix, | |
6252 | +* html .clear { | |
6253 | + height: 1%; | |
6254 | +} | |
6255 | +* html .clearfix, | |
6256 | +* html .clear { | |
6257 | + zoom: 1; | |
6258 | +} | |
6259 | +.clearfix, | |
6260 | +.clear { | |
6261 | + display: block; | |
6262 | +} | |
6263 | +.clear { | |
6264 | + clear: both; | |
6265 | +} | |
6266 | +.clearfix:after, | |
6267 | +.clear:after { | |
6268 | + content: " "; | |
6269 | + display: block; | |
6270 | + height: 0; | |
6271 | + clear: both; | |
6272 | + visibility: hidden; | |
6273 | + line-height: 0px; | |
6274 | +} | |
6275 | + | |
6276 | +.m-section .section-head { | |
6277 | + line-height: 45px; | |
6278 | + padding: 0 10px; | |
6279 | + background-color: #fff; | |
6280 | + font-size: 14px; | |
6281 | + color: #666; | |
6282 | + text-align: left; | |
6283 | + font-weight: bold; | |
6284 | + margin-bottom: 10px; | |
6285 | +} | |
6286 | +.m-section .section-head:first-letter { | |
6287 | + font-size: 18px; | |
6288 | + color: #23ac38; | |
6289 | +} | |
6290 | +.section-items { | |
6291 | + margin-bottom: 10px; | |
6292 | +} | |
6293 | +.section-items .section-item { | |
6294 | + display: block; | |
6295 | + margin-bottom: 5px; | |
6296 | + width: 100%; | |
6297 | +} | |
6298 | +.section-items .section-item img { | |
6299 | + width: 100%; | |
6300 | + max-width: 100%; | |
6301 | +} | |
6302 | +.product-items { | |
6303 | + background-color: #FFF; | |
6304 | + margin-bottom: 10px; | |
6305 | +} | |
6306 | +.product-items .items .item { | |
6307 | + width: 33.33%; | |
6308 | + float: left; | |
6309 | + font-size: 13px; | |
6310 | + text-align: center; | |
6311 | + padding: 8px 0; | |
6312 | +} | |
6313 | +.product-items .items .item a { | |
6314 | + display: block; | |
6315 | + position: relative; | |
6316 | + z-index: 2; | |
6317 | +} | |
6318 | +.product-items .items .item h3 { | |
6319 | + font-size: 13px; | |
6320 | + padding: 0 5px; | |
6321 | + font-weight: 700; | |
6322 | + color: #333; | |
6323 | + line-height: 16px; | |
6324 | + padding: 0 10px; | |
6325 | + text-align: left; | |
6326 | + text-overflow: ellipsis; | |
6327 | + overflow: hidden; | |
6328 | + white-space: nowrap; | |
6329 | +} | |
6330 | +.product-items .items .item p { | |
6331 | + padding: 0 10px; | |
6332 | + text-align: left; | |
6333 | +} | |
6334 | +.product-items .items .item em { | |
6335 | + text-align: left; | |
6336 | + display: block; | |
6337 | + font-size: 13px; | |
6338 | + font-weight: 700; | |
6339 | + font-style: normal; | |
6340 | + color: #FA4535; | |
6341 | + text-overflow: ellipsis; | |
6342 | + overflow: hidden; | |
6343 | + white-space: nowrap; | |
6344 | +} | |
6345 | +.product-items .items .item span { | |
6346 | + display: block; | |
6347 | + text-align: center; | |
6348 | + overflow: hidden; | |
6349 | + white-space: nowrap; | |
6350 | + text-overflow: ellipsis; | |
6351 | +} | |
6352 | +.product-items .items .item .pic { | |
6353 | + max-width: 100%; | |
6354 | + height: 60px; | |
6355 | + display: inline-block; | |
6356 | + vertical-align: middle; | |
6357 | +} | |
6358 | +.product-items .items .item:after { | |
6359 | + border-left: none; | |
6360 | + border-top: none; | |
6361 | +} | |
6362 | +.scroll-wrap { | |
6363 | + overflow-y: hidden; | |
6364 | + overflow-x: scroll; | |
6365 | + -webkit-overflow-scrolling: touch; | |
6366 | +} | |
6367 | +.scroll-wrap .m-goods-items { | |
6368 | + white-space: nowrap; | |
6369 | +} | |
6370 | +.scroll-wrap .m-goods-items li { | |
6371 | + float: none; | |
6372 | + display: inline; | |
6373 | + width: 110px !important; | |
6374 | +} | |
6375 | +.scroll-wrap .m-goods-items li a { | |
6376 | + display: inline-block; | |
6377 | + width: 100px; | |
6378 | +} | |
6379 | +.scroll-wrap .m-tab, | |
6380 | +.scroll-wrap .m-nav { | |
6381 | + white-space: nowrap; | |
6382 | + overflow: visible; | |
6383 | + width: auto; | |
6384 | +} | |
6385 | +.scroll-wrap .m-tab li, | |
6386 | +.scroll-wrap .m-nav li { | |
6387 | + float: none; | |
6388 | + display: inline; | |
6389 | + width: 90px; | |
6390 | +} | |
6391 | +.scroll-wrap .m-tab li a, | |
6392 | +.scroll-wrap .m-nav li a { | |
6393 | + display: inline-block; | |
6394 | +} | |
6395 | + | |
6396 | +/* | |
6397 | + * Swiper 2.7.0 | |
6398 | + * Mobile touch slider and framework with hardware accelerated transitions | |
6399 | + * | |
6400 | + * http://www.idangero.us/sliders/swiper/ | |
6401 | + * | |
6402 | + * Copyright 2010-2014, Vladimir Kharlampidi | |
6403 | + * The iDangero.us | |
6404 | + * http://www.idangero.us/ | |
6405 | + * | |
6406 | + * Licensed under GPL & MIT | |
6407 | + * | |
6408 | + * Released on: August 30, 2014 | |
6409 | +*/ | |
6410 | +/* =============================================================== | |
6411 | +Basic Swiper Styles | |
6412 | +================================================================*/ | |
6413 | +.swiper-container { | |
6414 | + margin: 0 auto; | |
6415 | + position: relative; | |
6416 | + overflow: hidden; | |
6417 | + -webkit-backface-visibility: hidden; | |
6418 | + -moz-backface-visibility: hidden; | |
6419 | + -ms-backface-visibility: hidden; | |
6420 | + -o-backface-visibility: hidden; | |
6421 | + backface-visibility: hidden; | |
6422 | + /* Fix of Webkit flickering */ | |
6423 | + z-index: 1; | |
6424 | +} | |
6425 | +.swiper-wrapper { | |
6426 | + position: relative; | |
6427 | + width: 100%; | |
6428 | + -webkit-transition-property: -webkit-transform, left, top; | |
6429 | + -webkit-transition-duration: 0s; | |
6430 | + -webkit-transform: translate3d(0px, 0, 0); | |
6431 | + -webkit-transition-timing-function: ease; | |
6432 | + -moz-transition-property: -moz-transform, left, top; | |
6433 | + -moz-transition-duration: 0s; | |
6434 | + -moz-transform: translate3d(0px, 0, 0); | |
6435 | + -moz-transition-timing-function: ease; | |
6436 | + -o-transition-property: -o-transform, left, top; | |
6437 | + -o-transition-duration: 0s; | |
6438 | + -o-transform: translate3d(0px, 0, 0); | |
6439 | + -o-transition-timing-function: ease; | |
6440 | + -o-transform: translate(0px, 0px); | |
6441 | + -ms-transition-property: -ms-transform, left, top; | |
6442 | + -ms-transition-duration: 0s; | |
6443 | + -ms-transform: translate3d(0px, 0, 0); | |
6444 | + -ms-transition-timing-function: ease; | |
6445 | + transition-property: transform, left, top; | |
6446 | + transition-duration: 0s; | |
6447 | + transform: translate3d(0px, 0, 0); | |
6448 | + transition-timing-function: ease; | |
6449 | + -webkit-box-sizing: content-box; | |
6450 | + -moz-box-sizing: content-box; | |
6451 | + box-sizing: content-box; | |
6452 | +} | |
6453 | +.swiper-free-mode > .swiper-wrapper { | |
6454 | + -webkit-transition-timing-function: ease-out; | |
6455 | + -moz-transition-timing-function: ease-out; | |
6456 | + -ms-transition-timing-function: ease-out; | |
6457 | + -o-transition-timing-function: ease-out; | |
6458 | + transition-timing-function: ease-out; | |
6459 | + margin: 0 auto; | |
6460 | +} | |
6461 | +.swiper-slide { | |
6462 | + float: left; | |
6463 | + -webkit-box-sizing: content-box; | |
6464 | + -moz-box-sizing: content-box; | |
6465 | + box-sizing: content-box; | |
6466 | +} | |
6467 | +/* IE10 Windows Phone 8 Fixes */ | |
6468 | +.swiper-wp8-horizontal { | |
6469 | + -ms-touch-action: pan-y; | |
6470 | +} | |
6471 | +.swiper-wp8-vertical { | |
6472 | + -ms-touch-action: pan-x; | |
6473 | +} | |
6474 | +/* =============================================================== | |
6475 | +Your custom styles, here you need to specify container's and slide's | |
6476 | +sizes, pagination, etc. | |
6477 | +================================================================*/ | |
6478 | +.swiper-container { | |
6479 | + /* Specify Swiper's Size: */ | |
6480 | + /*width:200px; | |
6481 | + height: 100px;*/ | |
6482 | +} | |
6483 | +.swiper-slide { | |
6484 | + /* Specify Slides's Size: */ | |
6485 | + /*width: 100%; | |
6486 | + height: 100%;*/ | |
6487 | +} | |
6488 | +.swiper-slide-active { | |
6489 | + /* Specific active slide styling: */ | |
6490 | +} | |
6491 | +.swiper-slide-visible { | |
6492 | + /* Specific visible slide styling: */ | |
6493 | +} | |
6494 | +/* =============================================================== | |
6495 | +Pagination Styles | |
6496 | +================================================================*/ | |
6497 | +.swiper-pagination-switch { | |
6498 | + /* Stylize pagination button: */ | |
6499 | +} | |
6500 | +.swiper-active-switch { | |
6501 | + /* Specific active button style: */ | |
6502 | +} | |
6503 | +.swiper-visible-switch { | |
6504 | + /* Specific visible button style: */ | |
6505 | +} | |
6506 | +.swiper-pagination { | |
6507 | + position: absolute; | |
6508 | + text-align: center; | |
6509 | + -webkit-transition: 300ms; | |
6510 | + -moz-transition: 300ms; | |
6511 | + -o-transition: 300ms; | |
6512 | + transition: 300ms; | |
6513 | + -webkit-transform: translate3d(0, 0, 0); | |
6514 | + -ms-transform: translate3d(0, 0, 0); | |
6515 | + -o-transform: translate3d(0, 0, 0); | |
6516 | + transform: translate3d(0, 0, 0); | |
6517 | + z-index: 10; | |
6518 | +} | |
6519 | +.swiper-pagination { | |
6520 | + bottom: 10px; | |
6521 | + left: 0; | |
6522 | + width: 100%; | |
6523 | +} | |
6524 | +.swiper-pagination .swiper-pagination-switch { | |
6525 | + margin: 0 5px; | |
6526 | +} | |
6527 | +.swiper-pagination-switch { | |
6528 | + width: 8px; | |
6529 | + height: 8px; | |
6530 | + display: inline-block; | |
6531 | + /*background: #FFF;*/ | |
6532 | + background: none; | |
6533 | + -webkit-box-shadow: inset 0 0 0 2px #ddd; | |
6534 | + box-shadow: inset 0 0 0 2px #ddd; | |
6535 | + -webkit-box-shadow: inset hoff voff blur color; | |
6536 | + box-shadow: inset hoff voff blur color; | |
6537 | + border-radius: 100%; | |
6538 | + /* -webkit-transition: all ease-in-out .15s; | |
6539 | + -o-transition: all ease-in-out .15s; | |
6540 | + transition: all ease-in-out .15s;*/ | |
6541 | +} | |
6542 | +.swiper-active-switch { | |
6543 | + opacity: 1; | |
6544 | + -webkit-box-shadow: inset 0 0 0 4px #23AC38; | |
6545 | + box-shadow: inset 0 0 0 4px #23AC38; | |
6546 | + /*background: #23AC38;*/ | |
6547 | + /*-webkit-box-shadow: none;*/ | |
6548 | + /*box-shadow: none;*/ | |
6549 | +} | |
6550 | +.m-slider { | |
6551 | + height: 120px; | |
6552 | + position: relative; | |
6553 | + overflow: hidden; | |
6554 | + font-size: 0; | |
6555 | +} | |
6556 | +.m-slider a { | |
6557 | + display: block; | |
6558 | + width: 100%; | |
6559 | + height: 100%; | |
6560 | +} | |
6561 | +.m-slider img { | |
6562 | + display: inline-block; | |
6563 | + width: 100%; | |
6564 | + height: 100%; | |
6565 | + float: left; | |
6566 | +} | |
6567 | +.m-slider .swiper-container { | |
6568 | + height: 100%; | |
6569 | +} | |
6570 | +.m-slider .swiper-wrapper { | |
6571 | + height: 100%; | |
6572 | +} | |
6573 | + | |
6574 | +/* | |
6575 | +LESS variables are information about icon's compiled state, stored under its original file name | |
6576 | + | |
6577 | +.icon-home { | |
6578 | + width: @icon-home-width; | |
6579 | +} | |
6580 | + | |
6581 | +The large array-like variables contain all information about a single icon | |
6582 | +@icon-home: x y offset_x offset_y width height total_width total_height image_path name; | |
6583 | + | |
6584 | +At the bottom of this section, we provide information about the spritesheet itself | |
6585 | +@spritesheet: width height image @spritesheet-sprites; | |
6586 | +*/ | |
6587 | +/* | |
6588 | +The provided classes are intended to be used with the array-like variables | |
6589 | + | |
6590 | +.icon-home { | |
6591 | + .sprite-width(@icon-home); | |
6592 | +} | |
6593 | +.icon-email { | |
6594 | + .sprite(@icon-email); | |
6595 | +} | |
6596 | +*/ | |
6597 | +/* | |
6598 | +The `.sprites` mixin generates identical output to the CSS template | |
6599 | + but can be overridden inside of LESS | |
6600 | + | |
6601 | +This must be run when you have at least 2 sprites. | |
6602 | + If run with a single sprite, then there will be reference errors. | |
6603 | + | |
6604 | +.sprites(@spritesheet-sprites); | |
6605 | +*/ | |
6606 | + | |
6607 | +/* | |
6608 | +LESS variables are information about icon's compiled state, stored under its original file name | |
6609 | + | |
6610 | +.icon-home { | |
6611 | + width: @icon-home-width; | |
6612 | +} | |
6613 | + | |
6614 | +The large array-like variables contain all information about a single icon | |
6615 | +@icon-home: x y offset_x offset_y width height total_width total_height image_path name; | |
6616 | + | |
6617 | +At the bottom of this section, we provide information about the spritesheet itself | |
6618 | +@spritesheet: width height image @spritesheet-sprites; | |
6619 | +*/ | |
6620 | +/* | |
6621 | +The provided classes are intended to be used with the array-like variables | |
6622 | + | |
6623 | +.icon-home { | |
6624 | + .sprite-width(@icon-home); | |
6625 | +} | |
6626 | +.icon-email { | |
6627 | + .sprite(@icon-email); | |
6628 | +} | |
6629 | +*/ | |
6630 | +/* | |
6631 | +The `.sprites` mixin generates identical output to the CSS template | |
6632 | + but can be overridden inside of LESS | |
6633 | + | |
6634 | +This must be run when you have at least 2 sprites. | |
6635 | + If run with a single sprite, then there will be reference errors. | |
6636 | + | |
6637 | +.sprites(@spritesheet-sprites); | |
6638 | +*/ | |
6639 | + | |
6640 | +.m-nav { | |
6641 | + width: 100%; | |
6642 | + font-size: 14px; | |
6643 | + color: #999; | |
6644 | + overflow: hidden; | |
6645 | + box-sizing: border-box; | |
6646 | +} | |
6647 | +.m-nav a { | |
6648 | + color: #999; | |
6649 | + padding: 0 10px; | |
6650 | + min-width: 70px; | |
6651 | + display: block; | |
6652 | +} | |
6653 | +.m-nav li { | |
6654 | + float: left; | |
6655 | + line-height: 40px; | |
6656 | + text-align: center; | |
6657 | + position: relative; | |
6658 | +} | |
6659 | +.m-nav li:last-child { | |
6660 | + padding-right: 0; | |
6661 | +} | |
6662 | +.m-nav .on a { | |
6663 | + color: #FFF; | |
6664 | + background-color: #23ac38; | |
6665 | + display: block; | |
6666 | + position: relative; | |
6667 | +} | |
6668 | +.m-tab { | |
6669 | + width: 100%; | |
6670 | + background-color: #FFF; | |
6671 | + font-size: 14px; | |
6672 | + color: #999; | |
6673 | + border-width: 1px 0; | |
6674 | + overflow: hidden; | |
6675 | + box-sizing: border-box; | |
6676 | + margin-bottom: 10px; | |
6677 | +} | |
6678 | +.m-tab a { | |
6679 | + display: block; | |
6680 | + color: #999; | |
6681 | + padding: 0 10px; | |
6682 | + min-width: 70px; | |
6683 | +} | |
6684 | +.m-tab li { | |
6685 | + float: left; | |
6686 | + line-height: 45px; | |
6687 | + text-align: center; | |
6688 | + position: relative; | |
6689 | +} | |
6690 | +.m-tab li:last-child { | |
6691 | + padding-right: 0; | |
6692 | +} | |
6693 | +.m-tab .on a { | |
6694 | + color: #23ac38; | |
6695 | + display: block; | |
6696 | + position: relative; | |
6697 | +} | |
6698 | +.m-tab .on a:after { | |
6699 | + content: ''; | |
6700 | + position: absolute; | |
6701 | + bottom: 0; | |
6702 | + left: 0; | |
6703 | + right: 0; | |
6704 | + height: 2px; | |
6705 | + background-color: #23ac38; | |
6706 | +} | |
6707 | +.m-tab.hasright { | |
6708 | + position: relative; | |
6709 | +} | |
6710 | +.m-tab.hasright:before { | |
6711 | + content: ' '; | |
6712 | + display: block; | |
6713 | + position: absolute; | |
6714 | + top: 0; | |
6715 | + left: 0; | |
6716 | + width: 0; | |
6717 | + height: 0; | |
6718 | + transform: scaleY(1); | |
6719 | + animation: movehint 1.2s linear 3; | |
6720 | + -webkit-animation: movehint 1.6s linear 3; | |
6721 | + transition: all .3s; | |
6722 | + -webkit-transition: all .3s; | |
6723 | + opacity: 0; | |
6724 | + border-top: 2px solid #23ac38; | |
6725 | + animation-delay: 2s; | |
6726 | + animation-direction: alternate; | |
6727 | +} | |
6728 | +.m-tab.hasright:after { | |
6729 | + content: ' '; | |
6730 | + display: block; | |
6731 | + position: absolute; | |
6732 | + top: 0; | |
6733 | +} | |
6734 | +@keyframes movehint { | |
6735 | + 30%, | |
6736 | + 60%, | |
6737 | + 90% { | |
6738 | + opacity: 1; | |
6739 | + } | |
6740 | + 0% { | |
6741 | + width: 0; | |
6742 | + } | |
6743 | + 100% { | |
6744 | + width: 100%; | |
6745 | + } | |
6746 | +} | |
6747 | + | |
6748 | +/*************************************************** | |
6749 | +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等; | |
6750 | +* update : 2015/02/03; | |
6751 | +* use : 按需使用对应class即可; | |
6752 | +* desc : ; | |
6753 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
6754 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
6755 | +****************************************************/ | |
6756 | +.text-left { | |
6757 | + text-align: left !important; | |
6758 | +} | |
6759 | +.text-center { | |
6760 | + text-align: center !important; | |
6761 | +} | |
6762 | +.text-right { | |
6763 | + text-align: right !important; | |
6764 | +} | |
6765 | +.text-nowrap { | |
6766 | + white-space: nowrap !important; | |
6767 | +} | |
6768 | +.text-overflow { | |
6769 | + overflow: hidden; | |
6770 | + text-overflow: ellipsis; | |
6771 | +} | |
6772 | +.text-lowercase { | |
6773 | + text-transform: lowercase; | |
6774 | +} | |
6775 | +.text-uppercase { | |
6776 | + text-transform: uppercase; | |
6777 | +} | |
6778 | +.text-capitalize { | |
6779 | + text-transform: capitalize; | |
6780 | +} | |
6781 | +.text-indent { | |
6782 | + text-indent: -999em; | |
6783 | +} | |
6784 | +.float-left { | |
6785 | + float: left !important; | |
6786 | +} | |
6787 | +.float-right { | |
6788 | + float: right !important; | |
6789 | +} | |
6790 | +.float-none { | |
6791 | + float: none !important; | |
6792 | +} | |
6793 | +.display-block { | |
6794 | + display: block !important; | |
6795 | +} | |
6796 | +.clearfix:after { | |
6797 | + content: ''; | |
6798 | + display: block; | |
6799 | + height: 0; | |
6800 | + overflow: hidden; | |
6801 | + font-size: 0; | |
6802 | + clear: both; | |
6803 | +} | |
6804 | +.m-hide { | |
6805 | + display: none !important; | |
6806 | + visibility: hidden; | |
6807 | + opacity: 0; | |
6808 | + z-index: -1; | |
6809 | +} | |
6810 | +.m-hidden { | |
6811 | + visibility: hidden; | |
6812 | + opacity: 0; | |
6813 | + z-index: -1; | |
6814 | +} | |
6815 | +.m-show { | |
6816 | + display: block !important; | |
6817 | + visibility: visible; | |
6818 | +} | |
6819 | +.m-separate { | |
6820 | + position: relative; | |
6821 | + width: 100%; | |
6822 | + line-height: 50px; | |
6823 | + text-align: center; | |
6824 | + font-size: 12px; | |
6825 | + color: #666; | |
6826 | + overflow: visible; | |
6827 | +} | |
6828 | +.m-more, | |
6829 | +a.m-more { | |
6830 | + display: block; | |
6831 | + font-size: 12px; | |
6832 | + text-align: center; | |
6833 | + color: #999; | |
6834 | + line-height: 45px; | |
6835 | + background-color: #FFF; | |
6836 | +} | |
6837 | +.m-animate-hide { | |
6838 | + -webkit-transform: translate(0, 100%) translateZ(0) !important; | |
6839 | + -ms-transform: translate(0, 100%) translateZ(0) !important; | |
6840 | + -o-transform: translate(0, 100%) translateZ(0) !important; | |
6841 | + transform: translate(0, 100%) translateZ(0) !important; | |
6842 | +} | |
6843 | +.m-animate-show { | |
6844 | + -webkit-transform: translate(0, 0) translateZ(0) !important; | |
6845 | + -ms-transform: translate(0, 0) translateZ(0) !important; | |
6846 | + -o-transform: translate(0, 0) translateZ(0) !important; | |
6847 | + transform: translate(0, 0) translateZ(0) !important; | |
6848 | +} | |
6849 | +.hidden { | |
6850 | + opacity: 0; | |
6851 | + z-index: -1; | |
6852 | +} | |
6853 | +.mask-hidden { | |
6854 | + opacity: 0; | |
6855 | +} | |
6856 | +.font-white { | |
6857 | + color: #FFF !important; | |
6858 | +} | |
6859 | +.font-white-opacity { | |
6860 | + color: rgba(255, 255, 255, 0.8) !important; | |
6861 | +} | |
6862 | +.font-deep { | |
6863 | + color: #333 !important; | |
6864 | +} | |
6865 | +.font-gray { | |
6866 | + color: #666 !important; | |
6867 | +} | |
6868 | +.font-light { | |
6869 | + color: #999 !important; | |
6870 | +} | |
6871 | +.font-yellow { | |
6872 | + color: #FF9D2C !important; | |
6873 | +} | |
6874 | +.font-orange { | |
6875 | + color: #FF6B00 !important; | |
6876 | +} | |
6877 | +.font-red { | |
6878 | + color: #fa4535 !important; | |
6879 | +} | |
6880 | +.font-green { | |
6881 | + color: #23ac38 !important; | |
6882 | +} | |
6883 | +.background-white { | |
6884 | + background-color: #FFF; | |
6885 | +} | |
6886 | +.background-gray { | |
6887 | + background-color: #666 !important; | |
6888 | +} | |
6889 | +.background-deep-gray { | |
6890 | + background-color: #444 !important; | |
6891 | +} | |
6892 | +.background-yellow { | |
6893 | + background-color: #FF9D2C !important; | |
6894 | +} | |
6895 | +.background-orange { | |
6896 | + background-color: #FF6B00 !important; | |
6897 | +} | |
6898 | +.background-red { | |
6899 | + background-color: #fa4535 !important; | |
6900 | +} | |
6901 | +.background-green { | |
6902 | + background-color: #23ac38 !important; | |
6903 | +} | |
6904 | +.position-relative { | |
6905 | + position: relative; | |
6906 | +} | |
6907 | +.z-index2 { | |
6908 | + z-index: 2; | |
6909 | +} | |
6910 | +.width-auto { | |
6911 | + width: auto !important; | |
6912 | +} | |
6913 | +.width-200p { | |
6914 | + width: 200%; | |
6915 | +} | |
6916 | +.m-col-1 { | |
6917 | + width: 100% !important; | |
6918 | +} | |
6919 | +.m-col-2 { | |
6920 | + width: 50% !important; | |
6921 | +} | |
6922 | +.m-col-3 { | |
6923 | + width: 33.33% !important; | |
6924 | +} | |
6925 | +.m-col-4 { | |
6926 | + width: 25% !important; | |
6927 | +} | ... | ... |
css/common.css
... | ... | @@ -1132,65 +1132,34 @@ Pagination Styles |
1132 | 1132 | content: ' '; |
1133 | 1133 | display: block; |
1134 | 1134 | position: absolute; |
1135 | - top: 18px; | |
1136 | - left: 94%; | |
1135 | + top: 0; | |
1136 | + left: 0; | |
1137 | 1137 | width: 0; |
1138 | 1138 | height: 0; |
1139 | - border-style: solid; | |
1140 | - border-width: 5px 0 5px 5px; | |
1141 | - border-color: transparent transparent transparent #23ac38; | |
1142 | 1139 | transform: scaleY(1); |
1143 | 1140 | animation: movehint 1.2s linear 3; |
1144 | - -webkit-animation: movehint 1.2s linear 3; | |
1141 | + -webkit-animation: movehint 1.6s linear 3; | |
1145 | 1142 | transition: all .3s; |
1146 | 1143 | -webkit-transition: all .3s; |
1147 | 1144 | opacity: 0; |
1145 | + border-top: 2px solid #23ac38; | |
1148 | 1146 | } |
1149 | 1147 | .m-tab.hasright:after { |
1150 | 1148 | content: ' '; |
1151 | 1149 | display: block; |
1152 | 1150 | position: absolute; |
1153 | - top: 18px; | |
1154 | - left: 96%; | |
1155 | - width: 0; | |
1156 | - height: 0; | |
1157 | - border-style: solid; | |
1158 | - border-width: 5px 0 5px 5px; | |
1159 | - border-color: transparent transparent transparent #23ac38; | |
1160 | - transform: scaleY(1); | |
1161 | - animation: movehint 1.2s linear 3; | |
1162 | - -webkit-animation: movehint 1.2s linear 3; | |
1163 | - transition: all .3s; | |
1164 | - -webkit-transition: all .3s; | |
1165 | - opacity: 0; | |
1151 | + top: 0; | |
1166 | 1152 | } |
1167 | 1153 | @keyframes movehint { |
1168 | - 0%, | |
1169 | - 20%, | |
1170 | - 53%, | |
1171 | - 80%, | |
1172 | - 100% { | |
1173 | - -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); | |
1174 | - transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); | |
1175 | - -webkit-transform: translate3d(0, 0, 0); | |
1176 | - transform: translate3d(0, 0, 0); | |
1154 | + 30%, | |
1155 | + 60%, | |
1156 | + 90% { | |
1177 | 1157 | opacity: 1; |
1178 | 1158 | } |
1179 | - 40%, | |
1180 | - 43% { | |
1181 | - -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); | |
1182 | - transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); | |
1183 | - -webkit-transform: translate3d(-20px, 0, 0); | |
1184 | - transform: translate3d(-20px, 0, 0); | |
1159 | + 0% { | |
1160 | + width: 0; | |
1185 | 1161 | } |
1186 | - 70% { | |
1187 | - -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); | |
1188 | - transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); | |
1189 | - -webkit-transform: translate3d(-10px, 0, 0); | |
1190 | - transform: translate3d(-10px, 0, 0); | |
1191 | - } | |
1192 | - 90% { | |
1193 | - -webkit-transform: translate3d(-4px, 0, 0); | |
1194 | - transform: translate3d(-4px, 0, 0); | |
1162 | + 100% { | |
1163 | + width: 100%; | |
1195 | 1164 | } |
1196 | 1165 | } | ... | ... |
css/tab.css
... | ... | @@ -72,65 +72,34 @@ |
72 | 72 | content: ' '; |
73 | 73 | display: block; |
74 | 74 | position: absolute; |
75 | - top: 18px; | |
76 | - left: 94%; | |
75 | + top: 0; | |
76 | + left: 0; | |
77 | 77 | width: 0; |
78 | 78 | height: 0; |
79 | - border-style: solid; | |
80 | - border-width: 5px 0 5px 5px; | |
81 | - border-color: transparent transparent transparent #23ac38; | |
82 | 79 | transform: scaleY(1); |
83 | 80 | animation: movehint 1.2s linear 3; |
84 | - -webkit-animation: movehint 1.2s linear 3; | |
81 | + -webkit-animation: movehint 1.6s linear 3; | |
85 | 82 | transition: all .3s; |
86 | 83 | -webkit-transition: all .3s; |
87 | 84 | opacity: 0; |
85 | + border-top: 2px solid #23ac38; | |
88 | 86 | } |
89 | 87 | .m-tab.hasright:after { |
90 | 88 | content: ' '; |
91 | 89 | display: block; |
92 | 90 | position: absolute; |
93 | - top: 18px; | |
94 | - left: 96%; | |
95 | - width: 0; | |
96 | - height: 0; | |
97 | - border-style: solid; | |
98 | - border-width: 5px 0 5px 5px; | |
99 | - border-color: transparent transparent transparent #23ac38; | |
100 | - transform: scaleY(1); | |
101 | - animation: movehint 1.2s linear 3; | |
102 | - -webkit-animation: movehint 1.2s linear 3; | |
103 | - transition: all .3s; | |
104 | - -webkit-transition: all .3s; | |
105 | - opacity: 0; | |
91 | + top: 0; | |
106 | 92 | } |
107 | 93 | @keyframes movehint { |
108 | - 0%, | |
109 | - 20%, | |
110 | - 53%, | |
111 | - 80%, | |
112 | - 100% { | |
113 | - -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); | |
114 | - transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); | |
115 | - -webkit-transform: translate3d(0, 0, 0); | |
116 | - transform: translate3d(0, 0, 0); | |
94 | + 30%, | |
95 | + 60%, | |
96 | + 90% { | |
117 | 97 | opacity: 1; |
118 | 98 | } |
119 | - 40%, | |
120 | - 43% { | |
121 | - -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); | |
122 | - transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); | |
123 | - -webkit-transform: translate3d(-20px, 0, 0); | |
124 | - transform: translate3d(-20px, 0, 0); | |
99 | + 0% { | |
100 | + width: 0; | |
125 | 101 | } |
126 | - 70% { | |
127 | - -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); | |
128 | - transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); | |
129 | - -webkit-transform: translate3d(-10px, 0, 0); | |
130 | - transform: translate3d(-10px, 0, 0); | |
131 | - } | |
132 | - 90% { | |
133 | - -webkit-transform: translate3d(-4px, 0, 0); | |
134 | - transform: translate3d(-4px, 0, 0); | |
102 | + 100% { | |
103 | + width: 100%; | |
135 | 104 | } |
136 | 105 | } | ... | ... |
css/tab.less
... | ... | @@ -77,65 +77,36 @@ |
77 | 77 | content: ' '; |
78 | 78 | display: block; |
79 | 79 | position: absolute; |
80 | - top: 18px; | |
81 | - left: 94%; | |
80 | + top: 0; | |
81 | + left: 0; | |
82 | 82 | width: 0; |
83 | 83 | height: 0; |
84 | - border-style: solid; | |
85 | - border-width: 5px 0 5px 5px; | |
86 | - border-color: transparent transparent transparent #23ac38; | |
87 | 84 | transform: scaleY(1); |
88 | 85 | animation: movehint 1.2s linear 3; |
89 | - -webkit-animation: movehint 1.2s linear 3; | |
86 | + -webkit-animation: movehint 1.6s linear 3; | |
90 | 87 | transition: all .3s; |
91 | 88 | -webkit-transition: all .3s; |
92 | 89 | opacity: 0; |
90 | + border-top: 2px solid #23ac38; | |
93 | 91 | } |
94 | 92 | &:after { |
95 | 93 | content: ' '; |
96 | 94 | display: block; |
97 | 95 | position: absolute; |
98 | - top: 18px; | |
99 | - left: 96%; | |
100 | - width: 0; | |
101 | - height: 0; | |
102 | - border-style: solid; | |
103 | - border-width: 5px 0 5px 5px; | |
104 | - border-color: transparent transparent transparent #23ac38; | |
105 | - transform: scaleY(1); | |
106 | - animation: movehint 1.2s linear 3; | |
107 | - -webkit-animation: movehint 1.2s linear 3; | |
108 | - transition: all .3s; | |
109 | - -webkit-transition: all .3s; | |
110 | - opacity: 0; | |
96 | + top: 0; | |
111 | 97 | } |
112 | 98 | } |
113 | 99 | } |
114 | 100 | @keyframes movehint { |
115 | - 0%, 20%, 53%, 80%, 100% { | |
116 | - -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); | |
117 | - transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); | |
118 | - -webkit-transform: translate3d(0,0,0); | |
119 | - transform: translate3d(0,0,0); | |
101 | + 30%, 60%, 90% { | |
120 | 102 | opacity: 1; |
121 | 103 | } |
122 | 104 | |
123 | - 40%, 43% { | |
124 | - -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); | |
125 | - transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); | |
126 | - -webkit-transform: translate3d(-20px, 0, 0); | |
127 | - transform: translate3d(-20px, 0, 0); | |
128 | - } | |
129 | - | |
130 | - 70% { | |
131 | - -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); | |
132 | - transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); | |
133 | - -webkit-transform: translate3d(-10px, 0, 0); | |
134 | - transform: translate3d(-10px, 0, 0); | |
105 | + 0% { | |
106 | + width: 0; | |
135 | 107 | } |
136 | 108 | |
137 | - 90% { | |
138 | - -webkit-transform: translate3d(-4px, 0, 0); | |
139 | - transform: translate3d(-4px, 0, 0); | |
109 | + 100% { | |
110 | + width: 100%; | |
140 | 111 | } |
141 | 112 | } | ... | ... |
js/example/example.js
0 → 100644
1 | +/** | |
2 | + * For Details and more examples visit http://apidocjs.com | |
3 | + */ | |
4 | + | |
5 | +/** | |
6 | + * @apiDefinePermission admin Admin access rights needed. | |
7 | + * Optionally you can write here further Informations about the permission. | |
8 | + * | |
9 | + * An "apiDefinePermission"-block can have an "apiVersion", so you can attach the block to a specific version. | |
10 | + * | |
11 | + * @apiVersion 0.3.0 | |
12 | + */ | |
13 | + | |
14 | +/** | |
15 | + * @apiDefinePermission admin This title is visible in version 0.1.0 and 0.2.0 | |
16 | + * @apiVersion 0.1.0 | |
17 | + */ | |
18 | + | |
19 | +/** | |
20 | + * @api {get} /user/:id Read data of a User | |
21 | + * @apiVersion 0.3.0 | |
22 | + * @apiName GetUser | |
23 | + * @apiGroup User | |
24 | + * @apiPermission admin | |
25 | + * | |
26 | + * @apiDescription Compare Verison 0.3.0 with 0.2.0 and you will see the green markers with new items in version 0.3.0 and red markers with removed items since 0.2.0. | |
27 | + * | |
28 | + * @apiParam {String} id The Users-ID. | |
29 | + * | |
30 | + * @apiSuccess {String} id The Users-ID. | |
31 | + * @apiSuccess {Date} registered Registration Date. | |
32 | + * @apiSuccess {Date} name Fullname of the User. | |
33 | + * | |
34 | + * @apiError NoAccessRight Only authenticated Admins can access the data. | |
35 | + * @apiError UserNotFound The <code>id</code> of the User was not found. | |
36 | + * | |
37 | + * @apiErrorExample Response (example): | |
38 | + * HTTP/1.1 401 Not Authenticated | |
39 | + * { | |
40 | + * "error": "NoAccessRight" | |
41 | + * } | |
42 | + */ | |
43 | + | |
44 | +/** | |
45 | + * @api {get} /user/:id Read data of a User | |
46 | + * @apiVersion 0.2.0 | |
47 | + * @apiName GetUser | |
48 | + * @apiGroup User | |
49 | + * @apiPermission admin | |
50 | + * | |
51 | + * @apiDescription Here you can describe the function. | |
52 | + * Multilines are possible. | |
53 | + * | |
54 | + * @apiParam {String} id The Users-ID. | |
55 | + * | |
56 | + * @apiSuccess {String} id The Users-ID. | |
57 | + * @apiSuccess {Date} name Fullname of the User. | |
58 | + * | |
59 | + * @apiError UserNotFound The <code>id</code> of the User was not found. | |
60 | + */ | |
61 | + | |
62 | +/** | |
63 | + * @api {get} /user/:id Read data of a User | |
64 | + * @apiVersion 0.1.0 | |
65 | + * @apiName GetUser | |
66 | + * @apiGroup User | |
67 | + * @apiPermission admin | |
68 | + * | |
69 | + * @apiDescription Here you can describe the function. | |
70 | + * Multilines are possible. | |
71 | + * | |
72 | + * @apiParam {String} id The Users-ID. | |
73 | + * | |
74 | + * @apiSuccess {String} id The Users-ID. | |
75 | + * @apiSuccess {Date} name Fullname of the User. | |
76 | + * | |
77 | + * @apiError UserNotFound The error description text in version 0.1.0. | |
78 | + */ | |
79 | + | |
80 | +/** | |
81 | + * @apiDefineErrorStructure CreateUser | |
82 | + * @apiVersion 0.2.0 | |
83 | + * | |
84 | + * @apiError NoAccessRight Only authenticated Admins can access the data. | |
85 | + * @apiError UserNameTooShort Minimum of 5 characters required. | |
86 | + * | |
87 | + * @apiErrorExample Response (example): | |
88 | + * HTTP/1.1 400 Bad Request | |
89 | + * { | |
90 | + * "error": "UserNameTooShort" | |
91 | + * } | |
92 | + */ | |
93 | + | |
94 | +/** | |
95 | + * @api {post} /user Create a new User | |
96 | + * @apiVersion 0.3.0 | |
97 | + * @apiName PostUser | |
98 | + * @apiGroup User | |
99 | + * @apiPermission none | |
100 | + * | |
101 | + * @apiDescription In this case "apiErrorStructure" is defined and used. | |
102 | + * Define blocks with params that will be used in several functions, so you dont have to rewrite them. | |
103 | + * | |
104 | + * @apiParam {String} name Name of the User. | |
105 | + * | |
106 | + * @apiSuccess {String} id The new Users-ID. | |
107 | + * | |
108 | + * @apiErrorStructure CreateUser | |
109 | + */ | |
110 | + | |
111 | +/** | |
112 | + * @api {post} /user Create a User | |
113 | + * @apiVersion 0.2.0 | |
114 | + * @apiName PostUser | |
115 | + * @apiGroup User | |
116 | + * @apiPermission none | |
117 | + * | |
118 | + * @apiDescription In this case "apiErrorStructure" is defined and used. | |
119 | + * Define blocks with params that will be used in several functions, so you dont have to rewrite them. | |
120 | + * | |
121 | + * @apiParam {String} name Name of the User. | |
122 | + * | |
123 | + * @apiSuccess {String} id The Users-ID. | |
124 | + * | |
125 | + * @apiErrorStructure CreateUser | |
126 | + */ | |
127 | + | |
128 | +/** | |
129 | + * @api {put} /user/:id Change a new User | |
130 | + * @apiVersion 0.3.0 | |
131 | + * @apiName PutUser | |
132 | + * @apiGroup User | |
133 | + * @apiPermission none | |
134 | + * | |
135 | + * @apiDescription This function has same errors like POST /user, but errors not defined again, they were included with "apiErrorStructure" | |
136 | + * | |
137 | + * @apiParam {String} name Name of the User. | |
138 | + * | |
139 | + * @apiErrorStructure CreateUser | |
140 | + */ | |
0 | 141 | \ No newline at end of file | ... | ... |
package.json
... | ... | @@ -19,8 +19,11 @@ |
19 | 19 | "license": "MIT", |
20 | 20 | "devDependencies": { |
21 | 21 | "grunt": "^0.4.5", |
22 | + "grunt-apidoc": "^0.10.1", | |
23 | + "grunt-contrib-concat": "^0.5.1", | |
22 | 24 | "grunt-contrib-less": "^1.0.1", |
23 | 25 | "grunt-contrib-watch": "^0.6.1", |
26 | + "grunt-ui-docs": "0.0.1", | |
24 | 27 | "less": "^2.5.1" |
25 | 28 | } |
26 | 29 | } | ... | ... |