Subversion Repositories SmartDukaan

Rev

Rev 11366 | Rev 11805 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10582 lgm 1
@import "common.less";
2
 
3
.pd-info-head{
4
  width:100%;
5
  background:@list-color2;
6
  margin-top:1px;
7
  padding:5px 10px;
8
  .boxsize;
9
  .name-hldr{
10
    width:100%;
11
  div:nth-of-type(1){
12
    .float(left);
13
    width:80%;
14
    padding-top:7px;
15
  span{
16
 
17
    color:@grey;
18
  }
19
  span:nth-of-type(1){
20
     .font(2.0em);
21
    text-transform: capitalize;
22
  }
23
  span:nth-of-type(2){
24
     .font(1.8em);
25
  }
26
  }
27
 
28
  div:nth-of-type(2){
29
    .float(right);
30
    width:15%;
31
    height:35px;
32
    background:url("../images/grid-view.png")no-repeat center center, lighten(@sub-list, 2%);
33
    background-size:20px, 100%;
34
    max-width:35px;
35
  }
36
  .list-icon{
37
    background:url("../images/list-view.png")no-repeat center center, lighten(@sub-list, 2%)!important;
38
    background-size:20px, 100%!important;
39
  }
40
 
41
  }
42
}
43
 
44
 
45
  .filter-div{
46
    position:relative;
47
    background:rgba(242,243,239,0.6);
48
    border-top:@list-color1 solid 1px;
49
    border-bottom:@list-color1 solid 1px;
50
    width:100%;
51
    color:@grey;
52
    >div:nth-of-type(1), >div:nth-of-type(2){
53
      .float(left);
54
      width:50%;
55
      padding:10px 2px;
56
      text-align:center;
57
      .boxsize;
58
      .font(1.6em);
59
      position:relative;
60
      white-space: nowrap;
61
      overflow: hidden;
62
      text-overflow: ellipsis;
63
    }
11249 lgm 64
    .filter.filter-selected > span{
65
      background:url("../images/filter-selected.png")no-repeat left top!important;
66
      background-size: 14px!important;
67
      color:@green!important;
11119 lgm 68
    }
10582 lgm 69
    > div:nth-of-type(1){
70
      border-right:@list-color1 solid 1px;
71
    }
72
    > div:nth-of-type(1) span{
73
      display:inline-block;
74
      background:url("../images/sort.png")no-repeat left center;
75
      background-size: 14px;
76
      padding-left: 17px;
77
    }
78
    > div:nth-of-type(2) span{
79
      display:inline-block;
80
      background:url("../images/filter.png")no-repeat left top;
81
      background-size: 14px;
82
      padding-left: 17px;
83
    }
84
 
85
  }
86
 
87
  .pd-list{
88
    width: 100%;
89
    padding: 10px 5px;
90
    display: block;
91
    position: relative;
92
    border-bottom:@list-color1 solid 1px;
93
    .boxsize;
94
    .pd-image{
95
      width: 120px;
96
      height: 130px;
97
      position: absolute;
98
      background: url("../images/default-img.jpg") no-repeat center center;
99
      background-size: contain;
100
    }
101
    .pd-info{
102
      position: relative;
103
      min-height: 130px;
104
      padding: 0px 0px 0px 125px;
105
      .boxsize;
106
      color:@grey;
107
      .pdt-name{
10790 lgm 108
        .font(1.6em);
10582 lgm 109
        margin-top:5px;
110
      }
111
      .pdt-price{
112
        .font(1.6em);
113
        margin-top:10px;
114
        span{
115
          display:inline-block;
116
        }
10790 lgm 117
        span.pr{
118
          //font-weight:bold;
10582 lgm 119
          //color:@ltblue;
120
        }
10790 lgm 121
        span.pr-linethrough{
10582 lgm 122
          text-decoration: line-through;
10790 lgm 123
          color:@sub-list;
11119 lgm 124
          display: inline-block;
125
          padding: 0 1px;
10582 lgm 126
        }
10790 lgm 127
        span.pr-original{
128
          //font-weight:bold;
10582 lgm 129
          //color:@ltblue;
130
        }
131
      }
132
      .pdt-spec{
133
        margin-top:10px;
134
        overflow: hidden;
135
        text-overflow: ellipsis;
136
        display: -webkit-box;
10790 lgm 137
        -webkit-line-clamp: 4;
10582 lgm 138
        -webkit-box-orient: vertical;
10790 lgm 139
        .font(1.4em);
10582 lgm 140
      }
141
    }
142
  }
143
 
144
/*------------------------------grid view css---------------------------*/
145
 
146
  .grid{
147
  .pd-list{
148
    width:50%;
149
    .float(left);
150
    .boxsize;
151
    border-bottom: @list-color1 solid 1px;
11366 lgm 152
    height: 227px;
10582 lgm 153
    .pd-image{
154
      position: static;
155
      margin: 0 auto;
156
    }
157
    .pd-info{
158
      padding:0;
159
      text-align:center;
160
      min-height: 71px;
161
        .pdt-name{
162
          overflow: hidden;
163
          text-overflow: ellipsis;
164
          display: -webkit-box;
165
          -webkit-line-clamp: 2;
166
          -webkit-box-orient: vertical;
11249 lgm 167
          //height:42px;
10582 lgm 168
        }
169
        .pdt-spec{
170
          display:none;
171
          } 
172
    }
173
  }
174
  .pd-list:nth-of-type(odd){
175
    border-right: @list-color1 solid 1px;
176
  }
177
}
178
 
179
.sort-by{
180
  position:absolute;
181
  display:none;
182
  z-index:11;
183
  .font(1.6em);
184
  background: @white;
185
  top: 40px;
186
  left:0;
187
  width:100%;
188
  text-align:center;
189
  .boxsize;
190
  box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.4);
191
  > div{
192
    background:@list-color2;
193
    padding:10px 0;
194
    color:@grey;
195
    border-bottom:@white solid 1px;
196
    //border-right:@list-color1 solid 1px;
197
  }
198
  div:nth-of-type(1){
199
    //border-top:@list-color1 solid 1px;
200
  }
201
  div:last-child{
202
    border-bottom:@list-color1 solid 1px;
203
  }
10962 lgm 204
  div.selected{
205
    background:lighten(@green, 10%);
206
    color:@white!important;
207
    box-shadow: inset 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
208
  }
10582 lgm 209
}
210
 
211
.filter-by{
212
  position:absolute;
213
  z-index:11;
214
  top: 40px;
215
  right:0;
216
  width:100%;
217
  background:@white;
218
  box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.4);
219
  .filter-head{
220
    width:100%;
221
    text-align:center;
222
    .font(1.6em);
223
    .clear{
224
      width:30%;
225
      .float(left);
226
      padding:8px 0; 
227
      background:@grey;
228
      color:@white;
229
    }
230
    .apply{
231
      width:70%;
232
      .float(right);
233
      padding:8px 0;
10790 lgm 234
      background:@orange;
10582 lgm 235
      color:@white;
236
    }
237
  }
238
  .filter-name{
239
    background:@list-color2;
240
    font-weight:bold;
241
    padding: 8px 12px 8px 12px;
242
    .font(1.6em);
243
    color:@grey;
244
    margin:1px 0;
245
    span{
246
      .float(right);
247
    }
248
  }
249
  .filter-options{
250
    position:relative;
251
    div.opt{
252
      padding: 8px 12px 8px 12px;
253
      color:@grey;
254
      .font(1.4em);
255
      border-bottom:@list-color2 solid 1px;
256
      span{
257
        .float(right);
258
      }
259
    }
260
    div.selected{
261
      background:lighten(@green, 10%);
262
      color:@white!important;
263
      box-shadow: inset 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
264
    }
265
    .sub-filter{
266
      div{
267
        padding: 7px 25px 7px 25px;
268
        color:@grey;
269
        .font(1.4em);
270
        border-bottom:@list-color2 solid 1px;
271
          span{
272
          .float(right);
273
        }
274
      }
275
    }
276
  }
277
}
278
 
279
.refine-mask{
280
  position: absolute;
281
  width: 100%;
282
  height: 100%;
283
  background: rgba(0, 0, 0, 0);
284
  top: 40px;
285
  left: 0;
286
  z-index: 10;
287
  display: none;
288
}
289
 
290
/*------------------------------grid view css ends---------------------------*/
291
 
292
.load-more{
10790 lgm 293
  background:@orange;
10582 lgm 294
  color:@white;
295
  width:50%;
296
  margin:10px auto;
297
  max-width:250px;
298
  text-align:center;
299
  padding:10px 0;
300
  .font(1.8em);
301
  border-radius:3px;
302
}
303
 
304
 
305
/*---------------------------------no-ui-slider css----------------------------------*/
306
 
307
    .noUiSlider, .noUiSlider * {
308
  -webkit-box-sizing: border-box;
309
  -moz-box-sizing: border-box;
310
  box-sizing: border-box;
311
  -webkit-user-select: none;
312
  -moz-user-select: none;
313
  -ms-user-select: none;
314
  display: block;
315
  cursor: default;
316
}
317
.noUiSlider {
318
  position: relative;
319
}
320
.noUiSlider a {
321
  position: absolute;
322
  z-index: 1;
323
  background: #1fabf6;
324
}
325
.noUiSlider a:nth-child(2) {
326
  background: inherit !important;
327
}
328
.noUiSlider.vertical a {
329
  width: 100%;
330
  bottom: 0;
331
}
332
.noUiSlider.horizontal a {
333
  height: 100%;
334
  right: 0;
335
  border-radius: 10px;
336
}
337
 
338
@media screen and (-ms-high-contrast: active) , (-ms-high-contrast: none) {
339
  .noUiSlider:before, body.TOUCH, .noUiSlider div {
340
    -ms-touch-action: none;
341
  }
342
  .noUiSlider:before {
343
    display: block;
344
    position: absolute;
345
    width: 150%;
346
    left: -25%;
347
    height: 400%;
348
    top: -150%;
349
    content: "";
350
    z-index: -1;
351
  }
352
  .noUiSlider.vertical:before {
353
    width: 400%;
354
    left: -150%;
355
    height: 150%;
356
    top: -25%;
357
  }
358
}
359
.noUiSlider {
360
  border-radius: 5px;
361
}
362
.noUiSlider.connect a, .noUiSlider.connect.lower {//
363
  background: #dddddd;
364
}
365
.noUiSlider, .noUiSlider.connect.lower a {
366
  background: #dddddd;//
367
  box-shadow: inset 0px 1px 7px #b6b4a8
368
}
369
.noUiSlider.disabled, .noUiSlider.disabled.connect.lower a {
370
  background: #ccc;
371
  box-shadow: none;
372
}
373
.noUiSlider div {
374
  height: 25px;
375
  width: 25px;
376
  background: #efefe7;
377
  border-radius:20px;
378
}
379
.noUiSlider.horizontal a:nth-of-type(1) div {
380
  background: #1FABF6;
381
 
382
}
383
.noUiSlider.horizontal a:nth-of-type(2) div {
384
  background: #1FABF6;
385
}
386
.noUiSlider.disabled div {
387
  background: transparent;
388
}
389
.noUiSlider.horizontal {
11457 lgm 390
  // width: 85%;
391
  // left:6%;
10582 lgm 392
  height: 10px;
393
  background-color: #F2F3EF;
394
  margin: 20px 0;
395
  border-radius: 10px;
396
}
397
.noUiSlider.horizontal div {
398
  margin: -9px 0 0 -9px;
399
}
400
.noUiSlider.vertical {
401
  width: 10px;
402
  height: 300px;
403
}
404
.noUiSlider.vertical div {
405
  margin: -9px 0 0 -5px;
406
}
407
.slider-input{
408
  position: absolute;
409
  left: 0%;
410
  border: #1FABF6 solid 1px;
411
  color:#555555;
412
  display: inline-block;
413
  height: 18px;
414
  line-height: 20px;
415
  text-align: center;
416
  min-width: 50px;
417
  border-radius: 5px;
418
  -webkit-appearance:none;
419
}
420
 
421
.slider-input:before {
422
  content: "";
423
  position: absolute;
424
  bottom: -8px;
425
  left: 15px;
426
  border-width: 8px 11px 0;
427
  border-style: solid;
428
  border-color: #1FABF6 transparent;
429
  display: block;
430
  width: 0;
431
}
432
 
433
.slider-input:after {
434
  content: "";
435
  position: absolute;
436
  bottom: -6px;
437
  left: 17px;
438
  border-width: 6px 9px 0;
439
  border-style: solid;
440
  border-color: #fff transparent;
441
  display: block;
442
  width: 0;
443
}
444
 
445
span.slider-input:nth-of-type(1){
446
  left:0%;
447
}
448
 
449
span.slider-input:nth-of-type(2){
450
  left:98%;
451
}
452
/*
453
#exFR {
454
  position: relative;
455
  right: 0%;
456
  border: #dddddd solid 1px;
457
  display: inline;
458
  padding: 5px 0;
459
  text-align: center;
460
  width: 40px;
461
  border-radius: 5px;
462
  -webkit-appearance:none;
463
}*/
464
 
465
.oprice{
466
  float:left;
467
  width:30px;
468
  padding:5px;
469
  text-align:center;
470
  border-radius:8px;
471
  box-shadow:inset 1px 1px 1px 1px rgba(0,0,0,0.4);
472
  margin-bottom:10px;
473
}
474
 
475
.oprice.max{
11457 lgm 476
  float: right;
10582 lgm 477
}
478
 
479
.empty-list{
11094 lgm 480
  height: 100px;
481
  margin-top: 10px;
10582 lgm 482
 
483
}
484
 
485
.empty-msg{
486
  .font(1.6em);
487
  margin:10px 0;
488
  color:@grey;
11457 lgm 489
}
490
 
491
.ch-filter{
492
  padding: 10px 5%;
493
  overflow: hidden;
494
}