Subversion Repositories SmartDukaan

Rev

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