twitter-bootstrap-rails 2.2.8 → 3.2.0
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 +82 -119
- data/Rakefile +4 -6
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +471 -366
- 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 -13
- data/app/assets/javascripts/twitter/bootstrap/affix.js +137 -0
- data/app/assets/javascripts/twitter/bootstrap/alert.js +88 -0
- data/app/assets/javascripts/twitter/bootstrap/button.js +107 -0
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +205 -0
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +170 -0
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +147 -0
- data/app/assets/javascripts/twitter/bootstrap/modal.js +243 -0
- data/app/assets/javascripts/twitter/bootstrap/popover.js +110 -0
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +153 -0
- data/app/assets/javascripts/twitter/bootstrap/tab.js +125 -0
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +399 -0
- data/app/assets/javascripts/twitter/bootstrap/transition.js +48 -0
- data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +1 -890
- data/app/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +4 -787
- data/app/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +1 -146
- data/app/helpers/bootstrap_flash_helper.rb +7 -5
- data/app/helpers/form_errors_helper.rb +22 -0
- data/app/helpers/glyph_helper.rb +8 -6
- data/app/helpers/modal_helper.rb +29 -21
- data/app/helpers/navbar_helper.rb +42 -30
- data/app/helpers/twitter_breadcrumbs_helper.rb +3 -2
- data/app/views/twitter-bootstrap/_breadcrumbs.html.erb +4 -4
- data/lib/generators/bootstrap/install/install_generator.rb +3 -2
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +7 -8
- data/lib/generators/bootstrap/install/templates/en.bootstrap.yml +5 -0
- data/lib/generators/bootstrap/layout/layout_generator.rb +1 -4
- data/lib/generators/bootstrap/layout/templates/layout.html.erb +22 -43
- data/lib/generators/bootstrap/layout/templates/layout.html.haml +16 -31
- data/lib/generators/bootstrap/layout/templates/layout.html.slim +10 -25
- data/lib/generators/bootstrap/partial/templates/_login.html.erb +2 -3
- data/lib/generators/bootstrap/themed/templates/_form.html.erb +25 -8
- data/lib/generators/bootstrap/themed/templates/_form.html.haml +7 -7
- data/lib/generators/bootstrap/themed/templates/_form.html.slim +7 -7
- data/lib/generators/bootstrap/themed/templates/index.html.erb +2 -2
- data/lib/generators/bootstrap/themed/templates/index.html.haml +2 -2
- data/lib/generators/bootstrap/themed/templates/index.html.slim +2 -2
- data/lib/generators/bootstrap/themed/templates/show.html.erb +5 -7
- data/lib/generators/bootstrap/themed/templates/show.html.haml +4 -4
- data/lib/generators/bootstrap/themed/templates/show.html.slim +5 -6
- 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 +2 -2
- data/lib/twitter/bootstrap/rails/{twitter-bootstrap-breadcrumbs.rb → breadcrumbs.rb} +24 -8
- data/lib/twitter/bootstrap/rails/engine.rb +5 -2
- data/lib/twitter/bootstrap/rails/version.rb +2 -2
- data/spec/lib/breadcrumbs_spec.rb +74 -0
- data/spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb +4 -2
- data/spec/lib/twitter_bootstrap_rails/modal_helper_spec.rb +15 -15
- data/spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb +157 -173
- data/spec/lib/twitter_bootstrap_rails/uri_state_spec.rb +18 -16
- data/spec/spec_helper.rb +7 -1
- data/vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +5797 -0
- data/vendor/static-source/bootstrap.less +0 -1
- data/vendor/static-source/fontawesome.less +0 -1
- data/vendor/static-source/sprites.less +1 -1
- data/vendor/toolkit/fontawesome/bordered-pulled.less +16 -0
- data/vendor/toolkit/fontawesome/core.less +9 -126
- data/vendor/toolkit/fontawesome/fixed-width.less +6 -0
- data/vendor/toolkit/fontawesome/font-awesome.less +9 -25
- data/vendor/toolkit/fontawesome/icons.less +503 -378
- data/vendor/toolkit/fontawesome/larger.less +13 -0
- data/vendor/toolkit/fontawesome/list.less +19 -0
- data/vendor/toolkit/fontawesome/mixins.less +14 -42
- data/vendor/toolkit/fontawesome/path.less +1 -1
- data/vendor/toolkit/fontawesome/rotated-flipped.less +9 -0
- data/vendor/toolkit/fontawesome/spinning.less +32 -0
- data/vendor/toolkit/fontawesome/stacked.less +20 -0
- data/vendor/toolkit/fontawesome/variables.less +511 -731
- 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 +27 -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 +115 -148
- data/vendor/toolkit/twitter/bootstrap/forms.less +401 -547
- data/vendor/toolkit/twitter/bootstrap/glyphicons.less +233 -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 +128 -138
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-affix.js +0 -117
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +0 -99
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-button.js +0 -105
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +0 -207
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +0 -167
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +0 -169
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +0 -247
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +0 -114
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +0 -162
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +0 -144
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +0 -361
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +0 -60
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +0 -335
- data/test/lib/breadcrumbs_test.rb +0 -75
- data/test/test_helper.rb +0 -11
- data/vendor/toolkit/fontawesome/bootstrap.less +0 -84
- data/vendor/toolkit/fontawesome/extras.less +0 -93
- data/vendor/toolkit/fontawesome/font-awesome-ie7.less +0 -1953
- 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
@@ -8,9 +8,9 @@
|
|
8
8
|
min-height: 20px;
|
9
9
|
padding: 19px;
|
10
10
|
margin-bottom: 20px;
|
11
|
-
background-color: @
|
12
|
-
border: 1px solid
|
13
|
-
|
11
|
+
background-color: @well-bg;
|
12
|
+
border: 1px solid @well-border;
|
13
|
+
border-radius: @border-radius-base;
|
14
14
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
|
15
15
|
blockquote {
|
16
16
|
border-color: #ddd;
|
@@ -19,11 +19,11 @@
|
|
19
19
|
}
|
20
20
|
|
21
21
|
// Sizes
|
22
|
-
.well-
|
22
|
+
.well-lg {
|
23
23
|
padding: 24px;
|
24
|
-
|
24
|
+
border-radius: @border-radius-large;
|
25
25
|
}
|
26
|
-
.well-
|
26
|
+
.well-sm {
|
27
27
|
padding: 9px;
|
28
|
-
|
28
|
+
border-radius: @border-radius-small;
|
29
29
|
}
|
metadata
CHANGED
@@ -1,144 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootstrap-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 3.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Seyhun Akyurek
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-08-11 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: railties
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
19
|
+
version: '4.1'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
26
|
+
version: '4.1'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: actionpack
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
33
|
+
version: '4.1'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
40
|
+
version: '4.1'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: execjs
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
47
|
+
version: '2.2'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
54
|
+
version: '2.2'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rails
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
61
|
+
version: '4.1'
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
68
|
+
version: '4.1'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: less
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version: '
|
75
|
+
version: '2.6'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
82
|
+
version: '2.6'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: therubyracer
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - ~>
|
100
88
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.
|
89
|
+
version: '0.12'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - ~>
|
108
95
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: rspec
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ! '>='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ! '>='
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rake
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
|
-
requirements:
|
131
|
-
- - ! '>='
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '0'
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
|
-
requirements:
|
139
|
-
- - ! '>='
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '0'
|
96
|
+
version: '0.12'
|
142
97
|
description: twitter-bootstrap-rails project integrates Bootstrap CSS toolkit for
|
143
98
|
Rails 3.1 Asset Pipeline
|
144
99
|
email:
|
@@ -147,6 +102,44 @@ executables: []
|
|
147
102
|
extensions: []
|
148
103
|
extra_rdoc_files: []
|
149
104
|
files:
|
105
|
+
- README.md
|
106
|
+
- Rakefile
|
107
|
+
- app/assets/fonts/fontawesome-webfont.eot
|
108
|
+
- app/assets/fonts/fontawesome-webfont.svg
|
109
|
+
- app/assets/fonts/fontawesome-webfont.ttf
|
110
|
+
- app/assets/fonts/fontawesome-webfont.woff
|
111
|
+
- app/assets/fonts/glyphicons-halflings-regular.eot
|
112
|
+
- app/assets/fonts/glyphicons-halflings-regular.svg
|
113
|
+
- app/assets/fonts/glyphicons-halflings-regular.ttf
|
114
|
+
- app/assets/fonts/glyphicons-halflings-regular.woff
|
115
|
+
- app/assets/images/twitter/bootstrap/glyphicons-halflings-white.png
|
116
|
+
- app/assets/images/twitter/bootstrap/glyphicons-halflings.png
|
117
|
+
- app/assets/javascripts/twitter/bootstrap.js
|
118
|
+
- app/assets/javascripts/twitter/bootstrap/affix.js
|
119
|
+
- app/assets/javascripts/twitter/bootstrap/alert.js
|
120
|
+
- app/assets/javascripts/twitter/bootstrap/button.js
|
121
|
+
- app/assets/javascripts/twitter/bootstrap/carousel.js
|
122
|
+
- app/assets/javascripts/twitter/bootstrap/collapse.js
|
123
|
+
- app/assets/javascripts/twitter/bootstrap/dropdown.js
|
124
|
+
- app/assets/javascripts/twitter/bootstrap/modal.js
|
125
|
+
- app/assets/javascripts/twitter/bootstrap/popover.js
|
126
|
+
- app/assets/javascripts/twitter/bootstrap/scrollspy.js
|
127
|
+
- app/assets/javascripts/twitter/bootstrap/tab.js
|
128
|
+
- app/assets/javascripts/twitter/bootstrap/tooltip.js
|
129
|
+
- app/assets/javascripts/twitter/bootstrap/transition.js
|
130
|
+
- app/assets/javascripts/twitter/bootstrap_ujs.js
|
131
|
+
- app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb
|
132
|
+
- app/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb
|
133
|
+
- app/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb
|
134
|
+
- app/helpers/badge_label_helper.rb
|
135
|
+
- app/helpers/bootstrap_flash_helper.rb
|
136
|
+
- app/helpers/flash_block_helper.rb
|
137
|
+
- app/helpers/form_errors_helper.rb
|
138
|
+
- app/helpers/glyph_helper.rb
|
139
|
+
- app/helpers/modal_helper.rb
|
140
|
+
- app/helpers/navbar_helper.rb
|
141
|
+
- app/helpers/twitter_breadcrumbs_helper.rb
|
142
|
+
- app/views/twitter-bootstrap/_breadcrumbs.html.erb
|
150
143
|
- lib/generators/bootstrap/install/install_generator.rb
|
151
144
|
- lib/generators/bootstrap/install/templates/application.css
|
152
145
|
- lib/generators/bootstrap/install/templates/application.js
|
@@ -180,26 +173,36 @@ files:
|
|
180
173
|
- lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
|
181
174
|
- lib/generators/bootstrap/themed/templates/simple_form/_form.html.slim
|
182
175
|
- lib/generators/bootstrap/themed/themed_generator.rb
|
176
|
+
- lib/twitter-bootstrap-rails.rb
|
183
177
|
- lib/twitter/bootstrap/rails/bootstrap.rb
|
178
|
+
- lib/twitter/bootstrap/rails/breadcrumbs.rb
|
184
179
|
- lib/twitter/bootstrap/rails/engine.rb
|
185
|
-
- lib/twitter/bootstrap/rails/twitter-bootstrap-breadcrumbs.rb
|
186
180
|
- lib/twitter/bootstrap/rails/version.rb
|
187
|
-
- lib/
|
181
|
+
- spec/lib/breadcrumbs_spec.rb
|
182
|
+
- spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb
|
183
|
+
- spec/lib/twitter_bootstrap_rails/modal_helper_spec.rb
|
184
|
+
- spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb
|
185
|
+
- spec/lib/twitter_bootstrap_rails/uri_state_spec.rb
|
186
|
+
- spec/spec_helper.rb
|
188
187
|
- vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb
|
189
188
|
- vendor/static-source/bootstrap.less
|
190
189
|
- vendor/static-source/fontawesome.less
|
191
190
|
- vendor/static-source/sprites.less
|
192
|
-
- vendor/toolkit/fontawesome/
|
191
|
+
- vendor/toolkit/fontawesome/bordered-pulled.less
|
193
192
|
- vendor/toolkit/fontawesome/core.less
|
194
|
-
- vendor/toolkit/fontawesome/
|
195
|
-
- vendor/toolkit/fontawesome/font-awesome-ie7.less
|
193
|
+
- vendor/toolkit/fontawesome/fixed-width.less
|
196
194
|
- vendor/toolkit/fontawesome/font-awesome.less
|
197
195
|
- vendor/toolkit/fontawesome/icons.less
|
196
|
+
- vendor/toolkit/fontawesome/larger.less
|
197
|
+
- vendor/toolkit/fontawesome/list.less
|
198
198
|
- vendor/toolkit/fontawesome/mixins.less
|
199
199
|
- vendor/toolkit/fontawesome/path.less
|
200
|
+
- vendor/toolkit/fontawesome/rotated-flipped.less
|
201
|
+
- vendor/toolkit/fontawesome/spinning.less
|
202
|
+
- vendor/toolkit/fontawesome/stacked.less
|
200
203
|
- vendor/toolkit/fontawesome/variables.less
|
201
|
-
- vendor/toolkit/twitter/bootstrap/accordion.less
|
202
204
|
- vendor/toolkit/twitter/bootstrap/alerts.less
|
205
|
+
- vendor/toolkit/twitter/bootstrap/badges.less
|
203
206
|
- vendor/toolkit/twitter/bootstrap/bootstrap.less
|
204
207
|
- vendor/toolkit/twitter/bootstrap/breadcrumbs.less
|
205
208
|
- vendor/toolkit/twitter/bootstrap/button-groups.less
|
@@ -210,29 +213,58 @@ files:
|
|
210
213
|
- vendor/toolkit/twitter/bootstrap/component-animations.less
|
211
214
|
- vendor/toolkit/twitter/bootstrap/dropdowns.less
|
212
215
|
- vendor/toolkit/twitter/bootstrap/forms.less
|
216
|
+
- vendor/toolkit/twitter/bootstrap/glyphicons.less
|
213
217
|
- vendor/toolkit/twitter/bootstrap/grid.less
|
214
|
-
- vendor/toolkit/twitter/bootstrap/
|
215
|
-
- vendor/toolkit/twitter/bootstrap/
|
216
|
-
- vendor/toolkit/twitter/bootstrap/
|
218
|
+
- vendor/toolkit/twitter/bootstrap/input-groups.less
|
219
|
+
- vendor/toolkit/twitter/bootstrap/jumbotron.less
|
220
|
+
- vendor/toolkit/twitter/bootstrap/labels.less
|
221
|
+
- vendor/toolkit/twitter/bootstrap/list-group.less
|
217
222
|
- vendor/toolkit/twitter/bootstrap/media.less
|
218
223
|
- vendor/toolkit/twitter/bootstrap/mixins.less
|
224
|
+
- vendor/toolkit/twitter/bootstrap/mixins/alerts.less
|
225
|
+
- vendor/toolkit/twitter/bootstrap/mixins/background-variant.less
|
226
|
+
- vendor/toolkit/twitter/bootstrap/mixins/border-radius.less
|
227
|
+
- vendor/toolkit/twitter/bootstrap/mixins/buttons.less
|
228
|
+
- vendor/toolkit/twitter/bootstrap/mixins/center-block.less
|
229
|
+
- vendor/toolkit/twitter/bootstrap/mixins/clearfix.less
|
230
|
+
- vendor/toolkit/twitter/bootstrap/mixins/forms.less
|
231
|
+
- vendor/toolkit/twitter/bootstrap/mixins/gradients.less
|
232
|
+
- vendor/toolkit/twitter/bootstrap/mixins/grid-framework.less
|
233
|
+
- vendor/toolkit/twitter/bootstrap/mixins/grid.less
|
234
|
+
- vendor/toolkit/twitter/bootstrap/mixins/hide-text.less
|
235
|
+
- vendor/toolkit/twitter/bootstrap/mixins/image.less
|
236
|
+
- vendor/toolkit/twitter/bootstrap/mixins/labels.less
|
237
|
+
- vendor/toolkit/twitter/bootstrap/mixins/list-group.less
|
238
|
+
- vendor/toolkit/twitter/bootstrap/mixins/nav-divider.less
|
239
|
+
- vendor/toolkit/twitter/bootstrap/mixins/nav-vertical-align.less
|
240
|
+
- vendor/toolkit/twitter/bootstrap/mixins/opacity.less
|
241
|
+
- vendor/toolkit/twitter/bootstrap/mixins/pagination.less
|
242
|
+
- vendor/toolkit/twitter/bootstrap/mixins/panels.less
|
243
|
+
- vendor/toolkit/twitter/bootstrap/mixins/progress-bar.less
|
244
|
+
- vendor/toolkit/twitter/bootstrap/mixins/reset-filter.less
|
245
|
+
- vendor/toolkit/twitter/bootstrap/mixins/resize.less
|
246
|
+
- vendor/toolkit/twitter/bootstrap/mixins/responsive-visibility.less
|
247
|
+
- vendor/toolkit/twitter/bootstrap/mixins/size.less
|
248
|
+
- vendor/toolkit/twitter/bootstrap/mixins/tab-focus.less
|
249
|
+
- vendor/toolkit/twitter/bootstrap/mixins/table-row.less
|
250
|
+
- vendor/toolkit/twitter/bootstrap/mixins/text-emphasis.less
|
251
|
+
- vendor/toolkit/twitter/bootstrap/mixins/text-overflow.less
|
252
|
+
- vendor/toolkit/twitter/bootstrap/mixins/vendor-prefixes.less
|
219
253
|
- vendor/toolkit/twitter/bootstrap/modals.less
|
220
254
|
- vendor/toolkit/twitter/bootstrap/navbar.less
|
221
255
|
- vendor/toolkit/twitter/bootstrap/navs.less
|
256
|
+
- vendor/toolkit/twitter/bootstrap/normalize.less
|
222
257
|
- vendor/toolkit/twitter/bootstrap/pager.less
|
223
258
|
- vendor/toolkit/twitter/bootstrap/pagination.less
|
259
|
+
- vendor/toolkit/twitter/bootstrap/panels.less
|
224
260
|
- vendor/toolkit/twitter/bootstrap/popovers.less
|
261
|
+
- vendor/toolkit/twitter/bootstrap/print.less
|
225
262
|
- vendor/toolkit/twitter/bootstrap/progress-bars.less
|
226
|
-
- vendor/toolkit/twitter/bootstrap/
|
227
|
-
- vendor/toolkit/twitter/bootstrap/responsive-1200px-min.less
|
228
|
-
- vendor/toolkit/twitter/bootstrap/responsive-767px-max.less
|
229
|
-
- vendor/toolkit/twitter/bootstrap/responsive-768px-979px.less
|
230
|
-
- vendor/toolkit/twitter/bootstrap/responsive-navbar.less
|
263
|
+
- vendor/toolkit/twitter/bootstrap/responsive-embed.less
|
231
264
|
- vendor/toolkit/twitter/bootstrap/responsive-utilities.less
|
232
|
-
- vendor/toolkit/twitter/bootstrap/responsive.less
|
233
265
|
- vendor/toolkit/twitter/bootstrap/scaffolding.less
|
234
|
-
- vendor/toolkit/twitter/bootstrap/sprites.less
|
235
266
|
- vendor/toolkit/twitter/bootstrap/tables.less
|
267
|
+
- vendor/toolkit/twitter/bootstrap/theme.less
|
236
268
|
- vendor/toolkit/twitter/bootstrap/thumbnails.less
|
237
269
|
- vendor/toolkit/twitter/bootstrap/tooltip.less
|
238
270
|
- vendor/toolkit/twitter/bootstrap/type.less
|
@@ -240,50 +272,11 @@ files:
|
|
240
272
|
- vendor/toolkit/twitter/bootstrap/variables.less
|
241
273
|
- vendor/toolkit/twitter/bootstrap/wells.less
|
242
274
|
- vendor/toolkit/twitter/bootstrap_base.less
|
243
|
-
- app/assets/fonts/fontawesome-webfont.eot
|
244
|
-
- app/assets/fonts/fontawesome-webfont.svg
|
245
|
-
- app/assets/fonts/fontawesome-webfont.ttf
|
246
|
-
- app/assets/fonts/fontawesome-webfont.woff
|
247
|
-
- app/assets/images/twitter/bootstrap/glyphicons-halflings-white.png
|
248
|
-
- app/assets/images/twitter/bootstrap/glyphicons-halflings.png
|
249
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-affix.js
|
250
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-alert.js
|
251
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-button.js
|
252
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js
|
253
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js
|
254
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js
|
255
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-modal.js
|
256
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-popover.js
|
257
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js
|
258
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-tab.js
|
259
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js
|
260
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-transition.js
|
261
|
-
- app/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js
|
262
|
-
- app/assets/javascripts/twitter/bootstrap.js
|
263
|
-
- app/assets/javascripts/twitter/bootstrap_ujs.js
|
264
|
-
- app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb
|
265
|
-
- app/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb
|
266
|
-
- app/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb
|
267
|
-
- app/helpers/badge_label_helper.rb
|
268
|
-
- app/helpers/bootstrap_flash_helper.rb
|
269
|
-
- app/helpers/flash_block_helper.rb
|
270
|
-
- app/helpers/glyph_helper.rb
|
271
|
-
- app/helpers/modal_helper.rb
|
272
|
-
- app/helpers/navbar_helper.rb
|
273
|
-
- app/helpers/twitter_breadcrumbs_helper.rb
|
274
|
-
- app/views/twitter-bootstrap/_breadcrumbs.html.erb
|
275
|
-
- Rakefile
|
276
|
-
- README.md
|
277
|
-
- spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb
|
278
|
-
- spec/lib/twitter_bootstrap_rails/modal_helper_spec.rb
|
279
|
-
- spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb
|
280
|
-
- spec/lib/twitter_bootstrap_rails/uri_state_spec.rb
|
281
|
-
- spec/spec_helper.rb
|
282
|
-
- test/lib/breadcrumbs_test.rb
|
283
|
-
- test/test_helper.rb
|
284
275
|
homepage: https://github.com/seyhunak/twitter-bootstrap-rails
|
285
|
-
licenses:
|
286
|
-
|
276
|
+
licenses:
|
277
|
+
- MIT
|
278
|
+
metadata: {}
|
279
|
+
post_install_message: "Important: You may need to add a javascript runtime to your
|
287
280
|
Gemfile in order for bootstrap's LESS files to compile to CSS. \n\n**********************************************\n\nExecJS
|
288
281
|
supports these runtimes:\n\ntherubyracer - Google V8 embedded within Ruby\n\ntherubyrhino
|
289
282
|
- Mozilla Rhino embedded within JRuby\n\nNode.js\n\nApple JavaScriptCore - Included
|
@@ -292,28 +285,25 @@ rdoc_options: []
|
|
292
285
|
require_paths:
|
293
286
|
- lib
|
294
287
|
required_ruby_version: !ruby/object:Gem::Requirement
|
295
|
-
none: false
|
296
288
|
requirements:
|
297
|
-
- -
|
289
|
+
- - '>='
|
298
290
|
- !ruby/object:Gem::Version
|
299
291
|
version: '0'
|
300
292
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
301
|
-
none: false
|
302
293
|
requirements:
|
303
|
-
- -
|
294
|
+
- - '>='
|
304
295
|
- !ruby/object:Gem::Version
|
305
296
|
version: '0'
|
306
297
|
requirements: []
|
307
298
|
rubyforge_project: twitter-bootstrap-rails
|
308
|
-
rubygems_version:
|
299
|
+
rubygems_version: 2.2.2
|
309
300
|
signing_key:
|
310
|
-
specification_version:
|
301
|
+
specification_version: 4
|
311
302
|
summary: Bootstrap CSS toolkit for Rails 3.1 Asset Pipeline
|
312
303
|
test_files:
|
304
|
+
- spec/lib/breadcrumbs_spec.rb
|
313
305
|
- spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb
|
314
306
|
- spec/lib/twitter_bootstrap_rails/modal_helper_spec.rb
|
315
307
|
- spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb
|
316
308
|
- spec/lib/twitter_bootstrap_rails/uri_state_spec.rb
|
317
309
|
- spec/spec_helper.rb
|
318
|
-
- test/lib/breadcrumbs_test.rb
|
319
|
-
- test/test_helper.rb
|
@@ -1,117 +0,0 @@
|
|
1
|
-
/* ==========================================================
|
2
|
-
* bootstrap-affix.js v2.3.2
|
3
|
-
* http://twitter.github.com/bootstrap/javascript.html#affix
|
4
|
-
* ==========================================================
|
5
|
-
* Copyright 2012 Twitter, Inc.
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
* ========================================================== */
|
19
|
-
|
20
|
-
|
21
|
-
!function ($) {
|
22
|
-
|
23
|
-
"use strict"; // jshint ;_;
|
24
|
-
|
25
|
-
|
26
|
-
/* AFFIX CLASS DEFINITION
|
27
|
-
* ====================== */
|
28
|
-
|
29
|
-
var Affix = function (element, options) {
|
30
|
-
this.options = $.extend({}, $.fn.affix.defaults, options)
|
31
|
-
this.$window = $(window)
|
32
|
-
.on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
33
|
-
.on('click.affix.data-api', $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this))
|
34
|
-
this.$element = $(element)
|
35
|
-
this.checkPosition()
|
36
|
-
}
|
37
|
-
|
38
|
-
Affix.prototype.checkPosition = function () {
|
39
|
-
if (!this.$element.is(':visible')) return
|
40
|
-
|
41
|
-
var scrollHeight = $(document).height()
|
42
|
-
, scrollTop = this.$window.scrollTop()
|
43
|
-
, position = this.$element.offset()
|
44
|
-
, offset = this.options.offset
|
45
|
-
, offsetBottom = offset.bottom
|
46
|
-
, offsetTop = offset.top
|
47
|
-
, reset = 'affix affix-top affix-bottom'
|
48
|
-
, affix
|
49
|
-
|
50
|
-
if (typeof offset != 'object') offsetBottom = offsetTop = offset
|
51
|
-
if (typeof offsetTop == 'function') offsetTop = offset.top()
|
52
|
-
if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
|
53
|
-
|
54
|
-
affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ?
|
55
|
-
false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ?
|
56
|
-
'bottom' : offsetTop != null && scrollTop <= offsetTop ?
|
57
|
-
'top' : false
|
58
|
-
|
59
|
-
if (this.affixed === affix) return
|
60
|
-
|
61
|
-
this.affixed = affix
|
62
|
-
this.unpin = affix == 'bottom' ? position.top - scrollTop : null
|
63
|
-
|
64
|
-
this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : ''))
|
65
|
-
}
|
66
|
-
|
67
|
-
|
68
|
-
/* AFFIX PLUGIN DEFINITION
|
69
|
-
* ======================= */
|
70
|
-
|
71
|
-
var old = $.fn.affix
|
72
|
-
|
73
|
-
$.fn.affix = function (option) {
|
74
|
-
return this.each(function () {
|
75
|
-
var $this = $(this)
|
76
|
-
, data = $this.data('affix')
|
77
|
-
, options = typeof option == 'object' && option
|
78
|
-
if (!data) $this.data('affix', (data = new Affix(this, options)))
|
79
|
-
if (typeof option == 'string') data[option]()
|
80
|
-
})
|
81
|
-
}
|
82
|
-
|
83
|
-
$.fn.affix.Constructor = Affix
|
84
|
-
|
85
|
-
$.fn.affix.defaults = {
|
86
|
-
offset: 0
|
87
|
-
}
|
88
|
-
|
89
|
-
|
90
|
-
/* AFFIX NO CONFLICT
|
91
|
-
* ================= */
|
92
|
-
|
93
|
-
$.fn.affix.noConflict = function () {
|
94
|
-
$.fn.affix = old
|
95
|
-
return this
|
96
|
-
}
|
97
|
-
|
98
|
-
|
99
|
-
/* AFFIX DATA-API
|
100
|
-
* ============== */
|
101
|
-
|
102
|
-
$(window).on('load', function () {
|
103
|
-
$('[data-spy="affix"]').each(function () {
|
104
|
-
var $spy = $(this)
|
105
|
-
, data = $spy.data()
|
106
|
-
|
107
|
-
data.offset = data.offset || {}
|
108
|
-
|
109
|
-
data.offsetBottom && (data.offset.bottom = data.offsetBottom)
|
110
|
-
data.offsetTop && (data.offset.top = data.offsetTop)
|
111
|
-
|
112
|
-
$spy.affix(data)
|
113
|
-
})
|
114
|
-
})
|
115
|
-
|
116
|
-
|
117
|
-
}(window.jQuery);
|