twitter-bootstrap-rails 2.2.3 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of twitter-bootstrap-rails might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/README.md +460 -185
- data/Rakefile +7 -1
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +640 -0
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
- data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/javascripts/twitter/bootstrap.js +12 -0
- data/app/assets/javascripts/twitter/bootstrap/affix.js +142 -0
- data/app/assets/javascripts/twitter/bootstrap/alert.js +92 -0
- data/app/assets/javascripts/twitter/bootstrap/button.js +110 -0
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +223 -0
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +170 -0
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +151 -0
- data/app/assets/javascripts/twitter/bootstrap/modal.js +280 -0
- data/app/assets/javascripts/twitter/bootstrap/popover.js +113 -0
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +170 -0
- data/app/assets/javascripts/twitter/bootstrap/tab.js +128 -0
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +457 -0
- data/app/assets/javascripts/twitter/bootstrap/transition.js +59 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap_ujs.js +0 -0
- data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +1 -0
- data/app/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +2026 -0
- data/app/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +1 -0
- data/app/helpers/badge_label_helper.rb +16 -0
- data/app/helpers/bootstrap_flash_helper.rb +20 -6
- data/app/helpers/form_errors_helper.rb +22 -0
- data/app/helpers/glyph_helper.rb +13 -5
- data/app/helpers/modal_helper.rb +37 -20
- data/app/helpers/navbar_helper.rb +209 -0
- data/app/helpers/twitter_breadcrumbs_helper.rb +11 -2
- data/app/views/twitter-bootstrap/_breadcrumbs.html.erb +9 -9
- data/lib/generators/bootstrap/install/install_generator.rb +13 -8
- data/lib/generators/bootstrap/install/templates/bootstrap.coffee +2 -3
- data/lib/generators/bootstrap/install/templates/bootstrap.js +2 -3
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +14 -13
- data/lib/generators/bootstrap/install/templates/en.bootstrap.yml +11 -5
- data/lib/generators/bootstrap/layout/layout_generator.rb +1 -4
- data/lib/generators/bootstrap/layout/templates/layout.html.erb +34 -58
- data/lib/generators/bootstrap/layout/templates/layout.html.haml +25 -44
- data/lib/generators/bootstrap/layout/templates/layout.html.slim +20 -39
- data/lib/generators/bootstrap/partial/templates/_login.html.erb +2 -3
- data/lib/generators/bootstrap/themed/templates/_form.html.erb +30 -10
- data/lib/generators/bootstrap/themed/templates/_form.html.haml +10 -8
- data/lib/generators/bootstrap/themed/templates/_form.html.slim +11 -9
- data/lib/generators/bootstrap/themed/templates/edit.html.erb +1 -2
- data/lib/generators/bootstrap/themed/templates/edit.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/edit.html.slim +2 -2
- data/lib/generators/bootstrap/themed/templates/index.html.erb +3 -3
- data/lib/generators/bootstrap/themed/templates/index.html.haml +3 -3
- data/lib/generators/bootstrap/themed/templates/index.html.slim +5 -6
- data/lib/generators/bootstrap/themed/templates/new.html.erb +1 -2
- data/lib/generators/bootstrap/themed/templates/new.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/new.html.slim +2 -2
- data/lib/generators/bootstrap/themed/templates/show.html.erb +6 -8
- data/lib/generators/bootstrap/themed/templates/show.html.haml +5 -5
- data/lib/generators/bootstrap/themed/templates/show.html.slim +7 -8
- data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.erb +5 -5
- data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml +3 -3
- data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.slim +4 -4
- data/lib/generators/bootstrap/themed/themed_generator.rb +4 -4
- data/lib/twitter-bootstrap-rails.rb +4 -4
- data/lib/twitter/bootstrap/rails/breadcrumbs.rb +69 -0
- data/lib/twitter/bootstrap/rails/engine.rb +17 -7
- data/lib/twitter/bootstrap/rails/version.rb +1 -1
- data/spec/lib/breadcrumbs_spec.rb +99 -0
- data/spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb +30 -0
- data/spec/lib/twitter_bootstrap_rails/bootstrap_flash_helper_spec.rb +128 -0
- data/spec/lib/twitter_bootstrap_rails/form_errors_helper_spec.rb +148 -0
- data/spec/lib/twitter_bootstrap_rails/glyph_helper_spec.rb +24 -0
- data/spec/lib/twitter_bootstrap_rails/modal_helper_spec.rb +62 -0
- data/spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb +396 -0
- data/spec/lib/twitter_bootstrap_rails/uri_state_spec.rb +49 -0
- data/spec/spec_helper.rb +21 -0
- data/vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +5990 -195
- data/vendor/static-source/bootstrap.less +0 -1
- data/vendor/static-source/fontawesome.less +7 -6
- data/vendor/static-source/sprites.less +3 -3
- data/vendor/toolkit/fontawesome/bordered-pulled.less +16 -0
- data/vendor/toolkit/fontawesome/core.less +11 -0
- data/vendor/toolkit/fontawesome/fixed-width.less +6 -0
- data/vendor/toolkit/fontawesome/font-awesome.less +17 -0
- data/vendor/toolkit/fontawesome/icons.less +552 -0
- data/vendor/toolkit/fontawesome/larger.less +13 -0
- data/vendor/toolkit/fontawesome/list.less +19 -0
- data/vendor/toolkit/fontawesome/mixins.less +25 -0
- data/vendor/toolkit/fontawesome/path.less +14 -0
- data/vendor/toolkit/fontawesome/rotated-flipped.less +20 -0
- data/vendor/toolkit/fontawesome/spinning.less +29 -0
- data/vendor/toolkit/fontawesome/stacked.less +20 -0
- data/vendor/toolkit/fontawesome/variables.less +561 -0
- data/vendor/toolkit/twitter/bootstrap/alerts.less +47 -58
- data/vendor/toolkit/twitter/bootstrap/badges.less +55 -0
- data/vendor/toolkit/twitter/bootstrap/bootstrap.less +26 -39
- data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +11 -9
- data/vendor/toolkit/twitter/bootstrap/button-groups.less +168 -152
- data/vendor/toolkit/twitter/bootstrap/buttons.less +101 -170
- data/vendor/toolkit/twitter/bootstrap/carousel.less +150 -65
- data/vendor/toolkit/twitter/bootstrap/close.less +20 -19
- data/vendor/toolkit/twitter/bootstrap/code.less +38 -30
- data/vendor/toolkit/twitter/bootstrap/component-animations.less +12 -3
- data/vendor/toolkit/twitter/bootstrap/dropdowns.less +124 -146
- data/vendor/toolkit/twitter/bootstrap/forms.less +401 -547
- data/vendor/toolkit/twitter/bootstrap/glyphicons.less +234 -0
- data/vendor/toolkit/twitter/bootstrap/grid.less +74 -11
- data/vendor/toolkit/twitter/bootstrap/input-groups.less +166 -0
- data/vendor/toolkit/twitter/bootstrap/jumbotron.less +48 -0
- data/vendor/toolkit/twitter/bootstrap/labels.less +64 -0
- data/vendor/toolkit/twitter/bootstrap/list-group.less +132 -0
- data/vendor/toolkit/twitter/bootstrap/media.less +8 -7
- data/vendor/toolkit/twitter/bootstrap/mixins.less +36 -699
- data/vendor/toolkit/twitter/bootstrap/mixins/alerts.less +14 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/background-variant.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/border-radius.less +18 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/buttons.less +52 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/center-block.less +7 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/clearfix.less +22 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/forms.less +85 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/gradients.less +59 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/grid-framework.less +91 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/grid.less +122 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/hide-text.less +21 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/image.less +33 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/labels.less +12 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/list-group.less +29 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/nav-divider.less +10 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/nav-vertical-align.less +9 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/opacity.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/pagination.less +23 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/panels.less +24 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/progress-bar.less +10 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/reset-filter.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/resize.less +6 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/responsive-visibility.less +15 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/size.less +10 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/tab-focus.less +9 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/table-row.less +28 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/text-emphasis.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/text-overflow.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/vendor-prefixes.less +224 -0
- data/vendor/toolkit/twitter/bootstrap/modals.less +109 -54
- data/vendor/toolkit/twitter/bootstrap/navbar.less +542 -384
- data/vendor/toolkit/twitter/bootstrap/navs.less +192 -359
- data/vendor/toolkit/twitter/bootstrap/normalize.less +425 -0
- data/vendor/toolkit/twitter/bootstrap/pager.less +46 -34
- data/vendor/toolkit/twitter/bootstrap/pagination.less +70 -105
- data/vendor/toolkit/twitter/bootstrap/panels.less +248 -0
- data/vendor/toolkit/twitter/bootstrap/popovers.less +61 -61
- data/vendor/toolkit/twitter/bootstrap/print.less +101 -0
- data/vendor/toolkit/twitter/bootstrap/progress-bars.less +51 -73
- data/vendor/toolkit/twitter/bootstrap/responsive-embed.less +34 -0
- data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +177 -42
- data/vendor/toolkit/twitter/bootstrap/scaffolding.less +120 -23
- data/vendor/toolkit/twitter/bootstrap/tables.less +171 -182
- data/vendor/toolkit/twitter/bootstrap/theme.less +260 -0
- data/vendor/toolkit/twitter/bootstrap/thumbnails.less +26 -43
- data/vendor/toolkit/twitter/bootstrap/tooltip.less +49 -24
- data/vendor/toolkit/twitter/bootstrap/type.less +208 -147
- data/vendor/toolkit/twitter/bootstrap/utilities.less +33 -7
- data/vendor/toolkit/twitter/bootstrap/variables.less +761 -215
- data/vendor/toolkit/twitter/bootstrap/wells.less +7 -7
- metadata +199 -92
- data/lib/generators/bootstrap/partial/templates/_navbar.html.erb +0 -13
- data/lib/twitter/bootstrap/rails/twitter-bootstrap-breadcrumbs.rb +0 -42
- data/test/lib/breadcrumbs_test.rb +0 -75
- data/test/test_helper.rb +0 -8
- 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/images/twitter/bootstrap/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/twitter/bootstrap/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap.js +0 -13
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-affix.js +0 -117
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +0 -99
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-button.js +0 -105
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +0 -207
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +0 -167
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +0 -165
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +0 -247
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +0 -114
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +0 -162
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +0 -144
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +0 -353
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +0 -60
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +0 -335
- data/vendor/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +0 -531
- data/vendor/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +0 -146
- data/vendor/toolkit/fontawesome-ie7.less +0 -350
- data/vendor/toolkit/fontawesome.less +0 -532
- data/vendor/toolkit/twitter/bootstrap/accordion.less +0 -34
- data/vendor/toolkit/twitter/bootstrap/hero-unit.less +0 -25
- data/vendor/toolkit/twitter/bootstrap/labels-badges.less +0 -84
- data/vendor/toolkit/twitter/bootstrap/layouts.less +0 -16
- data/vendor/toolkit/twitter/bootstrap/reset.less +0 -216
- data/vendor/toolkit/twitter/bootstrap/responsive-1200px-min.less +0 -28
- data/vendor/toolkit/twitter/bootstrap/responsive-767px-max.less +0 -193
- data/vendor/toolkit/twitter/bootstrap/responsive-768px-979px.less +0 -19
- data/vendor/toolkit/twitter/bootstrap/responsive-navbar.less +0 -189
- data/vendor/toolkit/twitter/bootstrap/responsive.less +0 -48
- data/vendor/toolkit/twitter/bootstrap/sprites.less +0 -197
@@ -1,532 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Font Awesome 3.0.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 */
|
266
|
-
.icon-glass:before { content: "\f000"; }
|
267
|
-
.icon-music:before { content: "\f001"; }
|
268
|
-
.icon-search:before { content: "\f002"; }
|
269
|
-
.icon-envelope:before { content: "\f003"; }
|
270
|
-
.icon-heart:before { content: "\f004"; }
|
271
|
-
.icon-star:before { content: "\f005"; }
|
272
|
-
.icon-star-empty:before { content: "\f006"; }
|
273
|
-
.icon-user:before { content: "\f007"; }
|
274
|
-
.icon-film:before { content: "\f008"; }
|
275
|
-
.icon-th-large:before { content: "\f009"; }
|
276
|
-
.icon-th:before { content: "\f00a"; }
|
277
|
-
.icon-th-list:before { content: "\f00b"; }
|
278
|
-
.icon-ok:before { content: "\f00c"; }
|
279
|
-
.icon-remove:before { content: "\f00d"; }
|
280
|
-
.icon-zoom-in:before { content: "\f00e"; }
|
281
|
-
|
282
|
-
.icon-zoom-out:before { content: "\f010"; }
|
283
|
-
.icon-off:before { content: "\f011"; }
|
284
|
-
.icon-signal:before { content: "\f012"; }
|
285
|
-
.icon-cog:before { content: "\f013"; }
|
286
|
-
.icon-trash:before { content: "\f014"; }
|
287
|
-
.icon-home:before { content: "\f015"; }
|
288
|
-
.icon-file:before { content: "\f016"; }
|
289
|
-
.icon-time:before { content: "\f017"; }
|
290
|
-
.icon-road:before { content: "\f018"; }
|
291
|
-
.icon-download-alt:before { content: "\f019"; }
|
292
|
-
.icon-download:before { content: "\f01a"; }
|
293
|
-
.icon-upload:before { content: "\f01b"; }
|
294
|
-
.icon-inbox:before { content: "\f01c"; }
|
295
|
-
.icon-play-circle:before { content: "\f01d"; }
|
296
|
-
.icon-repeat:before { content: "\f01e"; }
|
297
|
-
|
298
|
-
/* \f020 doesn't work in Safari. all shifted one down */
|
299
|
-
.icon-refresh:before { content: "\f021"; }
|
300
|
-
.icon-list-alt:before { content: "\f022"; }
|
301
|
-
.icon-lock:before { content: "\f023"; }
|
302
|
-
.icon-flag:before { content: "\f024"; }
|
303
|
-
.icon-headphones:before { content: "\f025"; }
|
304
|
-
.icon-volume-off:before { content: "\f026"; }
|
305
|
-
.icon-volume-down:before { content: "\f027"; }
|
306
|
-
.icon-volume-up:before { content: "\f028"; }
|
307
|
-
.icon-qrcode:before { content: "\f029"; }
|
308
|
-
.icon-barcode:before { content: "\f02a"; }
|
309
|
-
.icon-tag:before { content: "\f02b"; }
|
310
|
-
.icon-tags:before { content: "\f02c"; }
|
311
|
-
.icon-book:before { content: "\f02d"; }
|
312
|
-
.icon-bookmark:before { content: "\f02e"; }
|
313
|
-
.icon-print:before { content: "\f02f"; }
|
314
|
-
|
315
|
-
.icon-camera:before { content: "\f030"; }
|
316
|
-
.icon-font:before { content: "\f031"; }
|
317
|
-
.icon-bold:before { content: "\f032"; }
|
318
|
-
.icon-italic:before { content: "\f033"; }
|
319
|
-
.icon-text-height:before { content: "\f034"; }
|
320
|
-
.icon-text-width:before { content: "\f035"; }
|
321
|
-
.icon-align-left:before { content: "\f036"; }
|
322
|
-
.icon-align-center:before { content: "\f037"; }
|
323
|
-
.icon-align-right:before { content: "\f038"; }
|
324
|
-
.icon-align-justify:before { content: "\f039"; }
|
325
|
-
.icon-list:before { content: "\f03a"; }
|
326
|
-
.icon-indent-left:before { content: "\f03b"; }
|
327
|
-
.icon-indent-right:before { content: "\f03c"; }
|
328
|
-
.icon-facetime-video:before { content: "\f03d"; }
|
329
|
-
.icon-picture:before { content: "\f03e"; }
|
330
|
-
|
331
|
-
.icon-pencil:before { content: "\f040"; }
|
332
|
-
.icon-map-marker:before { content: "\f041"; }
|
333
|
-
.icon-adjust:before { content: "\f042"; }
|
334
|
-
.icon-tint:before { content: "\f043"; }
|
335
|
-
.icon-edit:before { content: "\f044"; }
|
336
|
-
.icon-share:before { content: "\f045"; }
|
337
|
-
.icon-check:before { content: "\f046"; }
|
338
|
-
.icon-move:before { content: "\f047"; }
|
339
|
-
.icon-step-backward:before { content: "\f048"; }
|
340
|
-
.icon-fast-backward:before { content: "\f049"; }
|
341
|
-
.icon-backward:before { content: "\f04a"; }
|
342
|
-
.icon-play:before { content: "\f04b"; }
|
343
|
-
.icon-pause:before { content: "\f04c"; }
|
344
|
-
.icon-stop:before { content: "\f04d"; }
|
345
|
-
.icon-forward:before { content: "\f04e"; }
|
346
|
-
|
347
|
-
.icon-fast-forward:before { content: "\f050"; }
|
348
|
-
.icon-step-forward:before { content: "\f051"; }
|
349
|
-
.icon-eject:before { content: "\f052"; }
|
350
|
-
.icon-chevron-left:before { content: "\f053"; }
|
351
|
-
.icon-chevron-right:before { content: "\f054"; }
|
352
|
-
.icon-plus-sign:before { content: "\f055"; }
|
353
|
-
.icon-minus-sign:before { content: "\f056"; }
|
354
|
-
.icon-remove-sign:before { content: "\f057"; }
|
355
|
-
.icon-ok-sign:before { content: "\f058"; }
|
356
|
-
.icon-question-sign:before { content: "\f059"; }
|
357
|
-
.icon-info-sign:before { content: "\f05a"; }
|
358
|
-
.icon-screenshot:before { content: "\f05b"; }
|
359
|
-
.icon-remove-circle:before { content: "\f05c"; }
|
360
|
-
.icon-ok-circle:before { content: "\f05d"; }
|
361
|
-
.icon-ban-circle:before { content: "\f05e"; }
|
362
|
-
|
363
|
-
.icon-arrow-left:before { content: "\f060"; }
|
364
|
-
.icon-arrow-right:before { content: "\f061"; }
|
365
|
-
.icon-arrow-up:before { content: "\f062"; }
|
366
|
-
.icon-arrow-down:before { content: "\f063"; }
|
367
|
-
.icon-share-alt:before { content: "\f064"; }
|
368
|
-
.icon-resize-full:before { content: "\f065"; }
|
369
|
-
.icon-resize-small:before { content: "\f066"; }
|
370
|
-
.icon-plus:before { content: "\f067"; }
|
371
|
-
.icon-minus:before { content: "\f068"; }
|
372
|
-
.icon-asterisk:before { content: "\f069"; }
|
373
|
-
.icon-exclamation-sign:before { content: "\f06a"; }
|
374
|
-
.icon-gift:before { content: "\f06b"; }
|
375
|
-
.icon-leaf:before { content: "\f06c"; }
|
376
|
-
.icon-fire:before { content: "\f06d"; }
|
377
|
-
.icon-eye-open:before { content: "\f06e"; }
|
378
|
-
|
379
|
-
.icon-eye-close:before { content: "\f070"; }
|
380
|
-
.icon-warning-sign:before { content: "\f071"; }
|
381
|
-
.icon-plane:before { content: "\f072"; }
|
382
|
-
.icon-calendar:before { content: "\f073"; }
|
383
|
-
.icon-random:before { content: "\f074"; }
|
384
|
-
.icon-comment:before { content: "\f075"; }
|
385
|
-
.icon-magnet:before { content: "\f076"; }
|
386
|
-
.icon-chevron-up:before { content: "\f077"; }
|
387
|
-
.icon-chevron-down:before { content: "\f078"; }
|
388
|
-
.icon-retweet:before { content: "\f079"; }
|
389
|
-
.icon-shopping-cart:before { content: "\f07a"; }
|
390
|
-
.icon-folder-close:before { content: "\f07b"; }
|
391
|
-
.icon-folder-open:before { content: "\f07c"; }
|
392
|
-
.icon-resize-vertical:before { content: "\f07d"; }
|
393
|
-
.icon-resize-horizontal:before { content: "\f07e"; }
|
394
|
-
|
395
|
-
.icon-bar-chart:before { content: "\f080"; }
|
396
|
-
.icon-twitter-sign:before { content: "\f081"; }
|
397
|
-
.icon-facebook-sign:before { content: "\f082"; }
|
398
|
-
.icon-camera-retro:before { content: "\f083"; }
|
399
|
-
.icon-key:before { content: "\f084"; }
|
400
|
-
.icon-cogs:before { content: "\f085"; }
|
401
|
-
.icon-comments:before { content: "\f086"; }
|
402
|
-
.icon-thumbs-up:before { content: "\f087"; }
|
403
|
-
.icon-thumbs-down:before { content: "\f088"; }
|
404
|
-
.icon-star-half:before { content: "\f089"; }
|
405
|
-
.icon-heart-empty:before { content: "\f08a"; }
|
406
|
-
.icon-signout:before { content: "\f08b"; }
|
407
|
-
.icon-linkedin-sign:before { content: "\f08c"; }
|
408
|
-
.icon-pushpin:before { content: "\f08d"; }
|
409
|
-
.icon-external-link:before { content: "\f08e"; }
|
410
|
-
|
411
|
-
.icon-signin:before { content: "\f090"; }
|
412
|
-
.icon-trophy:before { content: "\f091"; }
|
413
|
-
.icon-github-sign:before { content: "\f092"; }
|
414
|
-
.icon-upload-alt:before { content: "\f093"; }
|
415
|
-
.icon-lemon:before { content: "\f094"; }
|
416
|
-
.icon-phone:before { content: "\f095"; }
|
417
|
-
.icon-check-empty:before { content: "\f096"; }
|
418
|
-
.icon-bookmark-empty:before { content: "\f097"; }
|
419
|
-
.icon-phone-sign:before { content: "\f098"; }
|
420
|
-
.icon-twitter:before { content: "\f099"; }
|
421
|
-
.icon-facebook:before { content: "\f09a"; }
|
422
|
-
.icon-github:before { content: "\f09b"; }
|
423
|
-
.icon-unlock:before { content: "\f09c"; }
|
424
|
-
.icon-credit-card:before { content: "\f09d"; }
|
425
|
-
.icon-rss:before { content: "\f09e"; }
|
426
|
-
|
427
|
-
.icon-hdd:before { content: "\f0a0"; }
|
428
|
-
.icon-bullhorn:before { content: "\f0a1"; }
|
429
|
-
.icon-bell:before { content: "\f0a2"; }
|
430
|
-
.icon-certificate:before { content: "\f0a3"; }
|
431
|
-
.icon-hand-right:before { content: "\f0a4"; }
|
432
|
-
.icon-hand-left:before { content: "\f0a5"; }
|
433
|
-
.icon-hand-up:before { content: "\f0a6"; }
|
434
|
-
.icon-hand-down:before { content: "\f0a7"; }
|
435
|
-
.icon-circle-arrow-left:before { content: "\f0a8"; }
|
436
|
-
.icon-circle-arrow-right:before { content: "\f0a9"; }
|
437
|
-
.icon-circle-arrow-up:before { content: "\f0aa"; }
|
438
|
-
.icon-circle-arrow-down:before { content: "\f0ab"; }
|
439
|
-
.icon-globe:before { content: "\f0ac"; }
|
440
|
-
.icon-wrench:before { content: "\f0ad"; }
|
441
|
-
.icon-tasks:before { content: "\f0ae"; }
|
442
|
-
|
443
|
-
.icon-filter:before { content: "\f0b0"; }
|
444
|
-
.icon-briefcase:before { content: "\f0b1"; }
|
445
|
-
.icon-fullscreen:before { content: "\f0b2"; }
|
446
|
-
|
447
|
-
.icon-group:before { content: "\f0c0"; }
|
448
|
-
.icon-link:before { content: "\f0c1"; }
|
449
|
-
.icon-cloud:before { content: "\f0c2"; }
|
450
|
-
.icon-beaker:before { content: "\f0c3"; }
|
451
|
-
.icon-cut:before { content: "\f0c4"; }
|
452
|
-
.icon-copy:before { content: "\f0c5"; }
|
453
|
-
.icon-paper-clip:before { content: "\f0c6"; }
|
454
|
-
.icon-save:before { content: "\f0c7"; }
|
455
|
-
.icon-sign-blank:before { content: "\f0c8"; }
|
456
|
-
.icon-reorder:before { content: "\f0c9"; }
|
457
|
-
.icon-list-ul:before { content: "\f0ca"; }
|
458
|
-
.icon-list-ol:before { content: "\f0cb"; }
|
459
|
-
.icon-strikethrough:before { content: "\f0cc"; }
|
460
|
-
.icon-underline:before { content: "\f0cd"; }
|
461
|
-
.icon-table:before { content: "\f0ce"; }
|
462
|
-
|
463
|
-
.icon-magic:before { content: "\f0d0"; }
|
464
|
-
.icon-truck:before { content: "\f0d1"; }
|
465
|
-
.icon-pinterest:before { content: "\f0d2"; }
|
466
|
-
.icon-pinterest-sign:before { content: "\f0d3"; }
|
467
|
-
.icon-google-plus-sign:before { content: "\f0d4"; }
|
468
|
-
.icon-google-plus:before { content: "\f0d5"; }
|
469
|
-
.icon-money:before { content: "\f0d6"; }
|
470
|
-
.icon-caret-down:before { content: "\f0d7"; }
|
471
|
-
.icon-caret-up:before { content: "\f0d8"; }
|
472
|
-
.icon-caret-left:before { content: "\f0d9"; }
|
473
|
-
.icon-caret-right:before { content: "\f0da"; }
|
474
|
-
.icon-columns:before { content: "\f0db"; }
|
475
|
-
.icon-sort:before { content: "\f0dc"; }
|
476
|
-
.icon-sort-down:before { content: "\f0dd"; }
|
477
|
-
.icon-sort-up:before { content: "\f0de"; }
|
478
|
-
|
479
|
-
.icon-envelope-alt:before { content: "\f0e0"; }
|
480
|
-
.icon-linkedin:before { content: "\f0e1"; }
|
481
|
-
.icon-undo:before { content: "\f0e2"; }
|
482
|
-
.icon-legal:before { content: "\f0e3"; }
|
483
|
-
.icon-dashboard:before { content: "\f0e4"; }
|
484
|
-
.icon-comment-alt:before { content: "\f0e5"; }
|
485
|
-
.icon-comments-alt:before { content: "\f0e6"; }
|
486
|
-
.icon-bolt:before { content: "\f0e7"; }
|
487
|
-
.icon-sitemap:before { content: "\f0e8"; }
|
488
|
-
.icon-umbrella:before { content: "\f0e9"; }
|
489
|
-
.icon-paste:before { content: "\f0ea"; }
|
490
|
-
.icon-lightbulb:before { content: "\f0eb"; }
|
491
|
-
.icon-exchange:before { content: "\f0ec"; }
|
492
|
-
.icon-cloud-download:before { content: "\f0ed"; }
|
493
|
-
.icon-cloud-upload:before { content: "\f0ee"; }
|
494
|
-
|
495
|
-
.icon-user-md:before { content: "\f0f0"; }
|
496
|
-
.icon-stethoscope:before { content: "\f0f1"; }
|
497
|
-
.icon-suitcase:before { content: "\f0f2"; }
|
498
|
-
.icon-bell-alt:before { content: "\f0f3"; }
|
499
|
-
.icon-coffee:before { content: "\f0f4"; }
|
500
|
-
.icon-food:before { content: "\f0f5"; }
|
501
|
-
.icon-file-alt:before { content: "\f0f6"; }
|
502
|
-
.icon-building:before { content: "\f0f7"; }
|
503
|
-
.icon-hospital:before { content: "\f0f8"; }
|
504
|
-
.icon-ambulance:before { content: "\f0f9"; }
|
505
|
-
.icon-medkit:before { content: "\f0fa"; }
|
506
|
-
.icon-fighter-jet:before { content: "\f0fb"; }
|
507
|
-
.icon-beer:before { content: "\f0fc"; }
|
508
|
-
.icon-h-sign:before { content: "\f0fd"; }
|
509
|
-
.icon-plus-sign-alt:before { content: "\f0fe"; }
|
510
|
-
|
511
|
-
.icon-double-angle-left:before { content: "\f100"; }
|
512
|
-
.icon-double-angle-right:before { content: "\f101"; }
|
513
|
-
.icon-double-angle-up:before { content: "\f102"; }
|
514
|
-
.icon-double-angle-down:before { content: "\f103"; }
|
515
|
-
.icon-angle-left:before { content: "\f104"; }
|
516
|
-
.icon-angle-right:before { content: "\f105"; }
|
517
|
-
.icon-angle-up:before { content: "\f106"; }
|
518
|
-
.icon-angle-down:before { content: "\f107"; }
|
519
|
-
.icon-desktop:before { content: "\f108"; }
|
520
|
-
.icon-laptop:before { content: "\f109"; }
|
521
|
-
.icon-tablet:before { content: "\f10a"; }
|
522
|
-
.icon-mobile-phone:before { content: "\f10b"; }
|
523
|
-
.icon-circle-blank:before { content: "\f10c"; }
|
524
|
-
.icon-quote-left:before { content: "\f10d"; }
|
525
|
-
.icon-quote-right:before { content: "\f10e"; }
|
526
|
-
|
527
|
-
.icon-spinner:before { content: "\f110"; }
|
528
|
-
.icon-circle:before { content: "\f111"; }
|
529
|
-
.icon-reply:before { content: "\f112"; }
|
530
|
-
.icon-github-alt:before { content: "\f113"; }
|
531
|
-
.icon-folder-close-alt:before { content: "\f114"; }
|
532
|
-
.icon-folder-open-alt:before { content: "\f115"; }
|