twitter-bootstrap-rails 2.2.6 → 2.2.7
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.
- data/README.md +319 -18
- data/Rakefile +9 -1
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +339 -0
- data/{vendor → app}/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/{vendor → app}/assets/images/twitter/bootstrap/glyphicons-halflings-white.png +0 -0
- data/{vendor → app}/assets/images/twitter/bootstrap/glyphicons-halflings.png +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-affix.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-button.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap_ujs.js +0 -0
- data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +889 -0
- data/{vendor → app}/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +134 -16
- data/{vendor → app}/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +2 -2
- data/app/helpers/badge_label_helper.rb +16 -0
- data/app/helpers/bootstrap_flash_helper.rb +1 -1
- data/app/helpers/modal_helper.rb +29 -16
- data/app/helpers/navbar_helper.rb +189 -0
- data/app/helpers/twitter_breadcrumbs_helper.rb +7 -2
- data/lib/generators/bootstrap/install/install_generator.rb +10 -6
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +8 -9
- data/lib/generators/bootstrap/install/templates/en.bootstrap.yml +1 -0
- data/lib/generators/bootstrap/layout/templates/layout.html.erb +4 -4
- data/lib/generators/bootstrap/layout/templates/layout.html.haml +5 -5
- data/lib/generators/bootstrap/layout/templates/layout.html.slim +7 -5
- data/lib/generators/bootstrap/themed/templates/edit.html.erb +1 -1
- data/lib/generators/bootstrap/themed/templates/edit.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/edit.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/index.html.erb +1 -1
- data/lib/generators/bootstrap/themed/templates/index.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/index.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/new.html.erb +1 -1
- data/lib/generators/bootstrap/themed/templates/new.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/new.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/show.html.erb +1 -1
- data/lib/generators/bootstrap/themed/templates/show.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/show.html.slim +1 -1
- data/lib/twitter-bootstrap-rails.rb +4 -4
- data/lib/twitter/bootstrap/rails/engine.rb +3 -0
- data/lib/twitter/bootstrap/rails/version.rb +1 -1
- data/spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb +22 -0
- data/spec/lib/twitter_bootstrap_rails/modal_helper_spec.rb +62 -0
- data/spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb +350 -0
- data/spec/lib/twitter_bootstrap_rails/uri_state_spec.rb +40 -0
- data/spec/spec_helper.rb +11 -0
- data/test/lib/breadcrumbs_test.rb +2 -2
- data/test/test_helper.rb +3 -0
- data/vendor/static-source/fontawesome.less +8 -6
- data/vendor/toolkit/fontawesome/bootstrap.less +78 -0
- data/vendor/toolkit/fontawesome/core.less +132 -0
- data/vendor/toolkit/fontawesome/extras.less +79 -0
- data/vendor/toolkit/{fontawesome-ie7.less → fontawesome/font-awesome-ie7.less} +80 -17
- data/vendor/toolkit/fontawesome/font-awesome.less +32 -0
- data/vendor/toolkit/{fontawesome.less → fontawesome/icons.less} +69 -271
- data/vendor/toolkit/fontawesome/mixins.less +34 -0
- data/vendor/toolkit/fontawesome/path.less +14 -0
- data/vendor/toolkit/fontawesome/variables.less +9 -0
- metadata +80 -29
- data/lib/generators/bootstrap/partial/templates/_navbar.html.erb +0 -13
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +0 -889
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Font Awesome 3.1.0
|
|
3
|
+
* the iconic font designed for Bootstrap
|
|
4
|
+
* -------------------------------------------------------
|
|
5
|
+
* The full suite of pictographic icons, examples, and documentation
|
|
6
|
+
* can be found at: http://fontawesome.io
|
|
7
|
+
*
|
|
8
|
+
* License
|
|
9
|
+
* -------------------------------------------------------
|
|
10
|
+
* - The Font Awesome font is licensed under the SIL Open Font License v1.1 -
|
|
11
|
+
* http://scripts.sil.org/OFL
|
|
12
|
+
* - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
|
|
13
|
+
* http://opensource.org/licenses/mit-license.html
|
|
14
|
+
* - Font Awesome documentation licensed under CC BY 3.0 License -
|
|
15
|
+
* http://creativecommons.org/licenses/by/3.0/
|
|
16
|
+
* - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
|
|
17
|
+
* "Font Awesome by Dave Gandy - http://fontawesome.io"
|
|
18
|
+
|
|
19
|
+
* Contact
|
|
20
|
+
* -------------------------------------------------------
|
|
21
|
+
* Email: dave@fontawesome.io
|
|
22
|
+
* Twitter: http://twitter.com/fortaweso_me
|
|
23
|
+
* Work: Lead Product Designer @ http://kyruus.com
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
@import "variables.less";
|
|
27
|
+
@import "mixins.less";
|
|
28
|
+
@import "path.less";
|
|
29
|
+
@import "core.less";
|
|
30
|
+
@import "bootstrap.less";
|
|
31
|
+
@import "extras.less";
|
|
32
|
+
@import "icons.less";
|
|
@@ -1,268 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* the iconic font designed for use with Twitter Bootstrap
|
|
4
|
-
* -------------------------------------------------------
|
|
5
|
-
* The full suite of pictographic icons, examples, and documentation
|
|
6
|
-
* can be found at: http://fortawesome.github.com/Font-Awesome/
|
|
7
|
-
*
|
|
8
|
-
* License
|
|
9
|
-
* -------------------------------------------------------
|
|
10
|
-
* - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL
|
|
11
|
-
* - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
|
|
12
|
-
* http://opensource.org/licenses/mit-license.html
|
|
13
|
-
* - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/
|
|
14
|
-
* - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
|
|
15
|
-
* "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome"
|
|
16
|
-
|
|
17
|
-
* Contact
|
|
18
|
-
* -------------------------------------------------------
|
|
19
|
-
* Email: dave@davegandy.com
|
|
20
|
-
* Twitter: http://twitter.com/fortaweso_me
|
|
21
|
-
* Work: Lead Product Designer @ http://kyruus.com
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
@borderColor: #eee;
|
|
25
|
-
@iconMuted: #eee;
|
|
26
|
-
.border-radius(@radius) { -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; }
|
|
27
|
-
|
|
28
|
-
@font-face {
|
|
29
|
-
font-family: "FontAwesome";
|
|
30
|
-
src: url(@fontAwesomeEotPath);
|
|
31
|
-
src: url(@fontAwesomeEotPath_iefix) format("embedded-opentype"),
|
|
32
|
-
url(@fontAwesomeWoffPath) format("woff"),
|
|
33
|
-
url(@fontAwesomeTtfPath) format("truetype");
|
|
34
|
-
font-weight: normal;
|
|
35
|
-
font-style: normal;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* Font Awesome styles
|
|
39
|
-
------------------------------------------------------- */
|
|
40
|
-
[class^="icon-"],
|
|
41
|
-
[class*=" icon-"] {
|
|
42
|
-
font-family: FontAwesome;
|
|
43
|
-
font-weight: normal;
|
|
44
|
-
font-style: normal;
|
|
45
|
-
text-decoration: inherit;
|
|
46
|
-
-webkit-font-smoothing: antialiased;
|
|
47
|
-
|
|
48
|
-
/* sprites.less reset */
|
|
49
|
-
display: inline;
|
|
50
|
-
width: auto;
|
|
51
|
-
height: auto;
|
|
52
|
-
line-height: normal;
|
|
53
|
-
vertical-align: baseline;
|
|
54
|
-
background-image: none;
|
|
55
|
-
background-position: 0% 0%;
|
|
56
|
-
background-repeat: repeat;
|
|
57
|
-
margin-top: 0;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* more sprites.less reset */
|
|
61
|
-
.icon-white,
|
|
62
|
-
.nav-pills > .active > a > [class^="icon-"],
|
|
63
|
-
.nav-pills > .active > a > [class*=" icon-"],
|
|
64
|
-
.nav-list > .active > a > [class^="icon-"],
|
|
65
|
-
.nav-list > .active > a > [class*=" icon-"],
|
|
66
|
-
.navbar-inverse .nav > .active > a > [class^="icon-"],
|
|
67
|
-
.navbar-inverse .nav > .active > a > [class*=" icon-"],
|
|
68
|
-
.dropdown-menu > li > a:hover > [class^="icon-"],
|
|
69
|
-
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
|
70
|
-
.dropdown-menu > .active > a > [class^="icon-"],
|
|
71
|
-
.dropdown-menu > .active > a > [class*=" icon-"],
|
|
72
|
-
.dropdown-submenu:hover > a > [class^="icon-"],
|
|
73
|
-
.dropdown-submenu:hover > a > [class*=" icon-"] {
|
|
74
|
-
background-image: none;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
[class^="icon-"]:before,
|
|
78
|
-
[class*=" icon-"]:before {
|
|
79
|
-
text-decoration: inherit;
|
|
80
|
-
display: inline-block;
|
|
81
|
-
speak: none;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/* makes sure icons active on rollover in links */
|
|
85
|
-
a {
|
|
86
|
-
[class^="icon-"],
|
|
87
|
-
[class*=" icon-"] {
|
|
88
|
-
display: inline-block;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* makes the font 33% larger relative to the icon container */
|
|
93
|
-
.icon-large:before {
|
|
94
|
-
vertical-align: -10%;
|
|
95
|
-
font-size: 4/3em;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.btn, .nav {
|
|
99
|
-
[class^="icon-"],
|
|
100
|
-
[class*=" icon-"] {
|
|
101
|
-
display: inline;
|
|
102
|
-
/* keeps button heights with and without icons the same */
|
|
103
|
-
&.icon-large { line-height: .9em; }
|
|
104
|
-
&.icon-spin { display: inline-block; }
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.nav-tabs, .nav-pills {
|
|
109
|
-
[class^="icon-"],
|
|
110
|
-
[class*=" icon-"] {
|
|
111
|
-
/* keeps button heights with and without icons the same */
|
|
112
|
-
&, &.icon-large { line-height: .9em; }
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
li, .nav li {
|
|
117
|
-
[class^="icon-"],
|
|
118
|
-
[class*=" icon-"] {
|
|
119
|
-
display: inline-block;
|
|
120
|
-
width: 1.25em;
|
|
121
|
-
text-align: center;
|
|
122
|
-
&.icon-large {
|
|
123
|
-
/* increased font size for icon-large */
|
|
124
|
-
width: 1.25*1.25em;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
ul.icons {
|
|
130
|
-
list-style-type: none;
|
|
131
|
-
text-indent: -.75em;
|
|
132
|
-
|
|
133
|
-
li {
|
|
134
|
-
[class^="icon-"],
|
|
135
|
-
[class*=" icon-"] {
|
|
136
|
-
width: .75em;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.icon-muted {
|
|
142
|
-
color: @iconMuted;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// Icon Borders
|
|
146
|
-
// -------------------------
|
|
147
|
-
|
|
148
|
-
.icon-border {
|
|
149
|
-
border: solid 1px @borderColor;
|
|
150
|
-
padding: .2em .25em .15em;
|
|
151
|
-
.border-radius(3px);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
// Icon Sizes
|
|
155
|
-
// -------------------------
|
|
156
|
-
|
|
157
|
-
.icon-2x {
|
|
158
|
-
font-size: 2em;
|
|
159
|
-
&.icon-border {
|
|
160
|
-
border-width: 2px;
|
|
161
|
-
.border-radius(4px);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
.icon-3x {
|
|
165
|
-
font-size: 3em;
|
|
166
|
-
&.icon-border {
|
|
167
|
-
border-width: 3px;
|
|
168
|
-
.border-radius(5px);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
.icon-4x {
|
|
172
|
-
font-size: 4em;
|
|
173
|
-
&.icon-border {
|
|
174
|
-
border-width: 4px;
|
|
175
|
-
.border-radius(6px);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
// Floats
|
|
180
|
-
// -------------------------
|
|
181
|
-
|
|
182
|
-
// Quick floats
|
|
183
|
-
.pull-right { float: right; }
|
|
184
|
-
.pull-left { float: left; }
|
|
185
|
-
|
|
186
|
-
[class^="icon-"],
|
|
187
|
-
[class*=" icon-"] {
|
|
188
|
-
&.pull-left {
|
|
189
|
-
margin-right: .3em;
|
|
190
|
-
}
|
|
191
|
-
&.pull-right {
|
|
192
|
-
margin-left: .3em;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.btn {
|
|
197
|
-
[class^="icon-"],
|
|
198
|
-
[class*=" icon-"] {
|
|
199
|
-
&.pull-left, &.pull-right {
|
|
200
|
-
&.icon-2x { margin-top: .18em; }
|
|
201
|
-
}
|
|
202
|
-
&.icon-spin.icon-large { line-height: .8em; }
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.btn.btn-small {
|
|
207
|
-
[class^="icon-"],
|
|
208
|
-
[class*=" icon-"] {
|
|
209
|
-
&.pull-left, &.pull-right {
|
|
210
|
-
&.icon-2x { margin-top: .25em; }
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.btn.btn-large {
|
|
216
|
-
[class^="icon-"],
|
|
217
|
-
[class*=" icon-"] {
|
|
218
|
-
margin-top: 0; // overrides bootstrap default
|
|
219
|
-
&.pull-left, &.pull-right {
|
|
220
|
-
&.icon-2x { margin-top: .05em; }
|
|
221
|
-
}
|
|
222
|
-
&.pull-left.icon-2x { margin-right: .2em; }
|
|
223
|
-
&.pull-right.icon-2x { margin-left: .2em; }
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
.icon-spin {
|
|
229
|
-
display: inline-block;
|
|
230
|
-
-moz-animation: spin 2s infinite linear;
|
|
231
|
-
-o-animation: spin 2s infinite linear;
|
|
232
|
-
-webkit-animation: spin 2s infinite linear;
|
|
233
|
-
animation: spin 2s infinite linear;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
@-moz-keyframes spin {
|
|
237
|
-
0% { -moz-transform: rotate(0deg); }
|
|
238
|
-
100% { -moz-transform: rotate(359deg); }
|
|
239
|
-
}
|
|
240
|
-
@-webkit-keyframes spin {
|
|
241
|
-
0% { -webkit-transform: rotate(0deg); }
|
|
242
|
-
100% { -webkit-transform: rotate(359deg); }
|
|
243
|
-
}
|
|
244
|
-
@-o-keyframes spin {
|
|
245
|
-
0% { -o-transform: rotate(0deg); }
|
|
246
|
-
100% { -o-transform: rotate(359deg); }
|
|
247
|
-
}
|
|
248
|
-
@-ms-keyframes spin {
|
|
249
|
-
0% { -ms-transform: rotate(0deg); }
|
|
250
|
-
100% { -ms-transform: rotate(359deg); }
|
|
251
|
-
}
|
|
252
|
-
@keyframes spin {
|
|
253
|
-
0% { transform: rotate(0deg); }
|
|
254
|
-
100% { transform: rotate(359deg); }
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
@-moz-document url-prefix() {
|
|
258
|
-
.icon-spin { height: .9em; }
|
|
259
|
-
.btn .icon-spin { height: auto; }
|
|
260
|
-
.icon-spin.icon-large { height: 1.25em; }
|
|
261
|
-
.btn .icon-spin.icon-large { height: .75em; }
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
|
265
|
-
readers do not read off random characters that represent icons */
|
|
1
|
+
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
|
2
|
+
readers do not read off random characters that represent icons */
|
|
266
3
|
.icon-glass:before { content: "\f000"; }
|
|
267
4
|
.icon-music:before { content: "\f001"; }
|
|
268
5
|
.icon-search:before { content: "\f002"; }
|
|
@@ -293,9 +30,10 @@ ul.icons {
|
|
|
293
30
|
.icon-upload:before { content: "\f01b"; }
|
|
294
31
|
.icon-inbox:before { content: "\f01c"; }
|
|
295
32
|
.icon-play-circle:before { content: "\f01d"; }
|
|
296
|
-
.icon-repeat:before
|
|
33
|
+
.icon-repeat:before,
|
|
34
|
+
.icon-rotate-right:before { content: "\f01e"; }
|
|
297
35
|
|
|
298
|
-
/*
|
|
36
|
+
/* F020 doesn't work in Safari. all shifted one down */
|
|
299
37
|
.icon-refresh:before { content: "\f021"; }
|
|
300
38
|
.icon-list-alt:before { content: "\f022"; }
|
|
301
39
|
.icon-lock:before { content: "\f023"; }
|
|
@@ -364,7 +102,8 @@ ul.icons {
|
|
|
364
102
|
.icon-arrow-right:before { content: "\f061"; }
|
|
365
103
|
.icon-arrow-up:before { content: "\f062"; }
|
|
366
104
|
.icon-arrow-down:before { content: "\f063"; }
|
|
367
|
-
.icon-share-alt:before
|
|
105
|
+
.icon-share-alt:before,
|
|
106
|
+
.icon-mail-forward:before { content: "\f064"; }
|
|
368
107
|
.icon-resize-full:before { content: "\f065"; }
|
|
369
108
|
.icon-resize-small:before { content: "\f066"; }
|
|
370
109
|
.icon-plus:before { content: "\f067"; }
|
|
@@ -478,7 +217,8 @@ ul.icons {
|
|
|
478
217
|
|
|
479
218
|
.icon-envelope-alt:before { content: "\f0e0"; }
|
|
480
219
|
.icon-linkedin:before { content: "\f0e1"; }
|
|
481
|
-
.icon-undo:before
|
|
220
|
+
.icon-undo:before,
|
|
221
|
+
.icon-rotate-left:before { content: "\f0e2"; }
|
|
482
222
|
.icon-legal:before { content: "\f0e3"; }
|
|
483
223
|
.icon-dashboard:before { content: "\f0e4"; }
|
|
484
224
|
.icon-comment-alt:before { content: "\f0e5"; }
|
|
@@ -526,7 +266,65 @@ ul.icons {
|
|
|
526
266
|
|
|
527
267
|
.icon-spinner:before { content: "\f110"; }
|
|
528
268
|
.icon-circle:before { content: "\f111"; }
|
|
529
|
-
.icon-reply:before
|
|
530
|
-
.icon-
|
|
269
|
+
.icon-reply:before,
|
|
270
|
+
.icon-mail-reply:before { content: "\f112"; }
|
|
531
271
|
.icon-folder-close-alt:before { content: "\f114"; }
|
|
532
272
|
.icon-folder-open-alt:before { content: "\f115"; }
|
|
273
|
+
.icon-expand-alt:before { content: "\f116"; }
|
|
274
|
+
.icon-collapse-alt:before { content: "\f117"; }
|
|
275
|
+
.icon-smile:before { content: "\f118"; }
|
|
276
|
+
.icon-frown:before { content: "\f119"; }
|
|
277
|
+
.icon-meh:before { content: "\f11a"; }
|
|
278
|
+
.icon-gamepad:before { content: "\f11b"; }
|
|
279
|
+
.icon-keyboard:before { content: "\f11c"; }
|
|
280
|
+
.icon-flag-alt:before { content: "\f11d"; }
|
|
281
|
+
.icon-flag-checkered:before { content: "\f11e"; }
|
|
282
|
+
|
|
283
|
+
.icon-terminal:before { content: "\f120"; }
|
|
284
|
+
.icon-code:before { content: "\f121"; }
|
|
285
|
+
.icon-reply-all:before, { content: "\f122"; }
|
|
286
|
+
.icon-mail-reply-all:before { content: "\f122"; }
|
|
287
|
+
.icon-star-half-full:before,
|
|
288
|
+
.icon-star-half-empty:before { content: "\f123"; }
|
|
289
|
+
.icon-location-arrow:before { content: "\f124"; }
|
|
290
|
+
.icon-crop:before { content: "\f125"; }
|
|
291
|
+
.icon-code-fork:before { content: "\f126"; }
|
|
292
|
+
.icon-unlink:before { content: "\f127"; }
|
|
293
|
+
.icon-question:before { content: "\f128"; }
|
|
294
|
+
.icon-info:before { content: "\f129"; }
|
|
295
|
+
.icon-exclamation:before { content: "\f12a"; }
|
|
296
|
+
.icon-superscript:before { content: "\f12b"; }
|
|
297
|
+
.icon-subscript:before { content: "\f12c"; }
|
|
298
|
+
.icon-eraser:before { content: "\f12d"; }
|
|
299
|
+
.icon-puzzle-piece:before { content: "\f12e"; }
|
|
300
|
+
|
|
301
|
+
.icon-microphone:before { content: "\f130"; }
|
|
302
|
+
.icon-microphone-off:before { content: "\f131"; }
|
|
303
|
+
.icon-shield:before { content: "\f132"; }
|
|
304
|
+
.icon-calendar-empty:before { content: "\f133"; }
|
|
305
|
+
.icon-fire-extinguisher:before { content: "\f134"; }
|
|
306
|
+
.icon-rocket:before { content: "\f135"; }
|
|
307
|
+
.icon-maxcdn:before { content: "\f136"; }
|
|
308
|
+
.icon-chevron-sign-left:before { content: "\f137"; }
|
|
309
|
+
.icon-chevron-sign-right:before { content: "\f138"; }
|
|
310
|
+
.icon-chevron-sign-up:before { content: "\f139"; }
|
|
311
|
+
.icon-chevron-sign-down:before { content: "\f13a"; }
|
|
312
|
+
.icon-html5:before { content: "\f13b"; }
|
|
313
|
+
.icon-css3:before { content: "\f13c"; }
|
|
314
|
+
.icon-anchor:before { content: "\f13d"; }
|
|
315
|
+
.icon-unlock-alt:before { content: "\f13e"; }
|
|
316
|
+
|
|
317
|
+
.icon-bullseye:before { content: "\f140"; }
|
|
318
|
+
.icon-ellipsis-horizontal:before { content: "\f141"; }
|
|
319
|
+
.icon-ellipsis-vertical:before { content: "\f142"; }
|
|
320
|
+
.icon-rss-sign:before { content: "\f143"; }
|
|
321
|
+
.icon-play-sign:before { content: "\f144"; }
|
|
322
|
+
.icon-ticket:before { content: "\f145"; }
|
|
323
|
+
.icon-minus-sign-alt:before { content: "\f146"; }
|
|
324
|
+
.icon-check-minus:before { content: "\f147"; }
|
|
325
|
+
.icon-level-up:before { content: "\f148"; }
|
|
326
|
+
.icon-level-down:before { content: "\f149"; }
|
|
327
|
+
.icon-check-sign:before { content: "\f14a"; }
|
|
328
|
+
.icon-edit-sign:before { content: "\f14b"; }
|
|
329
|
+
.icon-external-link-sign:before { content: "\f14c"; }
|
|
330
|
+
.icon-share-sign:before { content: "\f14d"; }
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Mixins
|
|
2
|
+
// --------------------------
|
|
3
|
+
|
|
4
|
+
.border-radius(@radius) {
|
|
5
|
+
-webkit-border-radius: @radius;
|
|
6
|
+
-moz-border-radius: @radius;
|
|
7
|
+
border-radius: @radius;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.icon-stack(@width: 2em, @height: 2em, @top-font-size: 1em, @base-font-size: 2em) {
|
|
11
|
+
.icon-stack {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: inline-block;
|
|
14
|
+
width: @width;
|
|
15
|
+
height: @height;
|
|
16
|
+
line-height: @width;
|
|
17
|
+
vertical-align: -35%;
|
|
18
|
+
[class^="icon-"],
|
|
19
|
+
[class*=" icon-"] {
|
|
20
|
+
display: block;
|
|
21
|
+
text-align: center;
|
|
22
|
+
position: absolute;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
font-size: @top-font-size;
|
|
26
|
+
line-height: inherit;
|
|
27
|
+
*line-height: @height;
|
|
28
|
+
}
|
|
29
|
+
.icon-stack-base {
|
|
30
|
+
font-size: @base-font-size;
|
|
31
|
+
*line-height: @height / @base-font-size;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* FONT PATH
|
|
2
|
+
* -------------------------- */
|
|
3
|
+
|
|
4
|
+
@font-face {
|
|
5
|
+
font-family: 'FontAwesome';
|
|
6
|
+
src: @fontAwesomeEotPath;
|
|
7
|
+
src: @fontAwesomeEotPath_iefix format('embedded-opentype'),
|
|
8
|
+
@fontAwesomeWoffPath format('woff'),
|
|
9
|
+
@fontAwesomeTtfPath format('truetype'),
|
|
10
|
+
@fontAwesomeSvgPath format('svg');
|
|
11
|
+
|
|
12
|
+
font-weight: normal;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
}
|