Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ad5d2f2

Browse files
committed
fix(doc) firefox icon rendering
1 parent 519bef4 commit ad5d2f2

8 files changed

+417
-1
lines changed

docs/src/gen-docs.js

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ function writeTheRest(writesFuture) {
4141
var metadata = ngdoc.metadata(docs);
4242

4343
writesFuture.push(writer.copyDir('img'));
44+
writesFuture.push(writer.copyDir('font'));
4445

4546
var manifest = 'manifest="/build/docs/appcache.manifest"';
4647

@@ -81,6 +82,7 @@ function writeTheRest(writesFuture) {
8182

8283
writesFuture.push(writer.copy('docs/src/templates/css/bootstrap.min.css', 'css/bootstrap.min.css'));
8384
writesFuture.push(writer.copy('docs/src/templates/css/docs.css', 'css/docs.css'));
85+
writesFuture.push(writer.copy('docs/src/templates/css/font-awesome.css', 'css/font-awesome.css'));
8486
}
8587

8688

+239
Original file line numberDiff line numberDiff line change
@@ -0,0 +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+
20+
Twitter: http://twitter.com/fortaweso_me
21+
Work: http://lemonwi.se co-founder
22+
23+
*/
24+
25+
@font-face {
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;
42+
}
43+
li[class^="icon-"], li[class*=" icon-"] {
44+
display: block;
45+
}
46+
/* Font Awesome styles
47+
------------------------------------------------------- */
48+
[class^="icon-"]:before, [class*=" icon-"]:before {
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;
58+
}
59+
/* makes the font 33% larger relative to the icon container */
60+
.icon-large:before {
61+
vertical-align: top;
62+
font-size: 1.3333333333333333em;
63+
}
64+
.btn [class^="icon-"], .btn [class*=" icon-"] {
65+
/* keeps button heights with and without icons the same */
66+
line-height: .9em;
67+
}
68+
li [class^="icon-"], li [class*=" icon-"] {
69+
display: inline-block;
70+
width: 1.25em;
71+
text-align: center;
72+
}
73+
li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] {
74+
/* 1.5 increased font size for icon-large * 1.25 width */
75+
width: 1.875em;
76+
}
77+
li[class^="icon-"], li[class*=" icon-"] {
78+
margin-left: 0;
79+
list-style-type: none;
80+
}
81+
li[class^="icon-"]:before, li[class*=" icon-"]:before {
82+
text-indent: -2em;
83+
text-align: center;
84+
}
85+
li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before {
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"; }
41.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)