Subversion Repositories SmartDukaan

Rev

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