Subversion Repositories SmartDukaan

Rev

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