Subversion Repositories SmartDukaan

Rev

Rev 11249 | Rev 11715 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11249 lgm 1
/* *
2
 *
3
    Created By Akshit Sharma
4
 * 
5
 * */
6
 
7
 
10582 lgm 8
/*---------------------------------less variabels--------------------------------------------*/
9
@blue:#3971b8;  //header background-color
10
@ltblue:#1fabf6;
11
 
12
@ltgrey:#c7c7c7; //border color
13
@white:#ffffff;
14
@grey: #555555; //heading color
15
@sub-list: #888888;
16
@lightgrey:#f1f1f1;
17
@yellow:#f5bd11; 
18
@orange:#ff7201;
19
@green:rgb(80, 194, 95);
20
 
21
@list-color1:#e5e6e0;
22
@list-color2:#f2f3ef;
23
/*-------------------------------CSS for Common Elements---------------------------------------*/
24
body{
25
  float:left;
26
  width:100%;
27
}
28
* {
29
  padding: 0;
30
  margin: 0;
31
}
32
 
33
*::-webkit-scrollbar { 
34
    //display: none; 
35
}
36
a {
37
  text-decoration: none;
38
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
39
  color:#000;
40
}
41
 
42
input, select, a, div {
43
  -webkit-tap-highlight-color: rgba(0,0,0,0.2);
44
}
45
 
46
input:active, select:active, a:active, .btn:active{
47
  background:rgba(0,0,0,0.2);
48
}
49
 
50
body {
51
 
52
  font: 0.625em Helvetica, Arial, sans-serif;
53
  -webkit-font-smoothing: subpixel-antialiased;
54
}
55
 
56
img {
57
 outline: none;
58
 border: 0;
59
 border-style: none;
60
}
61
 
62
input{
63
  outline:0;
11271 lgm 64
    -webkit-appearance: none;
65
    -moz-appearance: none;
66
    -o-appearance:none;
67
    appearance: none;
10582 lgm 68
}
69
 
11271 lgm 70
input[type="checkbox"]{
71
   -webkit-appearance: none;
72
    -moz-appearance: none;
73
    -o-appearance:none;
74
    appearance: none;
75
}
76
 
11249 lgm 77
select{
11271 lgm 78
    -webkit-appearance: none;
79
    -moz-appearance: none;
80
    -o-appearance:none;
81
    appearance: none;
11249 lgm 82
}
83
 
10582 lgm 84
.ellip {
85
  white-space: nowrap;
86
  overflow: hidden;
87
  text-overflow: ellipsis;
88
}
89
.clear {
90
  clear: both;
91
}
92
.tcenter {
93
  text-align: center;
94
}
95
.tright {
96
  text-align: right;
97
}
98
 
99
.left {
100
  float: left;
101
}
102
 
103
.right {
104
  float: right;
105
}
106
.uppercase
107
{
108
  text-transform: uppercase !important;
109
}
110
 
111
.clearfix:after {
112
    content: " ";
113
    display: block;
114
    clear: both;
115
    visibility: hidden;
116
    line-height: 0;
117
    height: 0;
118
}
119
 
120
.clearfix {
121
    display:block;
122
}
123
 
124
html[xmlns] .clearfix {
125
    display: block;
126
}
127
 
128
* html .clearfix {
129
    height: 1px;
130
}
131
 
132
/*------------------for ie10-------------------*/
133
select::-ms-expand {
134
  display: none;
135
  color: @white;
136
}
137
select::selection {
138
  background-color: black;
139
}
140
input[type="checkbox"]::-ms-check {
141
  display: none;
142
}
143
 
144
/*-------------------------------------------*/
145
 
146
 
147
/*-----------------------mixins -----------------------------*/
148
 
149
.float(@fl:left){
150
  float:@fl;
151
}
152
.boxsize{
153
  box-sizing:border-box;
154
  -webkit-box-sizing:border-box;
155
  -moz-box-sizing:border-box;
156
}
157
 
158
.font(@ft:2.0em) {
159
  font: normal @ft/1.2em Helvetica, Arial, sans-serif;
160
}
161
 
162
/*-----------------------------------------------------------*/
163
 
164
header{
165
  background:@blue;
166
  .menu{
167
    .float(left);
168
    width:40px;
169
    height:45px;
170
    background:url("../images/menu.PNG")no-repeat center center;
171
    background-size:26px;
172
  }
173
  h1{
174
    display:inline-block;
175
     height:40px;
176
    a{
177
      display: block;
178
      height: 40px;
179
    }
180
    img{
181
     height:40px;
182
    }
183
  }
184
  .profile{
185
    .float(right);
186
    width:40px;
187
    height:45px;
188
    background:url("../images/profile.png")no-repeat center center;
189
    background-size:28px;
190
  }
191
 
192
  .profile.selected-pr{
193
      background:url("../images/profile_selected.png")no-repeat center center;
194
    background-size:28px;
195
  }
196
  .cart{
197
     display:block;
198
    .float(right);
199
    width:40px;
200
    height:45px;
201
    background:url("../images/cart.PNG")no-repeat center center;
202
    background-size:30px;
203
    position:relative;
204
    span{
205
      position: absolute;
206
      right: 19px;
207
      background: #F1C618;
208
      top: 25px;
209
      border-radius: 43px;
11119 lgm 210
      -o-border-radius: 43px;
10582 lgm 211
      width: 15px;
212
      height: 15px;
213
      text-align: center;
214
      line-height: 15px;
215
      font-weight:bold;
11125 lgm 216
      color: @blue;
10582 lgm 217
    }
218
  }
219
}
220
 
221
.search-box{
222
  width:100%;
223
  padding:5px 2% 5px;
224
  background:@list-color2;
225
  .boxsize();
226
  .search-hldr{
227
    background:@white;
228
    padding:2px;
229
    border:@ltgrey solid 1px;
230
    .boxsize;
231
    input{
232
      border:0;
233
      appearance:none;
234
      -webkit-appearance:none;
11249 lgm 235
       -moz-appearance: none;
10582 lgm 236
      .float(left);
237
      width:80%;
238
      padding:5px;
239
      color:@grey;
240
      .boxsize;
241
      .font(1.4em);
242
      line-height: 25px;
243
      margin:0;
244
      display:block;
245
    }
246
    .search{
247
      .float(right);
248
      width:20%;
249
      height:35px;
250
      background:url("../images/search.PNG")no-repeat center center, @orange;
251
      background-size:20px,100%;
252
      max-width: 45px;
253
    }
254
  }
255
}
256
 
257
#search-result{
258
  left:0;
259
  width:96%;
260
  margin:0 2% 5px;
261
  .boxsize();
262
  background:@white;
263
  .font(1.4em);
264
  border-top:none;
265
  position: absolute;
266
  z-index: 15;
267
  box-shadow: 0px 8px 11px -3px rgba(0,0,0,0.4);
268
    div{
269
      color:@grey;
270
      border-left:@ltgrey solid 1px;
271
      border-right:@ltgrey solid 1px;
272
      text-transform:capitalize;
273
      a{
274
        display:block;
275
        padding:5px 2px 5px 7px;
276
      }
277
    .highlight{
278
    color:@blue;
279
    }
280
  }
281
  div:last-child{
282
  border-bottom:@ltgrey solid 1px;
283
  }
284
}
285
 
286
.recharge-head{
287
  .font(2em);
288
  margin-top:5px;
289
  padding:5px 5px 5px 7px;
290
  color:@grey;
291
  border-left:@ltblue solid 5px;
292
}
293
.offers{
294
  background:@list-color2;
295
  text-transform: capitalize;
296
  color:@white;
297
  padding:10px 5px;
298
  a:nth-of-type(1){
299
    color:@white;
300
    display:block;
301
    background:url("../images/mobile-12.png")no-repeat 7px center, @green;
302
    background-size:18px,100%;
11079 lgm 303
    width: 100%;
10582 lgm 304
    padding: 10px 0;
305
    border-radius:2px;
11119 lgm 306
    -o-border-radius:2px;
10582 lgm 307
    .boxsize;
308
    .float(left);
309
      text-align:center;
310
      .font(1.8em); 
311
      padding-left: 22px;
312
  }
313
  a:nth-of-type(2){
314
    display:block;
315
    color:@white;
316
    background:url("../images/dish.png")no-repeat 7px center, @ltblue;
317
    background-size: 30px,100%;
11079 lgm 318
    width: 100%;
10582 lgm 319
    padding: 10px 8px 10px 36px;
320
    .boxsize;
321
    .float(right);
322
    .font(1.8em);
323
    text-align:center;
324
    white-space: nowrap;
325
    overflow: hidden;
326
    text-overflow: ellipsis;
327
    border-radius:2px;
11119 lgm 328
    -o-border-radius:2px;
11079 lgm 329
    margin-top:7px;
10582 lgm 330
  }
331
 
332
}
333
 
334
.menu-cat{
335
  .cat-head{
336
    padding:10px 0 10px 7px;
337
    .font(2.2em);
338
    color:@grey;
339
    text-transform: capitalize;
340
    border-left:@ltblue solid 5px;
341
  }
342
  .cat{
343
    padding:6px 8px 6px 8px;
11271 lgm 344
    margin-bottom:1px;
10582 lgm 345
    color:@grey;
346
    .font(1.8em);
347
    .icon-hldr{
348
      display:inline-block;
349
      width:30px;
350
      height:30px;
351
      .float(left);
352
    }  
353
    div{
354
      padding-left:5px;
355
      margin-top:5px;
356
      .float(left);
357
      text-transform:uppercase;
358
    }
359
    span:nth-of-type(2){
360
      .float(right);
361
      margin-top:4px;
362
    }
363
  }
364
  .cat.odd{
365
    background:@list-color1;    
366
  }
367
  .cat.even{
368
    background:@list-color2;    
369
  }
11271 lgm 370
  .cat:last-child{
371
    margin-bottom:0!important;
372
  }
10582 lgm 373
  .cat-sub{
374
    width:100%;
375
    padding:0 45px;
376
    margin-bottom:5px;
377
    .boxsize;
378
    a{
379
      display:block;
380
      padding:8px 0;
381
      .font(1.8em);
382
      color:@sub-list;
383
      border-bottom:@lightgrey solid 1px;
384
      text-transform: capitalize;
385
    }
386
  }
387
}
388
 
389
.recommended-pd{
390
  border-bottom:lighten(@grey, 50%) solid 1px;
391
  .head{
392
    text-transform: capitalize;
393
    //background:@lightgrey;
394
    color:@grey;
395
    .font(2.0em);
396
    //padding:4px 8px;
397
    margin:5px 0 0;
398
    //border-bottom:lighten(@grey, 50%) solid 1px;
399
    //border-left:lighten(@grey, 20%) solid 4px;
400
    div{
401
      display:inline-block;
402
      border-left:@ltblue solid 5px;
403
      padding:5px 5px 5px 7px;
404
    }
405
  }
406
  .rec-hldr{
407
    overflow:auto;
408
    .rec-wrapper{
409
      display:inline-block;
410
      white-space: nowrap;  
411
    }
412
  .rec-product{
413
    margin:10px 0;
414
    display:inline-block;
415
    width:180px;
416
    border-right:lighten(@grey, 50%) solid 1px;
417
    text-align:center;
418
    padding:5px;
419
    .boxsize; 
420
    img{
421
      height:100px;
422
    }
423
  .pd-name{
424
    color:@grey;
425
    .font(1.4em);
426
    overflow: hidden;
427
    text-overflow: ellipsis;
428
    -ms-text-overflow: ellipsis;
429
    display: -webkit-box;
430
    -webkit-line-clamp: 2;
431
    -webkit-box-orient: vertical;
432
    white-space: normal;
11125 lgm 433
    //min-height:34px;
10582 lgm 434
  }
435
  .pd-desc{
436
    text-align:center;
437
    white-space: nowrap;
438
    overflow: hidden;
439
    text-overflow: ellipsis;
440
    .font(1.1em);
11125 lgm 441
    padding-top:5px;
10582 lgm 442
  }
443
  .pd-price{
444
    text-align:center;
445
    padding-top: 5px;
446
    span{
447
      display:inline-block;
448
    }
449
    span:nth-of-type(1){
450
      .font(1.2em);
451
      font-weight:bold;
452
      color:@grey;
453
    }
454
    span:nth-of-type(2){
455
      color:@grey;
456
      .font(1.2em);
457
      text-decoration: line-through;
458
      padding:0 5px;
459
    }
460
    span:nth-of-type(3){
461
    color:@grey;
462
    .font(1.2em);
463
    font-weight:bold;
464
    }
465
  }
466
  }
467
  }
468
}
469
.features{
470
  margin:0 0 10px;
11271 lgm 471
  border-top:2px solid @white;
11094 lgm 472
  a{
10582 lgm 473
    width:25%;
10792 lgm 474
    color:@sub-list;
10582 lgm 475
    text-align:center;
476
    height:95px;
477
    border-right:@white solid 2px;
478
    .boxsize;
479
    .float(left);
480
    p{
481
      margin-top: 48px;
482
      padding:0 3px; 
483
 
484
    }
485
  }
486
  .on-time{
487
    background:url("../images/on-time.PNG")no-repeat center 13px,@lightgrey;
488
    background-size:30px,100%;
489
  }
490
  .in-store{
491
    background:url("../images/in-store.PNG")no-repeat center 12px,@lightgrey;
492
    background-size:33px,100%;
493
  }
494
  .emi{
495
    background:url("../images/emi.PNG")no-repeat center 20px,@lightgrey;
496
    background-size:42px,100%;
497
  }
498
  .insure{
499
    background:url("../images/insure.PNG")no-repeat center 12px,@lightgrey;
500
    background-size:27px,100%;
11271 lgm 501
    border-right:none;
10582 lgm 502
  }
503
  div:nth-of-type(4){
504
    border-right:none;
505
  }
506
}
507
 
508
footer{
509
    border-top:@ltgrey solid 1px;
510
    color:@ltblue;
511
    padding: 10px 2px 10px 2px;
512
    text-align:center;
513
    a{
10792 lgm 514
      color:@grey;
10582 lgm 515
      text-transform: uppercase;
516
      padding: 0px 10px;
517
      border-right: 1px solid @ltgrey;
518
    } 
519
    a:last-child{
520
  border-right:none;
521
  } 
522
}
523
 
524
 
525
/*----------------slider css--------------------------*/
526
 
527
 
528
/*----------------------------slider css--------------------------------------------*/
529
 
530
.swipe {
531
  overflow: hidden;
532
  visibility: hidden;
533
  position: relative;
534
}
535
.swipe-wrap {
536
  overflow: hidden;
537
  position: relative;
538
}
539
.swipe-wrap > div {
540
  float:left;
541
  width:100%;
542
  position: relative;
543
}
544
 
545
/*#mySwipe div a img{
546
 width:100%;
547
 height:200px;
548
}*/
549
.swipe-wrap div a{
550
  width:100%;
551
 display:block;
552
}
553
 
554
.swipe-wrap div a img{
555
  width:100%;
556
}
557
 
558
.slider-circles{
559
  margin-top: 5px;
560
  text-align:center;
561
  .circle {
562
    width: 8px;
563
    height: 8px;
564
    border-radius: 8px;
11119 lgm 565
    -o-border-radius: 8px;
10582 lgm 566
    background:@blue;
567
    border:@white solid 2px;
568
    .boxsize;
569
    margin-right: 4px;
570
    display: inline-block;
571
    }
572
    .circle.selected {
573
      background: @blue;
574
      border:none;
575
      }
576
}
577
 
578
 
579
 
580
/*-------------------------menu-----------------------------*/
581
 
582
.side-menu{
583
  display:none;
584
  position:absolute;
585
  top:45px;
586
  left:0;
587
  z-index:14;
588
  width:85%;
589
  box-shadow: 2px 18px 38px -12px rgba(0, 0, 0, 0.5);
590
  background:@white;
591
  .menu-head{
592
    padding:12px;
593
    .font(1.8em);
594
    background:@orange;
595
    color:@white;
596
    >a{
597
      .float(right);
598
      width:22px;
599
      height:22px;
600
      background:url("../images/home.png")no-repeat center center;
601
      background-size:20px;
602
    }
603
  }
604
  .cat-title{
605
    padding: 3px 0 3px 6px;
606
    background:@list-color1;
607
    border-bottom:@white solid 1px;
608
    span{
609
      display: inline-block;
610
      width: 30px;
611
      height: 30px;
612
      .float(left);
613
    }
614
    div{
615
      color: @grey;
616
      .font(1.6em);
617
      font-weight:bold;
618
      padding-left: 5px;
619
      margin-top: 7px;
620
      .float(left);
621
      text-transform: uppercase;
622
    }
623
  }
624
  .cat-sub{
625
    width:100%;
626
    background:@list-color2;
627
    color:@grey;
628
    border-bottom:@white solid 1px;
629
    a{
630
      .font(1.6em);
631
      .float(left);
632
      padding:7px 0 7px 49px;
633
      display:block;
634
      text-transform: capitalize;
635
      width:100%;
636
      .boxsize;
637
    }
638
  }
639
 
640
}
641
 
642
.mask{
643
  position:absolute;
644
  width:100%;
645
  height:100%;
646
  background:rgba(0,0,0,0);
647
  top:45px;
648
  left:0;
649
  z-index:10;
650
  display:none;
651
}
652
 
653
/*---------------------------------profile-pverlay--------------------------*/
654
 
655
.profile-overlay{  
11088 lgm 656
  width:85%;
10582 lgm 657
  position:absolute;
658
   z-index:14;
659
  top:45px;
660
  right:0;
661
  .boxsize;
662
  background:@list-color2;
663
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.5);
664
  text-align: right;
665
  >div:first-child{
666
    padding:12px;
667
    .font(1.8em);
668
    background:@orange;
669
    color:@white;
670
  }
671
  a{
672
    display:block;
673
    color:@grey;
674
    .font(1.6em);
675
    font-weight:bold;
11119 lgm 676
    padding:10px 20px 10px 10px;
10582 lgm 677
    width:100%;
678
    background:@list-color1;
679
    border-bottom:@white solid 1px;
680
    .boxsize;
11088 lgm 681
    > span{
682
     .float(left);
683
     font-weight:normal;
684
    }
10582 lgm 685
  }
686
}
687
 
10792 lgm 688
.sucess-reg{
689
  padding:5px;
690
  margin:5px;
691
  color:@green;
692
  border:@green dashed 1px;
693
  .font(1.4em);
694
}
10582 lgm 695
 
10792 lgm 696
 
10582 lgm 697
/*---------------------------------------loader css-----------------------------------*/
698
 
699
.pace {
700
  -webkit-pointer-events: none;
701
  pointer-events: none;
702
  z-index: 2000;
703
  position: fixed;
704
  height: 60px;
705
  width: 60px;
706
  margin: auto;
707
  top: 0;
708
  left: 0;
709
  right: 0;
710
  bottom: 0;
711
}
712
 
713
.pace.pace-inactive .pace-activity {
714
  display: none;
715
}
716
 
11143 lgm 717
.pace-activity {
10582 lgm 718
    position: fixed;
719
    z-index: 2000;
720
    display: block;
721
    position: absolute;
722
    left: 4px;
723
    top: 4px;
724
    height: 30px;
725
    width: 30px;
726
    border-width: 10px;
727
    border-style: double;
728
    border-color: #3971B8 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
729
    border-radius: 50px;
11119 lgm 730
    -o-border-radius: 8px;
10582 lgm 731
    -webkit-animation: spin 1s linear infinite;
732
    -moz-animation: spin 1s linear infinite;
733
    -o-animation: spin 1s linear infinite;
734
    animation: spin 1s linear infinite;
735
}
736
 
737
 
11143 lgm 738
.pace-activity:before {
10582 lgm 739
  content: ' ';
740
  position: absolute;
741
  top: 4px;
742
  left: 0px;
743
  height: 20px;
744
  width: 20px;
745
  display: block;
746
  border-width: 0px;
747
  border-style: solid;
748
  border-color: #FF8700 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
749
  border-radius: 54px;
11119 lgm 750
  -o-border-radius: 54px;
10582 lgm 751
}
752
 
753
 
754
@-webkit-keyframes spin {
755
  100% { -webkit-transform: rotate(359deg); }
756
}
757
 
758
@-moz-keyframes spin {
759
  100% { -moz-transform: rotate(359deg); }
760
}
761
 
762
@-o-keyframes spin {
763
  100% { -moz-transform: rotate(359deg); }
764
}
765
 
766
@keyframes spin {
767
  100% {  transform: rotate(359deg); }
10792 lgm 768
}
769