Subversion Repositories SmartDukaan

Rev

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