compass_twitter_bootstrap 2.2.2.2 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +5 -4
  4. data/lib/compass_twitter_bootstrap/version.rb +1 -1
  5. data/stylesheets/_compass_twitter_bootstrap.scss +15 -5
  6. data/stylesheets/_compass_twitter_bootstrap_awesome.scss +17 -6
  7. data/stylesheets/_compass_twitter_bootstrap_responsive.scss +17 -5
  8. data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +4 -2
  9. data/stylesheets/compass_twitter_bootstrap/_buttons.scss +9 -11
  10. data/stylesheets/compass_twitter_bootstrap/_carousel.scss +34 -7
  11. data/stylesheets/compass_twitter_bootstrap/_close.scss +2 -1
  12. data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +16 -12
  13. data/stylesheets/compass_twitter_bootstrap/_forms.scss +5 -2
  14. data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +4 -2
  15. data/stylesheets/compass_twitter_bootstrap/_media.scss +2 -2
  16. data/stylesheets/compass_twitter_bootstrap/_mixins.scss +39 -8
  17. data/stylesheets/compass_twitter_bootstrap/_navbar.scss +20 -13
  18. data/stylesheets/compass_twitter_bootstrap/_navs.scss +39 -21
  19. data/stylesheets/compass_twitter_bootstrap/_pager.scss +3 -1
  20. data/stylesheets/compass_twitter_bootstrap/_pagination.scss +3 -1
  21. data/stylesheets/compass_twitter_bootstrap/_popovers.scss +5 -1
  22. data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +2 -2
  23. data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +6 -2
  24. data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +16 -0
  25. data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +2 -1
  26. data/stylesheets/compass_twitter_bootstrap/_sprites.scss +7 -3
  27. data/stylesheets/compass_twitter_bootstrap/_tables.scss +24 -17
  28. data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +3 -2
  29. data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +6 -6
  30. data/stylesheets/compass_twitter_bootstrap/_type.scss +19 -7
  31. data/stylesheets/compass_twitter_bootstrap/_utilities.scss +1 -3
  32. data/stylesheets/compass_twitter_bootstrap/_variables.scss +4 -4
  33. data/stylesheets_sass/_compass_twitter_bootstrap.sass +14 -6
  34. data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +16 -7
  35. data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +14 -5
  36. data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +4 -3
  37. data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +9 -11
  38. data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +30 -6
  39. data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +2 -1
  40. data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +1 -1
  41. data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +18 -13
  42. data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +339 -46
  43. data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +12 -15
  44. data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +4 -2
  45. data/stylesheets_sass/compass_twitter_bootstrap/_media.sass +2 -2
  46. data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +41 -7
  47. data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +4 -4
  48. data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +23 -14
  49. data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +51 -30
  50. data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +4 -2
  51. data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +3 -1
  52. data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +4 -2
  53. data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +2 -2
  54. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +1 -1
  55. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +6 -2
  56. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +19 -0
  57. data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +3 -2
  58. data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +8 -3
  59. data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +24 -16
  60. data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +5 -3
  61. data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +6 -2
  62. data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +24 -7
  63. data/stylesheets_sass/compass_twitter_bootstrap/_utilities.sass +0 -3
  64. data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +4 -4
  65. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  66. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  67. data/vendor/assets/javascripts/bootstrap-affix.js +1 -1
  68. data/vendor/assets/javascripts/bootstrap-alert.js +1 -1
  69. data/vendor/assets/javascripts/bootstrap-all.js +0 -1
  70. data/vendor/assets/javascripts/bootstrap-button.js +1 -1
  71. data/vendor/assets/javascripts/bootstrap-carousel.js +32 -10
  72. data/vendor/assets/javascripts/bootstrap-collapse.js +4 -4
  73. data/vendor/assets/javascripts/bootstrap-dropdown.js +14 -10
  74. data/vendor/assets/javascripts/bootstrap-modal.js +14 -12
  75. data/vendor/assets/javascripts/bootstrap-popover.js +5 -5
  76. data/vendor/assets/javascripts/bootstrap-scrollspy.js +2 -2
  77. data/vendor/assets/javascripts/bootstrap-tab.js +1 -1
  78. data/vendor/assets/javascripts/bootstrap-tooltip.js +104 -30
  79. data/vendor/assets/javascripts/bootstrap-transition.js +1 -1
  80. data/vendor/assets/javascripts/bootstrap-typeahead.js +16 -4
  81. metadata +10 -22
  82. data/stylesheets/compass_twitter_bootstrap/_responsive.scss +0 -48
  83. data/stylesheets_sass/compass_twitter_bootstrap/_responsive.sass +0 -44
@@ -1,5 +1,5 @@
1
1
  /* ===================================================
2
- * bootstrap-transition.js v2.2.2
2
+ * bootstrap-transition.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#transitions
4
4
  * ===================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-typeahead.js v2.2.2
2
+ * bootstrap-typeahead.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#typeahead
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -172,6 +172,7 @@
172
172
 
173
173
  , listen: function () {
174
174
  this.$element
175
+ .on('focus', $.proxy(this.focus, this))
175
176
  .on('blur', $.proxy(this.blur, this))
176
177
  .on('keypress', $.proxy(this.keypress, this))
177
178
  .on('keyup', $.proxy(this.keyup, this))
@@ -183,6 +184,7 @@
183
184
  this.$menu
184
185
  .on('click', $.proxy(this.click, this))
185
186
  .on('mouseenter', 'li', $.proxy(this.mouseenter, this))
187
+ .on('mouseleave', 'li', $.proxy(this.mouseleave, this))
186
188
  }
187
189
 
188
190
  , eventSupported: function(eventName) {
@@ -256,22 +258,33 @@
256
258
  e.preventDefault()
257
259
  }
258
260
 
261
+ , focus: function (e) {
262
+ this.focused = true
263
+ }
264
+
259
265
  , blur: function (e) {
260
- var that = this
261
- setTimeout(function () { that.hide() }, 150)
266
+ this.focused = false
267
+ if (!this.mousedover && this.shown) this.hide()
262
268
  }
263
269
 
264
270
  , click: function (e) {
265
271
  e.stopPropagation()
266
272
  e.preventDefault()
267
273
  this.select()
274
+ this.$element.focus()
268
275
  }
269
276
 
270
277
  , mouseenter: function (e) {
278
+ this.mousedover = true
271
279
  this.$menu.find('.active').removeClass('active')
272
280
  $(e.currentTarget).addClass('active')
273
281
  }
274
282
 
283
+ , mouseleave: function (e) {
284
+ this.mousedover = false
285
+ if (!this.focused && this.shown) this.hide()
286
+ }
287
+
275
288
  }
276
289
 
277
290
 
@@ -316,7 +329,6 @@
316
329
  $(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
317
330
  var $this = $(this)
318
331
  if ($this.data('typeahead')) return
319
- e.preventDefault()
320
332
  $this.typeahead($this.data())
321
333
  })
322
334
 
metadata CHANGED
@@ -1,32 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass_twitter_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 2.2.2.2
4
+ version: 2.3.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Vincent
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-27 00:00:00.000000000 Z
11
+ date: 2013-05-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: compass
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
21
+ prerelease: false
23
22
  version_requirements: !ruby/object:Gem::Requirement
24
- none: false
25
23
  requirements:
26
- - - ! '>='
24
+ - - '>='
27
25
  - !ruby/object:Gem::Version
28
26
  version: '0'
29
- prerelease: false
30
27
  description: Compass/SCSS version of the twitter bootstrap
31
28
  email:
32
29
  - vrwaller@gmail.com
@@ -79,7 +76,6 @@ files:
79
76
  - stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss
80
77
  - stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss
81
78
  - stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss
82
- - stylesheets/compass_twitter_bootstrap/_responsive.scss
83
79
  - stylesheets/compass_twitter_bootstrap/_scaffolding.scss
84
80
  - stylesheets/compass_twitter_bootstrap/_sprites.scss
85
81
  - stylesheets/compass_twitter_bootstrap/_tables.scss
@@ -123,7 +119,6 @@ files:
123
119
  - stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass
124
120
  - stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass
125
121
  - stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass
126
- - stylesheets_sass/compass_twitter_bootstrap/_responsive.sass
127
122
  - stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass
128
123
  - stylesheets_sass/compass_twitter_bootstrap/_sprites.sass
129
124
  - stylesheets_sass/compass_twitter_bootstrap/_tables.sass
@@ -156,32 +151,25 @@ files:
156
151
  - vendor/assets/javascripts/bootstrap-typeahead.js
157
152
  homepage: https://github.com/vwall/compass-twitter-bootstrap
158
153
  licenses: []
154
+ metadata: {}
159
155
  post_install_message:
160
156
  rdoc_options: []
161
157
  require_paths:
162
158
  - lib
163
159
  required_ruby_version: !ruby/object:Gem::Requirement
164
- none: false
165
160
  requirements:
166
- - - ! '>='
161
+ - - '>='
167
162
  - !ruby/object:Gem::Version
168
- segments:
169
- - 0
170
- hash: -679715786983565283
171
163
  version: '0'
172
164
  required_rubygems_version: !ruby/object:Gem::Requirement
173
- none: false
174
165
  requirements:
175
- - - ! '>='
166
+ - - '>='
176
167
  - !ruby/object:Gem::Version
177
- segments:
178
- - 0
179
- hash: -679715786983565283
180
168
  version: '0'
181
169
  requirements: []
182
170
  rubyforge_project:
183
- rubygems_version: 1.8.25
171
+ rubygems_version: 2.0.3
184
172
  signing_key:
185
- specification_version: 3
173
+ specification_version: 4
186
174
  summary: Compass Twitter Bootstrap
187
175
  test_files: []
@@ -1,48 +0,0 @@
1
- /*!
2
- * Bootstrap Responsive v2.1.0
3
- *
4
- * Copyright 2012 Twitter, Inc
5
- * Licensed under the Apache License v2.0
6
- * http://www.apache.org/licenses/LICENSE-2.0
7
- *
8
- * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
- */
10
-
11
-
12
- // responsive.scss
13
- // For phone and tablet devices
14
- // -------------------------------------------------------------
15
-
16
-
17
- // REPEAT VARIABLES & MIXINS
18
- // -------------------------
19
- // Required since we compile the responsive stuff separately
20
-
21
- @import "variables"; // Modify this for custom colors, font-sizes, etc
22
- @import "mixins";
23
-
24
-
25
- // RESPONSIVE CLASSES
26
- // ------------------
27
-
28
- @import "responsive-utilities";
29
-
30
-
31
- // MEDIA QUERIES
32
- // ------------------
33
-
34
- // Large desktops
35
- @import "responsive-1200px-min";
36
-
37
- // Tablets to regular desktops
38
- @import "responsive-768px-979px";
39
-
40
- // Phones to portrait tablets and narrow desktops
41
- @import "responsive-767px-max";
42
-
43
-
44
- // RESPONSIVE NAVBAR
45
- // ------------------
46
-
47
- // From 979px and below, show a button to toggle navbar contents
48
- @import "responsive-navbar";
@@ -1,44 +0,0 @@
1
- /*!
2
- * Bootstrap Responsive v2.1.0
3
- *
4
- * Copyright 2012 Twitter, Inc
5
- * Licensed under the Apache License v2.0
6
- * http://www.apache.org/licenses/LICENSE-2.0
7
- *
8
- * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
-
10
- // responsive.scss
11
- // For phone and tablet devices
12
- // -------------------------------------------------------------
13
-
14
- // REPEAT VARIABLES & MIXINS
15
- // -------------------------
16
- // Required since we compile the responsive stuff separately
17
-
18
- @import variables
19
-
20
- // Modify this for custom colors, font-sizes, etc
21
- @import mixins
22
-
23
- // RESPONSIVE CLASSES
24
- // ------------------
25
-
26
- @import responsive-utilities
27
-
28
- // MEDIA QUERIES
29
- // ------------------
30
-
31
- // Large desktops
32
- @import responsive-1200px-min
33
-
34
- // Tablets to regular desktops
35
- @import responsive-768px-979px
36
-
37
- // Phones to portrait tablets and narrow desktops
38
- @import responsive-767px-max
39
-
40
- // RESPONSIVE NAVBAR
41
- // ------------------
42
-
43
- // From 979px and below, show a button to toggle navbar contents
44
- @import responsive-navbar