Subversion Repositories SmartDukaan

Rev

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