Subversion Repositories SmartDukaan

Rev

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