contour 1.1.1 → 1.1.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +11 -0
- data/app/assets/images/twitter-bootstrap/v2.2.1/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/twitter-bootstrap/v2.2.1/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/contour.js +3 -3
- data/app/assets/javascripts/external/{exporting-2.1.9.src.js → exporting-2.3.3.src.js} +736 -758
- data/app/assets/javascripts/external/highcharts-2.3.3.src.js +15111 -0
- data/app/assets/javascripts/twitter-bootstrap/{v2.1.1 → v2.2.1}/bootstrap.js +105 -107
- data/app/assets/stylesheets/bootstrap-base-overrides.css +6 -6
- data/app/assets/stylesheets/contour.css +2 -2
- data/app/assets/stylesheets/twitter-bootstrap/{v2.1.1 → v2.2.1}/bootstrap-responsive.css +33 -3
- data/app/assets/stylesheets/twitter-bootstrap/{v2.1.1 → v2.2.1}/bootstrap.css +377 -258
- data/app/views/contour/layouts/_per_page.html.erb +1 -1
- data/app/views/kaminari/contour-large/_first_page.html.erb +11 -0
- data/app/views/kaminari/contour-large/_gap.html.erb +8 -0
- data/app/views/kaminari/contour-large/_last_page.html.erb +11 -0
- data/app/views/kaminari/contour-large/_next_page.html.erb +11 -0
- data/app/views/kaminari/contour-large/_page.html.erb +12 -0
- data/app/views/kaminari/contour-large/_paginator.html.erb +25 -0
- data/app/views/kaminari/contour-large/_prev_page.html.erb +11 -0
- data/app/views/kaminari/contour-mini/_first_page.html.erb +11 -0
- data/app/views/kaminari/contour-mini/_gap.html.erb +8 -0
- data/app/views/kaminari/contour-mini/_last_page.html.erb +11 -0
- data/app/views/kaminari/contour-mini/_next_page.html.erb +11 -0
- data/app/views/kaminari/contour-mini/_page.html.erb +12 -0
- data/app/views/kaminari/contour-mini/_paginator.html.erb +25 -0
- data/app/views/kaminari/contour-mini/_prev_page.html.erb +11 -0
- data/app/views/kaminari/contour-small/_first_page.html.erb +11 -0
- data/app/views/kaminari/contour-small/_gap.html.erb +8 -0
- data/app/views/kaminari/contour-small/_last_page.html.erb +11 -0
- data/app/views/kaminari/contour-small/_next_page.html.erb +11 -0
- data/app/views/kaminari/contour-small/_page.html.erb +12 -0
- data/app/views/kaminari/contour-small/_paginator.html.erb +25 -0
- data/app/views/kaminari/contour-small/_prev_page.html.erb +11 -0
- data/app/views/kaminari/contour/_first_page.html.erb +11 -0
- data/app/views/kaminari/contour/_gap.html.erb +8 -0
- data/app/views/kaminari/contour/_last_page.html.erb +11 -0
- data/app/views/kaminari/contour/_next_page.html.erb +11 -0
- data/app/views/kaminari/contour/_page.html.erb +12 -0
- data/app/views/kaminari/contour/_paginator.html.erb +25 -0
- data/app/views/kaminari/contour/_prev_page.html.erb +11 -0
- data/contour.gemspec +4 -4
- data/lib/contour/version.rb +2 -2
- data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +714 -0
- metadata +48 -18
- data/app/assets/javascripts/external/highcharts-2.1.9.src.js +0 -11454
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===================================================
|
2
|
-
* bootstrap-transition.js v2.
|
2
|
+
* bootstrap-transition.js v2.2.1
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
4
4
|
* ===================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -20,13 +20,13 @@
|
|
20
20
|
|
21
21
|
!function ($) {
|
22
22
|
|
23
|
-
|
23
|
+
"use strict"; // jshint ;_;
|
24
24
|
|
25
|
-
"use strict"; // jshint ;_;
|
26
25
|
|
26
|
+
/* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
|
27
|
+
* ======================================================= */
|
27
28
|
|
28
|
-
|
29
|
-
* ======================================================= */
|
29
|
+
$(function () {
|
30
30
|
|
31
31
|
$.support.transition = (function () {
|
32
32
|
|
@@ -58,7 +58,7 @@
|
|
58
58
|
})
|
59
59
|
|
60
60
|
}(window.jQuery);/* ==========================================================
|
61
|
-
* bootstrap-alert.js v2.
|
61
|
+
* bootstrap-alert.js v2.2.1
|
62
62
|
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
63
63
|
* ==========================================================
|
64
64
|
* Copyright 2012 Twitter, Inc.
|
@@ -142,12 +142,10 @@
|
|
142
142
|
/* ALERT DATA-API
|
143
143
|
* ============== */
|
144
144
|
|
145
|
-
$(
|
146
|
-
$('body').on('click.alert.data-api', dismiss, Alert.prototype.close)
|
147
|
-
})
|
145
|
+
$(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
|
148
146
|
|
149
147
|
}(window.jQuery);/* ============================================================
|
150
|
-
* bootstrap-button.js v2.
|
148
|
+
* bootstrap-button.js v2.2.1
|
151
149
|
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
152
150
|
* ============================================================
|
153
151
|
* Copyright 2012 Twitter, Inc.
|
@@ -233,16 +231,14 @@
|
|
233
231
|
/* BUTTON DATA-API
|
234
232
|
* =============== */
|
235
233
|
|
236
|
-
$(function () {
|
237
|
-
$
|
238
|
-
|
239
|
-
|
240
|
-
$btn.button('toggle')
|
241
|
-
})
|
234
|
+
$(document).on('click.button.data-api', '[data-toggle^=button]', function (e) {
|
235
|
+
var $btn = $(e.target)
|
236
|
+
if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
|
237
|
+
$btn.button('toggle')
|
242
238
|
})
|
243
239
|
|
244
240
|
}(window.jQuery);/* ==========================================================
|
245
|
-
* bootstrap-carousel.js v2.
|
241
|
+
* bootstrap-carousel.js v2.2.1
|
246
242
|
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
247
243
|
* ==========================================================
|
248
244
|
* Copyright 2012 Twitter, Inc.
|
@@ -337,9 +333,7 @@
|
|
337
333
|
, direction = type == 'next' ? 'left' : 'right'
|
338
334
|
, fallback = type == 'next' ? 'first' : 'last'
|
339
335
|
, that = this
|
340
|
-
, e
|
341
|
-
relatedTarget: $next[0]
|
342
|
-
})
|
336
|
+
, e
|
343
337
|
|
344
338
|
this.sliding = true
|
345
339
|
|
@@ -347,6 +341,10 @@
|
|
347
341
|
|
348
342
|
$next = $next.length ? $next : this.$element.find('.item')[fallback]()
|
349
343
|
|
344
|
+
e = $.Event('slide', {
|
345
|
+
relatedTarget: $next[0]
|
346
|
+
})
|
347
|
+
|
350
348
|
if ($next.hasClass('active')) return
|
351
349
|
|
352
350
|
if ($.support.transition && this.$element.hasClass('slide')) {
|
@@ -406,18 +404,16 @@
|
|
406
404
|
/* CAROUSEL DATA-API
|
407
405
|
* ================= */
|
408
406
|
|
409
|
-
$(function () {
|
410
|
-
$
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
e.preventDefault()
|
416
|
-
})
|
407
|
+
$(document).on('click.carousel.data-api', '[data-slide]', function (e) {
|
408
|
+
var $this = $(this), href
|
409
|
+
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|
410
|
+
, options = $.extend({}, $target.data(), $this.data())
|
411
|
+
$target.carousel(options)
|
412
|
+
e.preventDefault()
|
417
413
|
})
|
418
414
|
|
419
415
|
}(window.jQuery);/* =============================================================
|
420
|
-
* bootstrap-collapse.js v2.
|
416
|
+
* bootstrap-collapse.js v2.2.1
|
421
417
|
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
422
418
|
* =============================================================
|
423
419
|
* Copyright 2012 Twitter, Inc.
|
@@ -561,20 +557,18 @@
|
|
561
557
|
/* COLLAPSIBLE DATA-API
|
562
558
|
* ==================== */
|
563
559
|
|
564
|
-
$(function () {
|
565
|
-
$
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
$(target).collapse(option)
|
573
|
-
})
|
560
|
+
$(document).on('click.collapse.data-api', '[data-toggle=collapse]', function (e) {
|
561
|
+
var $this = $(this), href
|
562
|
+
, target = $this.attr('data-target')
|
563
|
+
|| e.preventDefault()
|
564
|
+
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
|
565
|
+
, option = $(target).data('collapse') ? 'toggle' : $this.data()
|
566
|
+
$this[$(target).hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
|
567
|
+
$(target).collapse(option)
|
574
568
|
})
|
575
569
|
|
576
570
|
}(window.jQuery);/* ============================================================
|
577
|
-
* bootstrap-dropdown.js v2.
|
571
|
+
* bootstrap-dropdown.js v2.2.1
|
578
572
|
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
579
573
|
* ============================================================
|
580
574
|
* Copyright 2012 Twitter, Inc.
|
@@ -675,8 +669,9 @@
|
|
675
669
|
}
|
676
670
|
|
677
671
|
function clearMenus() {
|
678
|
-
|
679
|
-
.removeClass('open')
|
672
|
+
$(toggle).each(function () {
|
673
|
+
getParent($(this)).removeClass('open')
|
674
|
+
})
|
680
675
|
}
|
681
676
|
|
682
677
|
function getParent($this) {
|
@@ -713,17 +708,14 @@
|
|
713
708
|
/* APPLY TO STANDARD DROPDOWN ELEMENTS
|
714
709
|
* =================================== */
|
715
710
|
|
716
|
-
$(
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
722
|
-
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
723
|
-
})
|
711
|
+
$(document)
|
712
|
+
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
713
|
+
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
714
|
+
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
715
|
+
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
724
716
|
|
725
717
|
}(window.jQuery);/* =========================================================
|
726
|
-
* bootstrap-modal.js v2.
|
718
|
+
* bootstrap-modal.js v2.2.1
|
727
719
|
* http://twitter.github.com/bootstrap/javascript.html#modals
|
728
720
|
* =========================================================
|
729
721
|
* Copyright 2012 Twitter, Inc.
|
@@ -773,8 +765,6 @@
|
|
773
765
|
|
774
766
|
if (this.isShown || e.isDefaultPrevented()) return
|
775
767
|
|
776
|
-
$('body').addClass('modal-open')
|
777
|
-
|
778
768
|
this.isShown = true
|
779
769
|
|
780
770
|
this.escape()
|
@@ -796,13 +786,12 @@
|
|
796
786
|
that.$element
|
797
787
|
.addClass('in')
|
798
788
|
.attr('aria-hidden', false)
|
799
|
-
.focus()
|
800
789
|
|
801
790
|
that.enforceFocus()
|
802
791
|
|
803
792
|
transition ?
|
804
|
-
that.$element.one($.support.transition.end, function () { that.$element.trigger('shown') }) :
|
805
|
-
that.$element.trigger('shown')
|
793
|
+
that.$element.one($.support.transition.end, function () { that.$element.focus().trigger('shown') }) :
|
794
|
+
that.$element.focus().trigger('shown')
|
806
795
|
|
807
796
|
})
|
808
797
|
}
|
@@ -820,8 +809,6 @@
|
|
820
809
|
|
821
810
|
this.isShown = false
|
822
811
|
|
823
|
-
$('body').removeClass('modal-open')
|
824
|
-
|
825
812
|
this.escape()
|
826
813
|
|
827
814
|
$(document).off('focusin.modal')
|
@@ -891,9 +878,11 @@
|
|
891
878
|
this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
|
892
879
|
.appendTo(document.body)
|
893
880
|
|
894
|
-
|
895
|
-
this
|
896
|
-
|
881
|
+
this.$backdrop.click(
|
882
|
+
this.options.backdrop == 'static' ?
|
883
|
+
$.proxy(this.$element[0].focus, this.$element[0])
|
884
|
+
: $.proxy(this.hide, this)
|
885
|
+
)
|
897
886
|
|
898
887
|
if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
|
899
888
|
|
@@ -943,25 +932,24 @@
|
|
943
932
|
/* MODAL DATA-API
|
944
933
|
* ============== */
|
945
934
|
|
946
|
-
$(function () {
|
947
|
-
$
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
, option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
|
935
|
+
$(document).on('click.modal.data-api', '[data-toggle="modal"]', function (e) {
|
936
|
+
var $this = $(this)
|
937
|
+
, href = $this.attr('href')
|
938
|
+
, $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
|
939
|
+
, option = $target.data('modal') ? 'toggle' : $.extend({ remote:!/#/.test(href) && href }, $target.data(), $this.data())
|
952
940
|
|
953
|
-
|
941
|
+
e.preventDefault()
|
954
942
|
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
})
|
943
|
+
$target
|
944
|
+
.modal(option)
|
945
|
+
.one('hide', function () {
|
946
|
+
$this.focus()
|
947
|
+
})
|
961
948
|
})
|
962
949
|
|
963
|
-
}(window.jQuery)
|
964
|
-
|
950
|
+
}(window.jQuery);
|
951
|
+
/* ===========================================================
|
952
|
+
* bootstrap-tooltip.js v2.2.1
|
965
953
|
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
966
954
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
967
955
|
* ===========================================================
|
@@ -1081,9 +1069,9 @@
|
|
1081
1069
|
inside = /in/.test(placement)
|
1082
1070
|
|
1083
1071
|
$tip
|
1084
|
-
.
|
1072
|
+
.detach()
|
1085
1073
|
.css({ top: 0, left: 0, display: 'block' })
|
1086
|
-
.
|
1074
|
+
.insertAfter(this.$element)
|
1087
1075
|
|
1088
1076
|
pos = this.getPosition(inside)
|
1089
1077
|
|
@@ -1106,7 +1094,7 @@
|
|
1106
1094
|
}
|
1107
1095
|
|
1108
1096
|
$tip
|
1109
|
-
.
|
1097
|
+
.offset(tp)
|
1110
1098
|
.addClass(placement)
|
1111
1099
|
.addClass('in')
|
1112
1100
|
}
|
@@ -1128,18 +1116,18 @@
|
|
1128
1116
|
|
1129
1117
|
function removeWithAnimation() {
|
1130
1118
|
var timeout = setTimeout(function () {
|
1131
|
-
$tip.off($.support.transition.end).
|
1119
|
+
$tip.off($.support.transition.end).detach()
|
1132
1120
|
}, 500)
|
1133
1121
|
|
1134
1122
|
$tip.one($.support.transition.end, function () {
|
1135
1123
|
clearTimeout(timeout)
|
1136
|
-
$tip.
|
1124
|
+
$tip.detach()
|
1137
1125
|
})
|
1138
1126
|
}
|
1139
1127
|
|
1140
1128
|
$.support.transition && this.$tip.hasClass('fade') ?
|
1141
1129
|
removeWithAnimation() :
|
1142
|
-
$tip.
|
1130
|
+
$tip.detach()
|
1143
1131
|
|
1144
1132
|
return this
|
1145
1133
|
}
|
@@ -1197,8 +1185,9 @@
|
|
1197
1185
|
this.enabled = !this.enabled
|
1198
1186
|
}
|
1199
1187
|
|
1200
|
-
, toggle: function () {
|
1201
|
-
|
1188
|
+
, toggle: function (e) {
|
1189
|
+
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
|
1190
|
+
self[self.tip().hasClass('in') ? 'hide' : 'show']()
|
1202
1191
|
}
|
1203
1192
|
|
1204
1193
|
, destroy: function () {
|
@@ -1231,12 +1220,11 @@
|
|
1231
1220
|
, trigger: 'hover'
|
1232
1221
|
, title: ''
|
1233
1222
|
, delay: 0
|
1234
|
-
, html:
|
1223
|
+
, html: false
|
1235
1224
|
}
|
1236
1225
|
|
1237
|
-
}(window.jQuery)
|
1238
|
-
|
1239
|
-
* bootstrap-popover.js v2.1.1
|
1226
|
+
}(window.jQuery);/* ===========================================================
|
1227
|
+
* bootstrap-popover.js v2.2.1
|
1240
1228
|
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
1241
1229
|
* ===========================================================
|
1242
1230
|
* Copyright 2012 Twitter, Inc.
|
@@ -1338,7 +1326,7 @@
|
|
1338
1326
|
})
|
1339
1327
|
|
1340
1328
|
}(window.jQuery);/* =============================================================
|
1341
|
-
* bootstrap-scrollspy.js v2.
|
1329
|
+
* bootstrap-scrollspy.js v2.2.1
|
1342
1330
|
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
1343
1331
|
* =============================================================
|
1344
1332
|
* Copyright 2012 Twitter, Inc.
|
@@ -1488,7 +1476,7 @@
|
|
1488
1476
|
})
|
1489
1477
|
|
1490
1478
|
}(window.jQuery);/* ========================================================
|
1491
|
-
* bootstrap-tab.js v2.
|
1479
|
+
* bootstrap-tab.js v2.2.1
|
1492
1480
|
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
1493
1481
|
* ========================================================
|
1494
1482
|
* Copyright 2012 Twitter, Inc.
|
@@ -1538,7 +1526,7 @@
|
|
1538
1526
|
|
1539
1527
|
if ( $this.parent('li').hasClass('active') ) return
|
1540
1528
|
|
1541
|
-
previous = $ul.find('.active a')
|
1529
|
+
previous = $ul.find('.active:last a')[0]
|
1542
1530
|
|
1543
1531
|
e = $.Event('show', {
|
1544
1532
|
relatedTarget: previous
|
@@ -1614,15 +1602,13 @@
|
|
1614
1602
|
/* TAB DATA-API
|
1615
1603
|
* ============ */
|
1616
1604
|
|
1617
|
-
$(function () {
|
1618
|
-
|
1619
|
-
|
1620
|
-
$(this).tab('show')
|
1621
|
-
})
|
1605
|
+
$(document).on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
|
1606
|
+
e.preventDefault()
|
1607
|
+
$(this).tab('show')
|
1622
1608
|
})
|
1623
1609
|
|
1624
1610
|
}(window.jQuery);/* =============================================================
|
1625
|
-
* bootstrap-typeahead.js v2.
|
1611
|
+
* bootstrap-typeahead.js v2.2.1
|
1626
1612
|
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
1627
1613
|
* =============================================================
|
1628
1614
|
* Copyright 2012 Twitter, Inc.
|
@@ -1797,7 +1783,7 @@
|
|
1797
1783
|
.on('keypress', $.proxy(this.keypress, this))
|
1798
1784
|
.on('keyup', $.proxy(this.keyup, this))
|
1799
1785
|
|
1800
|
-
if (
|
1786
|
+
if (this.eventSupported('keydown')) {
|
1801
1787
|
this.$element.on('keydown', $.proxy(this.keydown, this))
|
1802
1788
|
}
|
1803
1789
|
|
@@ -1806,6 +1792,15 @@
|
|
1806
1792
|
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
1807
1793
|
}
|
1808
1794
|
|
1795
|
+
, eventSupported: function(eventName) {
|
1796
|
+
var isSupported = eventName in this.$element
|
1797
|
+
if (!isSupported) {
|
1798
|
+
this.$element.setAttribute(eventName, 'return;')
|
1799
|
+
isSupported = typeof this.$element[eventName] === 'function'
|
1800
|
+
}
|
1801
|
+
return isSupported
|
1802
|
+
}
|
1803
|
+
|
1809
1804
|
, move: function (e) {
|
1810
1805
|
if (!this.shown) return
|
1811
1806
|
|
@@ -1844,6 +1839,9 @@
|
|
1844
1839
|
switch(e.keyCode) {
|
1845
1840
|
case 40: // down arrow
|
1846
1841
|
case 38: // up arrow
|
1842
|
+
case 16: // shift
|
1843
|
+
case 17: // ctrl
|
1844
|
+
case 18: // alt
|
1847
1845
|
break
|
1848
1846
|
|
1849
1847
|
case 9: // tab
|
@@ -1911,18 +1909,16 @@
|
|
1911
1909
|
/* TYPEAHEAD DATA-API
|
1912
1910
|
* ================== */
|
1913
1911
|
|
1914
|
-
$(function () {
|
1915
|
-
$
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
$this.typeahead($this.data())
|
1920
|
-
})
|
1912
|
+
$(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
|
1913
|
+
var $this = $(this)
|
1914
|
+
if ($this.data('typeahead')) return
|
1915
|
+
e.preventDefault()
|
1916
|
+
$this.typeahead($this.data())
|
1921
1917
|
})
|
1922
1918
|
|
1923
1919
|
}(window.jQuery);
|
1924
1920
|
/* ==========================================================
|
1925
|
-
* bootstrap-affix.js v2.
|
1921
|
+
* bootstrap-affix.js v2.2.1
|
1926
1922
|
* http://twitter.github.com/bootstrap/javascript.html#affix
|
1927
1923
|
* ==========================================================
|
1928
1924
|
* Copyright 2012 Twitter, Inc.
|
@@ -1951,7 +1947,9 @@
|
|
1951
1947
|
|
1952
1948
|
var Affix = function (element, options) {
|
1953
1949
|
this.options = $.extend({}, $.fn.affix.defaults, options)
|
1954
|
-
this.$window = $(window)
|
1950
|
+
this.$window = $(window)
|
1951
|
+
.on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
1952
|
+
.on('click.affix.data-api', $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this))
|
1955
1953
|
this.$element = $(element)
|
1956
1954
|
this.checkPosition()
|
1957
1955
|
}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
/* bootstrap-base-overrides.css */
|
2
2
|
/* These overrides come after bootstrap.css but before bootstrap-responsive.css */
|
3
3
|
|
4
|
-
/* Line
|
4
|
+
/* Line 2154 */
|
5
5
|
[class^="icon-"],
|
6
6
|
[class*=" icon-"] {
|
7
|
-
background-image: url(twitter-bootstrap/v2.
|
7
|
+
background-image: url(twitter-bootstrap/v2.2.1/glyphicons-halflings.png);
|
8
8
|
}
|
9
9
|
|
10
|
-
/* Line
|
10
|
+
/* Line 2174 */
|
11
11
|
.icon-white,
|
12
12
|
.nav-tabs > .active > a > [class^="icon-"],
|
13
13
|
.nav-tabs > .active > a > [class*=" icon-"],
|
@@ -21,15 +21,15 @@
|
|
21
21
|
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
22
22
|
.dropdown-menu > .active > a > [class^="icon-"],
|
23
23
|
.dropdown-menu > .active > a > [class*=" icon-"] {
|
24
|
-
background-image: url(twitter-bootstrap/v2.
|
24
|
+
background-image: url(twitter-bootstrap/v2.2.1/glyphicons-halflings-white.png);
|
25
25
|
}
|
26
26
|
|
27
|
-
/* Line
|
27
|
+
/* Line 4225 */
|
28
28
|
.navbar .brand {
|
29
29
|
color: #ffffff;
|
30
30
|
}
|
31
31
|
|
32
|
-
/* Line
|
32
|
+
/* Line 4642 */
|
33
33
|
.navbar-inverse .nav li.dropdown.open > .dropdown-toggle,
|
34
34
|
.navbar-inverse .nav li.dropdown.active > .dropdown-toggle,
|
35
35
|
.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {
|