Subversion Repositories SmartDukaan

Rev

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