zurb-ink 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7641db6ea0bdffd3498047b5733d1c530090683f
4
+ data.tar.gz: 785c6fbb93a71b919dd1ca3c81ffd680815abd11
5
+ SHA512:
6
+ metadata.gz: 135ebfdbafb7c56acee242175d46c7c1328bf0974426e579ed06d46a96c32f45c743bc88b82e5ef56abf9181c8f365d7c8f4f4048fcc2f39aabc544b27434907
7
+ data.tar.gz: 2d508abfa251de4bafd6db7a300caf6560572e4d595d090735f6937ea8166d99b6d8474d0a56199adaed36563c6341d77ca28a3f6b136107d5aebdd85281c624
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ .gem
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.1
4
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in zurb-ink.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 John Koht
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,60 @@
1
+ # Zurb::Ink
2
+
3
+ Easily add Zurb's Ink email framework to your rails projects.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'zurb-ink'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install zurb-ink
20
+
21
+ ## Usage
22
+
23
+ Using Ink is easy. All of the core styles have been converted to sass and are accessible from your rails project.
24
+
25
+ #### Add the stylesheet
26
+ To get started, you'll need to add the `zurb-ink` styles to your mailer.sass:
27
+
28
+ ```sass
29
+ # mailer.sass
30
+ @import 'zurb-ink'
31
+ ...
32
+ ```
33
+
34
+ This will import all of Ink into your stylesheet. Optionally, you could pick and choose the ones you want by importing them each in your stylesheet:
35
+
36
+ ```sass
37
+ # mailer.sass
38
+ @import 'buttons'
39
+ @import 'grid'
40
+ @Import 'scaffolding'
41
+ ...
42
+ ```
43
+
44
+ #### Set your variables
45
+ By default, Ink uses some of Foundation's default values for color, etc. This gem abstracts most of those variables into a `variables.sass` that you can override. You can override all or just some of these, take a look at the [variables.sass](https://github.com/johnkoht/zurb-ink/blob/master/app/assets/stylesheets/zurb-ink/_variables.sass) for more details.
46
+
47
+ ## Development
48
+
49
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
50
+
51
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
52
+
53
+ ## Contributing
54
+
55
+ Bug reports and pull requests are welcome on GitHub at https://github.com/johnkoht/zurb-ink.
56
+
57
+
58
+ ## License
59
+
60
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,7 @@
1
+ @import 'zurb-ink/variables'
2
+ @import 'zurb-ink/scaffold'
3
+ @import 'zurb-ink/typography'
4
+ @import 'zurb-ink/grid'
5
+ @import 'zurb-ink/buttons'
6
+ @import 'zurb-ink/panels'
7
+ @import 'zurb-ink/media-queries'
@@ -0,0 +1,123 @@
1
+ /* Buttons */
2
+
3
+ table
4
+ &.button, &.tiny-button, &.small-button, &.medium-button, &.large-button
5
+ width: 100%
6
+ overflow: hidden
7
+
8
+ &.button td, &.tiny-button td, &.small-button td, &.medium-button td, &.large-button td
9
+ display: block
10
+ width: auto !important
11
+ text-align: center
12
+ background: $button-default-bg
13
+ border: 1px solid $button-default-border
14
+ color: $button-default-color
15
+ padding: 8px 0
16
+
17
+ &.tiny-button td
18
+ padding: 5px 0 4px
19
+
20
+ &.small-button td
21
+ padding: 8px 0 7px
22
+
23
+ &.medium-button td
24
+ padding: 12px 0 10px
25
+
26
+ &.large-button td
27
+ padding: 21px 0 18px
28
+
29
+ &.button td a, &.tiny-button td a, &.small-button td a, &.medium-button td a, &.large-button td a
30
+ font-weight: $button-font-weight
31
+ text-decoration: none
32
+ font-family: $button-font-family
33
+ color: $button-default-color
34
+ font-size: $button-font-size
35
+
36
+ &.tiny-button td a
37
+ font-size: 12px
38
+ font-weight: normal
39
+
40
+ &.small-button td a
41
+ font-size: $button-font-size
42
+
43
+ &.medium-button td a
44
+ font-size: $button-font-size * 1.25
45
+
46
+ &.large-button td a
47
+ font-size: $button-font-size * 1.5
48
+
49
+ &.button
50
+ &:hover td, &:visited td, &:active td
51
+ background: darkent($button-default-bg, 10%) !important
52
+ &:hover td a, &:visited td a, &:active td a
53
+ color: $button-default-color !important
54
+ &:hover td
55
+ background: darken($button-default-bg, 10%) !important
56
+
57
+ &.tiny-button:hover td, &.small-button:hover td, &.medium-button:hover td, &.large-button:hover td
58
+ background: darken($button-default-bg, 10%) !important
59
+
60
+ &.button
61
+ &:hover td a, &:active td a, td a:visited
62
+ color: $button-default-color !important
63
+
64
+
65
+ // Button size variations
66
+ &.tiny-button
67
+ &:hover td a, &:active td a, td a:visited
68
+ color: $button-default-color !important
69
+
70
+ &.small-button
71
+ &:hover td a, &:active td a, td a:visited
72
+ color: $button-default-color !important
73
+
74
+ &.medium-button
75
+ &:hover td a, &:active td a, td a:visited
76
+ color: $button-default-color !important
77
+
78
+ &.large-button
79
+ &:hover td a, &:active td a, td a:visited
80
+ color: $button-default-color !important
81
+
82
+
83
+ // Button style variations
84
+ &.secondary
85
+ td
86
+ background: $button-secondary-bg
87
+ border-color: $button-secondary-border
88
+ color: $button-secondary-color
89
+ a
90
+ color: $button-secondary-color
91
+ &:hover td
92
+ background: darken($button-secondary-bg, 10%) !important
93
+ color: $button-secondary-color
94
+ a
95
+ color: $button-secondary-color !important
96
+ td a:visited, &:active td a
97
+ color: $button-secondary-color !important
98
+
99
+ &.success
100
+ td
101
+ background: $button-success-bg
102
+ border-color: $button-success-border
103
+ &:hover td
104
+ background: $button-success-color !important
105
+
106
+ &.alert
107
+ td
108
+ background: $button-alert-bg
109
+ border-color: $button-alert-border
110
+ &:hover td
111
+ background: $button-alert-color !important
112
+
113
+
114
+ // Button radius/rounding styles
115
+ &.radius td
116
+ -webkit-border-radius: 3px
117
+ -moz-border-radius: 3px
118
+ border-radius: 3px
119
+
120
+ &.round td
121
+ -webkit-border-radius: 500px
122
+ -moz-border-radius: 500px
123
+ border-radius: 500px
@@ -0,0 +1,209 @@
1
+ /* Responsive Grid */
2
+
3
+ table
4
+ &.body
5
+ height: 100%
6
+ width: 100%
7
+ &.container
8
+ width: 580px
9
+ margin: 0 auto
10
+ text-align: inherit
11
+ &.row
12
+ padding: 0px
13
+ width: 100%
14
+ position: relative
15
+ &.container table.row
16
+ display: block
17
+
18
+ td.wrapper
19
+ padding: 10px 20px 0px 0px
20
+ position: relative
21
+
22
+ table
23
+ &.columns, &.column
24
+ margin: 0 auto
25
+ &.columns td, &.column td
26
+ padding: 0px 0px 10px
27
+ &.columns td.sub-columns, &.column td.sub-columns, &.columns td.sub-column, &.column td.sub-column
28
+ padding-right: 10px
29
+
30
+ td
31
+ &.sub-column, &.sub-columns
32
+ min-width: 0px
33
+
34
+ table
35
+ &.row td.last, &.container td.last
36
+ padding-right: 0px
37
+ &.one
38
+ width: 30px
39
+ &.two
40
+ width: 80px
41
+ &.three
42
+ width: 130px
43
+ &.four
44
+ width: 180px
45
+ &.five
46
+ width: 230px
47
+ &.six
48
+ width: 280px
49
+ &.seven
50
+ width: 330px
51
+ &.eight
52
+ width: 380px
53
+ &.nine
54
+ width: 430px
55
+ &.ten
56
+ width: 480px
57
+ &.eleven
58
+ width: 530px
59
+ &.twelve
60
+ width: 580px
61
+ &.one center
62
+ min-width: 30px
63
+ &.two center
64
+ min-width: 80px
65
+ &.three center
66
+ min-width: 130px
67
+ &.four center
68
+ min-width: 180px
69
+ &.five center
70
+ min-width: 230px
71
+ &.six center
72
+ min-width: 280px
73
+ &.seven center
74
+ min-width: 330px
75
+ &.eight center
76
+ min-width: 380px
77
+ &.nine center
78
+ min-width: 430px
79
+ &.ten center
80
+ min-width: 480px
81
+ &.eleven center
82
+ min-width: 530px
83
+ &.twelve center
84
+ min-width: 580px
85
+ &.one .panel center
86
+ min-width: 10px
87
+ &.two .panel center
88
+ min-width: 60px
89
+ &.three .panel center
90
+ min-width: 110px
91
+ &.four .panel center
92
+ min-width: 160px
93
+ &.five .panel center
94
+ min-width: 210px
95
+ &.six .panel center
96
+ min-width: 260px
97
+ &.seven .panel center
98
+ min-width: 310px
99
+ &.eight .panel center
100
+ min-width: 360px
101
+ &.nine .panel center
102
+ min-width: 410px
103
+ &.ten .panel center
104
+ min-width: 460px
105
+ &.eleven .panel center
106
+ min-width: 510px
107
+ &.twelve .panel center
108
+ min-width: 560px
109
+
110
+ .body
111
+ .columns td.one, .column td.one
112
+ width: 8.333333%
113
+ .columns td.two, .column td.two
114
+ width: 16.666666%
115
+ .columns td.three, .column td.three
116
+ width: 25%
117
+ .columns td.four, .column td.four
118
+ width: 33.333333%
119
+ .columns td.five, .column td.five
120
+ width: 41.666666%
121
+ .columns td.six, .column td.six
122
+ width: 50%
123
+ .columns td.seven, .column td.seven
124
+ width: 58.333333%
125
+ .columns td.eight, .column td.eight
126
+ width: 66.666666%
127
+ .columns td.nine, .column td.nine
128
+ width: 75%
129
+ .columns td.ten, .column td.ten
130
+ width: 83.333333%
131
+ .columns td.eleven, .column td.eleven
132
+ width: 91.666666%
133
+ .columns td.twelve, .column td.twelve
134
+ width: 100%
135
+
136
+ td
137
+ &.offset-by-one
138
+ padding-left: 50px
139
+ &.offset-by-two
140
+ padding-left: 100px
141
+ &.offset-by-three
142
+ padding-left: 150px
143
+ &.offset-by-four
144
+ padding-left: 200px
145
+ &.offset-by-five
146
+ padding-left: 250px
147
+ &.offset-by-six
148
+ padding-left: 300px
149
+ &.offset-by-seven
150
+ padding-left: 350px
151
+ &.offset-by-eight
152
+ padding-left: 400px
153
+ &.offset-by-nine
154
+ padding-left: 450px
155
+ &.offset-by-ten
156
+ padding-left: 500px
157
+ &.offset-by-eleven
158
+ padding-left: 550px
159
+ &.expander
160
+ visibility: hidden
161
+ width: 0px
162
+ padding: 0 !important
163
+
164
+ table
165
+ &.columns .text-pad, &.column .text-pad
166
+ padding-left: 10px
167
+ padding-right: 10px
168
+ &.columns
169
+ .left-text-pad, .text-pad-left
170
+ padding-left: 10px
171
+ &.column
172
+ .left-text-pad, .text-pad-left
173
+ padding-left: 10px
174
+ &.columns
175
+ .right-text-pad, .text-pad-right
176
+ padding-right: 10px
177
+ &.column
178
+ .right-text-pad, .text-pad-right
179
+ padding-right: 10px
180
+
181
+ /* Block Grid */
182
+
183
+ .block-grid
184
+ width: 100%
185
+ max-width: 580px
186
+ td
187
+ display: inline-block
188
+ padding: 10px
189
+
190
+ .two-up td
191
+ width: 270px
192
+
193
+ .three-up td
194
+ width: 173px
195
+
196
+ .four-up td
197
+ width: 125px
198
+
199
+ .five-up td
200
+ width: 96px
201
+
202
+ .six-up td
203
+ width: 76px
204
+
205
+ .seven-up td
206
+ width: 62px
207
+
208
+ .eight-up td
209
+ width: 52px
@@ -0,0 +1,67 @@
1
+ /* Media Queries */
2
+
3
+ @media only screen and (max-width: 600px)
4
+ table[class="body"]
5
+ img
6
+ width: auto !important
7
+ height: auto !important
8
+ center
9
+ min-width: 0 !important
10
+ .container
11
+ width: 95% !important
12
+ .row
13
+ width: 100% !important
14
+ display: block !important
15
+ .wrapper
16
+ display: block !important
17
+ padding-right: 0 !important
18
+ .columns, .column
19
+ table-layout: fixed !important
20
+ float: none !important
21
+ width: 100% !important
22
+ padding-right: 0px !important
23
+ padding-left: 0px !important
24
+ display: block !important
25
+ .wrapper.first
26
+ .columns, .column
27
+ display: table !important
28
+ table
29
+ &.columns td, &.column td
30
+ width: 100% !important
31
+ .columns td.one, .column td.one
32
+ width: 8.333333% !important
33
+ .columns td.two, .column td.two
34
+ width: 16.666666% !important
35
+ .columns td.three, .column td.three
36
+ width: 25% !important
37
+ .columns td.four, .column td.four
38
+ width: 33.333333% !important
39
+ .columns td.five, .column td.five
40
+ width: 41.666666% !important
41
+ .columns td.six, .column td.six
42
+ width: 50% !important
43
+ .columns td.seven, .column td.seven
44
+ width: 58.333333% !important
45
+ .columns td.eight, .column td.eight
46
+ width: 66.666666% !important
47
+ .columns td.nine, .column td.nine
48
+ width: 75% !important
49
+ .columns td.ten, .column td.ten
50
+ width: 83.333333% !important
51
+ .columns td.eleven, .column td.eleven
52
+ width: 91.666666% !important
53
+ .columns td.twelve, .column td.twelve
54
+ width: 100% !important
55
+ td
56
+ &.offset-by-one, &.offset-by-two, &.offset-by-three, &.offset-by-four, &.offset-by-five, &.offset-by-six, &.offset-by-seven, &.offset-by-eight, &.offset-by-nine, &.offset-by-ten, &.offset-by-eleven
57
+ padding-left: 0 !important
58
+ table.columns td.expander
59
+ width: 1px !important
60
+ .right-text-pad, .text-pad-right
61
+ padding-left: 10px !important
62
+ .left-text-pad, .text-pad-left
63
+ padding-right: 10px !important
64
+ .hide-for-small, .show-for-desktop
65
+ display: none !important
66
+ .show-for-small, .hide-for-desktop
67
+ display: inherit !important
@@ -0,0 +1,12 @@
1
+ /* Panels */
2
+
3
+ .panel
4
+ background: $panel-bg
5
+ border: 1px solid $panel-border-color
6
+ padding: $panel-padding !important
7
+
8
+ .sub-grid
9
+ table
10
+ width: 100%
11
+ td.sub-columns
12
+ padding-bottom: 0
@@ -0,0 +1,93 @@
1
+ // Scaffolding
2
+ #outlook a
3
+ padding: 0
4
+
5
+ body
6
+ background-color: $body-background-color
7
+ width: 100% !important
8
+ min-width: 100%
9
+ -webkit-text-size-adjust: 100%
10
+ -ms-text-size-adjust: 100%
11
+ margin: 0
12
+ padding: 0
13
+
14
+ .ExternalClass
15
+ width: 100%
16
+ line-height: 100%
17
+ p, span, font, td, div
18
+ line-height: 100%
19
+
20
+ #backgroundTable
21
+ margin: 0
22
+ padding: 0
23
+ width: 100% !important
24
+ line-height: 100% !important
25
+
26
+ img
27
+ outline: none
28
+ text-decoration: none
29
+ -ms-interpolation-mode: bicubic
30
+ width: auto
31
+ max-width: 100%
32
+ float: left
33
+ clear: both
34
+ display: block
35
+
36
+ center
37
+ width: 100%
38
+ min-width: 580px
39
+
40
+ a img
41
+ border: none
42
+
43
+ p
44
+ margin: 0 0 0 10px
45
+
46
+ table
47
+ border-spacing: 0
48
+ border-collapse: collapse
49
+
50
+ td
51
+ word-break: break-word
52
+ -webkit-hyphens: auto
53
+ -moz-hyphens: auto
54
+ hyphens: auto
55
+ border-collapse: collapse !important
56
+
57
+ table, tr, td
58
+ padding: 0
59
+ vertical-align: top
60
+ text-align: left
61
+
62
+ hr
63
+ color: #d9d9d9
64
+ background-color: #d9d9d9
65
+ height: 1px
66
+ border: none
67
+
68
+
69
+
70
+
71
+ /* Alignment & Visibility Classes */
72
+ table.center, td.center, h1.center, h2.center, h3.center, h4.center, h5.center, h6.center
73
+ text-align: center
74
+
75
+ span.center
76
+ display: block
77
+ width: 100%
78
+ text-align: center
79
+
80
+ img.center
81
+ margin: 0 auto
82
+ float: none
83
+
84
+ .show-for-small, .hide-for-desktop
85
+ display: none
86
+
87
+
88
+
89
+
90
+ /* Outlook First */
91
+ body.outlook p
92
+ display: inline !important
93
+
@@ -0,0 +1,64 @@
1
+ /* Typography */
2
+
3
+ body, table.body, h1, h2, h3, h4, h5, h6, p, td
4
+ color: $base-color
5
+ font-family: $font-family-base
6
+ font-weight: $font-weight-base
7
+ padding: 0
8
+ margin: 0
9
+ text-align: left
10
+ line-height: $line-height-base
11
+
12
+ h1, h2, h3, h4, h5, h6
13
+ word-break: normal
14
+
15
+ h1
16
+ font-size: $h1-font-size
17
+ margin-bottom: 15px
18
+
19
+ h2
20
+ font-size: $h2-font-size
21
+ margin-bottom: 15px
22
+
23
+ h3
24
+ font-size: $h3-font-size
25
+ margin-bottom: 10px
26
+
27
+ h4
28
+ font-size: $h4-font-size
29
+ margin-bottom: 8px
30
+
31
+ h5
32
+ font-size: $h5-font-size
33
+ margin-bottom: 5px
34
+
35
+ h6
36
+ font-size: $h6-font-size
37
+ margin-bottom: 5px
38
+
39
+ body, table.body, p, td
40
+ font-size: $font-size-base
41
+ line-height: $line-height-base
42
+
43
+ p
44
+ &.lead, &.lede, &.leed
45
+ font-size: $lead-font-size
46
+ line-height: $lead-line-height
47
+ margin-bottom: 10px
48
+
49
+ small
50
+ font-size: $small-font-size
51
+
52
+ a
53
+ color: $link-color
54
+ text-decoration: none
55
+ &:hover, &:active
56
+ color: darken($link-color, 10%) !important
57
+ &:visited
58
+ color: darken($link-color, 10%) !important
59
+
60
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
61
+ color: $header-link-color
62
+
63
+ h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active, h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
64
+ color: $header-link-color !important
@@ -0,0 +1,69 @@
1
+ $body-background-color: #fff !default
2
+
3
+
4
+ /* Buttons */
5
+ // ---------------------------------------
6
+
7
+ // Base button styles
8
+ $button-font-size: 16px !default
9
+ $button-font-weight: bold !default
10
+ $button-font-family: Helvetica, Arial, sans-serif !default
11
+
12
+ // Default/Primary button styles
13
+ $button-default-bg: #2ba6cb !default
14
+ $button-default-border: #2284a1 !default
15
+ $button-default-color: #ffffff !default
16
+
17
+ // Secondary button styles
18
+ $button-secondary-bg: #e9e9e9 !default
19
+ $button-secondary-border: #d0d0d0 !default
20
+ $button-secondary-color: #555 !default
21
+
22
+ // Success button styles
23
+ $button-success-bg: #5da423 !default
24
+ $button-success-border: #457a1a !default
25
+ $button-success-color: #457a1a !default
26
+
27
+ // Alert button styles
28
+ $button-alert-bg: #c60f13 !default
29
+ $button-alert-border: #970b0e !default
30
+ $button-alert-color: #970b0e !default
31
+
32
+
33
+
34
+
35
+ /* Panels */
36
+ // ---------------------------------------
37
+
38
+ $panel-bg: #f2f2f2 !default
39
+ $panel-border-color: #d9d9d9 !default
40
+ $panel-padding: 10px !default
41
+
42
+
43
+
44
+ /* Typography */
45
+ // ---------------------------------------
46
+
47
+ // Base styles
48
+ $base-color: #222222 !default
49
+ $font-family-base: "Helvetica", "Arial", sans-serif !default
50
+ $font-size-base: 14px !default
51
+ $font-weight-base: normal !default
52
+ $line-height-base: 1.3 !default
53
+
54
+ // Headers
55
+ $h1-font-size: 40px !default
56
+ $h2-font-size: 36px !default
57
+ $h3-font-size: 32px !default
58
+ $h4-font-size: 28px !default
59
+ $h5-font-size: 24px !default
60
+ $h6-font-size: 20px !default
61
+ $header-link-color: #2ba6cb !default
62
+
63
+ // Text size variations
64
+ $lead-font-size: 18px !default
65
+ $lead-line-height: 21px !default
66
+ $small-font-size: 10px !default
67
+
68
+ // Links
69
+ $link-color: #2ba6cb !default
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "zurb/ink"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,8 @@
1
+ require "zurb/ink/version"
2
+
3
+ module Zurb
4
+ module Ink
5
+ class Engine < ::Rails::Engine
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ module Zurb
2
+ module Ink
3
+ VERSION = "1.0.5"
4
+ end
5
+ end
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'zurb/ink/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "zurb-ink"
8
+ spec.version = Zurb::Ink::VERSION
9
+ spec.authors = ["John Koht"]
10
+ spec.email = ["john@kohactive.com"]
11
+
12
+ spec.summary = %q{Zurb Ink for the asset pipeline}
13
+ spec.description = %q{Zurb Ink for the asset pipeline}
14
+ spec.homepage = "https://github.com/johnkoht/zurb-ink"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.10"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+
25
+ spec.add_dependency "sass-rails", "~> 5.0"
26
+ end
metadata ADDED
@@ -0,0 +1,105 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zurb-ink
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.5
5
+ platform: ruby
6
+ authors:
7
+ - John Koht
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-08-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sass-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ description: Zurb Ink for the asset pipeline
56
+ email:
57
+ - john@kohactive.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".travis.yml"
64
+ - Gemfile
65
+ - LICENSE.txt
66
+ - README.md
67
+ - Rakefile
68
+ - app/assets/stylesheets/zurb-ink.sass
69
+ - app/assets/stylesheets/zurb-ink/_buttons.sass
70
+ - app/assets/stylesheets/zurb-ink/_grid.sass
71
+ - app/assets/stylesheets/zurb-ink/_media-queries.sass
72
+ - app/assets/stylesheets/zurb-ink/_panels.sass
73
+ - app/assets/stylesheets/zurb-ink/_scaffold.sass
74
+ - app/assets/stylesheets/zurb-ink/_typography.sass
75
+ - app/assets/stylesheets/zurb-ink/_variables.sass
76
+ - bin/console
77
+ - bin/setup
78
+ - lib/zurb/ink.rb
79
+ - lib/zurb/ink/version.rb
80
+ - zurb-ink.gemspec
81
+ homepage: https://github.com/johnkoht/zurb-ink
82
+ licenses:
83
+ - MIT
84
+ metadata: {}
85
+ post_install_message:
86
+ rdoc_options: []
87
+ require_paths:
88
+ - lib
89
+ required_ruby_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ requirements: []
100
+ rubyforge_project:
101
+ rubygems_version: 2.4.6
102
+ signing_key:
103
+ specification_version: 4
104
+ summary: Zurb Ink for the asset pipeline
105
+ test_files: []