Subversion Repositories SmartDukaan

Rev

Rev 11715 | Rev 11731 | 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
    //padding:4px 8px;
396
    margin:5px 0 0;
397
    //border-bottom:lighten(@grey, 50%) solid 1px;
398
    //border-left:lighten(@grey, 20%) solid 4px;
11715 lgm 399
    div:nth-of-type(1){
10582 lgm 400
      display:inline-block;
401
      border-left:@ltblue solid 5px;
402
      padding:5px 5px 5px 7px;
11715 lgm 403
      .font(2.0em);
10582 lgm 404
    }
11715 lgm 405
    div:nth-of-type(2){
406
      float:right;
407
      .font(1.4em);
408
      color:@grey;
409
      border-bottom:lighten(@grey,30%) solid 1px;
410
      margin-top: 7px;
411
      margin-right: 5px;
412
    }
10582 lgm 413
  }
414
  .rec-hldr{
415
    overflow:auto;
416
    .rec-wrapper{
417
      display:inline-block;
418
      white-space: nowrap;  
419
    }
420
  .rec-product{
421
    margin:10px 0;
422
    display:inline-block;
423
    width:180px;
424
    border-right:lighten(@grey, 50%) solid 1px;
425
    text-align:center;
426
    padding:5px;
427
    .boxsize; 
428
    img{
429
      height:100px;
430
    }
431
  .pd-name{
432
    color:@grey;
433
    .font(1.4em);
434
    overflow: hidden;
435
    text-overflow: ellipsis;
436
    -ms-text-overflow: ellipsis;
437
    display: -webkit-box;
438
    -webkit-line-clamp: 2;
439
    -webkit-box-orient: vertical;
440
    white-space: normal;
11125 lgm 441
    //min-height:34px;
10582 lgm 442
  }
443
  .pd-desc{
444
    text-align:center;
445
    white-space: nowrap;
446
    overflow: hidden;
447
    text-overflow: ellipsis;
448
    .font(1.1em);
11125 lgm 449
    padding-top:5px;
10582 lgm 450
  }
451
  .pd-price{
452
    text-align:center;
453
    padding-top: 5px;
454
    span{
455
      display:inline-block;
456
    }
457
    span:nth-of-type(1){
458
      .font(1.2em);
459
      font-weight:bold;
460
      color:@grey;
461
    }
462
    span:nth-of-type(2){
463
      color:@grey;
464
      .font(1.2em);
465
      text-decoration: line-through;
466
      padding:0 5px;
467
    }
468
    span:nth-of-type(3){
469
    color:@grey;
470
    .font(1.2em);
471
    font-weight:bold;
472
    }
473
  }
474
  }
475
  }
476
}
477
.features{
478
  margin:0 0 10px;
11271 lgm 479
  border-top:2px solid @white;
11094 lgm 480
  a{
10582 lgm 481
    width:25%;
10792 lgm 482
    color:@sub-list;
10582 lgm 483
    text-align:center;
484
    height:95px;
485
    border-right:@white solid 2px;
486
    .boxsize;
487
    .float(left);
488
    p{
489
      margin-top: 48px;
490
      padding:0 3px; 
491
 
492
    }
493
  }
494
  .on-time{
495
    background:url("../images/on-time.PNG")no-repeat center 13px,@lightgrey;
496
    background-size:30px,100%;
497
  }
498
  .in-store{
499
    background:url("../images/in-store.PNG")no-repeat center 12px,@lightgrey;
500
    background-size:33px,100%;
501
  }
502
  .emi{
503
    background:url("../images/emi.PNG")no-repeat center 20px,@lightgrey;
504
    background-size:42px,100%;
505
  }
506
  .insure{
507
    background:url("../images/insure.PNG")no-repeat center 12px,@lightgrey;
508
    background-size:27px,100%;
11271 lgm 509
    border-right:none;
10582 lgm 510
  }
511
  div:nth-of-type(4){
512
    border-right:none;
513
  }
514
}
515
 
516
footer{
517
    border-top:@ltgrey solid 1px;
518
    color:@ltblue;
519
    padding: 10px 2px 10px 2px;
520
    text-align:center;
521
    a{
10792 lgm 522
      color:@grey;
10582 lgm 523
      text-transform: uppercase;
524
      padding: 0px 10px;
525
      border-right: 1px solid @ltgrey;
526
    } 
527
    a:last-child{
528
  border-right:none;
529
  } 
530
}
531
 
532
 
533
/*----------------slider css--------------------------*/
534
 
535
 
536
/*----------------------------slider css--------------------------------------------*/
537
 
538
.swipe {
539
  overflow: hidden;
540
  visibility: hidden;
541
  position: relative;
542
}
543
.swipe-wrap {
544
  overflow: hidden;
545
  position: relative;
546
}
547
.swipe-wrap > div {
548
  float:left;
549
  width:100%;
550
  position: relative;
551
}
552
 
553
/*#mySwipe div a img{
554
 width:100%;
555
 height:200px;
556
}*/
557
.swipe-wrap div a{
558
  width:100%;
559
 display:block;
560
}
561
 
562
.swipe-wrap div a img{
563
  width:100%;
564
}
565
 
566
.slider-circles{
567
  margin-top: 5px;
568
  text-align:center;
569
  .circle {
570
    width: 8px;
571
    height: 8px;
572
    border-radius: 8px;
11119 lgm 573
    -o-border-radius: 8px;
10582 lgm 574
    background:@blue;
575
    border:@white solid 2px;
576
    .boxsize;
577
    margin-right: 4px;
578
    display: inline-block;
579
    }
580
    .circle.selected {
581
      background: @blue;
582
      border:none;
583
      }
584
}
585
 
11717 lgm 586
#prev{
587
  width:30px;
588
  height:30px;
589
  background:rgba(0,0,0,0.6);
590
  position:absolute;
591
  top:50%;
592
  left:0;
593
  margin-top:-15px;
594
  display:none;
595
  background:url("../images/left_arrow.png")no-repeat center center, rgba(0,0,0,0.6);
596
  background-size:15px, 100%;
597
}
10582 lgm 598
 
11717 lgm 599
#next{
600
  width:30px;
601
  height:30px;
602
  position:absolute;
603
  top:50%;
604
  right:0;
605
  margin-top:-15px;
606
  display:none;
607
  background:url("../images/right_arrow1.png")no-repeat center center, rgba(0,0,0,0.6);
608
  background-size:15px, 100%;
609
}
10582 lgm 610
 
611
/*-------------------------menu-----------------------------*/
612
 
613
.side-menu{
614
  display:none;
615
  position:absolute;
616
  top:45px;
617
  left:0;
618
  z-index:14;
619
  width:85%;
620
  box-shadow: 2px 18px 38px -12px rgba(0, 0, 0, 0.5);
621
  background:@white;
622
  .menu-head{
623
    padding:12px;
624
    .font(1.8em);
625
    background:@orange;
626
    color:@white;
627
    >a{
628
      .float(right);
629
      width:22px;
630
      height:22px;
631
      background:url("../images/home.png")no-repeat center center;
632
      background-size:20px;
633
    }
634
  }
635
  .cat-title{
636
    padding: 3px 0 3px 6px;
637
    background:@list-color1;
638
    border-bottom:@white solid 1px;
639
    span{
640
      display: inline-block;
641
      width: 30px;
642
      height: 30px;
643
      .float(left);
644
    }
645
    div{
646
      color: @grey;
647
      .font(1.6em);
648
      font-weight:bold;
649
      padding-left: 5px;
650
      margin-top: 7px;
651
      .float(left);
652
      text-transform: uppercase;
653
    }
654
  }
655
  .cat-sub{
656
    width:100%;
657
    background:@list-color2;
658
    color:@grey;
659
    border-bottom:@white solid 1px;
660
    a{
661
      .font(1.6em);
662
      .float(left);
663
      padding:7px 0 7px 49px;
664
      display:block;
665
      text-transform: capitalize;
666
      width:100%;
667
      .boxsize;
668
    }
669
  }
670
 
671
}
672
 
673
.mask{
674
  position:absolute;
675
  width:100%;
676
  height:100%;
677
  background:rgba(0,0,0,0);
678
  top:45px;
679
  left:0;
680
  z-index:10;
681
  display:none;
682
}
683
 
684
/*---------------------------------profile-pverlay--------------------------*/
685
 
686
.profile-overlay{  
11088 lgm 687
  width:85%;
10582 lgm 688
  position:absolute;
689
   z-index:14;
690
  top:45px;
691
  right:0;
692
  .boxsize;
693
  background:@list-color2;
694
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.5);
695
  text-align: right;
696
  >div:first-child{
697
    padding:12px;
698
    .font(1.8em);
699
    background:@orange;
700
    color:@white;
701
  }
702
  a{
703
    display:block;
704
    color:@grey;
705
    .font(1.6em);
706
    font-weight:bold;
11119 lgm 707
    padding:10px 20px 10px 10px;
10582 lgm 708
    width:100%;
709
    background:@list-color1;
710
    border-bottom:@white solid 1px;
711
    .boxsize;
11088 lgm 712
    > span{
713
     .float(left);
714
     font-weight:normal;
715
    }
10582 lgm 716
  }
717
}
718
 
10792 lgm 719
.sucess-reg{
720
  padding:5px;
721
  margin:5px;
722
  color:@green;
723
  border:@green dashed 1px;
724
  .font(1.4em);
725
}
10582 lgm 726
 
10792 lgm 727
 
10582 lgm 728
/*---------------------------------------loader css-----------------------------------*/
729
 
730
.pace {
731
  -webkit-pointer-events: none;
732
  pointer-events: none;
733
  z-index: 2000;
734
  position: fixed;
735
  height: 60px;
736
  width: 60px;
737
  margin: auto;
738
  top: 0;
739
  left: 0;
740
  right: 0;
741
  bottom: 0;
742
}
743
 
744
.pace.pace-inactive .pace-activity {
745
  display: none;
746
}
747
 
11143 lgm 748
.pace-activity {
10582 lgm 749
    position: fixed;
750
    z-index: 2000;
751
    display: block;
752
    position: absolute;
753
    left: 4px;
754
    top: 4px;
755
    height: 30px;
756
    width: 30px;
757
    border-width: 10px;
758
    border-style: double;
759
    border-color: #3971B8 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
760
    border-radius: 50px;
11119 lgm 761
    -o-border-radius: 8px;
10582 lgm 762
    -webkit-animation: spin 1s linear infinite;
763
    -moz-animation: spin 1s linear infinite;
764
    -o-animation: spin 1s linear infinite;
765
    animation: spin 1s linear infinite;
766
}
767
 
768
 
11143 lgm 769
.pace-activity:before {
10582 lgm 770
  content: ' ';
771
  position: absolute;
772
  top: 4px;
773
  left: 0px;
774
  height: 20px;
775
  width: 20px;
776
  display: block;
777
  border-width: 0px;
778
  border-style: solid;
779
  border-color: #FF8700 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
780
  border-radius: 54px;
11119 lgm 781
  -o-border-radius: 54px;
10582 lgm 782
}
783
 
784
 
785
@-webkit-keyframes spin {
786
  100% { -webkit-transform: rotate(359deg); }
787
}
788
 
789
@-moz-keyframes spin {
790
  100% { -moz-transform: rotate(359deg); }
791
}
792
 
793
@-o-keyframes spin {
794
  100% { -moz-transform: rotate(359deg); }
795
}
796
 
797
@keyframes spin {
798
  100% {  transform: rotate(359deg); }
11717 lgm 799
}