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.

Files changed (51) hide show
  1. data/README.md +160 -126
  2. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  3. data/app/assets/fonts/fontawesome-webfont.svg +71 -11
  4. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  5. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  6. data/app/assets/javascripts/twitter/bootstrap/bootstrap-affix.js +1 -1
  7. data/app/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +1 -1
  8. data/app/assets/javascripts/twitter/bootstrap/bootstrap-button.js +1 -1
  9. data/app/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +1 -1
  10. data/app/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +1 -1
  11. data/app/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +6 -2
  12. data/app/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +1 -1
  13. data/app/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +1 -1
  14. data/app/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +1 -1
  15. data/app/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +1 -1
  16. data/app/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +1 -1
  17. data/app/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +1 -1
  18. data/app/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +1 -1
  19. data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +26 -25
  20. data/app/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +164 -26
  21. data/app/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +2 -2
  22. data/app/helpers/glyph_helper.rb +7 -2
  23. data/app/helpers/navbar_helper.rb +16 -11
  24. data/app/views/twitter-bootstrap/_breadcrumbs.html.erb +2 -2
  25. data/lib/generators/bootstrap/install/templates/bootstrap.coffee +2 -3
  26. data/lib/generators/bootstrap/install/templates/bootstrap.js +2 -3
  27. data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +3 -3
  28. data/lib/generators/bootstrap/install/templates/en.bootstrap.yml +4 -4
  29. data/lib/generators/bootstrap/layout/templates/layout.html.erb +3 -6
  30. data/lib/generators/bootstrap/layout/templates/layout.html.haml +2 -6
  31. data/lib/generators/bootstrap/layout/templates/layout.html.slim +2 -6
  32. data/lib/generators/bootstrap/themed/themed_generator.rb +1 -1
  33. data/lib/twitter/bootstrap/rails/version.rb +2 -2
  34. data/spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb +12 -0
  35. data/spec/lib/twitter_bootstrap_rails/uri_state_spec.rb +8 -1
  36. data/vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +889 -0
  37. data/vendor/static-source/sprites.less +2 -2
  38. data/vendor/toolkit/fontawesome/bootstrap.less +6 -0
  39. data/vendor/toolkit/fontawesome/core.less +17 -20
  40. data/vendor/toolkit/fontawesome/extras.less +18 -4
  41. data/vendor/toolkit/fontawesome/font-awesome-ie7.less +1888 -348
  42. data/vendor/toolkit/fontawesome/font-awesome.less +14 -13
  43. data/vendor/toolkit/fontawesome/icons.less +377 -326
  44. data/vendor/toolkit/fontawesome/mixins.less +14 -0
  45. data/vendor/toolkit/fontawesome/variables.less +728 -2
  46. data/vendor/toolkit/twitter/bootstrap/bootstrap.less +1 -1
  47. data/vendor/toolkit/twitter/bootstrap/dropdowns.less +11 -0
  48. data/vendor/toolkit/twitter/bootstrap/mixins.less +6 -6
  49. data/vendor/toolkit/twitter/bootstrap/responsive.less +1 -1
  50. data/vendor/toolkit/twitter/bootstrap/sprites.less +2 -2
  51. metadata +4 -3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v2.3.1
2
+ * Bootstrap v2.3.2
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
@@ -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
- (~".span@{index}") { .span(@index); }
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
- (~".offset@{index}") { .offset(@index); }
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
- (~".span@{index}") { .span(@index); }
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
- (~'.offset@{index}') { .offset(@index); }
630
- (~'.offset@{index}:first-child') { .offsetFirstChild(@index); }
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
- (~"input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index}") { .span(@index); }
678
+ input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index} { .span(@index); }
679
679
  .spanX(@index - 1);
680
680
  }
681
681
  .spanX (0) {}
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Responsive v2.3.1
2
+ * Bootstrap Responsive v2.3.2
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.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: url("@{iconSpritePath}");
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: url("@{iconWhiteSpritePath}");
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.7
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-06-05 00:00:00.000000000 Z
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