twitter-bootstrap-rails 2.2.7 → 2.2.8
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.
Potentially problematic release.
This version of twitter-bootstrap-rails might be problematic. Click here for more details.
- data/README.md +160 -126
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +71 -11
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-affix.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-button.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +6 -2
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +1 -1
- data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +26 -25
- data/app/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +164 -26
- data/app/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +2 -2
- data/app/helpers/glyph_helper.rb +7 -2
- data/app/helpers/navbar_helper.rb +16 -11
- data/app/views/twitter-bootstrap/_breadcrumbs.html.erb +2 -2
- 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 +3 -3
- data/lib/generators/bootstrap/install/templates/en.bootstrap.yml +4 -4
- data/lib/generators/bootstrap/layout/templates/layout.html.erb +3 -6
- data/lib/generators/bootstrap/layout/templates/layout.html.haml +2 -6
- data/lib/generators/bootstrap/layout/templates/layout.html.slim +2 -6
- data/lib/generators/bootstrap/themed/themed_generator.rb +1 -1
- data/lib/twitter/bootstrap/rails/version.rb +2 -2
- data/spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb +12 -0
- data/spec/lib/twitter_bootstrap_rails/uri_state_spec.rb +8 -1
- data/vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +889 -0
- data/vendor/static-source/sprites.less +2 -2
- data/vendor/toolkit/fontawesome/bootstrap.less +6 -0
- data/vendor/toolkit/fontawesome/core.less +17 -20
- data/vendor/toolkit/fontawesome/extras.less +18 -4
- data/vendor/toolkit/fontawesome/font-awesome-ie7.less +1888 -348
- data/vendor/toolkit/fontawesome/font-awesome.less +14 -13
- data/vendor/toolkit/fontawesome/icons.less +377 -326
- data/vendor/toolkit/fontawesome/mixins.less +14 -0
- data/vendor/toolkit/fontawesome/variables.less +728 -2
- data/vendor/toolkit/twitter/bootstrap/bootstrap.less +1 -1
- data/vendor/toolkit/twitter/bootstrap/dropdowns.less +11 -0
- data/vendor/toolkit/twitter/bootstrap/mixins.less +6 -6
- data/vendor/toolkit/twitter/bootstrap/responsive.less +1 -1
- data/vendor/toolkit/twitter/bootstrap/sprites.less +2 -2
- metadata +4 -3
@@ -135,6 +135,17 @@
|
|
135
135
|
}
|
136
136
|
}
|
137
137
|
|
138
|
+
// Backdrop to catch body clicks on mobile, etc.
|
139
|
+
// ---------------------------
|
140
|
+
.dropdown-backdrop {
|
141
|
+
position: fixed;
|
142
|
+
left: 0;
|
143
|
+
right: 0;
|
144
|
+
bottom: 0;
|
145
|
+
top: 0;
|
146
|
+
z-index: @zindexDropdown - 10;
|
147
|
+
}
|
148
|
+
|
138
149
|
// Right aligned dropdowns
|
139
150
|
// ---------------------------
|
140
151
|
.pull-right > .dropdown-menu {
|
@@ -575,13 +575,13 @@
|
|
575
575
|
.core (@gridColumnWidth, @gridGutterWidth) {
|
576
576
|
|
577
577
|
.spanX (@index) when (@index > 0) {
|
578
|
-
|
578
|
+
.span@{index} { .span(@index); }
|
579
579
|
.spanX(@index - 1);
|
580
580
|
}
|
581
581
|
.spanX (0) {}
|
582
582
|
|
583
583
|
.offsetX (@index) when (@index > 0) {
|
584
|
-
|
584
|
+
.offset@{index} { .offset(@index); }
|
585
585
|
.offsetX(@index - 1);
|
586
586
|
}
|
587
587
|
.offsetX (0) {}
|
@@ -620,14 +620,14 @@
|
|
620
620
|
.fluid (@fluidGridColumnWidth, @fluidGridGutterWidth) {
|
621
621
|
|
622
622
|
.spanX (@index) when (@index > 0) {
|
623
|
-
|
623
|
+
.span@{index} { .span(@index); }
|
624
624
|
.spanX(@index - 1);
|
625
625
|
}
|
626
626
|
.spanX (0) {}
|
627
627
|
|
628
628
|
.offsetX (@index) when (@index > 0) {
|
629
|
-
|
630
|
-
|
629
|
+
.offset@{index} { .offset(@index); }
|
630
|
+
.offset@{index}:first-child { .offsetFirstChild(@index); }
|
631
631
|
.offsetX(@index - 1);
|
632
632
|
}
|
633
633
|
.offsetX (0) {}
|
@@ -675,7 +675,7 @@
|
|
675
675
|
.input(@gridColumnWidth, @gridGutterWidth) {
|
676
676
|
|
677
677
|
.spanX (@index) when (@index > 0) {
|
678
|
-
|
678
|
+
input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index} { .span(@index); }
|
679
679
|
.spanX(@index - 1);
|
680
680
|
}
|
681
681
|
.spanX (0) {}
|
@@ -22,7 +22,7 @@
|
|
22
22
|
.ie7-restore-right-whitespace();
|
23
23
|
line-height: 14px;
|
24
24
|
vertical-align: text-top;
|
25
|
-
background-image:
|
25
|
+
background-image: @iconSpritePath;
|
26
26
|
background-position: 14px 14px;
|
27
27
|
background-repeat: no-repeat;
|
28
28
|
margin-top: 1px;
|
@@ -46,7 +46,7 @@
|
|
46
46
|
.dropdown-submenu:focus > a > [class^="icon-"],
|
47
47
|
.dropdown-submenu:hover > a > [class*=" icon-"],
|
48
48
|
.dropdown-submenu:focus > a > [class*=" icon-"] {
|
49
|
-
background-image:
|
49
|
+
background-image: @iconWhiteSpritePath;
|
50
50
|
}
|
51
51
|
|
52
52
|
.icon-glass { background-position: 0 0; }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootstrap-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-08-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -185,6 +185,7 @@ files:
|
|
185
185
|
- lib/twitter/bootstrap/rails/twitter-bootstrap-breadcrumbs.rb
|
186
186
|
- lib/twitter/bootstrap/rails/version.rb
|
187
187
|
- lib/twitter-bootstrap-rails.rb
|
188
|
+
- vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb
|
188
189
|
- vendor/static-source/bootstrap.less
|
189
190
|
- vendor/static-source/fontawesome.less
|
190
191
|
- vendor/static-source/sprites.less
|
@@ -286,7 +287,7 @@ post_install_message: ! "Important: You may need to add a javascript runtime to
|
|
286
287
|
Gemfile in order for bootstrap's LESS files to compile to CSS. \n\n**********************************************\n\nExecJS
|
287
288
|
supports these runtimes:\n\ntherubyracer - Google V8 embedded within Ruby\n\ntherubyrhino
|
288
289
|
- Mozilla Rhino embedded within JRuby\n\nNode.js\n\nApple JavaScriptCore - Included
|
289
|
-
with Mac OS X\n\nMicrosoft Windows Script Host (JScript)\n\n
|
290
|
+
with Mac OS X\n\nMicrosoft Windows Script Host (JScript)\n\n**********************************************\n"
|
290
291
|
rdoc_options: []
|
291
292
|
require_paths:
|
292
293
|
- lib
|