Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
10582 lgm 1
@import "common.less";
2
 
3
.cart-head{
4
  padding:7px 5px;
5
  margin-top:1px;
6
  background:darken(@list-color2,5%);
7
  > div:nth-of-type(1){
8
    .font(1.8em);
9
    text-transform:capitalize;
10
    color:@grey;
11
    font-weight:bold;
12
  }
13
  >div:nth-of-type(2){
14
    margin-top:3px;
15
    input{
16
      color:@grey;
17
      appearance:none;
18
      -webkit-appearance:none;
19
      .float(left);
20
      width:55%;
21
      border:@list-color2 solid 1px;
22
      padding:5px 4px;
23
      height:30px;
24
      .boxsize;
25
      .font(1.2em);
26
    }
27
    >div{
28
      .font(1.4em);
29
      .float(right);
30
      width:40%;
10846 lgm 31
      background:@sub-list;
10582 lgm 32
      color:@white;
33
      height:30px;
34
      line-height:30px;
35
      text-align:center;
36
    }
37
  }
38
 
39
}
40
 
41
.added-pd-hldr{
42
  padding: 8px;
43
  background: @list-color2;
44
  margin-top: 1px;
45
}
46
 
47
.added-pd{
48
  background:@white;
49
  border:@list-color2 solid 1px;
50
  margin-bottom:8px;
51
  border-left:none;
52
  border-right:none;
53
  .pd-img{
54
    .float(left);
55
    width:30%;
56
    height:100px;
57
    .boxsize;
58
    //border-right:@list-color2 solid 1px;
59
  }
60
  .pd-info{
61
    .float(left);
62
    width:70%;
63
    .pd-name{
64
      position:relative;
65
      padding:10px;
11227 lgm 66
      min-height: 100px;
10582 lgm 67
      .boxsize;
68
      >div:nth-of-type(1){
69
        .font(1.4em);
70
        color:@grey;
71
        white-space: nowrap;
72
        overflow: hidden;
73
        text-overflow: ellipsis;
10846 lgm 74
        padding-right:18px;
10582 lgm 75
      }
76
      > div.spec{
77
        padding-top:1px;
78
        .font(1.2em);
79
        color:@grey;
11867 anikendra 80
	.deal{
81
	    color: tomato;
82
	    font-style: oblique;
83
	}
10582 lgm 84
      }
85
      .cancel{
86
        position:absolute;
87
        width:20px;
88
        height:20px;
89
        right:5px;
90
        top:5px;
91
        z-index:2;
92
        background:url('../images/cancel.png')no-repeat center center;
93
        background-size:contain;
94
      }
95
    }
96
 
97
  }
98
 
99
    .pd-price{
100
      border-top:@list-color2 solid 1px;
101
      >div{
102
        .float(left);
103
        width:33%;
104
        .boxsize;
105
        padding:4px;
106
        text-align:center;
107
        color:@grey;
108
        span{
109
          display:block;
110
          padding:0 0 1px;
111
        }
112
        >div{
113
          padding-top:8px;
114
        }
115
      }
116
      > span{
117
        float:left;
118
        width:1%;
119
        padding-top: 28px;
120
      }
121
      > div:nth-of-type(1){
122
        div{
123
          .font(1.2em);
124
        }
125
      }
126
      > div:nth-of-type(2){
127
        input{
128
          appearance: none;
129
          -webkit-appearance: none;
130
          width: 60%;
131
          border: #F2F3EF solid 1px;
132
          text-align: center;
133
          padding: 8px 3px;
134
          .boxsize;
135
          color:@grey;
136
          background:@white;
137
        }     
138
      }
139
      >div:nth-of-type(3){
140
          div{
141
            padding-top:7px;
142
            .font(1.4em);
10846 lgm 143
             color:@grey;
10582 lgm 144
             font-weight:bold;
145
          }
146
      }
147
    }
148
}
149
.insure{
150
  border-top:@list-color2 solid 1px;
151
  .insure-hldr{
152
    padding:5px;
153
    img{
154
      width:20px;
155
      .float(left);
156
      margin:5px 16px 0 10px;
157
    }
158
    label{
159
      .font(1.2em);
160
    }
161
  }
162
  >div:nth-of-type(2){
163
    //border-top:@list-color2 solid 1px;
164
    padding:5px 5px 5px 50px;
165
    label{
166
      display:block;
167
 
168
      padding-top:5px;
169
      .font(1.2em);
170
    }
171
  }
172
  .one-assist{
173
    border-top:@list-color2 solid 1px;
174
    padding:5px;
175
    img{
176
      width:40px;
177
      .float(left);
178
      margin:5px 5px 0 0;
179
    }
180
    label{
181
      .font(1.2em);
182
    }
183
  }
184
}
185
 
186
input[type="checkbox"]{
187
  .float(left);
188
  appearance:none;
189
  -webkit-appearance:none;
190
  width:25px;
191
  height:25px;
192
  background:url('../images/checkbox.png')no-repeat center center;
193
  background-size:contain;
194
  margin-right:5px;
195
}
196
input[type="checkbox"]:checked{
197
  background:url('../images/checkbox_selected.png')no-repeat center center;
198
  background-size:contain;
199
}
200
 
201
.sub-total{
202
  .sub-total-head{
203
    .font(1.4em);
204
    padding:6px;
10846 lgm 205
    background:@list-color1;
206
    color:@grey;
10582 lgm 207
    text-align:center;
208
    text-transform:uppercase;
209
  }
210
  .left{
211
    .float(left);
212
    width:40%;
213
    .boxsize;
214
    padding:7px;
215
    color:@grey;
216
    border-bottom:@list-color2 solid 1px;
217
    border-right:@list-color2 solid 1px;
218
    text-align:right;
219
    .font(1.4em);
220
  }
221
  .right{
222
    .float(right);
223
    padding:7px;
224
    width:60%;
225
    .boxsize;
226
    color:@grey;
227
    border-bottom:@list-color2 solid 1px;
228
    text-align:right;
229
    .font(1.4em);
230
  }
231
}
232
 
233
.checkout-hldr{
234
  background:@list-color2;
235
  padding:10px;
236
  .checkout-btn{
237
    background:@orange;
238
    text-transform:uppercase;
239
    color:@white;
240
    padding:10px;
241
    text-align:center;
242
    .font(1.6em);
243
  }
244
}
245
 
246
.add-coupon{
247
  border:@list-color1 solid 1px;
248
  background:@white;
249
  >div:nth-of-type(1){
250
    padding:5px;
251
  display:block;
252
  border:red dotted 1px;
253
  background:@list-color2;
254
  color:red;
255
  .font(1.4em);
256
  margin:10px;
257
  }
258
  >div:nth-of-type(2){
259
    padding:10px 5px;
260
    background:@grey;
261
    color:@white;
262
    .font(1.4em);
263
  }
264
  >div:nth-of-type(3){
265
    padding:10px 5px 10px;
266
    input{
267
    color:@grey;
268
      appearance:none;
269
      -webkit-appearance:none;
270
      .float(left);
271
      .boxsize;
272
      width:55%;
273
      border:@list-color2 solid 1px;
274
      padding:0 4px;
275
      height:30px;
276
      line-height:30px;
277
  }
278
  .apply-coupon{
279
    .font(1.4em);
280
      .float(right);
281
      width:40%;
10846 lgm 282
      background:@sub-list;
10582 lgm 283
      color:@white;
284
      height:30px;
285
      line-height:30px;
286
      text-align:center;
287
  }
288
 }
289
}
290
.remove-coupon{
291
    .font(1.4em);
292
      background:@grey;
293
      color:@white;
294
      height:30px;
295
      line-height:30px;
296
      text-align:center;
297
  }
298
 
299
.cart-cont{
300
}
301
 
302
.empty-cart{
303
  height: 100px;
11094 lgm 304
  background: url('../images/empty-cart.png') no-repeat center center;
305
  background-size: contain;
306
  margin-top: 20%;
10582 lgm 307
 
308
}
309
 
310
.empty-msg{
311
  .font(1.6em);
312
  margin:10px 0;
313
  color:@grey;
314
}
315
 
316
.shop-more{
317
    .font(1.6em);
318
    font-weight:bold;
319
      background:@ltblue;
320
      color:@white;
321
      padding:8px 0;
322
      text-align:center;
323
      margin:10px auto;
324
      width:70%;
325
      max-width:260px;
326
  }
327
 
328
/*----------------------error-msg---------------------------*/
329
 
330
.error_msg{
331
  padding:5px;
332
  display:block;
333
  border:red dotted 1px;
334
  background:@list-color2;
335
  color:red;
336
  .font(1.4em);
337
  margin:10px;
338
}
339