fontello_rails_converter 0.4.1 → 0.4.2
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +8 -1
- data/lib/fontello_rails_converter/cli.rb +27 -8
- data/lib/fontello_rails_converter/version.rb +1 -1
- data/spec/cli_spec.rb +11 -6
- data/spec/dummy_rails_root/public/fontello-demo.html +309 -0
- data/spec/dummy_rails_root/vendor/assets/fonts/config.json +16 -0
- data/spec/dummy_rails_root/vendor/assets/fonts/test.eot +0 -0
- data/spec/dummy_rails_root/vendor/assets/fonts/test.svg +12 -0
- data/spec/dummy_rails_root/vendor/assets/fonts/test.ttf +0 -0
- data/spec/dummy_rails_root/vendor/assets/fonts/test.woff +0 -0
- data/spec/dummy_rails_root/vendor/assets/stylesheets/animation.css +85 -0
- data/spec/dummy_rails_root/vendor/assets/stylesheets/test-codes.css +2 -0
- data/spec/dummy_rails_root/vendor/assets/stylesheets/test-embedded.scss +57 -0
- data/spec/dummy_rails_root/vendor/assets/stylesheets/test-ie7-codes.css +2 -0
- data/spec/dummy_rails_root/vendor/assets/stylesheets/test-ie7.css +13 -0
- data/spec/dummy_rails_root/vendor/assets/stylesheets/test.scss +59 -0
- data/spec/fixtures/fontello/LICENSE.txt +12 -0
- data/spec/fixtures/fontello/README.txt +75 -0
- data/spec/fixtures/fontello/config.json +16 -0
- data/spec/fixtures/fontello/css/animation.css +85 -0
- data/spec/fixtures/fontello/css/test-codes.css +2 -0
- data/spec/fixtures/fontello/css/test-embedded.css +55 -0
- data/spec/fixtures/fontello/css/test-ie7-codes.css +2 -0
- data/spec/fixtures/fontello/css/test-ie7.css +13 -0
- data/spec/fixtures/fontello/css/test.css +57 -0
- data/spec/fixtures/fontello/demo.html +309 -0
- data/spec/fixtures/fontello/font/test.eot +0 -0
- data/spec/fixtures/fontello/font/test.svg +12 -0
- data/spec/fixtures/fontello/font/test.ttf +0 -0
- data/spec/fixtures/fontello/font/test.woff +0 -0
- metadata +54 -88
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -13
- data/spec/dummy/app/assets/stylesheets/application.css +0 -13
- data/spec/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/config/application.rb +0 -28
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -29
- data/spec/dummy/config/environments/production.rb +0 -80
- data/spec/dummy/config/environments/test.rb +0 -36
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -12
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -23
- data/spec/dummy/config/routes.rb +0 -56
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +0 -16
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/log/development.log +0 -7
- data/spec/dummy/public/404.html +0 -58
- data/spec/dummy/public/422.html +0 -58
- data/spec/dummy/public/500.html +0 -57
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/fixtures/config.json +0 -236
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 114c61b83fa8a6cad5dee22e9b8f55de4dfe5740
|
4
|
+
data.tar.gz: d2d1a0b89215c6b60b73ab99cfbe0b7a3e287093
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42fa051ce6ae89210e87b1619e91cb28edcc13dc93aa972736b2fcf06e6b19b2b4eca7df4180c831f4f6fb1a4e68e7874207d7bd3f285180da4fba4801867576
|
7
|
+
data.tar.gz: be31e638d8038848b22807084c8475f1ea1bcf6546016363b7b45c5033b7fcb4e8b56485ea09102fa8d85048e7ca3e594b05c528cf1593dd659ff0b3fa615edb
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# 0.4.2
|
2
|
+
|
3
|
+
* [enhancement] embedded stylesheet (e.g. `fontello-embedded.css`) will also be converted to Sass #32
|
4
|
+
* [bugfix] the .css source version of a stylesheet will be deleted on conversion, because having both a fontello.css and fontello.scss was creating problems #33
|
5
|
+
|
1
6
|
# 0.4.1
|
2
7
|
|
3
8
|
* [bugfix] for case where font name in `config.json` is empty #30
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ CLI gem for comfortably working with icon fonts from [http://fontello.com](http:
|
|
7
7
|
Main features:
|
8
8
|
|
9
9
|
* **Open** up your current fontello font in the browser from the command line
|
10
|
-
* **Copy & convert** files from the zip into rails app (inclusively Sass enhancements)
|
10
|
+
* **Copy & convert** files from the zip into rails app (inclusively [Sass enhancements](#sass-enhacements))
|
11
11
|
|
12
12
|
|
13
13
|
## Initial usage
|
@@ -45,6 +45,13 @@ Alternatively, you can download & save the `.zip` file just like in the initial
|
|
45
45
|
|
46
46
|
For more help run `fontello --help`
|
47
47
|
|
48
|
+
## Sass enhacements
|
49
|
+
|
50
|
+
The conversion process will do a couple of things to make working with the main fontello stylesheet easier in Rails/Sass:
|
51
|
+
|
52
|
+
* It will convert font paths to use `font-url`
|
53
|
+
* It will create [Sass placeholder selectors](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#placeholder_selectors_) (e.g. `%icon-foo` for all the icons) so you have the choice to use the CSS classes in your markup or to `@extend` the placeholders in your Sass code
|
54
|
+
|
48
55
|
## Misc
|
49
56
|
|
50
57
|
#### Additional fontello stylesheets
|
@@ -59,8 +59,9 @@ module FontelloRailsConverter
|
|
59
59
|
copy
|
60
60
|
|
61
61
|
puts "---- convert -----"
|
62
|
-
|
62
|
+
convert_stylesheets
|
63
63
|
convert_icon_guide
|
64
|
+
|
64
65
|
end
|
65
66
|
|
66
67
|
private
|
@@ -72,13 +73,33 @@ module FontelloRailsConverter
|
|
72
73
|
FileUtils.mkdir_p @options[:icon_guide_dir]
|
73
74
|
end
|
74
75
|
|
75
|
-
def
|
76
|
-
|
76
|
+
def convert_stylesheets
|
77
|
+
['', '-embedded'].each do |stylesheet_postfix|
|
78
|
+
source_file = stylesheet_file(postfix: stylesheet_postfix)
|
79
|
+
content = File.read(source_file).encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '')
|
80
|
+
|
81
|
+
content = sass_enhance(content)
|
82
|
+
puts "enhancing with Sass placeholder selectors"
|
83
|
+
|
84
|
+
content = convert_for_asset_pipeline(content)
|
85
|
+
puts "converting for asset pipeline"
|
86
|
+
|
87
|
+
target_file = stylesheet_file(postfix: stylesheet_postfix, extension: @options[:stylesheet_extension])
|
88
|
+
File.open(target_file, 'w') { |f| f.write(content) }
|
89
|
+
puts green("Write converted #{target_file}")
|
77
90
|
|
91
|
+
File.delete(source_file)
|
92
|
+
puts "Removed #{source_file} in favor of the #{@options[:stylesheet_extension]}"
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
def convert_for_asset_pipeline(content)
|
78
97
|
# asset URLs
|
79
98
|
content.gsub! /\.\.\/font\//, ""
|
80
99
|
content.gsub!(/url\(([^\(]+)\)/) { |m| "font-url(#{$1})" }
|
100
|
+
end
|
81
101
|
|
102
|
+
def sass_enhance(content)
|
82
103
|
# turn icon base class into placeholder selector
|
83
104
|
content.gsub! /\[class\^="icon-[^\{]+{/m, "%icon-base {"
|
84
105
|
|
@@ -96,9 +117,7 @@ module FontelloRailsConverter
|
|
96
117
|
end
|
97
118
|
end
|
98
119
|
|
99
|
-
|
100
|
-
File.open(target_file, 'w') { |f| f.write(content) }
|
101
|
-
puts green("Created #{target_file} for Sass & asset pipeline")
|
120
|
+
content
|
102
121
|
end
|
103
122
|
|
104
123
|
def copy_font_files(zipfile, files)
|
@@ -175,9 +194,9 @@ module FontelloRailsConverter
|
|
175
194
|
@_icon_guide_target_file ||= File.join(@options[:icon_guide_dir], "fontello-demo.html")
|
176
195
|
end
|
177
196
|
|
178
|
-
def
|
197
|
+
def stylesheet_file(postfix: '', extension: '.css')
|
179
198
|
if fontello_name.present? && @options[:stylesheet_dir].present?
|
180
|
-
File.join(@options[:stylesheet_dir], "#{fontello_name}#{extension}")
|
199
|
+
File.join(@options[:stylesheet_dir], "#{fontello_name}#{postfix}#{extension}")
|
181
200
|
end
|
182
201
|
end
|
183
202
|
|
data/spec/cli_spec.rb
CHANGED
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe FontelloRailsConverter::Cli do
|
4
4
|
let(:cli) { described_class.new({
|
5
|
-
config_file: 'spec/fixtures/config.json',
|
5
|
+
config_file: 'spec/fixtures/fontello/config.json',
|
6
6
|
stylesheet_dir: 'vendor/assets/stylesheets'
|
7
7
|
})
|
8
8
|
}
|
@@ -16,14 +16,20 @@ describe FontelloRailsConverter::Cli do
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
describe '#
|
19
|
+
describe '#stylesheet_file' do
|
20
20
|
specify do
|
21
|
-
expect(cli.send(:
|
21
|
+
expect(cli.send(:stylesheet_file)).to eql 'vendor/assets/stylesheets/test.css'
|
22
22
|
end
|
23
23
|
|
24
24
|
context '.scss extension' do
|
25
25
|
specify do
|
26
|
-
expect(cli.send(:
|
26
|
+
expect(cli.send(:stylesheet_file, extension: '.scss')).to eql 'vendor/assets/stylesheets/test.scss'
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
context 'with postfix' do
|
31
|
+
specify do
|
32
|
+
expect(cli.send(:stylesheet_file, postfix: '-embedded', extension: '.scss')).to eql 'vendor/assets/stylesheets/test-embedded.scss'
|
27
33
|
end
|
28
34
|
end
|
29
35
|
end
|
@@ -51,9 +57,8 @@ describe FontelloRailsConverter::Cli do
|
|
51
57
|
end
|
52
58
|
|
53
59
|
context 'correct config file' do
|
54
|
-
|
55
60
|
specify do
|
56
|
-
expect(cli.send(:fontello_name)).to eql '
|
61
|
+
expect(cli.send(:fontello_name)).to eql 'test'
|
57
62
|
end
|
58
63
|
end
|
59
64
|
end
|
@@ -0,0 +1,309 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><!--[if lt IE 9]><script language="javascript" type="text/javascript" src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
4
|
+
<meta charset="UTF-8"><style>/*
|
5
|
+
* Bootstrap v2.2.1
|
6
|
+
*
|
7
|
+
* Copyright 2012 Twitter, Inc
|
8
|
+
* Licensed under the Apache License v2.0
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
12
|
+
*/
|
13
|
+
.clearfix {
|
14
|
+
*zoom: 1;
|
15
|
+
}
|
16
|
+
.clearfix:before,
|
17
|
+
.clearfix:after {
|
18
|
+
display: table;
|
19
|
+
content: "";
|
20
|
+
line-height: 0;
|
21
|
+
}
|
22
|
+
.clearfix:after {
|
23
|
+
clear: both;
|
24
|
+
}
|
25
|
+
html {
|
26
|
+
font-size: 100%;
|
27
|
+
-webkit-text-size-adjust: 100%;
|
28
|
+
-ms-text-size-adjust: 100%;
|
29
|
+
}
|
30
|
+
a:focus {
|
31
|
+
outline: thin dotted #333;
|
32
|
+
outline: 5px auto -webkit-focus-ring-color;
|
33
|
+
outline-offset: -2px;
|
34
|
+
}
|
35
|
+
a:hover,
|
36
|
+
a:active {
|
37
|
+
outline: 0;
|
38
|
+
}
|
39
|
+
button,
|
40
|
+
input,
|
41
|
+
select,
|
42
|
+
textarea {
|
43
|
+
margin: 0;
|
44
|
+
font-size: 100%;
|
45
|
+
vertical-align: middle;
|
46
|
+
}
|
47
|
+
button,
|
48
|
+
input {
|
49
|
+
*overflow: visible;
|
50
|
+
line-height: normal;
|
51
|
+
}
|
52
|
+
button::-moz-focus-inner,
|
53
|
+
input::-moz-focus-inner {
|
54
|
+
padding: 0;
|
55
|
+
border: 0;
|
56
|
+
}
|
57
|
+
body {
|
58
|
+
margin: 0;
|
59
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
60
|
+
font-size: 14px;
|
61
|
+
line-height: 20px;
|
62
|
+
color: #333;
|
63
|
+
background-color: #fff;
|
64
|
+
}
|
65
|
+
a {
|
66
|
+
color: #08c;
|
67
|
+
text-decoration: none;
|
68
|
+
}
|
69
|
+
a:hover {
|
70
|
+
color: #005580;
|
71
|
+
text-decoration: underline;
|
72
|
+
}
|
73
|
+
.row {
|
74
|
+
margin-left: -20px;
|
75
|
+
*zoom: 1;
|
76
|
+
}
|
77
|
+
.row:before,
|
78
|
+
.row:after {
|
79
|
+
display: table;
|
80
|
+
content: "";
|
81
|
+
line-height: 0;
|
82
|
+
}
|
83
|
+
.row:after {
|
84
|
+
clear: both;
|
85
|
+
}
|
86
|
+
[class*="span"] {
|
87
|
+
float: left;
|
88
|
+
min-height: 1px;
|
89
|
+
margin-left: 20px;
|
90
|
+
}
|
91
|
+
.container,
|
92
|
+
.navbar-static-top .container,
|
93
|
+
.navbar-fixed-top .container,
|
94
|
+
.navbar-fixed-bottom .container {
|
95
|
+
width: 940px;
|
96
|
+
}
|
97
|
+
.span12 {
|
98
|
+
width: 940px;
|
99
|
+
}
|
100
|
+
.span11 {
|
101
|
+
width: 860px;
|
102
|
+
}
|
103
|
+
.span10 {
|
104
|
+
width: 780px;
|
105
|
+
}
|
106
|
+
.span9 {
|
107
|
+
width: 700px;
|
108
|
+
}
|
109
|
+
.span8 {
|
110
|
+
width: 620px;
|
111
|
+
}
|
112
|
+
.span7 {
|
113
|
+
width: 540px;
|
114
|
+
}
|
115
|
+
.span6 {
|
116
|
+
width: 460px;
|
117
|
+
}
|
118
|
+
.span5 {
|
119
|
+
width: 380px;
|
120
|
+
}
|
121
|
+
.span4 {
|
122
|
+
width: 300px;
|
123
|
+
}
|
124
|
+
.span3 {
|
125
|
+
width: 220px;
|
126
|
+
}
|
127
|
+
.span2 {
|
128
|
+
width: 140px;
|
129
|
+
}
|
130
|
+
.span1 {
|
131
|
+
width: 60px;
|
132
|
+
}
|
133
|
+
[class*="span"].pull-right,
|
134
|
+
.row-fluid [class*="span"].pull-right {
|
135
|
+
float: right;
|
136
|
+
}
|
137
|
+
.container {
|
138
|
+
margin-right: auto;
|
139
|
+
margin-left: auto;
|
140
|
+
*zoom: 1;
|
141
|
+
}
|
142
|
+
.container:before,
|
143
|
+
.container:after {
|
144
|
+
display: table;
|
145
|
+
content: "";
|
146
|
+
line-height: 0;
|
147
|
+
}
|
148
|
+
.container:after {
|
149
|
+
clear: both;
|
150
|
+
}
|
151
|
+
p {
|
152
|
+
margin: 0 0 10px;
|
153
|
+
}
|
154
|
+
.lead {
|
155
|
+
margin-bottom: 20px;
|
156
|
+
font-size: 21px;
|
157
|
+
font-weight: 200;
|
158
|
+
line-height: 30px;
|
159
|
+
}
|
160
|
+
small {
|
161
|
+
font-size: 85%;
|
162
|
+
}
|
163
|
+
h1 {
|
164
|
+
margin: 10px 0;
|
165
|
+
font-family: inherit;
|
166
|
+
font-weight: bold;
|
167
|
+
line-height: 20px;
|
168
|
+
color: inherit;
|
169
|
+
text-rendering: optimizelegibility;
|
170
|
+
}
|
171
|
+
h1 small {
|
172
|
+
font-weight: normal;
|
173
|
+
line-height: 1;
|
174
|
+
color: #999;
|
175
|
+
}
|
176
|
+
h1 {
|
177
|
+
line-height: 40px;
|
178
|
+
}
|
179
|
+
h1 {
|
180
|
+
font-size: 38.5px;
|
181
|
+
}
|
182
|
+
h1 small {
|
183
|
+
font-size: 24.5px;
|
184
|
+
}
|
185
|
+
body {
|
186
|
+
margin-top: 90px;
|
187
|
+
}
|
188
|
+
.header {
|
189
|
+
position: fixed;
|
190
|
+
top: 0;
|
191
|
+
left: 50%;
|
192
|
+
margin-left: -480px;
|
193
|
+
background-color: #fff;
|
194
|
+
border-bottom: 1px solid #ddd;
|
195
|
+
padding-top: 10px;
|
196
|
+
z-index: 10;
|
197
|
+
}
|
198
|
+
.footer {
|
199
|
+
color: #ddd;
|
200
|
+
font-size: 12px;
|
201
|
+
text-align: center;
|
202
|
+
margin-top: 20px;
|
203
|
+
}
|
204
|
+
.footer a {
|
205
|
+
color: #ccc;
|
206
|
+
text-decoration: underline;
|
207
|
+
}
|
208
|
+
.the-icons {
|
209
|
+
font-size: 14px;
|
210
|
+
line-height: 24px;
|
211
|
+
}
|
212
|
+
.switch {
|
213
|
+
position: absolute;
|
214
|
+
right: 0;
|
215
|
+
bottom: 10px;
|
216
|
+
color: #666;
|
217
|
+
}
|
218
|
+
.switch input {
|
219
|
+
margin-right: 0.3em;
|
220
|
+
}
|
221
|
+
.codesOn .i-name {
|
222
|
+
display: none;
|
223
|
+
}
|
224
|
+
.codesOn .i-code {
|
225
|
+
display: inline;
|
226
|
+
}
|
227
|
+
.i-code {
|
228
|
+
display: none;
|
229
|
+
}
|
230
|
+
@font-face {
|
231
|
+
font-family: 'test';
|
232
|
+
src: url('/assets/test.eot?49862455');
|
233
|
+
src: url('/assets/test.eot?49862455#iefix') format('embedded-opentype'),
|
234
|
+
url('/assets/test.woff?49862455') format('woff'),
|
235
|
+
url('/assets/test.ttf?49862455') format('truetype'),
|
236
|
+
url('/assets/test.svg?49862455#test') format('svg');
|
237
|
+
font-weight: normal;
|
238
|
+
font-style: normal;
|
239
|
+
}
|
240
|
+
|
241
|
+
|
242
|
+
.demo-icon
|
243
|
+
{
|
244
|
+
font-family: "test";
|
245
|
+
font-style: normal;
|
246
|
+
font-weight: normal;
|
247
|
+
speak: none;
|
248
|
+
|
249
|
+
display: inline-block;
|
250
|
+
text-decoration: inherit;
|
251
|
+
width: 1em;
|
252
|
+
margin-right: .2em;
|
253
|
+
text-align: center;
|
254
|
+
/* opacity: .8; */
|
255
|
+
|
256
|
+
/* For safety - reset parent styles, that can break glyph codes*/
|
257
|
+
font-variant: normal;
|
258
|
+
text-transform: none;
|
259
|
+
|
260
|
+
/* fix buttons height, for twitter bootstrap */
|
261
|
+
line-height: 1em;
|
262
|
+
|
263
|
+
/* Animation center compensation - margins should be symmetric */
|
264
|
+
/* remove if not needed */
|
265
|
+
margin-left: .2em;
|
266
|
+
|
267
|
+
/* You can be more comfortable with increased icons size */
|
268
|
+
/* font-size: 120%; */
|
269
|
+
|
270
|
+
/* Font smoothing. That was taken from TWBS */
|
271
|
+
-webkit-font-smoothing: antialiased;
|
272
|
+
-moz-osx-font-smoothing: grayscale;
|
273
|
+
|
274
|
+
/* Uncomment for 3D effect */
|
275
|
+
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
276
|
+
}
|
277
|
+
</style>
|
278
|
+
<link rel="stylesheet" href="/assets/animation.css"><!--[if IE 7]><link rel="stylesheet" href="/assets/test-ie7.css"><![endif]-->
|
279
|
+
<script>
|
280
|
+
function toggleCodes(on) {
|
281
|
+
var obj = document.getElementById('icons');
|
282
|
+
|
283
|
+
if (on) {
|
284
|
+
obj.className += ' codesOn';
|
285
|
+
} else {
|
286
|
+
obj.className = obj.className.replace(' codesOn', '');
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
</script>
|
291
|
+
</head>
|
292
|
+
<body>
|
293
|
+
<div class="container header">
|
294
|
+
<h1>
|
295
|
+
test
|
296
|
+
<small>font demo</small>
|
297
|
+
</h1>
|
298
|
+
<label class="switch">
|
299
|
+
<input type="checkbox" onclick="toggleCodes(this.checked)">show codes
|
300
|
+
</label>
|
301
|
+
</div>
|
302
|
+
<div id="icons" class="container">
|
303
|
+
<div class="row">
|
304
|
+
<div title="Code: 0xe800" class="the-icons span3"><i class="demo-icon icon-glass"></i> <span class="i-name">icon-glass</span><span class="i-code">0xe800</span></div>
|
305
|
+
</div>
|
306
|
+
</div>
|
307
|
+
<div class="container footer">Generated by <a href="http://fontello.com">fontello.com</a></div>
|
308
|
+
</body>
|
309
|
+
</html>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"name": "test",
|
3
|
+
"css_prefix_text": "icon-",
|
4
|
+
"css_use_suffix": false,
|
5
|
+
"hinting": true,
|
6
|
+
"units_per_em": 1000,
|
7
|
+
"ascent": 850,
|
8
|
+
"glyphs": [
|
9
|
+
{
|
10
|
+
"uid": "cfaa8fbbdcc7bb8d636cb974aad1f9b9",
|
11
|
+
"css": "glass",
|
12
|
+
"code": 59392,
|
13
|
+
"src": "fontawesome"
|
14
|
+
}
|
15
|
+
]
|
16
|
+
}
|
Binary file
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4
|
+
<metadata>Copyright (C) 2015 by original authors @ fontello.com</metadata>
|
5
|
+
<defs>
|
6
|
+
<font id="test" horiz-adv-x="1000" >
|
7
|
+
<font-face font-family="test" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
8
|
+
<missing-glyph horiz-adv-x="1000" />
|
9
|
+
<glyph glyph-name="glass" unicode="" d="m948 746q0-19-24-43l-353-353v-429h179q15 0 25-10t11-25-11-25-25-11h-500q-14 0-25 11t-11 25 11 25 25 10h179v429l-353 353q-24 24-24 43 0 13 10 21t21 9 24 3h786q13 0 24-3t21-9 10-21z" horiz-adv-x="1000" />
|
10
|
+
</font>
|
11
|
+
</defs>
|
12
|
+
</svg>
|
Binary file
|
Binary file
|
@@ -0,0 +1,85 @@
|
|
1
|
+
/*
|
2
|
+
Animation example, for spinners
|
3
|
+
*/
|
4
|
+
.animate-spin {
|
5
|
+
-moz-animation: spin 2s infinite linear;
|
6
|
+
-o-animation: spin 2s infinite linear;
|
7
|
+
-webkit-animation: spin 2s infinite linear;
|
8
|
+
animation: spin 2s infinite linear;
|
9
|
+
display: inline-block;
|
10
|
+
}
|
11
|
+
@-moz-keyframes spin {
|
12
|
+
0% {
|
13
|
+
-moz-transform: rotate(0deg);
|
14
|
+
-o-transform: rotate(0deg);
|
15
|
+
-webkit-transform: rotate(0deg);
|
16
|
+
transform: rotate(0deg);
|
17
|
+
}
|
18
|
+
|
19
|
+
100% {
|
20
|
+
-moz-transform: rotate(359deg);
|
21
|
+
-o-transform: rotate(359deg);
|
22
|
+
-webkit-transform: rotate(359deg);
|
23
|
+
transform: rotate(359deg);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
@-webkit-keyframes spin {
|
27
|
+
0% {
|
28
|
+
-moz-transform: rotate(0deg);
|
29
|
+
-o-transform: rotate(0deg);
|
30
|
+
-webkit-transform: rotate(0deg);
|
31
|
+
transform: rotate(0deg);
|
32
|
+
}
|
33
|
+
|
34
|
+
100% {
|
35
|
+
-moz-transform: rotate(359deg);
|
36
|
+
-o-transform: rotate(359deg);
|
37
|
+
-webkit-transform: rotate(359deg);
|
38
|
+
transform: rotate(359deg);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
@-o-keyframes spin {
|
42
|
+
0% {
|
43
|
+
-moz-transform: rotate(0deg);
|
44
|
+
-o-transform: rotate(0deg);
|
45
|
+
-webkit-transform: rotate(0deg);
|
46
|
+
transform: rotate(0deg);
|
47
|
+
}
|
48
|
+
|
49
|
+
100% {
|
50
|
+
-moz-transform: rotate(359deg);
|
51
|
+
-o-transform: rotate(359deg);
|
52
|
+
-webkit-transform: rotate(359deg);
|
53
|
+
transform: rotate(359deg);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
@-ms-keyframes spin {
|
57
|
+
0% {
|
58
|
+
-moz-transform: rotate(0deg);
|
59
|
+
-o-transform: rotate(0deg);
|
60
|
+
-webkit-transform: rotate(0deg);
|
61
|
+
transform: rotate(0deg);
|
62
|
+
}
|
63
|
+
|
64
|
+
100% {
|
65
|
+
-moz-transform: rotate(359deg);
|
66
|
+
-o-transform: rotate(359deg);
|
67
|
+
-webkit-transform: rotate(359deg);
|
68
|
+
transform: rotate(359deg);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
@keyframes spin {
|
72
|
+
0% {
|
73
|
+
-moz-transform: rotate(0deg);
|
74
|
+
-o-transform: rotate(0deg);
|
75
|
+
-webkit-transform: rotate(0deg);
|
76
|
+
transform: rotate(0deg);
|
77
|
+
}
|
78
|
+
|
79
|
+
100% {
|
80
|
+
-moz-transform: rotate(359deg);
|
81
|
+
-o-transform: rotate(359deg);
|
82
|
+
-webkit-transform: rotate(359deg);
|
83
|
+
transform: rotate(359deg);
|
84
|
+
}
|
85
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: 'test';
|
3
|
+
src: font-font-url('test.eot?73396368');
|
4
|
+
src: font-font-url('test.eot?73396368#iefix') format('embedded-opentype'),
|
5
|
+
font-font-url('test.svg?73396368#test') format('svg');
|
6
|
+
font-weight: normal;
|
7
|
+
font-style: normal;
|
8
|
+
}
|
9
|
+
@font-face {
|
10
|
+
font-family: 'test';
|
11
|
+
src: font-font-url('data:application/octet-stream;base64,d09GRgABAAAAAApUAA4AAAAAEl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iGNUWLEDAERZWVlZsQAMKrgB/4WwBI2xAgBEAA==') format('truetype');
|
13
|
+
}
|
14
|
+
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
15
|
+
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
16
|
+
/*
|
17
|
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
18
|
+
@font-face {
|
19
|
+
font-family: 'test';
|
20
|
+
src: font-font-url('test.svg?73396368#test') format('svg');
|
21
|
+
}
|
22
|
+
}
|
23
|
+
*/
|
24
|
+
|
25
|
+
%icon-base {
|
26
|
+
font-family: "test";
|
27
|
+
font-style: normal;
|
28
|
+
font-weight: normal;
|
29
|
+
speak: none;
|
30
|
+
|
31
|
+
display: inline-block;
|
32
|
+
text-decoration: inherit;
|
33
|
+
width: 1em;
|
34
|
+
margin-right: .2em;
|
35
|
+
text-align: center;
|
36
|
+
/* opacity: .8; */
|
37
|
+
|
38
|
+
/* For safety - reset parent styles, that can break glyph codes*/
|
39
|
+
font-variant: normal;
|
40
|
+
text-transform: none;
|
41
|
+
|
42
|
+
/* fix buttons height, for twitter bootstrap */
|
43
|
+
line-height: 1em;
|
44
|
+
|
45
|
+
/* Animation center compensation - margins should be symmetric */
|
46
|
+
/* remove if not needed */
|
47
|
+
margin-left: .2em;
|
48
|
+
|
49
|
+
/* you can be more comfortable with increased icons size */
|
50
|
+
/* font-size: 120%; */
|
51
|
+
|
52
|
+
/* Uncomment for 3D effect */
|
53
|
+
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
54
|
+
}
|
55
|
+
%icon-glass:before { @extend %icon-base; content: '\e800'; } /* '' */
|
56
|
+
|
57
|
+
.icon-glass { @extend %icon-glass; }
|