cssbuttongenerator-css-rails 1.0.0

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3b98685f4bb5b2ec6de8c56a157221aa10ad62b8
4
+ data.tar.gz: 7a8301ea4710066b2d6ee0744bf00e4d79552c6b
5
+ SHA512:
6
+ metadata.gz: ef69c522399f1c2969ccc29bba48d0160766f539e97347ed3e14a3625302e8083931e1a9d88358f66682c1b4e0bec3f93b843cce0e762be85575a2c75dbe584b
7
+ data.tar.gz: e5c656c15772791b7cbdba06289bca070b4a697fd338b194d2f832b080ca6e4ab0dc88970b8ed6e5e2fb961b7754b635d4715c65a93e8ccb744ef6f8f4cdfead
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in cssbuttongenerator-css-rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Doc Walker
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,41 @@
1
+ # cssbuttongenerator-css-rails [![Gem Version](https://badge.fury.io/rb/cssbuttongenerator-css-rails.png)](http://badge.fury.io/rb/cssbuttongenerator-css-rails)
2
+
3
+ > Created by Doc Walker
4
+
5
+ Provides imageless css buttons for the Rails 3.1+ asset pipeline.
6
+
7
+ ## Installation
8
+
9
+ Add these lines to your application's Gemfile:
10
+
11
+ # imageless css buttons packaged for the rails asset pipeline
12
+ gem 'cssbuttongenerator-css-rails', '~> 1.0'
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install cssbuttongenerator-css-rails
21
+
22
+ ## Usage
23
+
24
+ Add these lines to `app/assets/stylesheets/application.css`
25
+
26
+ provides imageless css buttons from gem 'cssbuttongenerator-css-rails':
27
+ = require cssbuttongenerator-css-rails
28
+
29
+ ## Contributing
30
+
31
+ 1. Fork it
32
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
33
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
34
+ 4. Push to the branch (`git push origin my-new-feature`)
35
+ 5. Create new Pull Request
36
+
37
+ ## Acknowledgements
38
+
39
+ - [CSS Button Generator](http://www.cssbuttongenerator.com) Imageless css buttons simplified with css button generator
40
+ - [RailsCast #245](http://railscasts.com/episodes/245-new-gem-with-bundler) New Gem with Bundler -- inspiration
41
+ - [Gemify Assets for Rails](http://prioritized.net/blog/gemify-assets-for-rails/) -- guidance
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'cssbuttongenerator-css-rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "cssbuttongenerator-css-rails"
8
+ spec.version = CssbuttongeneratorCss::Rails::VERSION
9
+ spec.authors = ["Doc Walker"]
10
+ spec.email = ["doc.walker@jameshardie.com"]
11
+ spec.description = %q{Provides imageless css buttons for the Rails 3.1+ asset pipeline.}
12
+ spec.summary = %q{Provides imageless css buttons for the Rails 3.1+ asset pipeline.}
13
+ spec.homepage = "https://github.com/jhx/gem-cssbuttongenerator-css-rails"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
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_dependency "railties", "~> 3.1"
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.3"
24
+ spec.add_development_dependency "rake"
25
+ end
@@ -0,0 +1,672 @@
1
+ .button_css_grey_0 {
2
+ -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
3
+ -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
4
+ box-shadow: inset 0px 1px 0px 0px #ffffff;
5
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#ededed),color-stop(1,#dfdfdf) );
6
+ background: -moz-linear-gradient( center top,#ededed 5%,#dfdfdf 100% );
7
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#dfdfdf');
8
+ background-color: #ededed;
9
+ -moz-border-radius: 6px;
10
+ -webkit-border-radius: 6px;
11
+ border-radius: 6px;
12
+ border: 1px solid #dcdcdc;
13
+ display: inline-block;
14
+ color: #777777;
15
+ font-family: Verdana;
16
+ font-size: 12px;
17
+ font-weight: bold;
18
+ padding: 3px 15px;
19
+ text-decoration: none;
20
+ text-shadow: 1px 1px 0px #ffffff;
21
+ }
22
+ .button_css_grey_0:hover {
23
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#dfdfdf),color-stop(1,#ededed) );
24
+ background: -moz-linear-gradient( center top,#dfdfdf 5%,#ededed 100% );
25
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf',endColorstr='#ededed');
26
+ background-color: #dfdfdf;
27
+ }
28
+ .button_css_grey_0:active {
29
+ position: relative;
30
+ top: 1px;
31
+ }
32
+ /* This imageless css button was generated by CSSButtonGenerator.com */
33
+ .button_css_red_1 {
34
+ -moz-box-shadow: inset 0px 1px 0px 0px #f29c93;
35
+ -webkit-box-shadow: inset 0px 1px 0px 0px #f29c93;
36
+ box-shadow: inset 0px 1px 0px 0px #f29c93;
37
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#fe1a00),color-stop(1,#ce0100) );
38
+ background: -moz-linear-gradient( center top,#fe1a00 5%,#ce0100 100% );
39
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00',endColorstr='#ce0100');
40
+ background-color: #fe1a00;
41
+ -moz-border-radius: 6px;
42
+ -webkit-border-radius: 6px;
43
+ border-radius: 6px;
44
+ border: 1px solid #d83526;
45
+ display: inline-block;
46
+ color: #ffffff;
47
+ font-family: Verdana;
48
+ font-size: 12px;
49
+ font-weight: bold;
50
+ padding: 3px 15px;
51
+ text-decoration: none;
52
+ text-shadow: 1px 1px 0px #b23e35;
53
+ }
54
+ .button_css_red_1:hover {
55
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#ce0100),color-stop(1,#fe1a00) );
56
+ background: -moz-linear-gradient( center top,#ce0100 5%,#fe1a00 100% );
57
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100',endColorstr='#fe1a00');
58
+ background-color: #ce0100;
59
+ }
60
+ .button_css_red_1:active {
61
+ position: relative;
62
+ top: 1px;
63
+ }
64
+ /* This imageless css button was generated by CSSButtonGenerator.com */
65
+ .button_css_green_2 {
66
+ -moz-box-shadow: inset 0px 1px 0px 0px #caefab;
67
+ -webkit-box-shadow: inset 0px 1px 0px 0px #caefab;
68
+ box-shadow: inset 0px 1px 0px 0px #caefab;
69
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#77d42a),color-stop(1,#5cb811) );
70
+ background: -moz-linear-gradient( center top,#77d42a 5%,#5cb811 100% );
71
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#77d42a',endColorstr='#5cb811');
72
+ background-color: #77d42a;
73
+ -moz-border-radius: 6px;
74
+ -webkit-border-radius: 6px;
75
+ border-radius: 6px;
76
+ border: 1px solid #268a16;
77
+ display: inline-block;
78
+ color: #306108;
79
+ font-family: Verdana;
80
+ font-size: 12px;
81
+ font-weight: bold;
82
+ padding: 3px 15px;
83
+ text-decoration: none;
84
+ text-shadow: 1px 1px 0px #aade7c;
85
+ }
86
+ .button_css_green_2:hover {
87
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#5cb811),color-stop(1,#77d42a) );
88
+ background: -moz-linear-gradient( center top,#5cb811 5%,#77d42a 100% );
89
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5cb811',endColorstr='#77d42a');
90
+ background-color: #5cb811;
91
+ }
92
+ .button_css_green_2:active {
93
+ position: relative;
94
+ top: 1px;
95
+ }
96
+ /* This imageless css button was generated by CSSButtonGenerator.com */
97
+ .button_css_blue_3 {
98
+ -moz-box-shadow: inset 0px 1px 0px 0px #bbdaf7;
99
+ -webkit-box-shadow: inset 0px 1px 0px 0px #bbdaf7;
100
+ box-shadow: inset 0px 1px 0px 0px #bbdaf7;
101
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#79bbff),color-stop(1,#378de5) );
102
+ background: -moz-linear-gradient( center top,#79bbff 5%,#378de5 100% );
103
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff',endColorstr='#378de5');
104
+ background-color: #79bbff;
105
+ -moz-border-radius: 6px;
106
+ -webkit-border-radius: 6px;
107
+ border-radius: 6px;
108
+ border: 1px solid #84bbf3;
109
+ display: inline-block;
110
+ color: #ffffff;
111
+ font-family: Verdana;
112
+ font-size: 12px;
113
+ font-weight: bold;
114
+ padding: 3px 15px;
115
+ text-decoration: none;
116
+ text-shadow: 1px 1px 0px #528ecc;
117
+ }
118
+ .button_css_blue_3:hover {
119
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#378de5),color-stop(1,#79bbff) );
120
+ background: -moz-linear-gradient( center top,#378de5 5%,#79bbff 100% );
121
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#378de5',endColorstr='#79bbff');
122
+ background-color: #378de5;
123
+ }
124
+ .button_css_blue_3:active {
125
+ position: relative;
126
+ top: 1px;
127
+ }
128
+ /* This imageless css button was generated by CSSButtonGenerator.com */
129
+ .button_css_orange_4 {
130
+ -moz-box-shadow: inset 0px 1px 0px 0px #fce2c1;
131
+ -webkit-box-shadow: inset 0px 1px 0px 0px #fce2c1;
132
+ box-shadow: inset 0px 1px 0px 0px #fce2c1;
133
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#ffc477),color-stop(1,#fb9e25) );
134
+ background: -moz-linear-gradient( center top,#ffc477 5%,#fb9e25 100% );
135
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc477',endColorstr='#fb9e25');
136
+ background-color: #ffc477;
137
+ -moz-border-radius: 6px;
138
+ -webkit-border-radius: 6px;
139
+ border-radius: 6px;
140
+ border: 1px solid #eeb44f;
141
+ display: inline-block;
142
+ color: #ffffff;
143
+ font-family: Verdana;
144
+ font-size: 12px;
145
+ font-weight: bold;
146
+ padding: 3px 15px;
147
+ text-decoration: none;
148
+ text-shadow: 1px 1px 0px #cc9f52;
149
+ }
150
+ .button_css_orange_4:hover {
151
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#fb9e25),color-stop(1,#ffc477) );
152
+ background: -moz-linear-gradient( center top,#fb9e25 5%,#ffc477 100% );
153
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fb9e25',endColorstr='#ffc477');
154
+ background-color: #fb9e25;
155
+ }
156
+ .button_css_orange_4:active {
157
+ position: relative;
158
+ top: 1px;
159
+ }
160
+ /* This imageless css button was generated by CSSButtonGenerator.com */
161
+ .button_css_magenta_5 {
162
+ -moz-box-shadow: inset 0px 1px 0px 0px #e184f3;
163
+ -webkit-box-shadow: inset 0px 1px 0px 0px #e184f3;
164
+ box-shadow: inset 0px 1px 0px 0px #e184f3;
165
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#c123de),color-stop(1,#a20dbd) );
166
+ background: -moz-linear-gradient( center top,#c123de 5%,#a20dbd 100% );
167
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c123de',endColorstr='#a20dbd');
168
+ background-color: #c123de;
169
+ -moz-border-radius: 6px;
170
+ -webkit-border-radius: 6px;
171
+ border-radius: 6px;
172
+ border: 1px solid #a511c0;
173
+ display: inline-block;
174
+ color: #ffffff;
175
+ font-family: Verdana;
176
+ font-size: 12px;
177
+ font-weight: bold;
178
+ padding: 3px 15px;
179
+ text-decoration: none;
180
+ text-shadow: 1px 1px 0px #9b14b3;
181
+ }
182
+ .button_css_magenta_5:hover {
183
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#a20dbd),color-stop(1,#c123de) );
184
+ background: -moz-linear-gradient( center top,#a20dbd 5%,#c123de 100% );
185
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a20dbd',endColorstr='#c123de');
186
+ background-color: #a20dbd;
187
+ }
188
+ .button_css_magenta_5:active {
189
+ position: relative;
190
+ top: 1px;
191
+ }
192
+ /* This imageless css button was generated by CSSButtonGenerator.com */
193
+ .button_css_violet_6 {
194
+ -moz-box-shadow: inset 0px 1px 0px 0px #e6cafc;
195
+ -webkit-box-shadow: inset 0px 1px 0px 0px #e6cafc;
196
+ box-shadow: inset 0px 1px 0px 0px #e6cafc;
197
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#c579ff),color-stop(1,#a341ee) );
198
+ background: -moz-linear-gradient( center top,#c579ff 5%,#a341ee 100% );
199
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c579ff',endColorstr='#a341ee');
200
+ background-color: #c579ff;
201
+ -moz-border-radius: 6px;
202
+ -webkit-border-radius: 6px;
203
+ border-radius: 6px;
204
+ border: 1px solid #a946f5;
205
+ display: inline-block;
206
+ color: #ffffff;
207
+ font-family: Verdana;
208
+ font-size: 12px;
209
+ font-weight: bold;
210
+ padding: 3px 15px;
211
+ text-decoration: none;
212
+ text-shadow: 1px 1px 0px #8628ce;
213
+ }
214
+ .button_css_violet_6:hover {
215
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#a341ee),color-stop(1,#c579ff) );
216
+ background: -moz-linear-gradient( center top,#a341ee 5%,#c579ff 100% );
217
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a341ee',endColorstr='#c579ff');
218
+ background-color: #a341ee;
219
+ }
220
+ .button_css_violet_6:active {
221
+ position: relative;
222
+ top: 1px;
223
+ }
224
+ /* This imageless css button was generated by CSSButtonGenerator.com */
225
+ .button_css_green_8 {
226
+ -moz-box-shadow: inset 0px 1px 0px 0px #c1ed9c;
227
+ -webkit-box-shadow: inset 0px 1px 0px 0px #c1ed9c;
228
+ box-shadow: inset 0px 1px 0px 0px #c1ed9c;
229
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#9dce2c),color-stop(1,#8cb82b) );
230
+ background: -moz-linear-gradient( center top,#9dce2c 5%,#8cb82b 100% );
231
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dce2c',endColorstr='#8cb82b');
232
+ background-color: #9dce2c;
233
+ -moz-border-radius: 6px;
234
+ -webkit-border-radius: 6px;
235
+ border-radius: 6px;
236
+ border: 1px solid #83c41a;
237
+ display: inline-block;
238
+ color: #ffffff;
239
+ font-family: Verdana;
240
+ font-size: 12px;
241
+ font-weight: bold;
242
+ padding: 3px 15px;
243
+ text-decoration: none;
244
+ text-shadow: 1px 1px 0px #689324;
245
+ }
246
+ .button_css_green_8:hover {
247
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#8cb82b),color-stop(1,#9dce2c) );
248
+ background: -moz-linear-gradient( center top,#8cb82b 5%,#9dce2c 100% );
249
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cb82b',endColorstr='#9dce2c');
250
+ background-color: #8cb82b;
251
+ }
252
+ .button_css_green_8:active {
253
+ position: relative;
254
+ top: 1px;
255
+ }
256
+ /* This imageless css button was generated by CSSButtonGenerator.com */
257
+ .button_css_red_9 {
258
+ -moz-box-shadow: inset 0px 1px 0px 0px #f5978e;
259
+ -webkit-box-shadow: inset 0px 1px 0px 0px #f5978e;
260
+ box-shadow: inset 0px 1px 0px 0px #f5978e;
261
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#f24537),color-stop(1,#c62d1f) );
262
+ background: -moz-linear-gradient( center top,#f24537 5%,#c62d1f 100% );
263
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537',endColorstr='#c62d1f');
264
+ background-color: #f24537;
265
+ -moz-border-radius: 6px;
266
+ -webkit-border-radius: 6px;
267
+ border-radius: 6px;
268
+ border: 1px solid #d02718;
269
+ display: inline-block;
270
+ color: #ffffff;
271
+ font-family: Verdana;
272
+ font-size: 12px;
273
+ font-weight: bold;
274
+ padding: 3px 15px;
275
+ text-decoration: none;
276
+ text-shadow: 1px 1px 0px #810e05;
277
+ }
278
+ .button_css_red_9:hover {
279
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#c62d1f),color-stop(1,#f24537) );
280
+ background: -moz-linear-gradient( center top,#c62d1f 5%,#f24537 100% );
281
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c62d1f',endColorstr='#f24537');
282
+ background-color: #c62d1f;
283
+ }
284
+ .button_css_red_9:active {
285
+ position: relative;
286
+ top: 1px;
287
+ }
288
+ /* This imageless css button was generated by CSSButtonGenerator.com */
289
+ .button_css_orange_10 {
290
+ -moz-box-shadow: inset 0px 1px 0px 0px #fcf8f2;
291
+ -webkit-box-shadow: inset 0px 1px 0px 0px #fcf8f2;
292
+ box-shadow: inset 0px 1px 0px 0px #fcf8f2;
293
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#fae4bd),color-stop(1,#eac380) );
294
+ background: -moz-linear-gradient( center top,#fae4bd 5%,#eac380 100% );
295
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fae4bd',endColorstr='#eac380');
296
+ background-color: #fae4bd;
297
+ -moz-border-radius: 6px;
298
+ -webkit-border-radius: 6px;
299
+ border-radius: 6px;
300
+ border: 1px solid #eeb44f;
301
+ display: inline-block;
302
+ color: #ffffff;
303
+ font-family: Verdana;
304
+ font-size: 12px;
305
+ font-weight: bold;
306
+ padding: 3px 15px;
307
+ text-decoration: none;
308
+ text-shadow: 1px 1px 0px #cc9f52;
309
+ }
310
+ .button_css_orange_10:hover {
311
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#eac380),color-stop(1,#fae4bd) );
312
+ background: -moz-linear-gradient( center top,#eac380 5%,#fae4bd 100% );
313
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eac380',endColorstr='#fae4bd');
314
+ background-color: #eac380;
315
+ }
316
+ .button_css_orange_10:active {
317
+ position: relative;
318
+ top: 1px;
319
+ }
320
+ /* This imageless css button was generated by CSSButtonGenerator.com */
321
+ .button_css_blue_12 {
322
+ -moz-box-shadow: inset 0px 1px 0px 0px #cae3fc;
323
+ -webkit-box-shadow: inset 0px 1px 0px 0px #cae3fc;
324
+ box-shadow: inset 0px 1px 0px 0px #cae3fc;
325
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#79bbff),color-stop(1,#4197ee) );
326
+ background: -moz-linear-gradient( center top,#79bbff 5%,#4197ee 100% );
327
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff',endColorstr='#4197ee');
328
+ background-color: #79bbff;
329
+ -moz-border-radius: 6px;
330
+ -webkit-border-radius: 6px;
331
+ border-radius: 6px;
332
+ border: 1px solid #469df5;
333
+ display: inline-block;
334
+ color: #ffffff;
335
+ font-family: Verdana;
336
+ font-size: 12px;
337
+ font-weight: bold;
338
+ padding: 3px 15px;
339
+ text-decoration: none;
340
+ text-shadow: 1px 1px 0px #287ace;
341
+ }
342
+ .button_css_blue_12:hover {
343
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#4197ee),color-stop(1,#79bbff) );
344
+ background: -moz-linear-gradient( center top,#4197ee 5%,#79bbff 100% );
345
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4197ee',endColorstr='#79bbff');
346
+ background-color: #4197ee;
347
+ }
348
+ .button_css_blue_12:active {
349
+ position: relative;
350
+ top: 1px;
351
+ }
352
+ /* This imageless css button was generated by CSSButtonGenerator.com */
353
+ .button_css_grey_13 {
354
+ -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
355
+ -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
356
+ box-shadow: inset 0px 1px 0px 0px #ffffff;
357
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#f9f9f9),color-stop(1,#e9e9e9) );
358
+ background: -moz-linear-gradient( center top,#f9f9f9 5%,#e9e9e9 100% );
359
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9',endColorstr='#e9e9e9');
360
+ background-color: #f9f9f9;
361
+ -moz-border-radius: 6px;
362
+ -webkit-border-radius: 6px;
363
+ border-radius: 6px;
364
+ border: 1px solid #dcdcdc;
365
+ display: inline-block;
366
+ color: #666666;
367
+ font-family: Verdana;
368
+ font-size: 12px;
369
+ font-weight: bold;
370
+ padding: 3px 15px;
371
+ text-decoration: none;
372
+ text-shadow: 1px 1px 0px #ffffff;
373
+ }
374
+ .button_css_grey_13:hover {
375
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#e9e9e9),color-stop(1,#f9f9f9) );
376
+ background: -moz-linear-gradient( center top,#e9e9e9 5%,#f9f9f9 100% );
377
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9',endColorstr='#f9f9f9');
378
+ background-color: #e9e9e9;
379
+ }
380
+ .button_css_grey_13:active {
381
+ position: relative;
382
+ top: 1px;
383
+ }
384
+ /* This imageless css button was generated by CSSButtonGenerator.com */
385
+ .button_css_orange_14 {
386
+ -moz-box-shadow: inset 0px 1px 0px 0px #fed897;
387
+ -webkit-box-shadow: inset 0px 1px 0px 0px #fed897;
388
+ box-shadow: inset 0px 1px 0px 0px #fed897;
389
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#f6b33d),color-stop(1,#d29105) );
390
+ background: -moz-linear-gradient( center top,#f6b33d 5%,#d29105 100% );
391
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6b33d',endColorstr='#d29105');
392
+ background-color: #f6b33d;
393
+ -moz-border-radius: 6px;
394
+ -webkit-border-radius: 6px;
395
+ border-radius: 6px;
396
+ border: 1px solid #eda933;
397
+ display: inline-block;
398
+ color: #ffffff;
399
+ font-family: Verdana;
400
+ font-size: 12px;
401
+ font-weight: bold;
402
+ padding: 3px 15px;
403
+ text-decoration: none;
404
+ text-shadow: 1px 1px 0px #cd8a15;
405
+ }
406
+ .button_css_orange_14:hover {
407
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#d29105),color-stop(1,#f6b33d) );
408
+ background: -moz-linear-gradient( center top,#d29105 5%,#f6b33d 100% );
409
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d29105',endColorstr='#f6b33d');
410
+ background-color: #d29105;
411
+ }
412
+ .button_css_orange_14:active {
413
+ position: relative;
414
+ top: 1px;
415
+ }
416
+ /* This imageless css button was generated by CSSButtonGenerator.com */
417
+ .button_css_green_15 {
418
+ -moz-box-shadow: inset 0px 1px 0px 0px #d9fbbe;
419
+ -webkit-box-shadow: inset 0px 1px 0px 0px #d9fbbe;
420
+ box-shadow: inset 0px 1px 0px 0px #d9fbbe;
421
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#b8e356),color-stop(1,#a5cc52) );
422
+ background: -moz-linear-gradient( center top,#b8e356 5%,#a5cc52 100% );
423
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b8e356',endColorstr='#a5cc52');
424
+ background-color: #b8e356;
425
+ -moz-border-radius: 6px;
426
+ -webkit-border-radius: 6px;
427
+ border-radius: 6px;
428
+ border: 1px solid #83c41a;
429
+ display: inline-block;
430
+ color: #ffffff;
431
+ font-family: Verdana;
432
+ font-size: 12px;
433
+ font-weight: bold;
434
+ padding: 3px 15px;
435
+ text-decoration: none;
436
+ text-shadow: 1px 1px 0px #86ae47;
437
+ }
438
+ .button_css_green_15:hover {
439
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#a5cc52),color-stop(1,#b8e356) );
440
+ background: -moz-linear-gradient( center top,#a5cc52 5%,#b8e356 100% );
441
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a5cc52',endColorstr='#b8e356');
442
+ background-color: #a5cc52;
443
+ }
444
+ .button_css_green_15:active {
445
+ position: relative;
446
+ top: 1px;
447
+ }
448
+ /* This imageless css button was generated by CSSButtonGenerator.com */
449
+ .button_css_blue_16 {
450
+ -moz-box-shadow: inset 0px 1px 0px 0px #97c4fe;
451
+ -webkit-box-shadow: inset 0px 1px 0px 0px #97c4fe;
452
+ box-shadow: inset 0px 1px 0px 0px #97c4fe;
453
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#3d94f6),color-stop(1,#1e62d0) );
454
+ background: -moz-linear-gradient( center top,#3d94f6 5%,#1e62d0 100% );
455
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d94f6',endColorstr='#1e62d0');
456
+ background-color: #3d94f6;
457
+ -moz-border-radius: 6px;
458
+ -webkit-border-radius: 6px;
459
+ border-radius: 6px;
460
+ border: 1px solid #337fed;
461
+ display: inline-block;
462
+ color: #ffffff;
463
+ font-family: Verdana;
464
+ font-size: 12px;
465
+ font-weight: bold;
466
+ padding: 3px 15px;
467
+ text-decoration: none;
468
+ text-shadow: 1px 1px 0px #1570cd;
469
+ }
470
+ .button_css_blue_16:hover {
471
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#1e62d0),color-stop(1,#3d94f6) );
472
+ background: -moz-linear-gradient( center top,#1e62d0 5%,#3d94f6 100% );
473
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0',endColorstr='#3d94f6');
474
+ background-color: #1e62d0;
475
+ }
476
+ .button_css_blue_16:active {
477
+ position: relative;
478
+ top: 1px;
479
+ }
480
+ /* This imageless css button was generated by CSSButtonGenerator.com */
481
+ .button_css_orange_18 {
482
+ -moz-box-shadow: inset 0px 1px 0px 0px #fceaca;
483
+ -webkit-box-shadow: inset 0px 1px 0px 0px #fceaca;
484
+ box-shadow: inset 0px 1px 0px 0px #fceaca;
485
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#ffce79),color-stop(1,#eeaf41) );
486
+ background: -moz-linear-gradient( center top,#ffce79 5%,#eeaf41 100% );
487
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffce79',endColorstr='#eeaf41');
488
+ background-color: #ffce79;
489
+ -moz-border-radius: 6px;
490
+ -webkit-border-radius: 6px;
491
+ border-radius: 6px;
492
+ border: 1px solid #eeb44f;
493
+ display: inline-block;
494
+ color: #ffffff;
495
+ font-family: Verdana;
496
+ font-size: 12px;
497
+ font-weight: bold;
498
+ padding: 3px 15px;
499
+ text-decoration: none;
500
+ text-shadow: 1px 1px 0px #ce8e28;
501
+ }
502
+ .button_css_orange_18:hover {
503
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#eeaf41),color-stop(1,#ffce79) );
504
+ background: -moz-linear-gradient( center top,#eeaf41 5%,#ffce79 100% );
505
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeaf41',endColorstr='#ffce79');
506
+ background-color: #eeaf41;
507
+ }
508
+ .button_css_orange_18:active {
509
+ position: relative;
510
+ top: 1px;
511
+ }
512
+ /* This imageless css button was generated by CSSButtonGenerator.com */
513
+ .button_css_blue_20 {
514
+ -moz-box-shadow: inset 0px 1px 0px 0px #bee2f9;
515
+ -webkit-box-shadow: inset 0px 1px 0px 0px #bee2f9;
516
+ box-shadow: inset 0px 1px 0px 0px #bee2f9;
517
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#63b8ee),color-stop(1,#468ccf) );
518
+ background: -moz-linear-gradient( center top,#63b8ee 5%,#468ccf 100% );
519
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#63b8ee',endColorstr='#468ccf');
520
+ background-color: #63b8ee;
521
+ -moz-border-radius: 6px;
522
+ -webkit-border-radius: 6px;
523
+ border-radius: 6px;
524
+ border: 1px solid #3866a3;
525
+ display: inline-block;
526
+ color: #14396a;
527
+ font-family: Verdana;
528
+ font-size: 12px;
529
+ font-weight: bold;
530
+ padding: 3px 15px;
531
+ text-decoration: none;
532
+ text-shadow: 1px 1px 0px #7cacde;
533
+ }
534
+ .button_css_blue_20:hover {
535
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#468ccf),color-stop(1,#63b8ee) );
536
+ background: -moz-linear-gradient( center top,#468ccf 5%,#63b8ee 100% );
537
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#468ccf',endColorstr='#63b8ee');
538
+ background-color: #468ccf;
539
+ }
540
+ .button_css_blue_20:active {
541
+ position: relative;
542
+ top: 1px;
543
+ }
544
+ /* This imageless css button was generated by CSSButtonGenerator.com */
545
+ .button_css_orange_21 {
546
+ -moz-box-shadow: inset 0px 1px 0px 0px #fff6af;
547
+ -webkit-box-shadow: inset 0px 1px 0px 0px #fff6af;
548
+ box-shadow: inset 0px 1px 0px 0px #fff6af;
549
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#ffec64),color-stop(1,#ffab23) );
550
+ background: -moz-linear-gradient( center top,#ffec64 5%,#ffab23 100% );
551
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64',endColorstr='#ffab23');
552
+ background-color: #ffec64;
553
+ -moz-border-radius: 6px;
554
+ -webkit-border-radius: 6px;
555
+ border-radius: 6px;
556
+ border: 1px solid #ffaa22;
557
+ display: inline-block;
558
+ color: #333333;
559
+ font-family: Verdana;
560
+ font-size: 12px;
561
+ font-weight: bold;
562
+ padding: 3px 15px;
563
+ text-decoration: none;
564
+ text-shadow: 1px 1px 0px #ffee66;
565
+ }
566
+ .button_css_orange_21:hover {
567
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#ffab23),color-stop(1,#ffec64) );
568
+ background: -moz-linear-gradient( center top,#ffab23 5%,#ffec64 100% );
569
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23',endColorstr='#ffec64');
570
+ background-color: #ffab23;
571
+ }
572
+ .button_css_orange_21:active {
573
+ position: relative;
574
+ top: 1px;
575
+ }
576
+ /* This imageless css button was generated by CSSButtonGenerator.com */
577
+ .button_css_red_22 {
578
+ -moz-box-shadow: inset 0px 1px 0px 0px #fab3ad;
579
+ -webkit-box-shadow: inset 0px 1px 0px 0px #fab3ad;
580
+ box-shadow: inset 0px 1px 0px 0px #fab3ad;
581
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#fa665a),color-stop(1,#d34639) );
582
+ background: -moz-linear-gradient( center top,#fa665a 5%,#d34639 100% );
583
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fa665a',endColorstr='#d34639');
584
+ background-color: #fa665a;
585
+ -moz-border-radius: 6px;
586
+ -webkit-border-radius: 6px;
587
+ border-radius: 6px;
588
+ border: 1px solid #d83526;
589
+ display: inline-block;
590
+ color: #ffffff;
591
+ font-family: Verdana;
592
+ font-size: 12px;
593
+ font-weight: bold;
594
+ padding: 3px 15px;
595
+ text-decoration: none;
596
+ text-shadow: 1px 1px 0px #98231a;
597
+ }
598
+ .button_css_red_22:hover {
599
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#d34639),color-stop(1,#fa665a) );
600
+ background: -moz-linear-gradient( center top,#d34639 5%,#fa665a 100% );
601
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d34639',endColorstr='#fa665a');
602
+ background-color: #d34639;
603
+ }
604
+ .button_css_red_22:active {
605
+ position: relative;
606
+ top: 1px;
607
+ }
608
+ /* This imageless css button was generated by CSSButtonGenerator.com */
609
+ .button_css_red_24 {
610
+ -moz-box-shadow: inset 0px 1px 0px 0px #f7c5c0;
611
+ -webkit-box-shadow: inset 0px 1px 0px 0px #f7c5c0;
612
+ box-shadow: inset 0px 1px 0px 0px #f7c5c0;
613
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#fc8d83),color-stop(1,#e4685d) );
614
+ background: -moz-linear-gradient( center top,#fc8d83 5%,#e4685d 100% );
615
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fc8d83',endColorstr='#e4685d');
616
+ background-color: #fc8d83;
617
+ -moz-border-radius: 6px;
618
+ -webkit-border-radius: 6px;
619
+ border-radius: 6px;
620
+ border: 1px solid #d83526;
621
+ display: inline-block;
622
+ color: #ffffff;
623
+ font-family: Verdana;
624
+ font-size: 12px;
625
+ font-weight: bold;
626
+ padding: 3px 15px;
627
+ text-decoration: none;
628
+ text-shadow: 1px 1px 0px #b23e35;
629
+ }
630
+ .button_css_red_24:hover {
631
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#e4685d),color-stop(1,#fc8d83) );
632
+ background: -moz-linear-gradient( center top,#e4685d 5%,#fc8d83 100% );
633
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e4685d',endColorstr='#fc8d83');
634
+ background-color: #e4685d;
635
+ }
636
+ .button_css_red_24:active {
637
+ position: relative;
638
+ top: 1px;
639
+ }
640
+ /* This imageless css button was generated by CSSButtonGenerator.com */
641
+ .button_css_green_26 {
642
+ -moz-box-shadow: inset 0px 1px 0px 0px #a4e271;
643
+ -webkit-box-shadow: inset 0px 1px 0px 0px #a4e271;
644
+ box-shadow: inset 0px 1px 0px 0px #a4e271;
645
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#89c403),color-stop(1,#77a809) );
646
+ background: -moz-linear-gradient( center top,#89c403 5%,#77a809 100% );
647
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#89c403',endColorstr='#77a809');
648
+ background-color: #89c403;
649
+ -moz-border-radius: 6px;
650
+ -webkit-border-radius: 6px;
651
+ border-radius: 6px;
652
+ border: 1px solid #74b807;
653
+ display: inline-block;
654
+ color: #ffffff;
655
+ font-family: Verdana;
656
+ font-size: 12px;
657
+ font-weight: bold;
658
+ padding: 3px 15px;
659
+ text-decoration: none;
660
+ text-shadow: 1px 1px 0px #528009;
661
+ }
662
+ .button_css_green_26:hover {
663
+ background: -webkit-gradient( linear,left top,left bottom,color-stop(0.05,#77a809),color-stop(1,#89c403) );
664
+ background: -moz-linear-gradient( center top,#77a809 5%,#89c403 100% );
665
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#77a809',endColorstr='#89c403');
666
+ background-color: #77a809;
667
+ }
668
+ .button_css_green_26:active {
669
+ position: relative;
670
+ top: 1px;
671
+ }
672
+ /* This imageless css button was generated by CSSButtonGenerator.com */
@@ -0,0 +1,2 @@
1
+ require "cssbuttongenerator-css-rails/version"
2
+ require "cssbuttongenerator-css-rails/engine" if defined?(::Rails)
@@ -0,0 +1,6 @@
1
+ module CssbuttongeneratorCss
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module CssbuttongeneratorCss
2
+ module Rails
3
+ # Refer to Semantic Versioning 2.0.0 (http://semver.org).
4
+ VERSION = "1.0.0"
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cssbuttongenerator-css-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Doc Walker
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-07-29 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.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: Provides imageless css buttons for the Rails 3.1+ asset pipeline.
56
+ email:
57
+ - doc.walker@jameshardie.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - .gitignore
63
+ - Gemfile
64
+ - LICENSE.txt
65
+ - README.md
66
+ - Rakefile
67
+ - cssbuttongenerator-css-rails.gemspec
68
+ - lib/assets/stylesheets/cssbuttongenerator-css-rails.css
69
+ - lib/cssbuttongenerator-css-rails.rb
70
+ - lib/cssbuttongenerator-css-rails/engine.rb
71
+ - lib/cssbuttongenerator-css-rails/version.rb
72
+ homepage: https://github.com/jhx/gem-cssbuttongenerator-css-rails
73
+ licenses:
74
+ - MIT
75
+ metadata: {}
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ! '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubyforge_project:
92
+ rubygems_version: 2.0.3
93
+ signing_key:
94
+ specification_version: 4
95
+ summary: Provides imageless css buttons for the Rails 3.1+ asset pipeline.
96
+ test_files: []