font-awesome-rails 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,18 +1,30 @@
1
- # Font::Awesome::Rails
1
+ # font-awesome-rails
2
2
 
3
- I just discovered font-awesome:
3
+ This gem is a simple rebundling of the contents of font-awesome:
4
4
 
5
5
  http://fortawesome.github.com/Font-Awesome/
6
6
 
7
- And being the fan of the Rails asset pipeline that I am, I thought it appropriate to bundle into an asset gem. I'm over downloading and copying files into place for web projects... Why are we still banging rocks with sticks like that? a package I can version and declare a dependency on is so much better.
7
+ In a format suitable for use with the Rails asset pipeline.
8
8
 
9
+ add this to your gemfile:
9
10
 
10
- But nothing is actually written yet. The whole thing will take me about an hour to bundle up and release as a gem... I'm just declaring intent right now and will do it this weekend.
11
+ gem 'font-awesome-rails'
11
12
 
12
- While their page is all about less and bootstrap, I'm going to provide a couple of helpers to use it with SASS in the rails asset pipeline. I'll also come up with a few examples using it with my own ghbuttons-rails and semanticgs-rails gems as well.
13
+ and type
13
14
 
15
+ bundle install
14
16
 
15
- My first reason for wanting this is to have a properly versioned resource, but at this time, Font Awesome doesn't have any branches/tags that indicate any version number. To overcome this, my intent is to have a table that maps versions of this gem to the sha1 of Font Awesome's master that I create it from. I'm trying to have semantic versioning as well.
17
+ and now in your application.css you can include the css file like so:
16
18
 
17
- version FontAwesome's sha1 hash Other additions
18
- 0.1.0 378b2d7 Simplest packaging as a gem as possible
19
+ *= require 'font-awesome'
20
+
21
+
22
+
23
+ I'm not a fan of randomly grabbing files and adding them to my project - later on its always a pain when you need to figure out which version you're using and if there is a newer one... so I'm going to do that work for you. You get to use this gem with a well-defined version number, and I'll periodically update it with new stuff from the mainline project. You'll know what version you're using and what the differences are.
24
+
25
+ note on version 0.2.0 - FontAwesome now includes scss and sass files, but when I used them instead of the plain ol css file included in the project, it wanted some compass libraries. I'm a fan of compass, but including an entire tool like that in order to generate a @font_face tag seems a little much... I don't want this gem to require compass for such a trivial thing, so we are staying on the vanilla css file for now.
26
+
27
+
28
+ version FontAwesome's sha1 hash Other additions
29
+ 0.1.0 378b2d7 Simplest packaging as a gem as possible
30
+ 0.2.0 563a6f3 Repackaged after their new release
@@ -1,7 +1,7 @@
1
1
  module Font
2
2
  module Awesome
3
3
  module Rails
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
@@ -1,458 +1,239 @@
1
+ /* Font Awesome
2
+ the iconic font designed for use with Twitter Bootstrap
3
+ -------------------------------------------------------
4
+ The full suite of pictographic icons, examples, and documentation
5
+ can be found at: http://fortawesome.github.com/Font-Awesome/
6
+
7
+ License
8
+ -------------------------------------------------------
9
+ The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0:
10
+ http://creativecommons.org/licenses/by/3.0/ A mention of
11
+ 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable
12
+ source code is considered acceptable attribution (most common on the web).
13
+ If human readable source code is not available to the end user, a mention in
14
+ an 'About' or 'Credits' screen is considered acceptable (most common in desktop
15
+ or mobile software).
16
+
17
+ Contact
18
+ -------------------------------------------------------
19
+ Email: dave@davegandy.com
20
+ Twitter: http://twitter.com/fortaweso_me
21
+ Work: http://lemonwi.se co-founder
22
+
23
+ */
24
+
1
25
  @font-face {
2
- font-family: 'FontAwesome';
3
- src: url('/assets/fontawesome-webfont.eot');
4
- src: url('/assets/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('/assets/fontawesome-webfont.woff') format('woff'), url('/assets/fontawesome-webfont.ttf') format('truetype'), url('/assets/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'), url('/assets/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
5
- font-weight: normal;
6
- font-style: normal;
26
+ font-family: 'FontAwesome';
27
+ src: url('../font/fontawesome-webfont.eot');
28
+ src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'), url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
29
+ font-weight: normal;
30
+ font-style: normal;
31
+ }
32
+ /* sprites.less reset */
33
+ [class^="icon-"], [class*=" icon-"] {
34
+ display: inline;
35
+ width: auto;
36
+ height: auto;
37
+ line-height: inherit;
38
+ vertical-align: baseline;
39
+ background-image: none;
40
+ background-position: 0% 0%;
41
+ background-repeat: repeat;
7
42
  }
43
+ li[class^="icon-"], li[class*=" icon-"] {
44
+ display: block;
45
+ }
46
+ /* Font Awesome styles
47
+ ------------------------------------------------------- */
8
48
  [class^="icon-"]:before, [class*=" icon-"]:before {
9
- font-family: FontAwesome;
10
- font-weight: normal;
11
- font-style: normal;
12
- display: inline-block;
49
+ font-family: FontAwesome;
50
+ font-weight: normal;
51
+ font-style: normal;
52
+ display: inline-block;
53
+ text-decoration: inherit;
54
+ }
55
+ a [class^="icon-"], a [class*=" icon-"] {
56
+ display: inline-block;
57
+ text-decoration: inherit;
13
58
  }
59
+ /* makes the font 33% larger relative to the icon container */
14
60
  .icon-large:before {
15
- font-size: 1.3333333333333333em;
61
+ vertical-align: top;
62
+ font-size: 1.3333333333333333em;
16
63
  }
17
64
  .btn [class^="icon-"], .btn [class*=" icon-"] {
18
- line-height: .9em;
65
+ /* keeps button heights with and without icons the same */
66
+ line-height: .9em;
19
67
  }
20
68
  li [class^="icon-"], li [class*=" icon-"] {
21
- display: inline-block;
22
- width: 1.25em;
23
- text-align: center;
69
+ display: inline-block;
70
+ width: 1.25em;
71
+ text-align: center;
24
72
  }
25
73
  li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] {
26
- width: 1.875em;
74
+ /* 1.5 increased font size for icon-large * 1.25 width */
75
+ width: 1.875em;
27
76
  }
28
77
  li[class^="icon-"], li[class*=" icon-"] {
29
- margin-left: 0;
30
- list-style-type: none;
78
+ margin-left: 0;
79
+ list-style-type: none;
31
80
  }
32
81
  li[class^="icon-"]:before, li[class*=" icon-"]:before {
33
- text-indent: -2em;
34
- text-align: center;
82
+ text-indent: -2em;
83
+ text-align: center;
35
84
  }
36
85
  li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before {
37
- text-indent: -1.3333333333333333em;
38
- }
39
- .icon-glass:before {
40
- content: "\f000";
41
- }
42
- .icon-music:before {
43
- content: "\f001";
44
- }
45
- .icon-search:before {
46
- content: "\f002";
47
- }
48
- .icon-envelope:before {
49
- content: "\f003";
50
- }
51
- .icon-heart:before {
52
- content: "\f004";
53
- }
54
- .icon-star:before {
55
- content: "\f005";
56
- }
57
- .icon-star-empty:before {
58
- content: "\f006";
59
- }
60
- .icon-user:before {
61
- content: "\f007";
62
- }
63
- .icon-film:before {
64
- content: "\f008";
65
- }
66
- .icon-th-large:before {
67
- content: "\f009";
68
- }
69
- .icon-th:before {
70
- content: "\f00a";
71
- }
72
- .icon-th-list:before {
73
- content: "\f00b";
74
- }
75
- .icon-ok:before {
76
- content: "\f00c";
77
- }
78
- .icon-remove:before {
79
- content: "\f00d";
80
- }
81
- .icon-zoom-in:before {
82
- content: "\f00e";
83
- }
84
- .icon-zoom-out:before {
85
- content: "\f010";
86
- }
87
- .icon-off:before {
88
- content: "\f011";
89
- }
90
- .icon-signal:before {
91
- content: "\f012";
92
- }
93
- .icon-cog:before {
94
- content: "\f013";
95
- }
96
- .icon-trash:before {
97
- content: "\f014";
98
- }
99
- .icon-home:before {
100
- content: "\f015";
101
- }
102
- .icon-file:before {
103
- content: "\f016";
104
- }
105
- .icon-time:before {
106
- content: "\f017";
107
- }
108
- .icon-road:before {
109
- content: "\f018";
110
- }
111
- .icon-download-alt:before {
112
- content: "\f019";
113
- }
114
- .icon-download:before {
115
- content: "\f01a";
116
- }
117
- .icon-upload:before {
118
- content: "\f01b";
119
- }
120
- .icon-inbox:before {
121
- content: "\f01c";
122
- }
123
- .icon-play-circle:before {
124
- content: "\f01d";
125
- }
126
- .icon-repeat:before {
127
- content: "\f01e";
128
- }
129
- .icon-refresh:before {
130
- content: "\f021";
131
- }
132
- .icon-list-alt:before {
133
- content: "\f022";
134
- }
135
- .icon-lock:before {
136
- content: "\f023";
137
- }
138
- .icon-flag:before {
139
- content: "\f024";
140
- }
141
- .icon-headphones:before {
142
- content: "\f025";
143
- }
144
- .icon-volume-off:before {
145
- content: "\f026";
146
- }
147
- .icon-volume-down:before {
148
- content: "\f027";
149
- }
150
- .icon-volume-up:before {
151
- content: "\f028";
152
- }
153
- .icon-qrcode:before {
154
- content: "\f029";
155
- }
156
- .icon-barcode:before {
157
- content: "\f02a";
158
- }
159
- .icon-tag:before {
160
- content: "\f02b";
161
- }
162
- .icon-tags:before {
163
- content: "\f02c";
164
- }
165
- .icon-book:before {
166
- content: "\f02d";
167
- }
168
- .icon-bookmark:before {
169
- content: "\f02e";
170
- }
171
- .icon-print:before {
172
- content: "\f02f";
173
- }
174
- .icon-camera:before {
175
- content: "\f030";
176
- }
177
- .icon-font:before {
178
- content: "\f031";
179
- }
180
- .icon-bold:before {
181
- content: "\f032";
182
- }
183
- .icon-italic:before {
184
- content: "\f033";
185
- }
186
- .icon-text-height:before {
187
- content: "\f034";
188
- }
189
- .icon-text-width:before {
190
- content: "\f035";
191
- }
192
- .icon-align-left:before {
193
- content: "\f036";
194
- }
195
- .icon-align-center:before {
196
- content: "\f037";
197
- }
198
- .icon-align-right:before {
199
- content: "\f038";
200
- }
201
- .icon-align-justify:before {
202
- content: "\f039";
203
- }
204
- .icon-list:before {
205
- content: "\f03a";
206
- }
207
- .icon-indent-left:before {
208
- content: "\f03b";
209
- }
210
- .icon-indent-right:before {
211
- content: "\f03c";
212
- }
213
- .icon-facetime-video:before {
214
- content: "\f03d";
215
- }
216
- .icon-picture:before {
217
- content: "\f03e";
218
- }
219
- .icon-pencil:before {
220
- content: "\f040";
221
- }
222
- .icon-map-marker:before {
223
- content: "\f041";
224
- }
225
- .icon-adjust:before {
226
- content: "\f042";
227
- }
228
- .icon-tint:before {
229
- content: "\f043";
230
- }
231
- .icon-edit:before {
232
- content: "\f044";
233
- }
234
- .icon-share:before {
235
- content: "\f045";
236
- }
237
- .icon-check:before {
238
- content: "\f046";
239
- }
240
- .icon-move:before {
241
- content: "\f047";
242
- }
243
- .icon-step-backward:before {
244
- content: "\f048";
245
- }
246
- .icon-fast-backward:before {
247
- content: "\f049";
248
- }
249
- .icon-backward:before {
250
- content: "\f04a";
251
- }
252
- .icon-play:before {
253
- content: "\f04b";
254
- }
255
- .icon-pause:before {
256
- content: "\f04c";
257
- }
258
- .icon-stop:before {
259
- content: "\f04d";
260
- }
261
- .icon-forward:before {
262
- content: "\f04e";
263
- }
264
- .icon-fast-forward:before {
265
- content: "\f050";
266
- }
267
- .icon-step-forward:before {
268
- content: "\f051";
269
- }
270
- .icon-eject:before {
271
- content: "\f052";
272
- }
273
- .icon-chevron-left:before {
274
- content: "\f053";
275
- }
276
- .icon-chevron-right:before {
277
- content: "\f054";
278
- }
279
- .icon-plus-sign:before {
280
- content: "\f055";
281
- }
282
- .icon-minus-sign:before {
283
- content: "\f056";
284
- }
285
- .icon-remove-sign:before {
286
- content: "\f057";
287
- }
288
- .icon-ok-sign:before {
289
- content: "\f058";
290
- }
291
- .icon-question-sign:before {
292
- content: "\f059";
293
- }
294
- .icon-info-sign:before {
295
- content: "\f05a";
296
- }
297
- .icon-screenshot:before {
298
- content: "\f05b";
299
- }
300
- .icon-remove-circle:before {
301
- content: "\f05c";
302
- }
303
- .icon-ok-circle:before {
304
- content: "\f05d";
305
- }
306
- .icon-ban-circle:before {
307
- content: "\f05e";
308
- }
309
- .icon-arrow-left:before {
310
- content: "\f060";
311
- }
312
- .icon-arrow-right:before {
313
- content: "\f061";
314
- }
315
- .icon-arrow-up:before {
316
- content: "\f062";
317
- }
318
- .icon-arrow-down:before {
319
- content: "\f063";
320
- }
321
- .icon-share-alt:before {
322
- content: "\f064";
323
- }
324
- .icon-resize-full:before {
325
- content: "\f065";
326
- }
327
- .icon-resize-small:before {
328
- content: "\f066";
329
- }
330
- .icon-plus:before {
331
- content: "\f067";
332
- }
333
- .icon-minus:before {
334
- content: "\f068";
335
- }
336
- .icon-asterisk:before {
337
- content: "\f069";
338
- }
339
- .icon-exclamation-sign:before {
340
- content: "\f06a";
341
- }
342
- .icon-gift:before {
343
- content: "\f06b";
344
- }
345
- .icon-leaf:before {
346
- content: "\f06c";
347
- }
348
- .icon-fire:before {
349
- content: "\f06d";
350
- }
351
- .icon-eye-open:before {
352
- content: "\f06e";
353
- }
354
- .icon-eye-close:before {
355
- content: "\f070";
356
- }
357
- .icon-warning-sign:before {
358
- content: "\f071";
359
- }
360
- .icon-plane:before {
361
- content: "\f072";
362
- }
363
- .icon-calendar:before {
364
- content: "\f073";
365
- }
366
- .icon-random:before {
367
- content: "\f074";
368
- }
369
- .icon-comment:before {
370
- content: "\f075";
371
- }
372
- .icon-magnet:before {
373
- content: "\f076";
374
- }
375
- .icon-chevron-up:before {
376
- content: "\f077";
377
- }
378
- .icon-chevron-down:before {
379
- content: "\f078";
380
- }
381
- .icon-retweet:before {
382
- content: "\f079";
383
- }
384
- .icon-shopping-cart:before {
385
- content: "\f07a";
386
- }
387
- .icon-folder-close:before {
388
- content: "\f07b";
389
- }
390
- .icon-folder-open:before {
391
- content: "\f07c";
392
- }
393
- .icon-resize-vertical:before {
394
- content: "\f07d";
395
- }
396
- .icon-resize-horizontal:before {
397
- content: "\f07e";
398
- }
399
- .icon-bar-chart:before {
400
- content: "\f080";
401
- }
402
- .icon-twitter-sign:before {
403
- content: "\f081";
404
- }
405
- .icon-facebook-sign:before {
406
- content: "\f082";
407
- }
408
- .icon-camera-retro:before {
409
- content: "\f083";
410
- }
411
- .icon-key:before {
412
- content: "\f084";
413
- }
414
- .icon-cogs:before {
415
- content: "\f085";
416
- }
417
- .icon-comments:before {
418
- content: "\f086";
419
- }
420
- .icon-thumbs-up:before {
421
- content: "\f087";
422
- }
423
- .icon-thumbs-down:before {
424
- content: "\f088";
425
- }
426
- .icon-star-half:before {
427
- content: "\f089";
428
- }
429
- .icon-heart-empty:before {
430
- content: "\f08a";
431
- }
432
- .icon-signout:before {
433
- content: "\f08b";
434
- }
435
- .icon-linkedin-sign:before {
436
- content: "\f08c";
437
- }
438
- .icon-pushpin:before {
439
- content: "\f08d";
440
- }
441
- .icon-external-link:before {
442
- content: "\f08e";
443
- }
444
- .icon-signin:before {
445
- content: "\f090";
446
- }
447
- .icon-trophy:before {
448
- content: "\f091";
449
- }
450
- .icon-github-sign:before {
451
- content: "\f092";
452
- }
453
- .icon-upload-alt:before {
454
- content: "\f093";
455
- }
456
- .icon-lemon:before {
457
- content: "\f094";
458
- }
86
+ text-indent: -1.3333333333333333em;
87
+ }
88
+ /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
89
+ readers do not read off random characters that represent icons */
90
+ .icon-glass:before { content: "\f000"; }
91
+ .icon-music:before { content: "\f001"; }
92
+ .icon-search:before { content: "\f002"; }
93
+ .icon-envelope:before { content: "\f003"; }
94
+ .icon-heart:before { content: "\f004"; }
95
+ .icon-star:before { content: "\f005"; }
96
+ .icon-star-empty:before { content: "\f006"; }
97
+ .icon-user:before { content: "\f007"; }
98
+ .icon-film:before { content: "\f008"; }
99
+ .icon-th-large:before { content: "\f009"; }
100
+ .icon-th:before { content: "\f00a"; }
101
+ .icon-th-list:before { content: "\f00b"; }
102
+ .icon-ok:before { content: "\f00c"; }
103
+ .icon-remove:before { content: "\f00d"; }
104
+ .icon-zoom-in:before { content: "\f00e"; }
105
+
106
+ .icon-zoom-out:before { content: "\f010"; }
107
+ .icon-off:before { content: "\f011"; }
108
+ .icon-signal:before { content: "\f012"; }
109
+ .icon-cog:before { content: "\f013"; }
110
+ .icon-trash:before { content: "\f014"; }
111
+ .icon-home:before { content: "\f015"; }
112
+ .icon-file:before { content: "\f016"; }
113
+ .icon-time:before { content: "\f017"; }
114
+ .icon-road:before { content: "\f018"; }
115
+ .icon-download-alt:before { content: "\f019"; }
116
+ .icon-download:before { content: "\f01a"; }
117
+ .icon-upload:before { content: "\f01b"; }
118
+ .icon-inbox:before { content: "\f01c"; }
119
+ .icon-play-circle:before { content: "\f01d"; }
120
+ .icon-repeat:before { content: "\f01e"; }
121
+
122
+ /* \f020 is not a valid unicode character. all shifted one down */
123
+ .icon-refresh:before { content: "\f021"; }
124
+ .icon-list-alt:before { content: "\f022"; }
125
+ .icon-lock:before { content: "\f023"; }
126
+ .icon-flag:before { content: "\f024"; }
127
+ .icon-headphones:before { content: "\f025"; }
128
+ .icon-volume-off:before { content: "\f026"; }
129
+ .icon-volume-down:before { content: "\f027"; }
130
+ .icon-volume-up:before { content: "\f028"; }
131
+ .icon-qrcode:before { content: "\f029"; }
132
+ .icon-barcode:before { content: "\f02a"; }
133
+ .icon-tag:before { content: "\f02b"; }
134
+ .icon-tags:before { content: "\f02c"; }
135
+ .icon-book:before { content: "\f02d"; }
136
+ .icon-bookmark:before { content: "\f02e"; }
137
+ .icon-print:before { content: "\f02f"; }
138
+
139
+ .icon-camera:before { content: "\f030"; }
140
+ .icon-font:before { content: "\f031"; }
141
+ .icon-bold:before { content: "\f032"; }
142
+ .icon-italic:before { content: "\f033"; }
143
+ .icon-text-height:before { content: "\f034"; }
144
+ .icon-text-width:before { content: "\f035"; }
145
+ .icon-align-left:before { content: "\f036"; }
146
+ .icon-align-center:before { content: "\f037"; }
147
+ .icon-align-right:before { content: "\f038"; }
148
+ .icon-align-justify:before { content: "\f039"; }
149
+ .icon-list:before { content: "\f03a"; }
150
+ .icon-indent-left:before { content: "\f03b"; }
151
+ .icon-indent-right:before { content: "\f03c"; }
152
+ .icon-facetime-video:before { content: "\f03d"; }
153
+ .icon-picture:before { content: "\f03e"; }
154
+
155
+ .icon-pencil:before { content: "\f040"; }
156
+ .icon-map-marker:before { content: "\f041"; }
157
+ .icon-adjust:before { content: "\f042"; }
158
+ .icon-tint:before { content: "\f043"; }
159
+ .icon-edit:before { content: "\f044"; }
160
+ .icon-share:before { content: "\f045"; }
161
+ .icon-check:before { content: "\f046"; }
162
+ .icon-move:before { content: "\f047"; }
163
+ .icon-step-backward:before { content: "\f048"; }
164
+ .icon-fast-backward:before { content: "\f049"; }
165
+ .icon-backward:before { content: "\f04a"; }
166
+ .icon-play:before { content: "\f04b"; }
167
+ .icon-pause:before { content: "\f04c"; }
168
+ .icon-stop:before { content: "\f04d"; }
169
+ .icon-forward:before { content: "\f04e"; }
170
+
171
+ .icon-fast-forward:before { content: "\f050"; }
172
+ .icon-step-forward:before { content: "\f051"; }
173
+ .icon-eject:before { content: "\f052"; }
174
+ .icon-chevron-left:before { content: "\f053"; }
175
+ .icon-chevron-right:before { content: "\f054"; }
176
+ .icon-plus-sign:before { content: "\f055"; }
177
+ .icon-minus-sign:before { content: "\f056"; }
178
+ .icon-remove-sign:before { content: "\f057"; }
179
+ .icon-ok-sign:before { content: "\f058"; }
180
+ .icon-question-sign:before { content: "\f059"; }
181
+ .icon-info-sign:before { content: "\f05a"; }
182
+ .icon-screenshot:before { content: "\f05b"; }
183
+ .icon-remove-circle:before { content: "\f05c"; }
184
+ .icon-ok-circle:before { content: "\f05d"; }
185
+ .icon-ban-circle:before { content: "\f05e"; }
186
+
187
+ .icon-arrow-left:before { content: "\f060"; }
188
+ .icon-arrow-right:before { content: "\f061"; }
189
+ .icon-arrow-up:before { content: "\f062"; }
190
+ .icon-arrow-down:before { content: "\f063"; }
191
+ .icon-share-alt:before { content: "\f064"; }
192
+ .icon-resize-full:before { content: "\f065"; }
193
+ .icon-resize-small:before { content: "\f066"; }
194
+ .icon-plus:before { content: "\f067"; }
195
+ .icon-minus:before { content: "\f068"; }
196
+ .icon-asterisk:before { content: "\f069"; }
197
+ .icon-exclamation-sign:before { content: "\f06a"; }
198
+ .icon-gift:before { content: "\f06b"; }
199
+ .icon-leaf:before { content: "\f06c"; }
200
+ .icon-fire:before { content: "\f06d"; }
201
+ .icon-eye-open:before { content: "\f06e"; }
202
+
203
+ .icon-eye-close:before { content: "\f070"; }
204
+ .icon-warning-sign:before { content: "\f071"; }
205
+ .icon-plane:before { content: "\f072"; }
206
+ .icon-calendar:before { content: "\f073"; }
207
+ .icon-random:before { content: "\f074"; }
208
+ .icon-comment:before { content: "\f075"; }
209
+ .icon-magnet:before { content: "\f076"; }
210
+ .icon-chevron-up:before { content: "\f077"; }
211
+ .icon-chevron-down:before { content: "\f078"; }
212
+ .icon-retweet:before { content: "\f079"; }
213
+ .icon-shopping-cart:before { content: "\f07a"; }
214
+ .icon-folder-close:before { content: "\f07b"; }
215
+ .icon-folder-open:before { content: "\f07c"; }
216
+ .icon-resize-vertical:before { content: "\f07d"; }
217
+ .icon-resize-horizontal:before { content: "\f07e"; }
218
+
219
+ .icon-bar-chart:before { content: "\f080"; }
220
+ .icon-twitter-sign:before { content: "\f081"; }
221
+ .icon-facebook-sign:before { content: "\f082"; }
222
+ .icon-camera-retro:before { content: "\f083"; }
223
+ .icon-key:before { content: "\f084"; }
224
+ .icon-cogs:before { content: "\f085"; }
225
+ .icon-comments:before { content: "\f086"; }
226
+ .icon-thumbs-up:before { content: "\f087"; }
227
+ .icon-thumbs-down:before { content: "\f088"; }
228
+ .icon-star-half:before { content: "\f089"; }
229
+ .icon-heart-empty:before { content: "\f08a"; }
230
+ .icon-signout:before { content: "\f08b"; }
231
+ .icon-linkedin-sign:before { content: "\f08c"; }
232
+ .icon-pushpin:before { content: "\f08d"; }
233
+ .icon-external-link:before { content: "\f08e"; }
234
+
235
+ .icon-signin:before { content: "\f090"; }
236
+ .icon-trophy:before { content: "\f091"; }
237
+ .icon-github-sign:before { content: "\f092"; }
238
+ .icon-upload-alt:before { content: "\f093"; }
239
+ .icon-lemon:before { content: "\f094"; }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font-awesome-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - bokmann
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-08 00:00:00 Z
18
+ date: 2012-03-09 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  type: :runtime
@@ -69,7 +69,6 @@ files:
69
69
  - vendor/assets/fonts/fontawesome-webfont.svgz
70
70
  - vendor/assets/fonts/fontawesome-webfont.ttf
71
71
  - vendor/assets/fonts/fontawesome-webfont.woff
72
- - vendor/assets/less/font-awesome.less
73
72
  - vendor/assets/stylesheets/font-awesome.css
74
73
  homepage: https://github.com/bokmann/font-awesome-rails
75
74
  licenses: []
@@ -1,217 +0,0 @@
1
- @font-face {
2
- font-family: 'FontAwesome';
3
- src: url('../font/fontawesome-webfont.eot');
4
- src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
5
- url('../font/fontawesome-webfont.woff') format('woff'),
6
- url('../font/fontawesome-webfont.ttf') format('truetype'),
7
- url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'),
8
- url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
9
- font-weight: normal;
10
- font-style: normal;
11
- }
12
-
13
- // ICONS
14
- // Glyphs and icons for buttons, nav, and more
15
- // -------------------------------------------
16
- // Font Awesome courtesy of Dave Gandy at fortaweso.me/font-awesome
17
-
18
- [class^="icon-"]:before,
19
- [class*=" icon-"]:before {
20
- font-family: FontAwesome;
21
- font-weight: normal;
22
- font-style: normal;
23
- display: inline-block;
24
- }
25
-
26
- // makes the font 33% larger relative to the icon container
27
- .icon-large:before {
28
- // display: inline-block;
29
- font-size: 4/3em;
30
- }
31
-
32
- .btn {
33
- [class^="icon-"],
34
- [class*=" icon-"] {
35
- line-height: .9em; // keeps button heights with and without icons the same
36
- }
37
- }
38
-
39
- li {
40
- [class^="icon-"],
41
- [class*=" icon-"] {
42
- display: inline-block;
43
- width: 1.25em;
44
- text-align: center;
45
- }
46
- .icon-large[class^="icon-"],
47
- .icon-large[class*=" icon-"] {
48
- width: 1.5*1.25em; // 1.5 increased font size for icon-large * 1.25 width
49
- }
50
- }
51
-
52
- li[class^="icon-"],
53
- li[class*=" icon-"] {
54
- margin-left: 0;
55
- list-style-type: none;
56
-
57
- &:before {
58
- text-indent: -2em;
59
- text-align: center;
60
- }
61
- &.icon-large:before {
62
- text-indent: -4/3em;
63
- }
64
- }
65
-
66
- // Uses Unicode Private Use Area (PUA) to ensure screen readers do not read off
67
- // random characters that represent icons
68
- .icon-glass:before { content: "\f000"; }
69
- .icon-music:before { content: "\f001"; }
70
- .icon-search:before { content: "\f002"; }
71
- .icon-envelope:before { content: "\f003"; }
72
- .icon-heart:before { content: "\f004"; }
73
- .icon-star:before { content: "\f005"; }
74
- .icon-star-empty:before { content: "\f006"; }
75
- .icon-user:before { content: "\f007"; }
76
- .icon-film:before { content: "\f008"; }
77
- .icon-th-large:before { content: "\f009"; }
78
- .icon-th:before { content: "\f00a"; }
79
- .icon-th-list:before { content: "\f00b"; }
80
- .icon-ok:before { content: "\f00c"; }
81
- .icon-remove:before { content: "\f00d"; }
82
- .icon-zoom-in:before { content: "\f00e"; }
83
-
84
- .icon-zoom-out:before { content: "\f010"; }
85
- .icon-off:before { content: "\f011"; }
86
- .icon-signal:before { content: "\f012"; }
87
- .icon-cog:before { content: "\f013"; }
88
- .icon-trash:before { content: "\f014"; }
89
- .icon-home:before { content: "\f015"; }
90
- .icon-file:before { content: "\f016"; }
91
- .icon-time:before { content: "\f017"; }
92
- .icon-road:before { content: "\f018"; }
93
- .icon-download-alt:before { content: "\f019"; }
94
- .icon-download:before { content: "\f01a"; }
95
- .icon-upload:before { content: "\f01b"; }
96
- .icon-inbox:before { content: "\f01c"; }
97
- .icon-play-circle:before { content: "\f01d"; }
98
- .icon-repeat:before { content: "\f01e"; }
99
-
100
- // \f020 is not a valid unicode character. all shifted one down
101
- .icon-refresh:before { content: "\f021"; }
102
- .icon-list-alt:before { content: "\f022"; }
103
- .icon-lock:before { content: "\f023"; }
104
- .icon-flag:before { content: "\f024"; }
105
- .icon-headphones:before { content: "\f025"; }
106
- .icon-volume-off:before { content: "\f026"; }
107
- .icon-volume-down:before { content: "\f027"; }
108
- .icon-volume-up:before { content: "\f028"; }
109
- .icon-qrcode:before { content: "\f029"; }
110
- .icon-barcode:before { content: "\f02a"; }
111
- .icon-tag:before { content: "\f02b"; }
112
- .icon-tags:before { content: "\f02c"; }
113
- .icon-book:before { content: "\f02d"; }
114
- .icon-bookmark:before { content: "\f02e"; }
115
- .icon-print:before { content: "\f02f"; }
116
-
117
- .icon-camera:before { content: "\f030"; }
118
- .icon-font:before { content: "\f031"; }
119
- .icon-bold:before { content: "\f032"; }
120
- .icon-italic:before { content: "\f033"; }
121
- .icon-text-height:before { content: "\f034"; }
122
- .icon-text-width:before { content: "\f035"; }
123
- .icon-align-left:before { content: "\f036"; }
124
- .icon-align-center:before { content: "\f037"; }
125
- .icon-align-right:before { content: "\f038"; }
126
- .icon-align-justify:before { content: "\f039"; }
127
- .icon-list:before { content: "\f03a"; }
128
- .icon-indent-left:before { content: "\f03b"; }
129
- .icon-indent-right:before { content: "\f03c"; }
130
- .icon-facetime-video:before { content: "\f03d"; }
131
- .icon-picture:before { content: "\f03e"; }
132
-
133
- .icon-pencil:before { content: "\f040"; }
134
- .icon-map-marker:before { content: "\f041"; }
135
- .icon-adjust:before { content: "\f042"; }
136
- .icon-tint:before { content: "\f043"; }
137
- .icon-edit:before { content: "\f044"; }
138
- .icon-share:before { content: "\f045"; }
139
- .icon-check:before { content: "\f046"; }
140
- .icon-move:before { content: "\f047"; }
141
- .icon-step-backward:before { content: "\f048"; }
142
- .icon-fast-backward:before { content: "\f049"; }
143
- .icon-backward:before { content: "\f04a"; }
144
- .icon-play:before { content: "\f04b"; }
145
- .icon-pause:before { content: "\f04c"; }
146
- .icon-stop:before { content: "\f04d"; }
147
- .icon-forward:before { content: "\f04e"; }
148
-
149
- .icon-fast-forward:before { content: "\f050"; }
150
- .icon-step-forward:before { content: "\f051"; }
151
- .icon-eject:before { content: "\f052"; }
152
- .icon-chevron-left:before { content: "\f053"; }
153
- .icon-chevron-right:before { content: "\f054"; }
154
- .icon-plus-sign:before { content: "\f055"; }
155
- .icon-minus-sign:before { content: "\f056"; }
156
- .icon-remove-sign:before { content: "\f057"; }
157
- .icon-ok-sign:before { content: "\f058"; }
158
- .icon-question-sign:before { content: "\f059"; }
159
- .icon-info-sign:before { content: "\f05a"; }
160
- .icon-screenshot:before { content: "\f05b"; }
161
- .icon-remove-circle:before { content: "\f05c"; }
162
- .icon-ok-circle:before { content: "\f05d"; }
163
- .icon-ban-circle:before { content: "\f05e"; }
164
-
165
- .icon-arrow-left:before { content: "\f060"; }
166
- .icon-arrow-right:before { content: "\f061"; }
167
- .icon-arrow-up:before { content: "\f062"; }
168
- .icon-arrow-down:before { content: "\f063"; }
169
- .icon-share-alt:before { content: "\f064"; }
170
- .icon-resize-full:before { content: "\f065"; }
171
- .icon-resize-small:before { content: "\f066"; }
172
- .icon-plus:before { content: "\f067"; }
173
- .icon-minus:before { content: "\f068"; }
174
- .icon-asterisk:before { content: "\f069"; }
175
- .icon-exclamation-sign:before { content: "\f06a"; }
176
- .icon-gift:before { content: "\f06b"; }
177
- .icon-leaf:before { content: "\f06c"; }
178
- .icon-fire:before { content: "\f06d"; }
179
- .icon-eye-open:before { content: "\f06e"; }
180
-
181
- .icon-eye-close:before { content: "\f070"; }
182
- .icon-warning-sign:before { content: "\f071"; }
183
- .icon-plane:before { content: "\f072"; }
184
- .icon-calendar:before { content: "\f073"; }
185
- .icon-random:before { content: "\f074"; }
186
- .icon-comment:before { content: "\f075"; }
187
- .icon-magnet:before { content: "\f076"; }
188
- .icon-chevron-up:before { content: "\f077"; }
189
- .icon-chevron-down:before { content: "\f078"; }
190
- .icon-retweet:before { content: "\f079"; }
191
- .icon-shopping-cart:before { content: "\f07a"; }
192
- .icon-folder-close:before { content: "\f07b"; }
193
- .icon-folder-open:before { content: "\f07c"; }
194
- .icon-resize-vertical:before { content: "\f07d"; }
195
- .icon-resize-horizontal:before { content: "\f07e"; }
196
-
197
- .icon-bar-chart:before { content: "\f080"; }
198
- .icon-twitter-sign:before { content: "\f081"; }
199
- .icon-facebook-sign:before { content: "\f082"; }
200
- .icon-camera-retro:before { content: "\f083"; }
201
- .icon-key:before { content: "\f084"; }
202
- .icon-cogs:before { content: "\f085"; }
203
- .icon-comments:before { content: "\f086"; }
204
- .icon-thumbs-up:before { content: "\f087"; }
205
- .icon-thumbs-down:before { content: "\f088"; }
206
- .icon-star-half:before { content: "\f089"; }
207
- .icon-heart-empty:before { content: "\f08a"; }
208
- .icon-signout:before { content: "\f08b"; }
209
- .icon-linkedin-sign:before { content: "\f08c"; }
210
- .icon-pushpin:before { content: "\f08d"; }
211
- .icon-external-link:before { content: "\f08e"; }
212
-
213
- .icon-signin:before { content: "\f090"; }
214
- .icon-trophy:before { content: "\f091"; }
215
- .icon-github-sign:before { content: "\f092"; }
216
- .icon-upload-alt:before { content: "\f093"; }
217
- .icon-lemon:before { content: "\f094"; }