less-rails-fontawesome 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/lib/less-rails-fontawesome/version.rb +1 -1
- data/vendor/assets/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/stylesheets/fontawesome.less +209 -55
- metadata +20 -13
data/README.md
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/* Font Awesome
|
1
|
+
/* Font Awesome 3.0
|
2
2
|
the iconic font designed for use with Twitter Bootstrap
|
3
3
|
-------------------------------------------------------
|
4
4
|
The full suite of pictographic icons, examples, and documentation
|
@@ -6,13 +6,12 @@
|
|
6
6
|
|
7
7
|
License
|
8
8
|
-------------------------------------------------------
|
9
|
-
The Font Awesome
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
or mobile software).
|
9
|
+
• The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL
|
10
|
+
• Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
|
11
|
+
http://opensource.org/licenses/mit-license.html
|
12
|
+
• The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/
|
13
|
+
• Attribution is no longer required in Font Awesome 3.0, but much appreciated:
|
14
|
+
"Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome"
|
16
15
|
|
17
16
|
Contact
|
18
17
|
-------------------------------------------------------
|
@@ -22,62 +21,70 @@
|
|
22
21
|
|
23
22
|
*/
|
24
23
|
|
24
|
+
@FontAwesomePath: "/assets";
|
25
|
+
@borderColor: #eee;
|
26
|
+
@iconMuted: #eee;
|
27
|
+
.border-radius(@radius) { -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; }
|
28
|
+
|
25
29
|
@font-face {
|
26
30
|
font-family: 'FontAwesome';
|
27
|
-
src: url('/
|
28
|
-
src: url('/
|
29
|
-
url('/
|
30
|
-
url('/
|
31
|
-
url('/assets/fontawesome-webfont.svg#FontAwesome') format('svg');
|
31
|
+
src: url('@{FontAwesomePath}/fontawesome-webfont.eot');
|
32
|
+
src: url('@{FontAwesomePath}/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
|
33
|
+
url('@{FontAwesomePath}/fontawesome-webfont.woff') format('woff'),
|
34
|
+
url('@{FontAwesomePath}/fontawesome-webfont.ttf') format('truetype');
|
32
35
|
font-weight: normal;
|
33
36
|
font-style: normal;
|
34
37
|
}
|
35
38
|
|
36
|
-
/* sprites.less reset */
|
37
|
-
[class^="icon-"],
|
38
|
-
[class*=" icon-"] {
|
39
|
-
display: inline;
|
40
|
-
width: auto;
|
41
|
-
height: auto;
|
42
|
-
line-height: inherit;
|
43
|
-
vertical-align: baseline;
|
44
|
-
background-image: none;
|
45
|
-
background-position: 0% 0%;
|
46
|
-
background-repeat: repeat;
|
47
|
-
}
|
48
|
-
li[class^="icon-"],
|
49
|
-
li[class*=" icon-"] {
|
50
|
-
display: block;
|
51
|
-
}
|
52
|
-
|
53
39
|
/* Font Awesome styles
|
54
40
|
------------------------------------------------------- */
|
55
|
-
|
56
|
-
[class
|
41
|
+
/* includes sprites.less reset */
|
42
|
+
[class^="icon-"],
|
43
|
+
[class*=" icon-"] {
|
57
44
|
font-family: FontAwesome;
|
58
45
|
font-weight: normal;
|
59
46
|
font-style: normal;
|
60
|
-
display: inline-block;
|
61
47
|
text-decoration: inherit;
|
48
|
+
display: inline;
|
49
|
+
width: auto;
|
50
|
+
height: auto;
|
51
|
+
line-height: normal;
|
52
|
+
vertical-align: baseline;
|
53
|
+
background-image: none !important;
|
54
|
+
background-position: 0% 0%;
|
55
|
+
background-repeat: repeat;
|
62
56
|
}
|
63
57
|
|
64
|
-
|
65
|
-
|
66
|
-
display: inline-block;
|
58
|
+
[class^="icon-"]:before,
|
59
|
+
[class*=" icon-"]:before {
|
67
60
|
text-decoration: inherit;
|
61
|
+
display: inline-block;
|
62
|
+
speak: none;
|
63
|
+
}
|
64
|
+
|
65
|
+
/* makes sure icons active on rollover in links */
|
66
|
+
a {
|
67
|
+
[class^="icon-"],
|
68
|
+
[class*=" icon-"] {
|
69
|
+
display: inline-block;
|
70
|
+
}
|
68
71
|
}
|
69
72
|
|
70
73
|
/* makes the font 33% larger relative to the icon container */
|
71
74
|
.icon-large:before {
|
72
|
-
vertical-align:
|
75
|
+
vertical-align: -10%;
|
73
76
|
font-size: 4/3em;
|
74
77
|
}
|
75
78
|
|
76
|
-
.btn, .nav
|
79
|
+
.btn, .nav {
|
77
80
|
[class^="icon-"],
|
78
81
|
[class*=" icon-"] {
|
79
|
-
|
80
|
-
|
82
|
+
display: inline;
|
83
|
+
/* keeps button heights with and without icons the same */
|
84
|
+
line-height: .6em;
|
85
|
+
&.icon-spin {
|
86
|
+
display: inline-block;
|
87
|
+
}
|
81
88
|
}
|
82
89
|
}
|
83
90
|
|
@@ -87,33 +94,139 @@ li {
|
|
87
94
|
display: inline-block;
|
88
95
|
width: 1.25em;
|
89
96
|
text-align: center;
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
width: 1.5*1.25em;
|
97
|
+
&.icon-large {
|
98
|
+
/* increased font size for icon-large */
|
99
|
+
width: 1.25*1.25em;
|
100
|
+
}
|
95
101
|
}
|
96
102
|
}
|
97
103
|
|
98
104
|
ul.icons {
|
99
105
|
list-style-type: none;
|
100
|
-
|
101
|
-
text-indent: -.8em;
|
106
|
+
text-indent: -.75em;
|
102
107
|
|
103
108
|
li {
|
104
109
|
[class^="icon-"],
|
105
110
|
[class*=" icon-"] {
|
106
|
-
width: .
|
111
|
+
width: .75em;
|
107
112
|
}
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
.icon-muted {
|
117
|
+
color: @iconMuted;
|
118
|
+
}
|
119
|
+
|
120
|
+
// Icon Borders
|
121
|
+
// -------------------------
|
122
|
+
|
123
|
+
.icon-border {
|
124
|
+
border: solid 1px @borderColor;
|
125
|
+
padding: .2em .25em .15em;
|
126
|
+
.border-radius(3px);
|
127
|
+
}
|
128
|
+
|
129
|
+
// Icon Sizes
|
130
|
+
// -------------------------
|
131
|
+
|
132
|
+
.icon-2x {
|
133
|
+
font-size: 2em;
|
134
|
+
&.icon-border {
|
135
|
+
border-width: 2px;
|
136
|
+
.border-radius(4px);
|
137
|
+
}
|
138
|
+
}
|
139
|
+
.icon-3x {
|
140
|
+
font-size: 3em;
|
141
|
+
&.icon-border {
|
142
|
+
border-width: 3px;
|
143
|
+
.border-radius(5px);
|
144
|
+
}
|
145
|
+
}
|
146
|
+
.icon-4x {
|
147
|
+
font-size: 4em;
|
148
|
+
&.icon-border {
|
149
|
+
border-width: 4px;
|
150
|
+
.border-radius(6px);
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
// Floats
|
155
|
+
// -------------------------
|
156
|
+
|
157
|
+
// Quick floats
|
158
|
+
.pull-right { float: right; }
|
159
|
+
.pull-left { float: left; }
|
160
|
+
|
161
|
+
[class^="icon-"],
|
162
|
+
[class*=" icon-"] {
|
163
|
+
&.pull-left {
|
164
|
+
margin-right: .35em;
|
165
|
+
}
|
166
|
+
&.pull-right {
|
167
|
+
margin-left: .35em;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
.btn {
|
172
|
+
[class^="icon-"],
|
173
|
+
[class*=" icon-"] {
|
174
|
+
&.pull-left, &.pull-right {
|
175
|
+
&.icon-2x { margin-top: .35em; }
|
176
|
+
}
|
177
|
+
&.icon-spin.icon-large { height: .75em; }
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
.btn.btn-small {
|
182
|
+
[class^="icon-"],
|
183
|
+
[class*=" icon-"] {
|
184
|
+
&.pull-left, &.pull-right {
|
185
|
+
&.icon-2x { margin-top: .45em; }
|
113
186
|
}
|
114
187
|
}
|
115
188
|
}
|
116
189
|
|
190
|
+
.btn.btn-large {
|
191
|
+
[class^="icon-"],
|
192
|
+
[class*=" icon-"] {
|
193
|
+
&.pull-left, &.pull-right {
|
194
|
+
&.icon-2x { margin-top: .2em; }
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
|
200
|
+
.icon-spin {
|
201
|
+
display: inline-block;
|
202
|
+
-moz-animation: spin 2s infinite linear;
|
203
|
+
-o-animation: spin 2s infinite linear;
|
204
|
+
-webkit-animation: spin 2s infinite linear;
|
205
|
+
animation: spin 2s infinite linear;
|
206
|
+
}
|
207
|
+
|
208
|
+
@-moz-keyframes spin {
|
209
|
+
0% { -moz-transform: rotate(0deg); }
|
210
|
+
100% { -moz-transform: rotate(359deg); }
|
211
|
+
}
|
212
|
+
@-webkit-keyframes spin {
|
213
|
+
0% { -webkit-transform: rotate(0deg); }
|
214
|
+
100% { -webkit-transform: rotate(359deg); }
|
215
|
+
}
|
216
|
+
@-o-keyframes spin {
|
217
|
+
0% { -o-transform: rotate(0deg); }
|
218
|
+
100% { -o-transform: rotate(359deg); }
|
219
|
+
}
|
220
|
+
@-ms-keyframes spin {
|
221
|
+
0% { -ms-transform: rotate(0deg); }
|
222
|
+
100% { -ms-transform: rotate(359deg); }
|
223
|
+
}
|
224
|
+
@keyframes spin {
|
225
|
+
0% { transform: rotate(0deg); }
|
226
|
+
100% { transform: rotate(359deg); }
|
227
|
+
}
|
228
|
+
|
229
|
+
|
117
230
|
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
118
231
|
readers do not read off random characters that represent icons */
|
119
232
|
.icon-glass:before { content: "\f000"; }
|
@@ -148,7 +261,7 @@ ul.icons {
|
|
148
261
|
.icon-play-circle:before { content: "\f01d"; }
|
149
262
|
.icon-repeat:before { content: "\f01e"; }
|
150
263
|
|
151
|
-
/* \f020
|
264
|
+
/* \f020 doesn't work in Safari. all shifted one down */
|
152
265
|
.icon-refresh:before { content: "\f021"; }
|
153
266
|
.icon-list-alt:before { content: "\f022"; }
|
154
267
|
.icon-lock:before { content: "\f023"; }
|
@@ -340,5 +453,46 @@ ul.icons {
|
|
340
453
|
.icon-sitemap:before { content: "\f0e8"; }
|
341
454
|
.icon-umbrella:before { content: "\f0e9"; }
|
342
455
|
.icon-paste:before { content: "\f0ea"; }
|
456
|
+
.icon-lightbulb:before { content: "\f0eb"; }
|
457
|
+
.icon-exchange:before { content: "\f0ec"; }
|
458
|
+
.icon-cloud-download:before { content: "\f0ed"; }
|
459
|
+
.icon-cloud-upload:before { content: "\f0ee"; }
|
460
|
+
|
461
|
+
.icon-user-md:before { content: "\f0f0"; }
|
462
|
+
.icon-stethoscope:before { content: "\f0f1"; }
|
463
|
+
.icon-suitcase:before { content: "\f0f2"; }
|
464
|
+
.icon-bell-alt:before { content: "\f0f3"; }
|
465
|
+
.icon-coffee:before { content: "\f0f4"; }
|
466
|
+
.icon-food:before { content: "\f0f5"; }
|
467
|
+
.icon-file-alt:before { content: "\f0f6"; }
|
468
|
+
.icon-building:before { content: "\f0f7"; }
|
469
|
+
.icon-hospital:before { content: "\f0f8"; }
|
470
|
+
.icon-ambulance:before { content: "\f0f9"; }
|
471
|
+
.icon-medkit:before { content: "\f0fa"; }
|
472
|
+
.icon-fighter-jet:before { content: "\f0fb"; }
|
473
|
+
.icon-beer:before { content: "\f0fc"; }
|
474
|
+
.icon-h-sign:before { content: "\f0fd"; }
|
475
|
+
.icon-plus-sign-alt:before { content: "\f0fe"; }
|
476
|
+
|
477
|
+
.icon-double-angle-left:before { content: "\f100"; }
|
478
|
+
.icon-double-angle-right:before { content: "\f101"; }
|
479
|
+
.icon-double-angle-up:before { content: "\f102"; }
|
480
|
+
.icon-double-angle-down:before { content: "\f103"; }
|
481
|
+
.icon-angle-left:before { content: "\f104"; }
|
482
|
+
.icon-angle-right:before { content: "\f105"; }
|
483
|
+
.icon-angle-up:before { content: "\f106"; }
|
484
|
+
.icon-angle-down:before { content: "\f107"; }
|
485
|
+
.icon-desktop:before { content: "\f108"; }
|
486
|
+
.icon-laptop:before { content: "\f109"; }
|
487
|
+
.icon-tablet:before { content: "\f10a"; }
|
488
|
+
.icon-mobile-phone:before { content: "\f10b"; }
|
489
|
+
.icon-circle-blank:before { content: "\f10c"; }
|
490
|
+
.icon-quote-left:before { content: "\f10d"; }
|
491
|
+
.icon-quote-right:before { content: "\f10e"; }
|
343
492
|
|
344
|
-
.icon-
|
493
|
+
.icon-spinner:before { content: "\f110"; }
|
494
|
+
.icon-circle:before { content: "\f111"; }
|
495
|
+
.icon-reply:before { content: "\f112"; }
|
496
|
+
.icon-github-alt:before { content: "\f113"; }
|
497
|
+
.icon-folder-close-alt:before { content: "\f114"; }
|
498
|
+
.icon-folder-open-alt:before { content: "\f115"; }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails-fontawesome
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,40 +9,40 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name: railties
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.1.1
|
20
|
+
none: false
|
22
21
|
type: :runtime
|
23
|
-
|
22
|
+
name: railties
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
25
|
- - ! '>='
|
28
26
|
- !ruby/object:Gem::Version
|
29
27
|
version: 3.1.1
|
28
|
+
none: false
|
29
|
+
prerelease: false
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
-
name: less-rails
|
32
31
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
32
|
requirements:
|
35
33
|
- - ! '>='
|
36
34
|
- !ruby/object:Gem::Version
|
37
35
|
version: 2.1.7
|
36
|
+
none: false
|
38
37
|
type: :runtime
|
39
|
-
|
38
|
+
name: less-rails
|
40
39
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
40
|
requirements:
|
43
41
|
- - ! '>='
|
44
42
|
- !ruby/object:Gem::Version
|
45
43
|
version: 2.1.7
|
44
|
+
none: false
|
45
|
+
prerelease: false
|
46
46
|
description: Font Awesome, LESS version, with assets pipeline, for Rails 3.1+ Asset
|
47
47
|
Pipeline
|
48
48
|
email:
|
@@ -60,6 +60,7 @@ files:
|
|
60
60
|
- lib/less-rails-fontawesome/engine.rb
|
61
61
|
- lib/less-rails-fontawesome/link_helper.rb
|
62
62
|
- lib/less-rails-fontawesome/version.rb
|
63
|
+
- vendor/assets/fonts/FontAwesome.otf
|
63
64
|
- vendor/assets/fonts/fontawesome-webfont.eot
|
64
65
|
- vendor/assets/fonts/fontawesome-webfont.svg
|
65
66
|
- vendor/assets/fonts/fontawesome-webfont.ttf
|
@@ -72,20 +73,26 @@ rdoc_options: []
|
|
72
73
|
require_paths:
|
73
74
|
- lib
|
74
75
|
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
76
|
requirements:
|
77
77
|
- - ! '>='
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
+
hash: 1894570594820148024
|
79
80
|
version: '0'
|
80
|
-
|
81
|
+
segments:
|
82
|
+
- 0
|
81
83
|
none: false
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
85
|
requirements:
|
83
86
|
- - ! '>='
|
84
87
|
- !ruby/object:Gem::Version
|
88
|
+
hash: 1894570594820148024
|
85
89
|
version: '0'
|
90
|
+
segments:
|
91
|
+
- 0
|
92
|
+
none: false
|
86
93
|
requirements: []
|
87
94
|
rubyforge_project: less-rails-fontawesome
|
88
|
-
rubygems_version: 1.8.
|
95
|
+
rubygems_version: 1.8.24
|
89
96
|
signing_key:
|
90
97
|
specification_version: 3
|
91
98
|
summary: Font Awesome in LESS for Rails 3.1+ Asset Pipeline
|