Subversion Repositories SmartDukaan

Rev

Rev 11094 | Rev 11146 | 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
    }
11119 lgm 64
 
65
    .filter.selected, .sort.selected{
66
      background:url("../images/check-sh.png")no-repeat 96% center,rgba(242,243,239,0.6);
67
      background-size:18px,100%;
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;
152
    .pd-image{
153
      position: static;
154
      margin: 0 auto;
155
    }
156
    .pd-info{
157
      padding:0;
158
      text-align:center;
159
      min-height: 71px;
160
        .pdt-name{
161
          overflow: hidden;
162
          text-overflow: ellipsis;
163
          display: -webkit-box;
164
          -webkit-line-clamp: 2;
165
          -webkit-box-orient: vertical;
166
     height:42px;
167
        }
168
        .pdt-spec{
169
          display:none;
170
          } 
171
    }
172
  }
173
  .pd-list:nth-of-type(odd){
174
    border-right: @list-color1 solid 1px;
175
  }
176
}
177
 
178
.sort-by{
179
  position:absolute;
180
  display:none;
181
  z-index:11;
182
  .font(1.6em);
183
  background: @white;
184
  top: 40px;
185
  left:0;
186
  width:100%;
187
  text-align:center;
188
  .boxsize;
189
  box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.4);
190
  > div{
191
    background:@list-color2;
192
    padding:10px 0;
193
    color:@grey;
194
    border-bottom:@white solid 1px;
195
    //border-right:@list-color1 solid 1px;
196
  }
197
  div:nth-of-type(1){
198
    //border-top:@list-color1 solid 1px;
199
  }
200
  div:last-child{
201
    border-bottom:@list-color1 solid 1px;
202
  }
10962 lgm 203
  div.selected{
204
    background:lighten(@green, 10%);
205
    color:@white!important;
206
    box-shadow: inset 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
207
  }
10582 lgm 208
}
209
 
210
.filter-by{
211
  position:absolute;
212
  z-index:11;
213
  top: 40px;
214
  right:0;
215
  width:100%;
216
  background:@white;
217
  box-shadow: 0px 11px 30px 0px rgba(0, 0, 0, 0.4);
218
  .filter-head{
219
    width:100%;
220
    text-align:center;
221
    .font(1.6em);
222
    .clear{
223
      width:30%;
224
      .float(left);
225
      padding:8px 0; 
226
      background:@grey;
227
      color:@white;
228
    }
229
    .apply{
230
      width:70%;
231
      .float(right);
232
      padding:8px 0;
10790 lgm 233
      background:@orange;
10582 lgm 234
      color:@white;
235
    }
236
  }
237
  .filter-name{
238
    background:@list-color2;
239
    font-weight:bold;
240
    padding: 8px 12px 8px 12px;
241
    .font(1.6em);
242
    color:@grey;
243
    margin:1px 0;
244
    span{
245
      .float(right);
246
    }
247
  }
248
  .filter-options{
249
    position:relative;
250
    div.opt{
251
      padding: 8px 12px 8px 12px;
252
      color:@grey;
253
      .font(1.4em);
254
      border-bottom:@list-color2 solid 1px;
255
      span{
256
        .float(right);
257
      }
258
    }
259
    div.selected{
260
      background:lighten(@green, 10%);
261
      color:@white!important;
262
      box-shadow: inset 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
263
    }
264
    .sub-filter{
265
      div{
266
        padding: 7px 25px 7px 25px;
267
        color:@grey;
268
        .font(1.4em);
269
        border-bottom:@list-color2 solid 1px;
270
          span{
271
          .float(right);
272
        }
273
      }
274
    }
275
  }
276
}
277
 
278
.refine-mask{
279
  position: absolute;
280
  width: 100%;
281
  height: 100%;
282
  background: rgba(0, 0, 0, 0);
283
  top: 40px;
284
  left: 0;
285
  z-index: 10;
286
  display: none;
287
}
288
 
289
/*------------------------------grid view css ends---------------------------*/
290
 
291
.load-more{
10790 lgm 292
  background:@orange;
10582 lgm 293
  color:@white;
294
  width:50%;
295
  margin:10px auto;
296
  max-width:250px;
297
  text-align:center;
298
  padding:10px 0;
299
  .font(1.8em);
300
  border-radius:3px;
301
}
302
 
303
 
304
/*---------------------------------no-ui-slider css----------------------------------*/
305
 
306
    .noUiSlider, .noUiSlider * {
307
  -webkit-box-sizing: border-box;
308
  -moz-box-sizing: border-box;
309
  box-sizing: border-box;
310
  -webkit-user-select: none;
311
  -moz-user-select: none;
312
  -ms-user-select: none;
313
  display: block;
314
  cursor: default;
315
}
316
.noUiSlider {
317
  position: relative;
318
}
319
.noUiSlider a {
320
  position: absolute;
321
  z-index: 1;
322
  background: #1fabf6;
323
}
324
.noUiSlider a:nth-child(2) {
325
  background: inherit !important;
326
}
327
.noUiSlider.vertical a {
328
  width: 100%;
329
  bottom: 0;
330
}
331
.noUiSlider.horizontal a {
332
  height: 100%;
333
  right: 0;
334
  border-radius: 10px;
335
}
336
 
337
@media screen and (-ms-high-contrast: active) , (-ms-high-contrast: none) {
338
  .noUiSlider:before, body.TOUCH, .noUiSlider div {
339
    -ms-touch-action: none;
340
  }
341
  .noUiSlider:before {
342
    display: block;
343
    position: absolute;
344
    width: 150%;
345
    left: -25%;
346
    height: 400%;
347
    top: -150%;
348
    content: "";
349
    z-index: -1;
350
  }
351
  .noUiSlider.vertical:before {
352
    width: 400%;
353
    left: -150%;
354
    height: 150%;
355
    top: -25%;
356
  }
357
}
358
.noUiSlider {
359
  border-radius: 5px;
360
}
361
.noUiSlider.connect a, .noUiSlider.connect.lower {//
362
  background: #dddddd;
363
}
364
.noUiSlider, .noUiSlider.connect.lower a {
365
  background: #dddddd;//
366
  box-shadow: inset 0px 1px 7px #b6b4a8
367
}
368
.noUiSlider.disabled, .noUiSlider.disabled.connect.lower a {
369
  background: #ccc;
370
  box-shadow: none;
371
}
372
.noUiSlider div {
373
  height: 25px;
374
  width: 25px;
375
  background: #efefe7;
376
  border-radius:20px;
377
}
378
.noUiSlider.horizontal a:nth-of-type(1) div {
379
  background: #1FABF6;
380
 
381
}
382
.noUiSlider.horizontal a:nth-of-type(2) div {
383
  background: #1FABF6;
384
}
385
.noUiSlider.disabled div {
386
  background: transparent;
387
}
388
.noUiSlider.horizontal {
389
  width: 85%;
390
  left:6%;
391
  height: 10px;
392
  background-color: #F2F3EF;
393
  margin: 20px 0;
394
  border-radius: 10px;
395
}
396
.noUiSlider.horizontal div {
397
  margin: -9px 0 0 -9px;
398
}
399
.noUiSlider.vertical {
400
  width: 10px;
401
  height: 300px;
402
}
403
.noUiSlider.vertical div {
404
  margin: -9px 0 0 -5px;
405
}
406
.slider-input{
407
  position: absolute;
408
  left: 0%;
409
  border: #1FABF6 solid 1px;
410
  color:#555555;
411
  display: inline-block;
412
  height: 18px;
413
  line-height: 20px;
414
  text-align: center;
415
  min-width: 50px;
416
  border-radius: 5px;
417
  -webkit-appearance:none;
418
}
419
 
420
.slider-input:before {
421
  content: "";
422
  position: absolute;
423
  bottom: -8px;
424
  left: 15px;
425
  border-width: 8px 11px 0;
426
  border-style: solid;
427
  border-color: #1FABF6 transparent;
428
  display: block;
429
  width: 0;
430
}
431
 
432
.slider-input:after {
433
  content: "";
434
  position: absolute;
435
  bottom: -6px;
436
  left: 17px;
437
  border-width: 6px 9px 0;
438
  border-style: solid;
439
  border-color: #fff transparent;
440
  display: block;
441
  width: 0;
442
}
443
 
444
span.slider-input:nth-of-type(1){
445
  left:0%;
446
}
447
 
448
span.slider-input:nth-of-type(2){
449
  left:98%;
450
}
451
/*
452
#exFR {
453
  position: relative;
454
  right: 0%;
455
  border: #dddddd solid 1px;
456
  display: inline;
457
  padding: 5px 0;
458
  text-align: center;
459
  width: 40px;
460
  border-radius: 5px;
461
  -webkit-appearance:none;
462
}*/
463
 
464
.oprice{
465
  margin-left:4%;
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{
476
  margin-right: 3% !important;
477
float: right;
478
}
479
 
480
.empty-list{
11094 lgm 481
  height: 100px;
482
  margin-top: 10px;
10582 lgm 483
 
484
}
485
 
486
.empty-msg{
487
  .font(1.6em);
488
  margin:10px 0;
489
  color:@grey;
490
}