Subversion Repositories SmartDukaan

Rev

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