Subversion Repositories SmartDukaan

Rev

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