card-rails 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,432 @@
1
+ .card.safari.identified .front:before, .card.safari.identified .back:before {
2
+ background-image: -webkit-repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(315deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), -webkit-repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(240deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
3
+ background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(210deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
4
+ background-image: -webkit-repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(315deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), -webkit-repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(240deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(115deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
5
+ background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(210deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), linear-gradient(-25deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%); }
6
+
7
+ .card.ie-10.flipped {
8
+ -webkit-transform: 0deg;
9
+ -ms-transform: 0deg;
10
+ transform: 0deg; }
11
+ .card.ie-10.flipped .front {
12
+ -webkit-transform: rotateY(0deg);
13
+ -ms-transform: rotateY(0deg);
14
+ transform: rotateY(0deg); }
15
+ .card.ie-10.flipped .back {
16
+ -webkit-transform: rotateY(0deg);
17
+ -ms-transform: rotateY(0deg);
18
+ transform: rotateY(0deg); }
19
+ .card.ie-10.flipped .back:after {
20
+ left: 18%; }
21
+ .card.ie-10.flipped .back .cvc {
22
+ -webkit-transform: rotateY(180deg);
23
+ -ms-transform: rotateY(180deg);
24
+ transform: rotateY(180deg);
25
+ left: 5%; }
26
+ .card.ie-10.flipped .back .shiny {
27
+ left: 84%; }
28
+ .card.ie-10.flipped .back .shiny:after {
29
+ left: -480%;
30
+ -webkit-transform: rotateY(180deg);
31
+ -ms-transform: rotateY(180deg);
32
+ transform: rotateY(180deg); }
33
+
34
+ .card.ie-10.amex .back {
35
+ display: none; }
36
+
37
+ .card-logo {
38
+ height: 36px;
39
+ width: 60px;
40
+ font-style: italic; }
41
+ .card-logo, .card-logo:before, .card-logo:after {
42
+ -webkit-box-sizing: border-box;
43
+ -moz-box-sizing: border-box;
44
+ box-sizing: border-box; }
45
+
46
+ .card-logo.amex {
47
+ text-transform: uppercase;
48
+ font-size: 4px;
49
+ font-weight: bold;
50
+ color: white;
51
+ background-image: -webkit-repeating-radial-gradient(center, circle, #FFF 1px, #999 2px);
52
+ background-image: repeating-radial-gradient(circle at center, #FFF 1px, #999 2px);
53
+ background-image: repeating-radial-gradient(circle at center, #FFF 1px, #999 2px);
54
+ border: 1px solid #EEE; }
55
+ .card-logo.amex:before, .card-logo.amex:after {
56
+ width: 28px;
57
+ display: block;
58
+ position: absolute;
59
+ left: 16px; }
60
+ .card-logo.amex:before {
61
+ height: 28px;
62
+ content: "american";
63
+ top: 3px;
64
+ text-align: left;
65
+ padding-left: 2px;
66
+ padding-top: 11px;
67
+ background: #267AC3; }
68
+ .card-logo.amex:after {
69
+ content: "express";
70
+ bottom: 11px;
71
+ text-align: right;
72
+ padding-right: 2px; }
73
+
74
+ .card.amex.flipped {
75
+ -webkit-transform: none;
76
+ -ms-transform: none;
77
+ transform: none; }
78
+ .card.amex.identified .front:before, .card.amex.identified .back:before {
79
+ background-color: #108168; }
80
+ .card.amex.identified .front .card-logo.amex {
81
+ opacity: 1; }
82
+ .card.amex.identified .front .cvc {
83
+ visibility: visible; }
84
+ .card.amex.identified .front:after {
85
+ opacity: 1; }
86
+
87
+ .card-logo.discover {
88
+ background: #FF6600;
89
+ color: #111;
90
+ text-transform: uppercase;
91
+ font-style: normal;
92
+ font-weight: bold;
93
+ font-size: 10px;
94
+ text-align: center;
95
+ overflow: hidden;
96
+ z-index: 1;
97
+ padding-top: 9px;
98
+ letter-spacing: 0.03em;
99
+ border: 1px solid #EEE; }
100
+ .card-logo.discover:before, .card-logo.discover:after {
101
+ content: " ";
102
+ display: block;
103
+ position: absolute; }
104
+ .card-logo.discover:before {
105
+ background: white;
106
+ width: 200px;
107
+ height: 200px;
108
+ border-radius: 200px;
109
+ bottom: -5%;
110
+ right: -80%;
111
+ z-index: -1; }
112
+ .card-logo.discover:after {
113
+ width: 8px;
114
+ height: 8px;
115
+ border-radius: 4px;
116
+ top: 10px;
117
+ left: 27px;
118
+ background-color: #FFF;
119
+ background-image: -webkit-radial-gradient(#FFF, #FF6600);
120
+ background-image: radial-gradient( #FFF, #FF6600);
121
+ content: "network";
122
+ font-size: 4px;
123
+ line-height: 24px;
124
+ text-indent: -7px; }
125
+
126
+ .card .front .card-logo.discover {
127
+ right: 12%;
128
+ top: 18%; }
129
+
130
+ .card.discover.identified .front:before, .card.discover.identified .back:before {
131
+ background-color: #86B8CF; }
132
+ .card.discover.identified .card-logo.discover {
133
+ opacity: 1; }
134
+ .card.discover.identified .front:after {
135
+ -webkit-transition: 400ms;
136
+ transition: 400ms;
137
+ content: " ";
138
+ display: block;
139
+ background-color: #FF6600;
140
+ background-image: -webkit-linear-gradient(#FF6600, #ffa166, #FF6600);
141
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#FF6600), color-stop(#ffa166), to(#FF6600));
142
+ background-image: linear-gradient(#FF6600, #ffa166, #FF6600);
143
+ height: 50px;
144
+ width: 50px;
145
+ border-radius: 25px;
146
+ position: absolute;
147
+ left: 100%;
148
+ top: 15%;
149
+ margin-left: -25px;
150
+ -webkit-box-shadow: inset 1px 1px 3px 1px rgba(0, 0, 0, 0.5);
151
+ box-shadow: inset 1px 1px 3px 1px rgba(0, 0, 0, 0.5); }
152
+
153
+ .card-logo.visa.visa {
154
+ background: white;
155
+ text-transform: uppercase;
156
+ color: #1A1876;
157
+ text-align: center;
158
+ font-weight: bold;
159
+ font-size: 15px; }
160
+ .card-logo.visa.visa:before, .card-logo.visa.visa:after {
161
+ content: " ";
162
+ display: block;
163
+ width: 100%;
164
+ height: 25%; }
165
+ .card-logo.visa.visa:before {
166
+ background: #1A1876;
167
+ bottom: 100%; }
168
+ .card-logo.visa.visa:after {
169
+ background: #E79800;
170
+ top: 100%; }
171
+
172
+ .card.visa.identified .front:before, .card.visa.identified .back:before {
173
+ background-color: #191278; }
174
+ .card.visa.identified .card-logo.visa {
175
+ opacity: 1; }
176
+
177
+ .card-logo.mastercard {
178
+ color: white;
179
+ font-weight: bold;
180
+ text-align: center;
181
+ font-size: 9px;
182
+ line-height: 36px;
183
+ z-index: 1;
184
+ text-shadow: 1px 1px rgba(0, 0, 0, 0.6); }
185
+ .card-logo.mastercard:before, .card-logo.mastercard:after {
186
+ content: " ";
187
+ display: block;
188
+ width: 36px;
189
+ top: 0;
190
+ position: absolute;
191
+ height: 36px;
192
+ border-radius: 18px; }
193
+ .card-logo.mastercard:before {
194
+ left: 0;
195
+ background: #FF0000;
196
+ z-index: -1; }
197
+ .card-logo.mastercard:after {
198
+ right: 0;
199
+ background: #FFAB00;
200
+ z-index: -2; }
201
+
202
+ .card.mastercard.identified .front .card-logo.mastercard, .card.mastercard.identified .back .card-logo.mastercard {
203
+ -webkit-box-shadow: none;
204
+ box-shadow: none; }
205
+ .card.mastercard.identified .front:before, .card.mastercard.identified .back:before {
206
+ background-color: #0061A8; }
207
+ .card.mastercard.identified .card-logo.mastercard {
208
+ opacity: 1; }
209
+
210
+ .card-container {
211
+ -webkit-perspective: 1000px;
212
+ perspective: 1000px;
213
+ width: 350px;
214
+ max-width: 100%;
215
+ height: 200px;
216
+ margin: auto;
217
+ z-index: 1;
218
+ position: relative; }
219
+
220
+ .card {
221
+ font-family: "Helvetica Neue";
222
+ line-height: 1;
223
+ position: relative;
224
+ width: 100%;
225
+ height: 100%;
226
+ min-width: 315px;
227
+ border-radius: 10px;
228
+ -webkit-transform-style: preserve-3d;
229
+ -ms-transform-style: preserve-3d;
230
+ -o-transform-style: preserve-3d;
231
+ transform-style: preserve-3d;
232
+ -webkit-transition: all 400ms linear;
233
+ transition: all 400ms linear; }
234
+ .card > *, .card > *:before, .card > *:after {
235
+ -moz-box-sizing: border-box;
236
+ -webkit-box-sizing: border-box;
237
+ box-sizing: border-box;
238
+ font-family: inherit; }
239
+ .card.flipped {
240
+ -webkit-transform: rotateY(180deg);
241
+ -ms-transform: rotateY(180deg);
242
+ transform: rotateY(180deg); }
243
+ .card .front, .card .back {
244
+ -webkit-backface-visibility: hidden;
245
+ backface-visibility: hidden;
246
+ -webkit-transform-style: preserve-3d;
247
+ -ms-transform-style: preserve-3d;
248
+ -o-transform-style: preserve-3d;
249
+ transform-style: preserve-3d;
250
+ -webkit-transition: all 400ms linear;
251
+ transition: all 400ms linear;
252
+ width: 100%;
253
+ height: 100%;
254
+ position: absolute;
255
+ top: 0;
256
+ left: 0;
257
+ overflow: hidden;
258
+ border-radius: 10px;
259
+ background: #DDD; }
260
+ .card .front:before, .card .back:before {
261
+ content: " ";
262
+ display: block;
263
+ position: absolute;
264
+ width: 100%;
265
+ height: 100%;
266
+ top: 0;
267
+ left: 0;
268
+ opacity: 0;
269
+ border-radius: 10px;
270
+ -webkit-transition: all 400ms ease;
271
+ transition: all 400ms ease; }
272
+ .card .front:after, .card .back:after {
273
+ content: " ";
274
+ display: block; }
275
+ .card .front .display, .card .back .display {
276
+ color: white;
277
+ font-weight: normal;
278
+ opacity: 0.5;
279
+ -webkit-transition: opacity 400ms linear;
280
+ transition: opacity 400ms linear; }
281
+ .card .front .display.focused, .card .back .display.focused {
282
+ opacity: 1;
283
+ font-weight: 700; }
284
+ .card .front .cvc, .card .back .cvc {
285
+ font-family: "Bitstream Vera Sans Mono", Consolas, Courier, monospace;
286
+ font-size: 14px; }
287
+ .card .front .shiny, .card .back .shiny {
288
+ width: 50px;
289
+ height: 35px;
290
+ border-radius: 5px;
291
+ background: #CCC;
292
+ position: relative; }
293
+ .card .front .shiny:before, .card .back .shiny:before {
294
+ content: " ";
295
+ display: block;
296
+ width: 70%;
297
+ height: 60%;
298
+ border-top-right-radius: 5px;
299
+ border-bottom-right-radius: 5px;
300
+ background: #d9d9d9;
301
+ position: absolute;
302
+ top: 20%; }
303
+ .card .front .card-logo {
304
+ position: absolute;
305
+ opacity: 0;
306
+ right: 5%;
307
+ top: 8%;
308
+ -webkit-transition: 400ms;
309
+ transition: 400ms; }
310
+ .card .front .lower {
311
+ width: 80%;
312
+ position: absolute;
313
+ left: 10%;
314
+ bottom: 30px; }
315
+ @media only screen and (max-width: 480px) {
316
+ .card .front .lower {
317
+ width: 90%;
318
+ left: 5%; } }
319
+ .card .front .lower .cvc {
320
+ visibility: hidden;
321
+ float: right;
322
+ position: relative;
323
+ bottom: 5px; }
324
+ .card .front .lower .number {
325
+ font-family: "Bitstream Vera Sans Mono", Consolas, Courier, monospace;
326
+ font-size: 24px;
327
+ clear: both;
328
+ margin-bottom: 30px; }
329
+ .card .front .lower .expiry {
330
+ font-family: "Bitstream Vera Sans Mono", Consolas, Courier, monospace;
331
+ letter-spacing: 0em;
332
+ position: relative;
333
+ float: right;
334
+ width: 25%; }
335
+ .card .front .lower .expiry:before, .card .front .lower .expiry:after {
336
+ font-family: "Helvetica Neue";
337
+ font-weight: bold;
338
+ font-size: 7px;
339
+ white-space: pre;
340
+ display: block;
341
+ opacity: 0.5; }
342
+ .card .front .lower .expiry:before {
343
+ content: attr(data-before);
344
+ margin-bottom: 2px;
345
+ font-size: 7px;
346
+ text-transform: uppercase; }
347
+ .card .front .lower .expiry:after {
348
+ position: absolute;
349
+ content: attr(data-after);
350
+ text-align: right;
351
+ right: 100%;
352
+ margin-right: 5px;
353
+ margin-top: 2px;
354
+ bottom: 0; }
355
+ .card .front .lower .name {
356
+ text-transform: uppercase;
357
+ font-family: "Bitstream Vera Sans Mono", Consolas, Courier, monospace;
358
+ font-size: 20px;
359
+ max-height: 45px;
360
+ position: absolute;
361
+ bottom: 0;
362
+ width: 190px;
363
+ -webkit-line-clamp: 2;
364
+ -webkit-box-orient: horizontal;
365
+ overflow: hidden;
366
+ text-overflow: ellipsis; }
367
+ .card .back {
368
+ -webkit-transform: rotateY(180deg);
369
+ -ms-transform: rotateY(180deg);
370
+ transform: rotateY(180deg); }
371
+ .card .back .bar {
372
+ background-color: #444;
373
+ background-image: -webkit-linear-gradient(#444, #333);
374
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#333));
375
+ background-image: linear-gradient(#444, #333);
376
+ width: 100%;
377
+ height: 20%;
378
+ position: absolute;
379
+ top: 10%; }
380
+ .card .back:after {
381
+ content: " ";
382
+ display: block;
383
+ background-color: #FFF;
384
+ background-image: -webkit-linear-gradient(#FFF, #FFF);
385
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#FFF));
386
+ background-image: linear-gradient(#FFF, #FFF);
387
+ width: 80%;
388
+ height: 16%;
389
+ position: absolute;
390
+ top: 40%;
391
+ left: 2%; }
392
+ .card .back .cvc {
393
+ position: absolute;
394
+ top: 40%;
395
+ left: 85%;
396
+ -webkit-transition-delay: 600ms;
397
+ transition-delay: 600ms; }
398
+ .card .back .shiny {
399
+ position: absolute;
400
+ top: 66%;
401
+ left: 2%; }
402
+ .card .back .shiny:after {
403
+ content: "This card has been issued by Jesse Pollak and is licensed for anyone to use anywhere for free.\AIt comes with no warranty.\A For support issues, please visit: github.com/jessepollak/card.";
404
+ position: absolute;
405
+ left: 120%;
406
+ top: 5%;
407
+ color: white;
408
+ font-size: 7px;
409
+ width: 230px;
410
+ opacity: 0.5; }
411
+ .card.identified {
412
+ -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
413
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); }
414
+ .card.identified .front, .card.identified .back {
415
+ background-color: #000;
416
+ background-color: rgba(0, 0, 0, 0.5); }
417
+ .card.identified .front:before, .card.identified .back:before {
418
+ -webkit-transition: all 400ms ease;
419
+ transition: all 400ms ease;
420
+ background-image: -webkit-repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(315deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), -webkit-repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(240deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-radial-gradient(30% 30%, circle, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-radial-gradient(70% 70%, circle, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-radial-gradient(90% 20%, circle, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-radial-gradient(15% 80%, circle, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
421
+ background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(210deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
422
+ background-image: -webkit-repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(315deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), -webkit-repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(240deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-radial-gradient(30% 30%, circle, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-radial-gradient(70% 70%, circle, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-radial-gradient(90% 20%, circle, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-radial-gradient(15% 80%, circle, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(115deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
423
+ background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(210deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), linear-gradient(-25deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
424
+ opacity: 1; }
425
+ .card.identified .front .card-logo, .card.identified .back .card-logo {
426
+ -webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
427
+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3); }
428
+ .card.identified.no-radial-gradient .front:before, .card.identified.no-radial-gradient .back:before {
429
+ background-image: -webkit-repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(315deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), -webkit-repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(240deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
430
+ background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(210deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
431
+ background-image: -webkit-repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(315deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), -webkit-repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-repeating-linear-gradient(240deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(115deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
432
+ background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 1px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.03) 4px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), repeating-linear-gradient(210deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), linear-gradient(-25deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%); }
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'card/rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "card-rails"
8
+ spec.version = Card::Rails::VERSION
9
+ spec.authors = ["Railslauncher"]
10
+ spec.email = ["railslauncher@gmail.com "]
11
+ spec.summary = %q{Rails asset pipeline integration for card.js}
12
+ spec.description = %q{Rails asset pipeline integration for card.js}
13
+ spec.homepage = "https://github.com/railslauncher/card-rails"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.5"
22
+ spec.add_development_dependency "rake"
23
+ end