weaver 0.8.9 → 0.8.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/weaver +2 -1
- data/lib/weaver/element_types/code.rb +2 -2
- data/lib/weaver/element_types/credit_card_form.rb +23 -0
- data/lib/weaver/element_types/dynamic_table.rb +1 -1
- data/lib/weaver/element_types/form_elements.rb +6 -2
- data/lib/weaver/element_types/panel.rb +1 -1
- data/lib/weaver/elements.rb +8 -5
- data/lib/weaver/page_types/page.rb +3 -1
- data/lib/weaver/version.rb +1 -1
- data/weaver.gemspec +2 -2
- metadata +16 -82
- data/data/weaver/js/plugins/skeuocard/Gruntfile.coffee +0 -74
- data/data/weaver/js/plugins/skeuocard/LICENSE +0 -21
- data/data/weaver/js/plugins/skeuocard/README.md +0 -388
- data/data/weaver/js/plugins/skeuocard/bower.json +0 -40
- data/data/weaver/js/plugins/skeuocard/fonts/ocra-webfont.eot +0 -0
- data/data/weaver/js/plugins/skeuocard/fonts/ocra-webfont.svg +0 -138
- data/data/weaver/js/plugins/skeuocard/fonts/ocra-webfont.ttf +0 -0
- data/data/weaver/js/plugins/skeuocard/fonts/ocra-webfont.woff +0 -0
- data/data/weaver/js/plugins/skeuocard/images/card-flip-arrow.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/card-front-background.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/card-invalid-indicator.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/card-valid-anim.gif +0 -0
- data/data/weaver/js/plugins/skeuocard/images/card-valid-indicator.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/error-pointer.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/issuers/visa-chase-sapphire.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/issuers/visa-simple-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/amex-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/dinersclubintl-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/discover-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/generic-back.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/generic-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/jcb-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/maestro-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/mastercard-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/unionpay-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/visa-back.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/products/visa-front.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/card-front-background.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/error-pointer.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/product-amex-front.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/product-dinersclub-front.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/product-discover-front.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/product-generic-front.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/product-jcb-front.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/product-maestro-front.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/product-mastercard-front.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/product-unionpay-front.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/images/src/product-visa-front.fw.png +0 -0
- data/data/weaver/js/plugins/skeuocard/index.html +0 -124
- data/data/weaver/js/plugins/skeuocard/javascripts/skeuocard.js +0 -1748
- data/data/weaver/js/plugins/skeuocard/javascripts/skeuocard.min.js +0 -2
- data/data/weaver/js/plugins/skeuocard/javascripts/src/CardProduct.coffee +0 -284
- data/data/weaver/js/plugins/skeuocard/javascripts/src/ExpirationInputView.coffee +0 -206
- data/data/weaver/js/plugins/skeuocard/javascripts/src/FlipTabView.coffee +0 -67
- data/data/weaver/js/plugins/skeuocard/javascripts/src/SegmentedCardNumberInputView.coffee +0 -284
- data/data/weaver/js/plugins/skeuocard/javascripts/src/Skeuocard.coffee +0 -439
- data/data/weaver/js/plugins/skeuocard/javascripts/src/TextInputView.coffee +0 -42
- data/data/weaver/js/plugins/skeuocard/javascripts/vendor/cssua.min.js +0 -7
- data/data/weaver/js/plugins/skeuocard/javascripts/vendor/demo.fix.js +0 -17
- data/data/weaver/js/plugins/skeuocard/javascripts/vendor/jquery-2.0.3.min.js +0 -5
- data/data/weaver/js/plugins/skeuocard/package-lock.json +0 -760
- data/data/weaver/js/plugins/skeuocard/package.json +0 -19
- data/data/weaver/js/plugins/skeuocard/screenshot.png +0 -0
- data/data/weaver/js/plugins/skeuocard/styles/demo.css +0 -2
- data/data/weaver/js/plugins/skeuocard/styles/demo.css.map +0 -7
- data/data/weaver/js/plugins/skeuocard/styles/skeuocard.css +0 -2
- data/data/weaver/js/plugins/skeuocard/styles/skeuocard.css.map +0 -7
- data/data/weaver/js/plugins/skeuocard/styles/skeuocard.reset.css +0 -2
- data/data/weaver/js/plugins/skeuocard/styles/skeuocard.reset.css.map +0 -7
- data/data/weaver/js/plugins/skeuocard/styles/src/_browser_hacks.scss +0 -52
- data/data/weaver/js/plugins/skeuocard/styles/src/_cards.scss +0 -512
- data/data/weaver/js/plugins/skeuocard/styles/src/_util.scss +0 -15
- data/data/weaver/js/plugins/skeuocard/styles/src/demo.scss +0 -265
- data/data/weaver/js/plugins/skeuocard/styles/src/skeuocard.reset.scss +0 -60
- data/data/weaver/js/plugins/skeuocard/styles/src/skeuocard.scss +0 -178
@@ -1,512 +0,0 @@
|
|
1
|
-
@import "util";
|
2
|
-
|
3
|
-
$image-front-background: url('../images/card-front-background.png');
|
4
|
-
$image-generic-front: url('../images/products/generic-front.png');
|
5
|
-
$image-generic-back: url('../images/products/generic-back.png');
|
6
|
-
|
7
|
-
$card-face-width: 24.8em;
|
8
|
-
$card-face-height: 15.6em;
|
9
|
-
$sprite-front-height: 93.6em;
|
10
|
-
|
11
|
-
// *****************************************************************************
|
12
|
-
// Generic card layout
|
13
|
-
// *****************************************************************************
|
14
|
-
.skeuocard.js {
|
15
|
-
|
16
|
-
.face.front {
|
17
|
-
background-color: #eee;
|
18
|
-
background-image: url('../images/products/generic-front.png'), $image-front-background;
|
19
|
-
background-repeat: no-repeat;
|
20
|
-
background-size: cover;
|
21
|
-
}
|
22
|
-
|
23
|
-
.face.back {
|
24
|
-
background-color: #eee;
|
25
|
-
background-image: url('../images/products/generic-back.png');
|
26
|
-
background-repeat: no-repeat;
|
27
|
-
background-size: cover;
|
28
|
-
}
|
29
|
-
|
30
|
-
.face.valid{
|
31
|
-
@include vendor-prefix(box-shadow, 0 0 10px $color-valid);
|
32
|
-
}
|
33
|
-
|
34
|
-
/*
|
35
|
-
1. If a field (or group) has focus, regardless of whether it's filled, the
|
36
|
-
inputs should look like inputs.
|
37
|
-
2. Focused inputs within a focused field or group should look focused.
|
38
|
-
3. An un-filled field should always look editable.
|
39
|
-
4. Filled, valid fields should be flat until hover.
|
40
|
-
*/
|
41
|
-
|
42
|
-
.cc-field{
|
43
|
-
|
44
|
-
input{
|
45
|
-
border: none;
|
46
|
-
outline: none;
|
47
|
-
background-color: rgba(255, 255, 255, 0.6);
|
48
|
-
@include vendor-prefix(border-radius, 0px);
|
49
|
-
@include vendor-prefix(box-shadow, inset 1px 1px 1px 1px #ccc);
|
50
|
-
@include vendor-prefix(transition, background-color 300ms ease);
|
51
|
-
}
|
52
|
-
|
53
|
-
input:focus{
|
54
|
-
outline: 3px auto $color-field-glow;
|
55
|
-
@include vendor-prefix(box-shadow, none);
|
56
|
-
}
|
57
|
-
|
58
|
-
&.filled.valid:not(.focus){
|
59
|
-
input{
|
60
|
-
@include vendor-prefix(box-shadow, none);
|
61
|
-
background-color: transparent;
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
&.filled:hover:not(.focus){
|
66
|
-
input{
|
67
|
-
@include vendor-prefix(box-shadow, inset 1px 1px 1px 1px #ccc);
|
68
|
-
background-color: rgba(255, 255, 255, 0.6);
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
}
|
73
|
-
|
74
|
-
.face.filled .cc-field.invalid{
|
75
|
-
input{
|
76
|
-
@include vendor-prefix(box-shadow, inset 0px 0px 2px 1px $color-invalid);
|
77
|
-
border: 1px solid $color-invalid;
|
78
|
-
}
|
79
|
-
|
80
|
-
input:focus{
|
81
|
-
@include vendor-prefix(box-shadow, none);
|
82
|
-
}
|
83
|
-
|
84
|
-
/*
|
85
|
-
&:after{
|
86
|
-
display: inline-block;
|
87
|
-
width: 1.575em;
|
88
|
-
height: 1.25em;
|
89
|
-
content: "";
|
90
|
-
background: url('../images/error-pointer.png') no-repeat center center;
|
91
|
-
background-size: 1.575em 1.25em;
|
92
|
-
padding-left: 4px;
|
93
|
-
}
|
94
|
-
*/
|
95
|
-
}
|
96
|
-
|
97
|
-
.cc-number{
|
98
|
-
position: absolute;
|
99
|
-
display: block;
|
100
|
-
left: 1.8em;
|
101
|
-
top: 8.05em;
|
102
|
-
padding: 0.1em;
|
103
|
-
input{
|
104
|
-
color: #333;
|
105
|
-
font-family: $cc-field-family;
|
106
|
-
font-size: 1.5em;
|
107
|
-
&.group4{ width: 3.2em; }
|
108
|
-
&.group5{ width: 3.8em; }
|
109
|
-
&.group6{ width: 4.6em; }
|
110
|
-
&.group19{ width: 14em; }
|
111
|
-
}
|
112
|
-
input + input {
|
113
|
-
margin-left: 0.4em;
|
114
|
-
}
|
115
|
-
}
|
116
|
-
|
117
|
-
.cc-exp {
|
118
|
-
position: absolute;
|
119
|
-
display: block;
|
120
|
-
input, .separator {
|
121
|
-
margin: 0; padding: 0;
|
122
|
-
font-size: 1em;
|
123
|
-
font-family: $cc-field-family;
|
124
|
-
color: #333;
|
125
|
-
text-align: center;
|
126
|
-
&.group2{ width: 2em; }
|
127
|
-
&.group4{ width: 4em; }
|
128
|
-
}
|
129
|
-
}
|
130
|
-
|
131
|
-
.cc-name {
|
132
|
-
margin: 0; padding: 0;
|
133
|
-
position: absolute;
|
134
|
-
display: block;
|
135
|
-
font-size: 1em;
|
136
|
-
font-family: $cc-field-family;
|
137
|
-
text-transform: uppercase;
|
138
|
-
}
|
139
|
-
|
140
|
-
.cc-cvc {
|
141
|
-
margin: 0; padding: 0;
|
142
|
-
position: absolute;
|
143
|
-
display: block;
|
144
|
-
font-size: 1em;
|
145
|
-
font-family: $cc-label-family;
|
146
|
-
}
|
147
|
-
|
148
|
-
&.unaccepted .cc-number input{
|
149
|
-
outline: none;
|
150
|
-
@include vendor-prefix(box-shadow, 0 0 10px $color-invalid);
|
151
|
-
@include vendor-prefix(transition, box-shadow linear 0.15s);
|
152
|
-
}
|
153
|
-
}
|
154
|
-
|
155
|
-
// *****************************************************************************
|
156
|
-
// Base layout for cards
|
157
|
-
// This is inherited by card products.
|
158
|
-
// *****************************************************************************
|
159
|
-
.skeuocard.card-product {
|
160
|
-
.face.front{
|
161
|
-
background-repeat: no-repeat, no-repeat;
|
162
|
-
background-size: cover, cover;
|
163
|
-
}
|
164
|
-
.face.back{
|
165
|
-
background-repeat: no-repeat, no-repeat;
|
166
|
-
background-size: cover, cover;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
// *****************************************************************************
|
171
|
-
// Visa product layout
|
172
|
-
// *****************************************************************************
|
173
|
-
.skeuocard.product-visa {
|
174
|
-
@extend .skeuocard.card-product;
|
175
|
-
|
176
|
-
.face.front{
|
177
|
-
background-image: url('../images/products/visa-front.png'), $image-front-background;
|
178
|
-
}
|
179
|
-
|
180
|
-
.face.back {
|
181
|
-
background-image: url('../images/products/visa-back.png'), $image-generic-back;
|
182
|
-
}
|
183
|
-
|
184
|
-
.cc-number{
|
185
|
-
left: 1.8em;
|
186
|
-
top: 8.05em;
|
187
|
-
}
|
188
|
-
|
189
|
-
.cc-exp{
|
190
|
-
left: 10.9em;
|
191
|
-
top: 11.2em;
|
192
|
-
width: 5em;
|
193
|
-
}
|
194
|
-
|
195
|
-
.cc-name{
|
196
|
-
left: 1.8em;
|
197
|
-
top: 13em;
|
198
|
-
}
|
199
|
-
|
200
|
-
.cc-cvc{
|
201
|
-
top: 7.15em;
|
202
|
-
left: 18.1em;
|
203
|
-
width: 3em;
|
204
|
-
}
|
205
|
-
|
206
|
-
// This card puts all required information on the back, rather than the front.
|
207
|
-
&.issuer-chase-sapphire{
|
208
|
-
.face.front{
|
209
|
-
background-image: url('../images/issuers/visa-chase-sapphire.png');
|
210
|
-
}
|
211
|
-
.cc-name{
|
212
|
-
left: 1.25em;
|
213
|
-
top: 8.90em;
|
214
|
-
font-family: $cc-label-family;
|
215
|
-
letter-spacing: 2px;
|
216
|
-
}
|
217
|
-
.cc-number{
|
218
|
-
left: 1.25em;
|
219
|
-
top: 9.6em;
|
220
|
-
input{
|
221
|
-
font-family: $cc-label-family;
|
222
|
-
letter-spacing: 2px;
|
223
|
-
font-size: 1.425em;
|
224
|
-
&.group4{ width: 2.8em; }
|
225
|
-
}
|
226
|
-
input + input{
|
227
|
-
margin-left: 0.1em;
|
228
|
-
}
|
229
|
-
}
|
230
|
-
.cc-exp{
|
231
|
-
left: 3.75em;
|
232
|
-
top: 11.5em;
|
233
|
-
input, .separator{
|
234
|
-
font-family: $cc-label-family;
|
235
|
-
&.group2{ width: 1.6em; }
|
236
|
-
}
|
237
|
-
}
|
238
|
-
.cc-cvc{
|
239
|
-
top: 6.3em;
|
240
|
-
left: 15.25em;
|
241
|
-
}
|
242
|
-
|
243
|
-
}
|
244
|
-
|
245
|
-
}
|
246
|
-
|
247
|
-
// *****************************************************************************
|
248
|
-
// China UnionPay card layout
|
249
|
-
// *****************************************************************************
|
250
|
-
.skeuocard.product-unionpay {
|
251
|
-
@extend .skeuocard.card-product;
|
252
|
-
|
253
|
-
.face.front{
|
254
|
-
background-image: url('../images/products/unionpay-front.png'), $image-front-background;
|
255
|
-
}
|
256
|
-
.face.back {
|
257
|
-
background-image: url('../images/products/visa-back.png'), $image-generic-back;
|
258
|
-
}
|
259
|
-
|
260
|
-
.cc-number{
|
261
|
-
left: 1.8em;
|
262
|
-
top: 8.05em;
|
263
|
-
}
|
264
|
-
|
265
|
-
.cc-exp{
|
266
|
-
left: 10.9em;
|
267
|
-
top: 11.2em;
|
268
|
-
width: 5em;
|
269
|
-
}
|
270
|
-
|
271
|
-
.cc-name{
|
272
|
-
left: 1.8em;
|
273
|
-
top: 13em;
|
274
|
-
}
|
275
|
-
|
276
|
-
.cc-cvc{
|
277
|
-
top: 7.15em;
|
278
|
-
left: 18.1em;
|
279
|
-
width: 3em;
|
280
|
-
}
|
281
|
-
}
|
282
|
-
|
283
|
-
// *****************************************************************************
|
284
|
-
// American Express card layout
|
285
|
-
// *****************************************************************************
|
286
|
-
.skeuocard.product-amex {
|
287
|
-
@extend .skeuocard.card-product;
|
288
|
-
|
289
|
-
.face.front {
|
290
|
-
background-image: url('../images/products/amex-front.png'), $image-front-background;
|
291
|
-
}
|
292
|
-
.face.back{
|
293
|
-
background-image: url('../images/products/visa-back.png'), $image-generic-back;
|
294
|
-
}
|
295
|
-
|
296
|
-
.cc-number{
|
297
|
-
left: 3em;
|
298
|
-
top: 8em;
|
299
|
-
}
|
300
|
-
|
301
|
-
.cc-name{
|
302
|
-
left: 2.5em;
|
303
|
-
top: 13.5em;
|
304
|
-
}
|
305
|
-
|
306
|
-
.cc-exp{
|
307
|
-
left: 2.5em;
|
308
|
-
top: 11.5em;
|
309
|
-
}
|
310
|
-
|
311
|
-
.cc-cvc{
|
312
|
-
left: 21.25em;
|
313
|
-
top: 7em;
|
314
|
-
width: 3em;
|
315
|
-
}
|
316
|
-
}
|
317
|
-
|
318
|
-
// *****************************************************************************
|
319
|
-
// Diners Club International card layout
|
320
|
-
// *****************************************************************************
|
321
|
-
.skeuocard.product-dinersclubintl {
|
322
|
-
@extend .skeuocard.card-product;
|
323
|
-
|
324
|
-
.face.front{
|
325
|
-
background-image: url('../images/products/dinersclubintl-front.png'), $image-front-background;
|
326
|
-
}
|
327
|
-
.face.back{
|
328
|
-
background-image: url('../images/products/visa-back.png'), $image-generic-back;
|
329
|
-
}
|
330
|
-
.cc-number{
|
331
|
-
left: 1.8em;
|
332
|
-
top: 8.05em;
|
333
|
-
}
|
334
|
-
.cc-name{
|
335
|
-
left: 1.8em;
|
336
|
-
top: 11.5em;
|
337
|
-
}
|
338
|
-
.cc-exp{
|
339
|
-
left: 17.5em;
|
340
|
-
top: 13.5em;
|
341
|
-
}
|
342
|
-
.cc-cvc{
|
343
|
-
top: 7.15em;
|
344
|
-
left: 18.1em;
|
345
|
-
width: 3em;
|
346
|
-
}
|
347
|
-
}
|
348
|
-
|
349
|
-
// *****************************************************************************
|
350
|
-
// Mastercard card layout
|
351
|
-
// *****************************************************************************
|
352
|
-
.skeuocard.product-mastercard {
|
353
|
-
@extend .skeuocard.card-product;
|
354
|
-
|
355
|
-
.face.front{
|
356
|
-
background-image: url('../images/products/mastercard-front.png'), $image-front-background;
|
357
|
-
}
|
358
|
-
.face.back{
|
359
|
-
background-image: url('../images/products/visa-back.png'), $image-generic-back;
|
360
|
-
}
|
361
|
-
|
362
|
-
.cc-number{
|
363
|
-
position: absolute;
|
364
|
-
display: block;
|
365
|
-
left: 1.8em;
|
366
|
-
top: 8.05em;
|
367
|
-
padding: 0.1em;
|
368
|
-
input{
|
369
|
-
font-size: 1.1em;
|
370
|
-
&.group4{ width: 3.0em; }
|
371
|
-
}
|
372
|
-
input + input {
|
373
|
-
margin-left: 0.4em;
|
374
|
-
}
|
375
|
-
}
|
376
|
-
|
377
|
-
.cc-name{
|
378
|
-
left: 1.8em;
|
379
|
-
top: 12.2em;
|
380
|
-
}
|
381
|
-
|
382
|
-
.cc-exp{
|
383
|
-
left: 11.5em;
|
384
|
-
top: 10.8em;
|
385
|
-
}
|
386
|
-
|
387
|
-
.cc-cvc{
|
388
|
-
top: 7.15em;
|
389
|
-
left: 18.1em;
|
390
|
-
width: 3em;
|
391
|
-
}
|
392
|
-
}
|
393
|
-
|
394
|
-
// *****************************************************************************
|
395
|
-
// Maestro card layout
|
396
|
-
// *****************************************************************************
|
397
|
-
.skeuocard.product-maestro {
|
398
|
-
@extend .skeuocard.card-product;
|
399
|
-
|
400
|
-
.face.front{
|
401
|
-
background-image: url('../images/products/maestro-front.png'), $image-front-background;
|
402
|
-
}
|
403
|
-
.face.back{
|
404
|
-
background-image: url('../images/products/visa-back.png'), $image-generic-back;
|
405
|
-
}
|
406
|
-
|
407
|
-
.cc-number{
|
408
|
-
left: 1.8em;
|
409
|
-
top: 8.05em;
|
410
|
-
}
|
411
|
-
|
412
|
-
.cc-name{
|
413
|
-
left: 2.5em;
|
414
|
-
top: 12.2em;
|
415
|
-
}
|
416
|
-
|
417
|
-
.cc-exp{
|
418
|
-
left: 11.5em;
|
419
|
-
top: 10.8em;
|
420
|
-
}
|
421
|
-
|
422
|
-
.cc-cvc{
|
423
|
-
top: 7.15em;
|
424
|
-
left: 18.1em;
|
425
|
-
width: 3em;
|
426
|
-
}
|
427
|
-
}
|
428
|
-
|
429
|
-
// *****************************************************************************
|
430
|
-
// Discover card layout
|
431
|
-
// *****************************************************************************
|
432
|
-
.skeuocard.product-discover {
|
433
|
-
@extend .skeuocard.card-product;
|
434
|
-
|
435
|
-
.face.front{
|
436
|
-
background-image: url('../images/products/discover-front.png'), $image-front-background;
|
437
|
-
}
|
438
|
-
|
439
|
-
.face.back{
|
440
|
-
background-image: url('../images/products/visa-back.png'), $image-generic-back;
|
441
|
-
}
|
442
|
-
|
443
|
-
.cc-number{
|
444
|
-
left: 1.8em;
|
445
|
-
top: 8.05em;
|
446
|
-
}
|
447
|
-
|
448
|
-
.cc-name{
|
449
|
-
left: 1.55em;
|
450
|
-
top: 13.575em;
|
451
|
-
}
|
452
|
-
|
453
|
-
.cc-exp{
|
454
|
-
left: 13.15em;
|
455
|
-
top: 11.61em;
|
456
|
-
}
|
457
|
-
|
458
|
-
.cc-cvc{
|
459
|
-
top: 7.15em;
|
460
|
-
left: 18.1em;
|
461
|
-
width: 3em;
|
462
|
-
}
|
463
|
-
}
|
464
|
-
|
465
|
-
// *****************************************************************************
|
466
|
-
// JCB card product
|
467
|
-
// *****************************************************************************
|
468
|
-
.skeuocard.product-jcb {
|
469
|
-
@extend .skeuocard.card-product;
|
470
|
-
|
471
|
-
.face.front{
|
472
|
-
background-image: url('../images/products/jcb-front.png'), $image-front-background;
|
473
|
-
}
|
474
|
-
|
475
|
-
.face.back{
|
476
|
-
background-image: url('../images/products/visa-back.png'), $image-generic-back;
|
477
|
-
}
|
478
|
-
|
479
|
-
.cc-number{
|
480
|
-
left: 1.8em;
|
481
|
-
top: 8.05em;
|
482
|
-
}
|
483
|
-
|
484
|
-
.cc-name{
|
485
|
-
left: 1.55em;
|
486
|
-
top: 13.575em;
|
487
|
-
}
|
488
|
-
|
489
|
-
.cc-exp{
|
490
|
-
left: 10.65em;
|
491
|
-
top: 11.50em;
|
492
|
-
}
|
493
|
-
|
494
|
-
.cc-cvc{
|
495
|
-
top: 7.15em;
|
496
|
-
left: 18.1em;
|
497
|
-
width: 3em;
|
498
|
-
}
|
499
|
-
}
|
500
|
-
|
501
|
-
/* Preload face images */
|
502
|
-
body:after{
|
503
|
-
display:none;
|
504
|
-
content: url('../images/products/visa-back.png') // most use this
|
505
|
-
url('../images/products/visa-front.png')
|
506
|
-
url('../images/products/unionpay-front.png')
|
507
|
-
url('../images/products/amex-front.png')
|
508
|
-
url('../images/products/discover-front.png')
|
509
|
-
url('../images/products/mastercard-front.png')
|
510
|
-
url('../images/products/dinersclubintl-front.png')
|
511
|
-
url('../images/products/jcb-front.png');
|
512
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
@mixin input-placeholder {
|
2
|
-
&.placeholder { @content; }
|
3
|
-
&:-moz-placeholder { @content; }
|
4
|
-
&::-moz-placeholder { @content; }
|
5
|
-
&:-ms-input-placeholder { @content; }
|
6
|
-
&::-webkit-input-placeholder { @content; }
|
7
|
-
}
|
8
|
-
|
9
|
-
@mixin vendor-prefix($name, $argument) {
|
10
|
-
#{$name}: $argument;
|
11
|
-
-webkit-#{$name}: $argument;
|
12
|
-
-ms-#{$name}: $argument;
|
13
|
-
-moz-#{$name}: $argument;
|
14
|
-
-o-#{$name}: $argument;
|
15
|
-
}
|