bootstrap-sass 2.3.1.3 → 2.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 bootstrap-sass might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b09f6433158e12d5a8c8969da1e32985d51fb9ff
4
- data.tar.gz: e71e02077ea33385b244bb0fb151e22c8eda48f2
3
+ metadata.gz: f502c25ee946e29cbadf5a88744b41b177eb9e2c
4
+ data.tar.gz: 2ad210792cd1f45c9e0db7126fa845966d6d0496
5
5
  SHA512:
6
- metadata.gz: aae41147f24d99bcdeb4f94d23666e882c9ea47e51584c6c31920f2b715ebf0b8b435c02096912116a6d43d647255eafcf3f7c457bbe3bdb3d14937bb0618382
7
- data.tar.gz: c3a340f53d15c452268a1da849d3f5bf99ecd95e2effbb25b8564588c1448dcffdc896e26130f9f8eb9f03b21bdb99b54b6c02b5e35a6d8bbe971f5999fe8403
6
+ metadata.gz: 0f632027ad30ce3da7dc6e3b98c2382dda542811aea1b698aae6c6aae05410fe70a5ca00718164093fac8f83a549821740a4827831d5c759833a2a267b74bfb8
7
+ data.tar.gz: 5b37c7bbde6d8e8ded49094fcd5072fe31508aaed83d81fa87769e6e9d1548907cf393039101a5516e3f5c16608684d6243318cdaac7db7b3ca7cf51a9eb457d
data/README.md CHANGED
@@ -14,7 +14,7 @@ In your Gemfile:
14
14
 
15
15
  ```ruby
16
16
  gem 'sass-rails', '~> 3.2'
17
- gem 'bootstrap-sass', '~> 2.3.1.3'
17
+ gem 'bootstrap-sass', '~> 2.3.2'
18
18
  ```
19
19
 
20
20
  `bundle install` and restart your server to make the files available.
@@ -123,7 +123,7 @@ Basically this means you should expect to append a separate patch version to the
123
123
  ### Bundler?
124
124
 
125
125
  ```ruby
126
- gem 'bootstrap-sass', '~> 2.3.1.3'
126
+ gem 'bootstrap-sass', '~> 2.3.2'
127
127
  ```
128
128
 
129
129
  Don't use the standard `~> 2.x.y`. Your apps may break.
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-affix.js v2.3.1
2
+ * bootstrap-affix.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#affix
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-alert.js v2.3.1
2
+ * bootstrap-alert.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#alerts
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ============================================================
2
- * bootstrap-button.js v2.3.1
2
+ * bootstrap-button.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#buttons
4
4
  * ============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-carousel.js v2.3.1
2
+ * bootstrap-carousel.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#carousel
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-collapse.js v2.3.1
2
+ * bootstrap-collapse.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#collapse
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ============================================================
2
- * bootstrap-dropdown.js v2.3.1
2
+ * bootstrap-dropdown.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#dropdowns
4
4
  * ============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -52,6 +52,10 @@
52
52
  clearMenus()
53
53
 
54
54
  if (!isActive) {
55
+ if ('ontouchstart' in document.documentElement) {
56
+ // if mobile we we use a backdrop because click events don't delegate
57
+ $('<div class="dropdown-backdrop"/>').insertBefore($(this)).on('click', clearMenus)
58
+ }
55
59
  $parent.toggleClass('open')
56
60
  }
57
61
 
@@ -104,6 +108,7 @@
104
108
  }
105
109
 
106
110
  function clearMenus() {
111
+ $('.dropdown-backdrop').remove()
107
112
  $(toggle).each(function () {
108
113
  getParent($(this)).removeClass('open')
109
114
  })
@@ -158,7 +163,6 @@
158
163
  $(document)
159
164
  .on('click.dropdown.data-api', clearMenus)
160
165
  .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
161
- .on('click.dropdown-menu', function (e) { e.stopPropagation() })
162
166
  .on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
163
167
  .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
164
168
 
@@ -1,5 +1,5 @@
1
1
  /* =========================================================
2
- * bootstrap-modal.js v2.3.1
2
+ * bootstrap-modal.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#modals
4
4
  * =========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ===========================================================
2
- * bootstrap-popover.js v2.3.1
2
+ * bootstrap-popover.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#popovers
4
4
  * ===========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-scrollspy.js v2.3.1
2
+ * bootstrap-scrollspy.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#scrollspy
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ========================================================
2
- * bootstrap-tab.js v2.3.1
2
+ * bootstrap-tab.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#tabs
4
4
  * ========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ===========================================================
2
- * bootstrap-tooltip.js v2.3.1
2
+ * bootstrap-tooltip.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#tooltips
4
4
  * Inspired by the original jQuery.tipsy by Jason Frame
5
5
  * ===========================================================
@@ -1,5 +1,5 @@
1
1
  /* ===================================================
2
- * bootstrap-transition.js v2.3.1
2
+ * bootstrap-transition.js v2.3.2
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.3.1
2
+ * bootstrap-typeahead.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#typeahead
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -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 {
@@ -436,6 +436,17 @@
436
436
  background-image: -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10
437
437
  background-image: linear-gradient($deg, $startColor, $endColor); // Standard, IE10
438
438
  }
439
+ @mixin gradient-horizontal-three-colors($startColor: #00b3ee, $midColor: #7a43b6, $colorStop: 50%, $endColor: #c3325f) {
440
+ background-color: mix($midColor, $endColor, 80%);
441
+ background-image: -webkit-gradient(left, linear, 0 0, 0 100%, from($startColor), color-stop($colorStop, $midColor), to($endColor));
442
+ background-image: -webkit-linear-gradient(left, $startColor, $midColor $colorStop, $endColor);
443
+ background-image: -moz-linear-gradient(left, $startColor, $midColor $colorStop, $endColor);
444
+ background-image: -o-linear-gradient(left, $startColor, $midColor $colorStop, $endColor);
445
+ background-image: linear-gradient(to right, $startColor, $midColor $colorStop, $endColor);
446
+ background-repeat: no-repeat;
447
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($startColor)}', endColorstr='#{ie-hex-str($endColor)}', GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
448
+ }
449
+
439
450
  @mixin gradient-vertical-three-colors($startColor: #00b3ee, $midColor: #7a43b6, $colorStop: 50%, $endColor: #c3325f) {
440
451
  background-color: mix($midColor, $endColor, 80%);
441
452
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from($startColor), color-stop($colorStop, $midColor), to($endColor));
@@ -578,16 +589,14 @@
578
589
  }
579
590
 
580
591
  @mixin grid-core-span-x($gridColumns, $gridColumnWidth, $gridGutterWidth) {
581
- @while $gridColumns > 0 {
582
- .span#{$gridColumns} { @include grid-core-span($gridColumns, $gridColumnWidth, $gridGutterWidth)}
583
- $gridColumns: $gridColumns - 1;
592
+ @for $i from 1 through $gridColumns {
593
+ .span#{$i} { @include grid-core-span($i, $gridColumnWidth, $gridGutterWidth); }
584
594
  }
585
595
  }
586
596
 
587
597
  @mixin grid-core-offset-x($gridColumns, $gridColumnWidth, $gridGutterWidth) {
588
- @while $gridColumns > 0 {
589
- .offset#{$gridColumns} { @include grid-core-offset($gridColumns, $gridColumnWidth, $gridGutterWidth); }
590
- $gridColumns: $gridColumns - 1;
598
+ @for $i from 1 through $gridColumns {
599
+ .offset#{$i} { @include grid-core-offset($i, $gridColumnWidth, $gridGutterWidth); }
591
600
  }
592
601
  }
593
602
 
@@ -627,17 +636,15 @@
627
636
  }
628
637
 
629
638
  @mixin grid-fluid-span-x($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
630
- @while $gridColumns > 0 {
631
- .span#{$gridColumns} { @include grid-fluid-span($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth); }
632
- $gridColumns: $gridColumns - 1;
639
+ @for $i from 1 through $gridColumns {
640
+ .span#{$i} { @include grid-fluid-span($i, $fluidGridColumnWidth, $fluidGridGutterWidth); }
633
641
  }
634
642
  }
635
643
 
636
644
  @mixin grid-fluid-offset-x($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
637
- @while $gridColumns > 0 {
638
- .offset#{$gridColumns} { @include grid-fluid-offset($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth); }
639
- .offset#{$gridColumns}:first-child { @include grid-fluid-offset-first-child($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth); }
640
- $gridColumns: $gridColumns - 1;
645
+ @for $i from 1 through $gridColumns {
646
+ .offset#{$i} { @include grid-fluid-offset($i, $fluidGridColumnWidth, $fluidGridGutterWidth); }
647
+ .offset#{$i}:first-child { @include grid-fluid-offset-first-child($i, $fluidGridColumnWidth, $fluidGridGutterWidth); }
641
648
  }
642
649
  }
643
650
 
@@ -675,13 +682,12 @@
675
682
  }
676
683
 
677
684
  @mixin grid-input-span-x($gridColumns, $gridColumnWidth, $gridGutterWidth) {
678
- @while $gridColumns > 0 {
679
- input.span#{$gridColumns},
680
- textarea.span#{$gridColumns},
681
- .uneditable-input.span#{$gridColumns} {
682
- @include grid-input-span($gridColumns, $gridColumnWidth, $gridGutterWidth);
685
+ @for $i from 1 through $gridColumns {
686
+ input.span#{$i},
687
+ textarea.span#{$i},
688
+ .uneditable-input.span#{$i} {
689
+ @include grid-input-span($i, $gridColumnWidth, $gridGutterWidth);
683
690
  }
684
- $gridColumns: $gridColumns - 1;
685
691
  }
686
692
  }
687
693
 
@@ -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
@@ -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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1.3
4
+ version: 2.3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas McDonald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-31 00:00:00.000000000 Z
11
+ date: 2013-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass