Subversion Repositories SmartDukaan

Rev

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