zurb-ink-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +6 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +48 -0
- data/Rakefile +10 -0
- data/lib/zurb-ink-rails/version.rb +5 -0
- data/lib/zurb-ink-rails.rb +8 -0
- data/vendor/assets/stylesheets/zurb-ink.css +688 -0
- data/zurb-ink-rails.gemspec +23 -0
- metadata +101 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9972cdcd0778f5f5ca66e7b9a0625f97a10264ec
|
4
|
+
data.tar.gz: 46b6341cc6e156e97b8af9ce639f67dfae357e97
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 125f517620efc06590a7bcc9db69a91c2beaabcb7dac9fea946e57a928b5c69f7166070bf336acaa516aeada2725ac153e29319b5de61cb9c8ad8667a6ba29f8
|
7
|
+
data.tar.gz: c7fd09fa4bc64f167b8629d9a52d4768b43b2ca7d68e8a036f5f1535ea30071f9d73983f5d08af4e132ccfe311b52d8cc48d4dca82e8940d753d89941e2c6f7e
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Neal Kemp
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
ZURB Ink Rails
|
2
|
+
=======
|
3
|
+
|
4
|
+
Easy integration of [ZURB Ink](https://zurb.com/ink) into the asset pipeline.
|
5
|
+
|
6
|
+
Installation
|
7
|
+
------------
|
8
|
+
|
9
|
+
Add this line to your application's `Gemfile`:
|
10
|
+
|
11
|
+
gem 'zurb-ink-rails', '~> 1.0.4'
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Alternatively, install it via command line:
|
18
|
+
|
19
|
+
$ gem install zurb-ink-rails
|
20
|
+
|
21
|
+
Include in assets
|
22
|
+
|
23
|
+
/*
|
24
|
+
* application.css
|
25
|
+
*= require zurb-ink
|
26
|
+
*/
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
Contributing
|
31
|
+
------------
|
32
|
+
|
33
|
+
1. Fork it
|
34
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
35
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
36
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
37
|
+
5. Add tests and make sure they pass
|
38
|
+
6. Create new Pull Request
|
39
|
+
|
40
|
+
|
41
|
+
Credits
|
42
|
+
-------
|
43
|
+
|
44
|
+
* [Neal Kemp](http://nealke.mp)
|
45
|
+
|
46
|
+
Copyright © 2013 Neal Kemp
|
47
|
+
|
48
|
+
Released under the MIT License, which can be found in the repository in `LICENSE.txt`.
|
data/Rakefile
ADDED
@@ -0,0 +1,688 @@
|
|
1
|
+
/**********************************************
|
2
|
+
* Ink v1.0.5 - Copyright 2013 ZURB Inc *
|
3
|
+
**********************************************/
|
4
|
+
|
5
|
+
/* Client-specific Styles & Reset */
|
6
|
+
|
7
|
+
#outlook a {
|
8
|
+
padding:0;
|
9
|
+
}
|
10
|
+
|
11
|
+
body{
|
12
|
+
width:100% !important;
|
13
|
+
min-width: 100%;
|
14
|
+
-webkit-text-size-adjust:100%;
|
15
|
+
-ms-text-size-adjust:100%;
|
16
|
+
margin:0;
|
17
|
+
padding:0;
|
18
|
+
}
|
19
|
+
|
20
|
+
.ExternalClass {
|
21
|
+
width:100%;
|
22
|
+
}
|
23
|
+
|
24
|
+
.ExternalClass,
|
25
|
+
.ExternalClass p,
|
26
|
+
.ExternalClass span,
|
27
|
+
.ExternalClass font,
|
28
|
+
.ExternalClass td,
|
29
|
+
.ExternalClass div {
|
30
|
+
line-height: 100%;
|
31
|
+
}
|
32
|
+
|
33
|
+
#backgroundTable {
|
34
|
+
margin:0;
|
35
|
+
padding:0;
|
36
|
+
width:100% !important;
|
37
|
+
line-height: 100% !important;
|
38
|
+
}
|
39
|
+
|
40
|
+
img {
|
41
|
+
outline:none;
|
42
|
+
text-decoration:none;
|
43
|
+
-ms-interpolation-mode: bicubic;
|
44
|
+
width: auto;
|
45
|
+
max-width: 100%;
|
46
|
+
float: left;
|
47
|
+
clear: both;
|
48
|
+
display: block;
|
49
|
+
}
|
50
|
+
|
51
|
+
center {
|
52
|
+
width: 100%;
|
53
|
+
min-width: 580px;
|
54
|
+
}
|
55
|
+
|
56
|
+
a img {
|
57
|
+
border: none;
|
58
|
+
}
|
59
|
+
|
60
|
+
p {
|
61
|
+
margin: 0 0 0 10px;
|
62
|
+
}
|
63
|
+
|
64
|
+
table {
|
65
|
+
border-spacing: 0;
|
66
|
+
border-collapse: collapse;
|
67
|
+
}
|
68
|
+
|
69
|
+
td {
|
70
|
+
word-break: break-word;
|
71
|
+
-webkit-hyphens: auto;
|
72
|
+
-moz-hyphens: auto;
|
73
|
+
hyphens: auto;
|
74
|
+
border-collapse: collapse !important;
|
75
|
+
}
|
76
|
+
|
77
|
+
table, tr, td {
|
78
|
+
padding: 0;
|
79
|
+
vertical-align: top;
|
80
|
+
text-align: left;
|
81
|
+
}
|
82
|
+
|
83
|
+
hr {
|
84
|
+
color: #d9d9d9;
|
85
|
+
background-color: #d9d9d9;
|
86
|
+
height: 1px;
|
87
|
+
border: none;
|
88
|
+
}
|
89
|
+
|
90
|
+
/* Responsive Grid */
|
91
|
+
|
92
|
+
table.body {
|
93
|
+
height: 100%;
|
94
|
+
width: 100%;
|
95
|
+
}
|
96
|
+
|
97
|
+
table.container {
|
98
|
+
width: 580px;
|
99
|
+
margin: 0 auto;
|
100
|
+
text-align: inherit;
|
101
|
+
}
|
102
|
+
|
103
|
+
table.row {
|
104
|
+
padding: 0px;
|
105
|
+
width: 100%;
|
106
|
+
position: relative;
|
107
|
+
}
|
108
|
+
|
109
|
+
table.container table.row {
|
110
|
+
display: block;
|
111
|
+
}
|
112
|
+
|
113
|
+
td.wrapper {
|
114
|
+
padding: 10px 20px 0px 0px;
|
115
|
+
position: relative;
|
116
|
+
}
|
117
|
+
|
118
|
+
table.columns,
|
119
|
+
table.column {
|
120
|
+
margin: 0 auto;
|
121
|
+
}
|
122
|
+
|
123
|
+
table.columns td,
|
124
|
+
table.column td {
|
125
|
+
padding: 0px 0px 10px;
|
126
|
+
}
|
127
|
+
|
128
|
+
table.columns td.sub-columns,
|
129
|
+
table.column td.sub-columns,
|
130
|
+
table.columns td.sub-column,
|
131
|
+
table.column td.sub-column {
|
132
|
+
padding-right: 10px;
|
133
|
+
}
|
134
|
+
|
135
|
+
td.sub-column, td.sub-columns {
|
136
|
+
min-width: 0px;
|
137
|
+
}
|
138
|
+
|
139
|
+
table.row td.last,
|
140
|
+
table.container td.last {
|
141
|
+
padding-right: 0px;
|
142
|
+
}
|
143
|
+
|
144
|
+
table.one { width: 30px; }
|
145
|
+
table.two { width: 80px; }
|
146
|
+
table.three { width: 130px; }
|
147
|
+
table.four { width: 180px; }
|
148
|
+
table.five { width: 230px; }
|
149
|
+
table.six { width: 280px; }
|
150
|
+
table.seven { width: 330px; }
|
151
|
+
table.eight { width: 380px; }
|
152
|
+
table.nine { width: 430px; }
|
153
|
+
table.ten { width: 480px; }
|
154
|
+
table.eleven { width: 530px; }
|
155
|
+
table.twelve { width: 580px; }
|
156
|
+
|
157
|
+
table.one center { min-width: 30px; }
|
158
|
+
table.two center { min-width: 80px; }
|
159
|
+
table.three center { min-width: 130px; }
|
160
|
+
table.four center { min-width: 180px; }
|
161
|
+
table.five center { min-width: 230px; }
|
162
|
+
table.six center { min-width: 280px; }
|
163
|
+
table.seven center { min-width: 330px; }
|
164
|
+
table.eight center { min-width: 380px; }
|
165
|
+
table.nine center { min-width: 430px; }
|
166
|
+
table.ten center { min-width: 480px; }
|
167
|
+
table.eleven center { min-width: 530px; }
|
168
|
+
table.twelve center { min-width: 580px; }
|
169
|
+
|
170
|
+
table.one .panel center { min-width: 10px; }
|
171
|
+
table.two .panel center { min-width: 60px; }
|
172
|
+
table.three .panel center { min-width: 110px; }
|
173
|
+
table.four .panel center { min-width: 160px; }
|
174
|
+
table.five .panel center { min-width: 210px; }
|
175
|
+
table.six .panel center { min-width: 260px; }
|
176
|
+
table.seven .panel center { min-width: 310px; }
|
177
|
+
table.eight .panel center { min-width: 360px; }
|
178
|
+
table.nine .panel center { min-width: 410px; }
|
179
|
+
table.ten .panel center { min-width: 460px; }
|
180
|
+
table.eleven .panel center { min-width: 510px; }
|
181
|
+
table.twelve .panel center { min-width: 560px; }
|
182
|
+
|
183
|
+
.body .columns td.one,
|
184
|
+
.body .column td.one { width: 8.333333%; }
|
185
|
+
.body .columns td.two,
|
186
|
+
.body .column td.two { width: 16.666666%; }
|
187
|
+
.body .columns td.three,
|
188
|
+
.body .column td.three { width: 25%; }
|
189
|
+
.body .columns td.four,
|
190
|
+
.body .column td.four { width: 33.333333%; }
|
191
|
+
.body .columns td.five,
|
192
|
+
.body .column td.five { width: 41.666666%; }
|
193
|
+
.body .columns td.six,
|
194
|
+
.body .column td.six { width: 50%; }
|
195
|
+
.body .columns td.seven,
|
196
|
+
.body .column td.seven { width: 58.333333%; }
|
197
|
+
.body .columns td.eight,
|
198
|
+
.body .column td.eight { width: 66.666666%; }
|
199
|
+
.body .columns td.nine,
|
200
|
+
.body .column td.nine { width: 75%; }
|
201
|
+
.body .columns td.ten,
|
202
|
+
.body .column td.ten { width: 83.333333%; }
|
203
|
+
.body .columns td.eleven,
|
204
|
+
.body .column td.eleven { width: 91.666666%; }
|
205
|
+
.body .columns td.twelve,
|
206
|
+
.body .column td.twelve { width: 100%; }
|
207
|
+
|
208
|
+
td.offset-by-one { padding-left: 50px; }
|
209
|
+
td.offset-by-two { padding-left: 100px; }
|
210
|
+
td.offset-by-three { padding-left: 150px; }
|
211
|
+
td.offset-by-four { padding-left: 200px; }
|
212
|
+
td.offset-by-five { padding-left: 250px; }
|
213
|
+
td.offset-by-six { padding-left: 300px; }
|
214
|
+
td.offset-by-seven { padding-left: 350px; }
|
215
|
+
td.offset-by-eight { padding-left: 400px; }
|
216
|
+
td.offset-by-nine { padding-left: 450px; }
|
217
|
+
td.offset-by-ten { padding-left: 500px; }
|
218
|
+
td.offset-by-eleven { padding-left: 550px; }
|
219
|
+
|
220
|
+
td.expander {
|
221
|
+
visibility: hidden;
|
222
|
+
width: 0px;
|
223
|
+
padding: 0 !important;
|
224
|
+
}
|
225
|
+
|
226
|
+
table.columns .text-pad,
|
227
|
+
table.column .text-pad {
|
228
|
+
padding-left: 10px;
|
229
|
+
padding-right: 10px;
|
230
|
+
}
|
231
|
+
|
232
|
+
table.columns .left-text-pad,
|
233
|
+
table.columns .text-pad-left,
|
234
|
+
table.column .left-text-pad,
|
235
|
+
table.column .text-pad-left {
|
236
|
+
padding-left: 10px;
|
237
|
+
}
|
238
|
+
|
239
|
+
table.columns .right-text-pad,
|
240
|
+
table.columns .text-pad-right,
|
241
|
+
table.column .right-text-pad,
|
242
|
+
table.column .text-pad-right {
|
243
|
+
padding-right: 10px;
|
244
|
+
}
|
245
|
+
|
246
|
+
/* Block Grid */
|
247
|
+
|
248
|
+
.block-grid {
|
249
|
+
width: 100%;
|
250
|
+
max-width: 580px;
|
251
|
+
}
|
252
|
+
|
253
|
+
.block-grid td {
|
254
|
+
display: inline-block;
|
255
|
+
padding:10px;
|
256
|
+
}
|
257
|
+
|
258
|
+
.two-up td {
|
259
|
+
width:270px;
|
260
|
+
}
|
261
|
+
|
262
|
+
.three-up td {
|
263
|
+
width:173px;
|
264
|
+
}
|
265
|
+
|
266
|
+
.four-up td {
|
267
|
+
width:125px;
|
268
|
+
}
|
269
|
+
|
270
|
+
.five-up td {
|
271
|
+
width:96px;
|
272
|
+
}
|
273
|
+
|
274
|
+
.six-up td {
|
275
|
+
width:76px;
|
276
|
+
}
|
277
|
+
|
278
|
+
.seven-up td {
|
279
|
+
width:62px;
|
280
|
+
}
|
281
|
+
|
282
|
+
.eight-up td {
|
283
|
+
width:52px;
|
284
|
+
}
|
285
|
+
|
286
|
+
/* Alignment & Visibility Classes */
|
287
|
+
|
288
|
+
table.center, td.center {
|
289
|
+
text-align: center;
|
290
|
+
}
|
291
|
+
|
292
|
+
h1.center,
|
293
|
+
h2.center,
|
294
|
+
h3.center,
|
295
|
+
h4.center,
|
296
|
+
h5.center,
|
297
|
+
h6.center {
|
298
|
+
text-align: center;
|
299
|
+
}
|
300
|
+
|
301
|
+
span.center {
|
302
|
+
display: block;
|
303
|
+
width: 100%;
|
304
|
+
text-align: center;
|
305
|
+
}
|
306
|
+
|
307
|
+
img.center {
|
308
|
+
margin: 0 auto;
|
309
|
+
float: none;
|
310
|
+
}
|
311
|
+
|
312
|
+
.show-for-small,
|
313
|
+
.hide-for-desktop {
|
314
|
+
display: none;
|
315
|
+
}
|
316
|
+
|
317
|
+
/* Typography */
|
318
|
+
|
319
|
+
body, table.body, h1, h2, h3, h4, h5, h6, p, td {
|
320
|
+
color: #222222;
|
321
|
+
font-family: "Helvetica", "Arial", sans-serif;
|
322
|
+
font-weight: normal;
|
323
|
+
padding:0;
|
324
|
+
margin: 0;
|
325
|
+
text-align: left;
|
326
|
+
line-height: 1.3;
|
327
|
+
}
|
328
|
+
|
329
|
+
h1, h2, h3, h4, h5, h6 {
|
330
|
+
word-break: normal;
|
331
|
+
}
|
332
|
+
|
333
|
+
h1 {font-size: 40px;}
|
334
|
+
h2 {font-size: 36px;}
|
335
|
+
h3 {font-size: 32px;}
|
336
|
+
h4 {font-size: 28px;}
|
337
|
+
h5 {font-size: 24px;}
|
338
|
+
h6 {font-size: 20px;}
|
339
|
+
body, table.body, p, td {font-size: 14px;line-height:19px;}
|
340
|
+
|
341
|
+
p.lead, p.lede, p.leed {
|
342
|
+
font-size: 18px;
|
343
|
+
line-height:21px;
|
344
|
+
}
|
345
|
+
|
346
|
+
p {
|
347
|
+
margin-bottom: 10px;
|
348
|
+
}
|
349
|
+
|
350
|
+
small {
|
351
|
+
font-size: 10px;
|
352
|
+
}
|
353
|
+
|
354
|
+
a {
|
355
|
+
color: #2ba6cb;
|
356
|
+
text-decoration: none;
|
357
|
+
}
|
358
|
+
|
359
|
+
a:hover {
|
360
|
+
color: #2795b6 !important;
|
361
|
+
}
|
362
|
+
|
363
|
+
a:active {
|
364
|
+
color: #2795b6 !important;
|
365
|
+
}
|
366
|
+
|
367
|
+
a:visited {
|
368
|
+
color: #2ba6cb !important;
|
369
|
+
}
|
370
|
+
|
371
|
+
h1 a,
|
372
|
+
h2 a,
|
373
|
+
h3 a,
|
374
|
+
h4 a,
|
375
|
+
h5 a,
|
376
|
+
h6 a {
|
377
|
+
color: #2ba6cb;
|
378
|
+
}
|
379
|
+
|
380
|
+
h1 a:active,
|
381
|
+
h2 a:active,
|
382
|
+
h3 a:active,
|
383
|
+
h4 a:active,
|
384
|
+
h5 a:active,
|
385
|
+
h6 a:active {
|
386
|
+
color: #2ba6cb !important;
|
387
|
+
}
|
388
|
+
|
389
|
+
h1 a:visited,
|
390
|
+
h2 a:visited,
|
391
|
+
h3 a:visited,
|
392
|
+
h4 a:visited,
|
393
|
+
h5 a:visited,
|
394
|
+
h6 a:visited {
|
395
|
+
color: #2ba6cb !important;
|
396
|
+
}
|
397
|
+
|
398
|
+
/* Panels */
|
399
|
+
|
400
|
+
.panel {
|
401
|
+
background: #f2f2f2;
|
402
|
+
border: 1px solid #d9d9d9;
|
403
|
+
padding: 10px !important;
|
404
|
+
}
|
405
|
+
|
406
|
+
.sub-grid table {
|
407
|
+
width: 100%;
|
408
|
+
}
|
409
|
+
|
410
|
+
.sub-grid td.sub-columns {
|
411
|
+
padding-bottom: 0;
|
412
|
+
}
|
413
|
+
|
414
|
+
/* Buttons */
|
415
|
+
|
416
|
+
table.button,
|
417
|
+
table.tiny-button,
|
418
|
+
table.small-button,
|
419
|
+
table.medium-button,
|
420
|
+
table.large-button {
|
421
|
+
width: 100%;
|
422
|
+
overflow: hidden;
|
423
|
+
}
|
424
|
+
|
425
|
+
table.button td,
|
426
|
+
table.tiny-button td,
|
427
|
+
table.small-button td,
|
428
|
+
table.medium-button td,
|
429
|
+
table.large-button td {
|
430
|
+
display: block;
|
431
|
+
width: auto !important;
|
432
|
+
text-align: center;
|
433
|
+
background: #2ba6cb;
|
434
|
+
border: 1px solid #2284a1;
|
435
|
+
color: #ffffff;
|
436
|
+
padding: 8px 0;
|
437
|
+
}
|
438
|
+
|
439
|
+
table.tiny-button td {
|
440
|
+
padding: 5px 0 4px;
|
441
|
+
}
|
442
|
+
|
443
|
+
table.small-button td {
|
444
|
+
padding: 8px 0 7px;
|
445
|
+
}
|
446
|
+
|
447
|
+
table.medium-button td {
|
448
|
+
padding: 12px 0 10px;
|
449
|
+
}
|
450
|
+
|
451
|
+
table.large-button td {
|
452
|
+
padding: 21px 0 18px;
|
453
|
+
}
|
454
|
+
|
455
|
+
table.button td a,
|
456
|
+
table.tiny-button td a,
|
457
|
+
table.small-button td a,
|
458
|
+
table.medium-button td a,
|
459
|
+
table.large-button td a {
|
460
|
+
font-weight: bold;
|
461
|
+
text-decoration: none;
|
462
|
+
font-family: Helvetica, Arial, sans-serif;
|
463
|
+
color: #ffffff;
|
464
|
+
font-size: 16px;
|
465
|
+
}
|
466
|
+
|
467
|
+
table.tiny-button td a {
|
468
|
+
font-size: 12px;
|
469
|
+
font-weight: normal;
|
470
|
+
}
|
471
|
+
|
472
|
+
table.small-button td a {
|
473
|
+
font-size: 16px;
|
474
|
+
}
|
475
|
+
|
476
|
+
table.medium-button td a {
|
477
|
+
font-size: 20px;
|
478
|
+
}
|
479
|
+
|
480
|
+
table.large-button td a {
|
481
|
+
font-size: 24px;
|
482
|
+
}
|
483
|
+
|
484
|
+
table.button:hover td,
|
485
|
+
table.button:visited td,
|
486
|
+
table.button:active td {
|
487
|
+
background: #2795b6 !important;
|
488
|
+
}
|
489
|
+
|
490
|
+
table.button:hover td a,
|
491
|
+
table.button:visited td a,
|
492
|
+
table.button:active td a {
|
493
|
+
color: #fff !important;
|
494
|
+
}
|
495
|
+
|
496
|
+
table.button:hover td,
|
497
|
+
table.tiny-button:hover td,
|
498
|
+
table.small-button:hover td,
|
499
|
+
table.medium-button:hover td,
|
500
|
+
table.large-button:hover td {
|
501
|
+
background: #2795b6 !important;
|
502
|
+
}
|
503
|
+
|
504
|
+
table.button:hover td a,
|
505
|
+
table.button:active td a,
|
506
|
+
table.button td a:visited,
|
507
|
+
table.tiny-button:hover td a,
|
508
|
+
table.tiny-button:active td a,
|
509
|
+
table.tiny-button td a:visited,
|
510
|
+
table.small-button:hover td a,
|
511
|
+
table.small-button:active td a,
|
512
|
+
table.small-button td a:visited,
|
513
|
+
table.medium-button:hover td a,
|
514
|
+
table.medium-button:active td a,
|
515
|
+
table.medium-button td a:visited,
|
516
|
+
table.large-button:hover td a,
|
517
|
+
table.large-button:active td a,
|
518
|
+
table.large-button td a:visited {
|
519
|
+
color: #ffffff !important;
|
520
|
+
}
|
521
|
+
|
522
|
+
table.secondary td {
|
523
|
+
background: #e9e9e9;
|
524
|
+
border-color: #d0d0d0;
|
525
|
+
color: #555;
|
526
|
+
}
|
527
|
+
|
528
|
+
table.secondary td a {
|
529
|
+
color: #555;
|
530
|
+
}
|
531
|
+
|
532
|
+
table.secondary:hover td {
|
533
|
+
background: #d0d0d0 !important;
|
534
|
+
color: #555;
|
535
|
+
}
|
536
|
+
|
537
|
+
table.secondary:hover td a,
|
538
|
+
table.secondary td a:visited,
|
539
|
+
table.secondary:active td a {
|
540
|
+
color: #555 !important;
|
541
|
+
}
|
542
|
+
|
543
|
+
table.success td {
|
544
|
+
background: #5da423;
|
545
|
+
border-color: #457a1a;
|
546
|
+
}
|
547
|
+
|
548
|
+
table.success:hover td {
|
549
|
+
background: #457a1a !important;
|
550
|
+
}
|
551
|
+
|
552
|
+
table.alert td {
|
553
|
+
background: #c60f13;
|
554
|
+
border-color: #970b0e;
|
555
|
+
}
|
556
|
+
|
557
|
+
table.alert:hover td {
|
558
|
+
background: #970b0e !important;
|
559
|
+
}
|
560
|
+
|
561
|
+
table.radius td {
|
562
|
+
-webkit-border-radius: 3px;
|
563
|
+
-moz-border-radius: 3px;
|
564
|
+
border-radius: 3px;
|
565
|
+
}
|
566
|
+
|
567
|
+
table.round td {
|
568
|
+
-webkit-border-radius: 500px;
|
569
|
+
-moz-border-radius: 500px;
|
570
|
+
border-radius: 500px;
|
571
|
+
}
|
572
|
+
|
573
|
+
/* Outlook First */
|
574
|
+
|
575
|
+
body.outlook p {
|
576
|
+
display: inline !important;
|
577
|
+
}
|
578
|
+
|
579
|
+
/* Media Queries */
|
580
|
+
|
581
|
+
@media only screen and (max-width: 600px) {
|
582
|
+
|
583
|
+
table[class="body"] img {
|
584
|
+
width: auto !important;
|
585
|
+
height: auto !important;
|
586
|
+
}
|
587
|
+
|
588
|
+
table[class="body"] center {
|
589
|
+
min-width: 0 !important;
|
590
|
+
}
|
591
|
+
|
592
|
+
table[class="body"] .container {
|
593
|
+
width: 95% !important;
|
594
|
+
}
|
595
|
+
|
596
|
+
table[class="body"] .row {
|
597
|
+
width: 100% !important;
|
598
|
+
display: block !important;
|
599
|
+
}
|
600
|
+
|
601
|
+
table[class="body"] .wrapper {
|
602
|
+
display: block !important;
|
603
|
+
padding-right: 0 !important;
|
604
|
+
}
|
605
|
+
|
606
|
+
table[class="body"] .columns,
|
607
|
+
table[class="body"] .column {
|
608
|
+
table-layout: fixed !important;
|
609
|
+
float: none !important;
|
610
|
+
width: 100% !important;
|
611
|
+
padding-right: 0px !important;
|
612
|
+
padding-left: 0px !important;
|
613
|
+
display: block !important;
|
614
|
+
}
|
615
|
+
|
616
|
+
table[class="body"] .wrapper.first .columns,
|
617
|
+
table[class="body"] .wrapper.first .column {
|
618
|
+
display: table !important;
|
619
|
+
}
|
620
|
+
|
621
|
+
table[class="body"] table.columns td,
|
622
|
+
table[class="body"] table.column td {
|
623
|
+
width: 100% !important;
|
624
|
+
}
|
625
|
+
|
626
|
+
table[class="body"] .columns td.one,
|
627
|
+
table[class="body"] .column td.one { width: 8.333333% !important; }
|
628
|
+
table[class="body"] .columns td.two,
|
629
|
+
table[class="body"] .column td.two { width: 16.666666% !important; }
|
630
|
+
table[class="body"] .columns td.three,
|
631
|
+
table[class="body"] .column td.three { width: 25% !important; }
|
632
|
+
table[class="body"] .columns td.four,
|
633
|
+
table[class="body"] .column td.four { width: 33.333333% !important; }
|
634
|
+
table[class="body"] .columns td.five,
|
635
|
+
table[class="body"] .column td.five { width: 41.666666% !important; }
|
636
|
+
table[class="body"] .columns td.six,
|
637
|
+
table[class="body"] .column td.six { width: 50% !important; }
|
638
|
+
table[class="body"] .columns td.seven,
|
639
|
+
table[class="body"] .column td.seven { width: 58.333333% !important; }
|
640
|
+
table[class="body"] .columns td.eight,
|
641
|
+
table[class="body"] .column td.eight { width: 66.666666% !important; }
|
642
|
+
table[class="body"] .columns td.nine,
|
643
|
+
table[class="body"] .column td.nine { width: 75% !important; }
|
644
|
+
table[class="body"] .columns td.ten,
|
645
|
+
table[class="body"] .column td.ten { width: 83.333333% !important; }
|
646
|
+
table[class="body"] .columns td.eleven,
|
647
|
+
table[class="body"] .column td.eleven { width: 91.666666% !important; }
|
648
|
+
table[class="body"] .columns td.twelve,
|
649
|
+
table[class="body"] .column td.twelve { width: 100% !important; }
|
650
|
+
|
651
|
+
table[class="body"] td.offset-by-one,
|
652
|
+
table[class="body"] td.offset-by-two,
|
653
|
+
table[class="body"] td.offset-by-three,
|
654
|
+
table[class="body"] td.offset-by-four,
|
655
|
+
table[class="body"] td.offset-by-five,
|
656
|
+
table[class="body"] td.offset-by-six,
|
657
|
+
table[class="body"] td.offset-by-seven,
|
658
|
+
table[class="body"] td.offset-by-eight,
|
659
|
+
table[class="body"] td.offset-by-nine,
|
660
|
+
table[class="body"] td.offset-by-ten,
|
661
|
+
table[class="body"] td.offset-by-eleven {
|
662
|
+
padding-left: 0 !important;
|
663
|
+
}
|
664
|
+
|
665
|
+
table[class="body"] table.columns td.expander {
|
666
|
+
width: 1px !important;
|
667
|
+
}
|
668
|
+
|
669
|
+
table[class="body"] .right-text-pad,
|
670
|
+
table[class="body"] .text-pad-right {
|
671
|
+
padding-left: 10px !important;
|
672
|
+
}
|
673
|
+
|
674
|
+
table[class="body"] .left-text-pad,
|
675
|
+
table[class="body"] .text-pad-left {
|
676
|
+
padding-right: 10px !important;
|
677
|
+
}
|
678
|
+
|
679
|
+
table[class="body"] .hide-for-small,
|
680
|
+
table[class="body"] .show-for-desktop {
|
681
|
+
display: none !important;
|
682
|
+
}
|
683
|
+
|
684
|
+
table[class="body"] .show-for-small,
|
685
|
+
table[class="body"] .hide-for-desktop {
|
686
|
+
display: inherit !important;
|
687
|
+
}
|
688
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'zurb-ink-rails'
|
7
|
+
spec.version = '0.0.1'
|
8
|
+
spec.authors = ['Neal Kemp']
|
9
|
+
spec.email = ['']
|
10
|
+
spec.description = %q{ZURB Ink for Rails asset pipeline}
|
11
|
+
spec.summary = %q{ZURB Ink for Rails asset pipeline}
|
12
|
+
spec.homepage = 'https://github.com/NealKemp/snapcat'
|
13
|
+
spec.license = 'MIT'
|
14
|
+
spec.required_ruby_version = '>= 1.9.3'
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.require_paths = ['lib']
|
18
|
+
|
19
|
+
spec.add_runtime_dependency 'railties', '>= 3.2', '< 5.0'
|
20
|
+
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
22
|
+
spec.add_development_dependency 'rake', '~> 10'
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: zurb-ink-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Neal Kemp
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-02-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: railties
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.2'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: bundler
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.3'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.3'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '10'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '10'
|
61
|
+
description: ZURB Ink for Rails asset pipeline
|
62
|
+
email:
|
63
|
+
- ''
|
64
|
+
executables: []
|
65
|
+
extensions: []
|
66
|
+
extra_rdoc_files: []
|
67
|
+
files:
|
68
|
+
- ".gitignore"
|
69
|
+
- Gemfile
|
70
|
+
- LICENSE.txt
|
71
|
+
- README.md
|
72
|
+
- Rakefile
|
73
|
+
- lib/zurb-ink-rails.rb
|
74
|
+
- lib/zurb-ink-rails/version.rb
|
75
|
+
- vendor/assets/stylesheets/zurb-ink.css
|
76
|
+
- zurb-ink-rails.gemspec
|
77
|
+
homepage: https://github.com/NealKemp/snapcat
|
78
|
+
licenses:
|
79
|
+
- MIT
|
80
|
+
metadata: {}
|
81
|
+
post_install_message:
|
82
|
+
rdoc_options: []
|
83
|
+
require_paths:
|
84
|
+
- lib
|
85
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.9.3
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
requirements: []
|
96
|
+
rubyforge_project:
|
97
|
+
rubygems_version: 2.2.0
|
98
|
+
signing_key:
|
99
|
+
specification_version: 4
|
100
|
+
summary: ZURB Ink for Rails asset pipeline
|
101
|
+
test_files: []
|