Subversion Repositories SmartDukaan

Rev

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

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