jombo 0.0.1.beta16 → 0.0.1.beta17

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.
data/lib/jombo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jombo
2
- VERSION = "0.0.1.beta16"
2
+ VERSION = "0.0.1.beta17"
3
3
  end
@@ -26,10 +26,10 @@
26
26
  this.init('popover', element, options)
27
27
  }
28
28
 
29
- /* NOTE: POPOVER EXTENDS BOOTSTRAP-TWIPSY.js
30
- ========================================= */
29
+ /* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js
30
+ ========================================== */
31
31
 
32
- Popover.prototype = $.extend({}, $.fn.twipsy.Constructor.prototype, {
32
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype, {
33
33
 
34
34
  constructor: Popover
35
35
 
@@ -86,7 +86,7 @@
86
86
 
87
87
  $.fn.popover.Constructor = Popover
88
88
 
89
- $.fn.popover.defaults = $.extend({} , $.fn.twipsy.defaults, {
89
+ $.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {
90
90
  placement: 'right'
91
91
  , content: ''
92
92
  , template: '<div class="popover"><div class="arrow"></div><div class="inner"><h3 class="title"></h3><div class="content"><p></p></div></div></div>'
@@ -1,8 +1,8 @@
1
- /* ==========================================================
2
- * bootstrap-twipsy.js v2.0.0
3
- * http://twitter.github.com/bootstrap/javascript.html#twipsy
1
+ /* ===========================================================
2
+ * bootstrap-tooltip.js v2.0.0
3
+ * http://twitter.github.com/bootstrap/javascript.html#tooltip
4
4
  * Inspired by the original jQuery.tipsy by Jason Frame
5
- * ==========================================================
5
+ * ===========================================================
6
6
  * Copyright 2011 Twitter, Inc.
7
7
  *
8
8
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -22,16 +22,16 @@
22
22
 
23
23
  "use strict"
24
24
 
25
- /* TWIPSY PUBLIC CLASS DEFINITION
26
- * ============================== */
25
+ /* TOOLTIP PUBLIC CLASS DEFINITION
26
+ * =============================== */
27
27
 
28
- var Twipsy = function ( element, options ) {
29
- this.init('twipsy', element, options)
28
+ var Tooltip = function ( element, options ) {
29
+ this.init('tooltip', element, options)
30
30
  }
31
31
 
32
- Twipsy.prototype = {
32
+ Tooltip.prototype = {
33
33
 
34
- constructor: Twipsy
34
+ constructor: Tooltip
35
35
 
36
36
  , init: function ( type, element, options ) {
37
37
  var eventIn
@@ -154,7 +154,7 @@
154
154
 
155
155
  , setContent: function () {
156
156
  var $tip = this.tip()
157
- $tip.find('.twipsy-inner').html(this.getTitle())
157
+ $tip.find('.tooltip-inner').html(this.getTitle())
158
158
  $tip.removeClass('fade in top bottom left right')
159
159
  }
160
160
 
@@ -242,29 +242,29 @@
242
242
  }
243
243
 
244
244
 
245
- /* TWIPSY PLUGIN DEFINITION
246
- * ======================== */
245
+ /* TOOLTIP PLUGIN DEFINITION
246
+ * ========================= */
247
247
 
248
- $.fn.twipsy = function ( option ) {
248
+ $.fn.tooltip = function ( option ) {
249
249
  return this.each(function () {
250
250
  var $this = $(this)
251
- , data = $this.data('twipsy')
251
+ , data = $this.data('tooltip')
252
252
  , options = typeof option == 'object' && option
253
- if (!data) $this.data('twipsy', (data = new Twipsy(this, options)))
253
+ if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))
254
254
  if (typeof option == 'string') data[option]()
255
255
  })
256
256
  }
257
257
 
258
- $.fn.twipsy.Constructor = Twipsy
258
+ $.fn.tooltip.Constructor = Tooltip
259
259
 
260
- $.fn.twipsy.defaults = {
260
+ $.fn.tooltip.defaults = {
261
261
  animation: true
262
262
  , delay: 0
263
263
  , selector: false
264
264
  , placement: 'top'
265
265
  , trigger: 'hover'
266
266
  , title: ''
267
- , template: '<div class="twipsy"><div class="twipsy-arrow"></div><div class="twipsy-inner"></div></div>'
267
+ , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
268
268
  }
269
269
 
270
270
  }( window.jQuery )
@@ -156,11 +156,13 @@
156
156
  break
157
157
 
158
158
  case 38: // up arrow
159
+ if (!this.shown) return
159
160
  e.preventDefault()
160
161
  this.prev()
161
162
  break
162
163
 
163
164
  case 40: // down arrow
165
+ if (!this.shown) return
164
166
  e.preventDefault()
165
167
  this.next()
166
168
  break
@@ -6,7 +6,7 @@
6
6
  * http://www.apache.org/licenses/LICENSE-2.0
7
7
  *
8
8
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
- * Date: Mon Jan 9 09:15:32 PST 2012
9
+ * Date: Thu Jan 12 15:28:03 PST 2012
10
10
  */
11
11
  html, body {
12
12
  margin: 0;
@@ -459,8 +459,8 @@ blockquote {
459
459
  }
460
460
  blockquote p {
461
461
  margin-bottom: 0;
462
- font-size: 300;
463
- font-weight: 16px;
462
+ font-size: 16px;
463
+ font-weight: 300;
464
464
  line-height: 22.5px;
465
465
  }
466
466
  blockquote small {
@@ -993,6 +993,12 @@ th {
993
993
  td {
994
994
  vertical-align: top;
995
995
  }
996
+ thead:first-child tr th, thead:first-child tr td {
997
+ border-top: 0;
998
+ }
999
+ tbody + tbody {
1000
+ border-top: 2px solid #ddd;
1001
+ }
996
1002
  .condensed-table th, .condensed-table td {
997
1003
  padding: 4px 5px;
998
1004
  }
@@ -1447,12 +1453,12 @@ i {
1447
1453
  min-width: 160px;
1448
1454
  max-width: 220px;
1449
1455
  _width: 160px;
1450
- padding: 5px 0;
1456
+ padding: 4px 0;
1451
1457
  margin: 0;
1452
1458
  list-style: none;
1453
1459
  background-color: #ffffff;
1454
1460
  border-color: #999;
1455
- border-color: rgba(0, 0, 0, 0.1);
1461
+ border-color: rgba(0, 0, 0, 0.2);
1456
1462
  border-style: solid;
1457
1463
  border-width: 1px;
1458
1464
  -webkit-border-radius: 0 0 5px 5px;
@@ -1480,24 +1486,12 @@ i {
1480
1486
  font-weight: normal;
1481
1487
  line-height: 18px;
1482
1488
  color: #555555;
1489
+ white-space: nowrap;
1483
1490
  }
1484
1491
  .dropdown-menu li > a:hover {
1485
1492
  color: #fff;
1486
1493
  text-decoration: none;
1487
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1488
- background-color: #0077b3;
1489
- background-image: -khtml-gradient(linear, left top, left bottom, from(#0088cc), to(#0077b3));
1490
- background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
1491
- background-image: -ms-linear-gradient(top, #0088cc, #0077b3);
1492
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0088cc), color-stop(100%, #0077b3));
1493
- background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
1494
- background-image: -o-linear-gradient(top, #0088cc, #0077b3);
1495
- background-image: linear-gradient(top, #0088cc, #0077b3);
1496
- background-repeat: repeat-x;
1497
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0077b3', GradientType=0);
1498
- -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.075), inset 0 -1px rgba(0, 0, 0, 0.075);
1499
- -moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.075), inset 0 -1px rgba(0, 0, 0, 0.075);
1500
- box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.075), inset 0 -1px rgba(0, 0, 0, 0.075);
1494
+ background-color: #0088cc;
1501
1495
  }
1502
1496
  .dropdown-menu .active > a, .dropdown-menu .active > a:hover {
1503
1497
  color: #fff;
@@ -1741,7 +1735,7 @@ i {
1741
1735
  margin-right: 0;
1742
1736
  }
1743
1737
  .navbar .dropdown-menu {
1744
- top: 42px;
1738
+ top: 41px;
1745
1739
  -webkit-border-radius: 4px;
1746
1740
  -moz-border-radius: 4px;
1747
1741
  border-radius: 4px;
@@ -1752,10 +1746,10 @@ i {
1752
1746
  border-left: 7px solid transparent;
1753
1747
  border-right: 7px solid transparent;
1754
1748
  border-bottom: 7px solid #ccc;
1755
- border-bottom-color: rgba(0, 0, 0, 0.1);
1749
+ border-bottom-color: rgba(0, 0, 0, 0.2);
1756
1750
  position: absolute;
1757
1751
  top: -7px;
1758
- left: 12px;
1752
+ left: 9px;
1759
1753
  }
1760
1754
  .navbar .dropdown-menu:after {
1761
1755
  content: '';
@@ -1765,14 +1759,22 @@ i {
1765
1759
  border-bottom: 6px solid #fff;
1766
1760
  position: absolute;
1767
1761
  top: -6px;
1768
- left: 13px;
1762
+ left: 10px;
1769
1763
  }
1770
1764
  .navbar .dropdown-toggle .caret, .navbar .open.dropdown .caret {
1771
1765
  border-top-color: #fff;
1772
1766
  }
1773
- .navbar .open .dropdown-toggle {
1767
+ .navbar .nav .active .caret {
1768
+ filter: alpha(opacity=100);
1769
+ -moz-opacity: 1;
1770
+ opacity: 1;
1771
+ }
1772
+ .navbar .nav .open > .dropdown-toggle, .navbar .nav .active > .dropdown-toggle, .navbar .nav .open.active > .dropdown-toggle {
1774
1773
  background-color: transparent;
1775
1774
  }
1775
+ .navbar .nav .active > .dropdown-toggle:hover {
1776
+ color: #fff;
1777
+ }
1776
1778
  .navbar .nav.pull-right .dropdown-menu {
1777
1779
  right: 0;
1778
1780
  }
@@ -2208,7 +2210,7 @@ i {
2208
2210
  float: right;
2209
2211
  margin-left: 5px;
2210
2212
  }
2211
- .twipsy {
2213
+ .tooltip {
2212
2214
  position: absolute;
2213
2215
  z-index: 1020;
2214
2216
  display: block;
@@ -2219,24 +2221,24 @@ i {
2219
2221
  -moz-opacity: 0;
2220
2222
  opacity: 0;
2221
2223
  }
2222
- .twipsy.in {
2224
+ .tooltip.in {
2223
2225
  filter: alpha(opacity=80);
2224
2226
  -moz-opacity: 0.8;
2225
2227
  opacity: 0.8;
2226
2228
  }
2227
- .twipsy.top {
2229
+ .tooltip.top {
2228
2230
  margin-top: -2px;
2229
2231
  }
2230
- .twipsy.right {
2232
+ .tooltip.right {
2231
2233
  margin-left: 2px;
2232
2234
  }
2233
- .twipsy.bottom {
2235
+ .tooltip.bottom {
2234
2236
  margin-top: 2px;
2235
2237
  }
2236
- .twipsy.left {
2238
+ .tooltip.left {
2237
2239
  margin-left: -2px;
2238
2240
  }
2239
- .twipsy.top .twipsy-arrow {
2241
+ .tooltip.top .tooltip-arrow {
2240
2242
  bottom: 0;
2241
2243
  left: 50%;
2242
2244
  margin-left: -5px;
@@ -2244,7 +2246,7 @@ i {
2244
2246
  border-right: 5px solid transparent;
2245
2247
  border-top: 5px solid #000000;
2246
2248
  }
2247
- .twipsy.left .twipsy-arrow {
2249
+ .tooltip.left .tooltip-arrow {
2248
2250
  top: 50%;
2249
2251
  right: 0;
2250
2252
  margin-top: -5px;
@@ -2252,7 +2254,7 @@ i {
2252
2254
  border-bottom: 5px solid transparent;
2253
2255
  border-left: 5px solid #000000;
2254
2256
  }
2255
- .twipsy.bottom .twipsy-arrow {
2257
+ .tooltip.bottom .tooltip-arrow {
2256
2258
  top: 0;
2257
2259
  left: 50%;
2258
2260
  margin-left: -5px;
@@ -2260,7 +2262,7 @@ i {
2260
2262
  border-right: 5px solid transparent;
2261
2263
  border-bottom: 5px solid #000000;
2262
2264
  }
2263
- .twipsy.right .twipsy-arrow {
2265
+ .tooltip.right .tooltip-arrow {
2264
2266
  top: 50%;
2265
2267
  left: 0;
2266
2268
  margin-top: -5px;
@@ -2268,7 +2270,7 @@ i {
2268
2270
  border-bottom: 5px solid transparent;
2269
2271
  border-right: 5px solid #000000;
2270
2272
  }
2271
- .twipsy-inner {
2273
+ .tooltip-inner {
2272
2274
  max-width: 200px;
2273
2275
  padding: 3px 8px;
2274
2276
  color: white;
@@ -2279,7 +2281,7 @@ i {
2279
2281
  -moz-border-radius: 4px;
2280
2282
  border-radius: 4px;
2281
2283
  }
2282
- .twipsy-arrow {
2284
+ .tooltip-arrow {
2283
2285
  position: absolute;
2284
2286
  width: 0;
2285
2287
  height: 0;
@@ -2619,6 +2621,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
2619
2621
  -moz-border-radius: 5px;
2620
2622
  border-radius: 5px;
2621
2623
  }
2624
+ .btn-group.open .dropdown-menu.large {
2625
+ top: 40px;
2626
+ }
2622
2627
  .btn-group.open .dropdown-toggle {
2623
2628
  background-image: none;
2624
2629
  -webkit-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jombo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta16
4
+ version: 0.0.1.beta17
5
5
  prerelease: 6
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: 2012-01-10 00:00:00.000000000 Z
12
+ date: 2012-01-13 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Package Bootstrap from Twitter (2.0 work-in-progress branch) assets as
15
15
  a gem.
@@ -37,8 +37,8 @@ files:
37
37
  - vendor/assets/javascripts/bootstrap/bootstrap-popover.js
38
38
  - vendor/assets/javascripts/bootstrap/bootstrap-scrollspy.js
39
39
  - vendor/assets/javascripts/bootstrap/bootstrap-tab.js
40
+ - vendor/assets/javascripts/bootstrap/bootstrap-tooltip.js
40
41
  - vendor/assets/javascripts/bootstrap/bootstrap-transition.js
41
- - vendor/assets/javascripts/bootstrap/bootstrap-twipsy.js
42
42
  - vendor/assets/javascripts/bootstrap/bootstrap-typeahead.js
43
43
  - vendor/assets/javascripts/bootstrap/index.js
44
44
  - vendor/assets/javascripts/bootstrap/tablesorter.js