mini-bootstrap-rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mini-bootstrap-rails/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap.js +28 -22
- data/vendor/assets/javascripts/bootstrap.min.js +6 -1
- data/vendor/assets/stylesheets/bootstrap-responsive.css +319 -214
- data/vendor/assets/stylesheets/bootstrap-responsive.min.css +9 -1
- data/vendor/assets/stylesheets/bootstrap.css +872 -378
- data/vendor/assets/stylesheets/bootstrap.min.css +195 -138
- metadata +4 -3
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===================================================
|
2
|
-
* bootstrap-transition.js v2.0.
|
2
|
+
* bootstrap-transition.js v2.0.2
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
4
4
|
* ===================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -49,7 +49,7 @@
|
|
49
49
|
})
|
50
50
|
|
51
51
|
}( window.jQuery );/* ==========================================================
|
52
|
-
* bootstrap-alert.js v2.0.
|
52
|
+
* bootstrap-alert.js v2.0.2
|
53
53
|
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
54
54
|
* ==========================================================
|
55
55
|
* Copyright 2012 Twitter, Inc.
|
@@ -142,7 +142,7 @@
|
|
142
142
|
})
|
143
143
|
|
144
144
|
}( window.jQuery );/* ============================================================
|
145
|
-
* bootstrap-button.js v2.0.
|
145
|
+
* bootstrap-button.js v2.0.2
|
146
146
|
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
147
147
|
* ============================================================
|
148
148
|
* Copyright 2012 Twitter, Inc.
|
@@ -241,7 +241,7 @@
|
|
241
241
|
})
|
242
242
|
|
243
243
|
}( window.jQuery );/* ==========================================================
|
244
|
-
* bootstrap-carousel.js v2.0.
|
244
|
+
* bootstrap-carousel.js v2.0.2
|
245
245
|
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
246
246
|
* ==========================================================
|
247
247
|
* Copyright 2012 Twitter, Inc.
|
@@ -271,6 +271,9 @@
|
|
271
271
|
this.$element = $(element)
|
272
272
|
this.options = $.extend({}, $.fn.carousel.defaults, options)
|
273
273
|
this.options.slide && this.slide(this.options.slide)
|
274
|
+
this.options.pause == 'hover' && this.$element
|
275
|
+
.on('mouseenter', $.proxy(this.pause, this))
|
276
|
+
.on('mouseleave', $.proxy(this.cycle, this))
|
274
277
|
}
|
275
278
|
|
276
279
|
Carousel.prototype = {
|
@@ -325,14 +328,14 @@
|
|
325
328
|
, fallback = type == 'next' ? 'first' : 'last'
|
326
329
|
, that = this
|
327
330
|
|
328
|
-
if (!$next.length) return
|
329
|
-
|
330
331
|
this.sliding = true
|
331
332
|
|
332
333
|
isCycling && this.pause()
|
333
334
|
|
334
335
|
$next = $next.length ? $next : this.$element.find('.item')[fallback]()
|
335
336
|
|
337
|
+
if ($next.hasClass('active')) return
|
338
|
+
|
336
339
|
if (!$.support.transition && this.$element.hasClass('slide')) {
|
337
340
|
this.$element.trigger('slide')
|
338
341
|
$active.removeClass('active')
|
@@ -378,6 +381,7 @@
|
|
378
381
|
|
379
382
|
$.fn.carousel.defaults = {
|
380
383
|
interval: 5000
|
384
|
+
, pause: 'hover'
|
381
385
|
}
|
382
386
|
|
383
387
|
$.fn.carousel.Constructor = Carousel
|
@@ -397,7 +401,7 @@
|
|
397
401
|
})
|
398
402
|
|
399
403
|
}( window.jQuery );/* =============================================================
|
400
|
-
* bootstrap-collapse.js v2.0.
|
404
|
+
* bootstrap-collapse.js v2.0.2
|
401
405
|
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
402
406
|
* =============================================================
|
403
407
|
* Copyright 2012 Twitter, Inc.
|
@@ -472,7 +476,9 @@
|
|
472
476
|
[dimension](size || 'auto')
|
473
477
|
[0].offsetWidth
|
474
478
|
|
475
|
-
this.$element
|
479
|
+
this.$element[size ? 'addClass' : 'removeClass']('collapse')
|
480
|
+
|
481
|
+
return this
|
476
482
|
}
|
477
483
|
|
478
484
|
, transition: function ( method, startEvent, completeEvent ) {
|
@@ -532,7 +538,7 @@
|
|
532
538
|
})
|
533
539
|
|
534
540
|
}( window.jQuery );/* ============================================================
|
535
|
-
* bootstrap-dropdown.js v2.0.
|
541
|
+
* bootstrap-dropdown.js v2.0.2
|
536
542
|
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
537
543
|
* ============================================================
|
538
544
|
* Copyright 2012 Twitter, Inc.
|
@@ -623,7 +629,7 @@
|
|
623
629
|
})
|
624
630
|
|
625
631
|
}( window.jQuery );/* =========================================================
|
626
|
-
* bootstrap-modal.js v2.0.
|
632
|
+
* bootstrap-modal.js v2.0.2
|
627
633
|
* http://twitter.github.com/bootstrap/javascript.html#modals
|
628
634
|
* =========================================================
|
629
635
|
* Copyright 2012 Twitter, Inc.
|
@@ -832,7 +838,7 @@
|
|
832
838
|
})
|
833
839
|
|
834
840
|
}( window.jQuery );/* ===========================================================
|
835
|
-
* bootstrap-tooltip.js v2.0.
|
841
|
+
* bootstrap-tooltip.js v2.0.2
|
836
842
|
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
837
843
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
838
844
|
* ===========================================================
|
@@ -1039,7 +1045,7 @@
|
|
1039
1045
|
title = $e.attr('data-original-title')
|
1040
1046
|
|| (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
|
1041
1047
|
|
1042
|
-
title = title.toString().replace(/(^\s*|\s*$)/, "")
|
1048
|
+
title = (title || '').toString().replace(/(^\s*|\s*$)/, "")
|
1043
1049
|
|
1044
1050
|
return title
|
1045
1051
|
}
|
@@ -1101,7 +1107,7 @@
|
|
1101
1107
|
}
|
1102
1108
|
|
1103
1109
|
}( window.jQuery );/* ===========================================================
|
1104
|
-
* bootstrap-popover.js v2.0.
|
1110
|
+
* bootstrap-popover.js v2.0.2
|
1105
1111
|
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
1106
1112
|
* ===========================================================
|
1107
1113
|
* Copyright 2012 Twitter, Inc.
|
@@ -1195,7 +1201,7 @@
|
|
1195
1201
|
})
|
1196
1202
|
|
1197
1203
|
}( window.jQuery );/* =============================================================
|
1198
|
-
* bootstrap-scrollspy.js v2.0.
|
1204
|
+
* bootstrap-scrollspy.js v2.0.2
|
1199
1205
|
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
1200
1206
|
* =============================================================
|
1201
1207
|
* Copyright 2012 Twitter, Inc.
|
@@ -1319,7 +1325,7 @@
|
|
1319
1325
|
})
|
1320
1326
|
|
1321
1327
|
}( window.jQuery );/* ========================================================
|
1322
|
-
* bootstrap-tab.js v2.0.
|
1328
|
+
* bootstrap-tab.js v2.0.2
|
1323
1329
|
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
1324
1330
|
* ========================================================
|
1325
1331
|
* Copyright 2012 Twitter, Inc.
|
@@ -1448,7 +1454,7 @@
|
|
1448
1454
|
})
|
1449
1455
|
|
1450
1456
|
}( window.jQuery );/* =============================================================
|
1451
|
-
* bootstrap-typeahead.js v2.0.
|
1457
|
+
* bootstrap-typeahead.js v2.0.2
|
1452
1458
|
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
1453
1459
|
* =============================================================
|
1454
1460
|
* Copyright 2012 Twitter, Inc.
|
@@ -1489,6 +1495,7 @@
|
|
1489
1495
|
, select: function () {
|
1490
1496
|
var val = this.$menu.find('.active').attr('data-value')
|
1491
1497
|
this.$element.val(val)
|
1498
|
+
this.$element.change();
|
1492
1499
|
return this.hide()
|
1493
1500
|
}
|
1494
1501
|
|
@@ -1614,9 +1621,6 @@
|
|
1614
1621
|
}
|
1615
1622
|
|
1616
1623
|
, keyup: function (e) {
|
1617
|
-
e.stopPropagation()
|
1618
|
-
e.preventDefault()
|
1619
|
-
|
1620
1624
|
switch(e.keyCode) {
|
1621
1625
|
case 40: // down arrow
|
1622
1626
|
case 38: // up arrow
|
@@ -1629,6 +1633,7 @@
|
|
1629
1633
|
break
|
1630
1634
|
|
1631
1635
|
case 27: // escape
|
1636
|
+
if (!this.shown) return
|
1632
1637
|
this.hide()
|
1633
1638
|
break
|
1634
1639
|
|
@@ -1636,10 +1641,11 @@
|
|
1636
1641
|
this.lookup()
|
1637
1642
|
}
|
1638
1643
|
|
1644
|
+
e.stopPropagation()
|
1645
|
+
e.preventDefault()
|
1639
1646
|
}
|
1640
1647
|
|
1641
1648
|
, keypress: function (e) {
|
1642
|
-
e.stopPropagation()
|
1643
1649
|
if (!this.shown) return
|
1644
1650
|
|
1645
1651
|
switch(e.keyCode) {
|
@@ -1659,12 +1665,12 @@
|
|
1659
1665
|
this.next()
|
1660
1666
|
break
|
1661
1667
|
}
|
1668
|
+
|
1669
|
+
e.stopPropagation()
|
1662
1670
|
}
|
1663
1671
|
|
1664
1672
|
, blur: function (e) {
|
1665
1673
|
var that = this
|
1666
|
-
e.stopPropagation()
|
1667
|
-
e.preventDefault()
|
1668
1674
|
setTimeout(function () { that.hide() }, 150)
|
1669
1675
|
}
|
1670
1676
|
|
@@ -1 +1,6 @@
|
|
1
|
-
!function(a){a(function(){"use strict",a.support.transition=function(){var b=document.body||document.documentElement,c=b.style,d=c.transition!==undefined||c.WebkitTransition!==undefined||c.MozTransition!==undefined||c.MsTransition!==undefined||c.OTransition!==undefined;return d&&{end:function(){var b="TransitionEnd";return a.browser.webkit?b="webkitTransitionEnd":a.browser.mozilla?b="transitionend":a.browser.opera&&(b="oTransitionEnd"),b}()}}()})}(window.jQuery),!function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype={constructor:c,close:function(b){function f(){e.trigger("closed").remove()}var c=a(this),d=c.attr("data-target"),e;d||(d=c.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),e=a(d),e.trigger("close"),b&&b.preventDefault(),e.length||(e=c.hasClass("alert")?c:c.parent()),e.trigger("close").removeClass("in"),a.support.transition&&e.hasClass("fade")?e.on(a.support.transition.end,f):f()}},a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("alert");e||d.data("alert",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.alert.Constructor=c,a(function(){a("body").on("click.alert.data-api",b,c.prototype.close)})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.button.defaults,c)};b.prototype={constructor:b,setState:function(a){var b="disabled",c=this.$element,d=c.data(),e=c.is("input")?"val":"html";a+="Text",d.resetText||c.data("resetText",c[e]()),c[e](d[a]||this.options[a]),setTimeout(function(){a=="loadingText"?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},toggle:function(){var a=this.$element.parent('[data-toggle="buttons-radio"]');a&&a.find(".active").removeClass("active"),this.$element.toggleClass("active")}},a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("button"),f=typeof c=="object"&&c;e||d.data("button",e=new b(this,f)),c=="toggle"?e.toggle():c&&e.setState(c)})},a.fn.button.defaults={loadingText:"loading..."},a.fn.button.Constructor=b,a(function(){a("body").on("click.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle")})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.carousel.defaults,c),this.options.slide&&this.slide(this.options.slide)};b.prototype={cycle:function(){return this.interval=setInterval(a.proxy(this.next,this),this.options.interval),this},to:function(b){var c=this.$element.find(".active"),d=c.parent().children(),e=d.index(c),f=this;if(b>d.length-1||b<0)return;return this.sliding?this.$element.one("slid",function(){f.to(b)}):e==b?this.pause().cycle():this.slide(b>e?"next":"prev",a(d[b]))},pause:function(){return clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(b,c){var d=this.$element.find(".active"),e=c||d[b](),f=this.interval,g=b=="next"?"left":"right",h=b=="next"?"first":"last",i=this;if(!e.length)return;return this.sliding=!0,f&&this.pause(),e=e.length?e:this.$element.find(".item")[h](),!a.support.transition&&this.$element.hasClass("slide")?(this.$element.trigger("slide"),d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")):(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),this.$element.trigger("slide"),this.$element.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)})),f&&this.cycle(),this}},a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("carousel"),f=typeof c=="object"&&c;e||d.data("carousel",e=new b(this,f)),typeof c=="number"?e.to(c):typeof c=="string"||(c=f.slide)?e[c]():e.cycle()})},a.fn.carousel.defaults={interval:5e3},a.fn.carousel.Constructor=b,a(function(){a("body").on("click.carousel.data-api","[data-slide]",function(b){var c=a(this),d,e=a(c.attr("data-target")||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")),f=!e.data("modal")&&a.extend({},e.data(),c.data());e.carousel(f),b.preventDefault()})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.collapse.defaults,c),this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.prototype={constructor:b,dimension:function(){var a=this.$element.hasClass("width");return a?"width":"height"},show:function(){var b=this.dimension(),c=a.camelCase(["scroll",b].join("-")),d=this.$parent&&this.$parent.find(".in"),e;d&&d.length&&(e=d.data("collapse"),d.collapse("hide"),e||d.data("collapse",null)),this.$element[b](0),this.transition("addClass","show","shown"),this.$element[b](this.$element[0][c])},hide:function(){var a=this.dimension();this.reset(this.$element[a]()),this.transition("removeClass","hide","hidden"),this.$element[a](0)},reset:function(a){var b=this.dimension();this.$element.removeClass("collapse")[b](a||"auto")[0].offsetWidth,this.$element.addClass("collapse")},transition:function(b,c,d){var e=this,f=function(){c=="show"&&e.reset(),e.$element.trigger(d)};this.$element.trigger(c)[b]("in"),a.support.transition&&this.$element.hasClass("collapse")?this.$element.one(a.support.transition.end,f):f()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("collapse"),f=typeof c=="object"&&c;e||d.data("collapse",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.collapse.defaults={toggle:!0},a.fn.collapse.Constructor=b,a(function(){a("body").on("click.collapse.data-api","[data-toggle=collapse]",function(b){var c=a(this),d,e=c.attr("data-target")||b.preventDefault()||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""),f=a(e).data("collapse")?"toggle":c.data();a(e).collapse(f)})})}(window.jQuery),!function(a){function d(){a(b).parent().removeClass("open")}"use strict";var b='[data-toggle="dropdown"]',c=function(b){var c=a(b).on("click.dropdown.data-api",this.toggle);a("html").on("click.dropdown.data-api",function(){c.parent().removeClass("open")})};c.prototype={constructor:c,toggle:function(b){var c=a(this),e=c.attr("data-target"),f,g;return e||(e=c.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,"")),f=a(e),f.length||(f=c.parent()),g=f.hasClass("open"),d(),!g&&f.toggleClass("open"),!1}},a.fn.dropdown=function(b){return this.each(function(){var d=a(this),e=d.data("dropdown");e||d.data("dropdown",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.dropdown.Constructor=c,a(function(){a("html").on("click.dropdown.data-api",d),a("body").on("click.dropdown.data-api",b,c.prototype.toggle)})}(window.jQuery),!function(a){function c(){var b=this,c=setTimeout(function(){b.$element.off(a.support.transition.end),d.call(b)},500);this.$element.one(a.support.transition.end,function(){clearTimeout(c),d.call(b)})}function d(a){this.$element.hide().trigger("hidden"),e.call(this)}function e(b){var c=this,d=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var e=a.support.transition&&d;this.$backdrop=a('<div class="modal-backdrop '+d+'" />').appendTo(document.body),this.options.backdrop!="static"&&this.$backdrop.click(a.proxy(this.hide,this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),e?this.$backdrop.one(a.support.transition.end,b):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,a.proxy(f,this)):f.call(this)):b&&b()}function f(){this.$backdrop.remove(),this.$backdrop=null}function g(){var b=this;this.isShown&&this.options.keyboard?a(document).on("keyup.dismiss.modal",function(a){a.which==27&&b.hide()}):this.isShown||a(document).off("keyup.dismiss.modal")}"use strict";var b=function(b,c){this.options=c,this.$element=a(b).delegate('[data-dismiss="modal"]',"click.dismiss.modal",a.proxy(this.hide,this))};b.prototype={constructor:b,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var b=this;if(this.isShown)return;a("body").addClass("modal-open"),this.isShown=!0,this.$element.trigger("show"),g.call(this),e.call(this,function(){var c=a.support.transition&&b.$element.hasClass("fade");!b.$element.parent().length&&b.$element.appendTo(document.body),b.$element.show(),c&&b.$element[0].offsetWidth,b.$element.addClass("in"),c?b.$element.one(a.support.transition.end,function(){b.$element.trigger("shown")}):b.$element.trigger("shown")})},hide:function(b){b&&b.preventDefault();if(!this.isShown)return;var e=this;this.isShown=!1,a("body").removeClass("modal-open"),g.call(this),this.$element.trigger("hide").removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?c.call(this):d.call(this)}},a.fn.modal=function(c){return this.each(function(){var d=a(this),e=d.data("modal"),f=a.extend({},a.fn.modal.defaults,d.data(),typeof c=="object"&&c);e||d.data("modal",e=new b(this,f)),typeof c=="string"?e[c]():f.show&&e.show()})},a.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},a.fn.modal.Constructor=b,a(function(){a("body").on("click.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d,e=a(c.attr("data-target")||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({},e.data(),c.data());b.preventDefault(),e.modal(f)})})}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("tooltip",a,b)};b.prototype={constructor:b,init:function(b,c,d){var e,f;this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.enabled=!0,this.options.trigger!="manual"&&(e=this.options.trigger=="hover"?"mouseenter":"focus",f=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(e,this.options.selector,a.proxy(this.enter,this)),this.$element.on(f,this.options.selector,a.proxy(this.leave,this))),this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(b){return b=a.extend({},a.fn[this.type].defaults,b,this.$element.data()),b.delay&&typeof b.delay=="number"&&(b.delay={show:b.delay,hide:b.delay}),b},enter:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.show?c.show():(c.hoverState="in",setTimeout(function(){c.hoverState=="in"&&c.show()},c.options.delay.show))},leave:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.hide?c.hide():(c.hoverState="out",setTimeout(function(){c.hoverState=="out"&&c.hide()},c.options.delay.hide))},show:function(){var a,b,c,d,e,f,g;if(this.hasContent()&&this.enabled){a=this.tip(),this.setContent(),this.options.animation&&a.addClass("fade"),f=typeof this.options.placement=="function"?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,b=/in/.test(f),a.remove().css({top:0,left:0,display:"block"}).appendTo(b?this.$element:document.body),c=this.getPosition(b),d=a[0].offsetWidth,e=a[0].offsetHeight;switch(b?f.split(" ")[1]:f){case"bottom":g={top:c.top+c.height,left:c.left+c.width/2-d/2};break;case"top":g={top:c.top-e,left:c.left+c.width/2-d/2};break;case"left":g={top:c.top+c.height/2-e/2,left:c.left-d};break;case"right":g={top:c.top+c.height/2-e/2,left:c.left+c.width}}a.css(g).addClass(f).addClass("in")}},setContent:function(){var a=this.tip();a.find(".tooltip-inner").html(this.getTitle()),a.removeClass("fade in top bottom left right")},hide:function(){function d(){var b=setTimeout(function(){c.off(a.support.transition.end).remove()},500);c.one(a.support.transition.end,function(){clearTimeout(b),c.remove()})}var b=this,c=this.tip();c.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d():c.remove()},fixTitle:function(){var a=this.$element;(a.attr("title")||typeof a.attr("data-original-title")!="string")&&a.attr("data-original-title",a.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(b){return a.extend({},b?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||(typeof c.title=="function"?c.title.call(b[0]):c.title),a=a.toString().replace(/(^\s*|\s*$)/,""),a},tip:function(){return this.$tip=this.$tip||a(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}},a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("tooltip"),f=typeof c=="object"&&c;e||d.data("tooltip",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.defaults={animation:!0,delay:0,selector:!1,placement:"top",trigger:"hover",title:"",template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'}}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype,{constructor:b,setContent:function(){var b=this.tip(),c=this.getTitle(),d=this.getContent();b.find(".popover-title")[a.type(c)=="object"?"append":"html"](c),b.find(".popover-content > *")[a.type(d)=="object"?"append":"html"](d),b.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-content")||(typeof c.content=="function"?c.content.call(b[0]):c.content),a=a.toString().replace(/(^\s*|\s*$)/,""),a},tip:function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip}}),a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("popover"),f=typeof c=="object"&&c;e||d.data("popover",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.defaults=a.extend({},a.fn.tooltip.defaults,{placement:"right",content:"",template:'<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'})}(window.jQuery),!function(a){function b(b,c){var d=a.proxy(this.process,this),e=a(b).is("body")?a(window):a(b),f;this.options=a.extend({},a.fn.scrollspy.defaults,c),this.$scrollElement=e.on("scroll.scroll.data-api",d),this.selector=(this.options.target||(f=a(b).attr("href"))&&f.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=a("body").on("click.scroll.data-api",this.selector,d),this.refresh(),this.process()}"use strict",b.prototype={constructor:b,refresh:function(){this.targets=this.$body.find(this.selector).map(function(){var b=a(this).attr("href");return/^#\w/.test(b)&&a(b).length?b:null}),this.offsets=a.map(this.targets,function(b){return a(b).position().top})},process:function(){var a=this.$scrollElement.scrollTop()+this.options.offset,b=this.offsets,c=this.targets,d=this.activeTarget,e;for(e=b.length;e--;)d!=c[e]&&a>=b[e]&&(!b[e+1]||a<=b[e+1])&&this.activate(c[e])},activate:function(a){var b;this.activeTarget=a,this.$body.find(this.selector).parent(".active").removeClass("active"),b=this.$body.find(this.selector+'[href="'+a+'"]').parent("li").addClass("active"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active")}},a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("scrollspy"),f=typeof c=="object"&&c;e||d.data("scrollspy",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.defaults={offset:10},a(function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),!function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype={constructor:b,show:function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target"),e,f;d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,""));if(b.parent("li").hasClass("active"))return;e=c.find(".active a").last()[0],b.trigger({type:"show",relatedTarget:e}),f=a(d),this.activate(b.parent("li"),c),this.activate(f,f.parent(),function(){b.trigger({type:"shown",relatedTarget:e})})},activate:function(b,c,d){function g(){e.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),f?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var e=c.find("> .active"),f=d&&a.support.transition&&e.hasClass("fade");f?e.one(a.support.transition.end,g):g(),e.removeClass("in")}},a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("tab");e||d.data("tab",e=new b(this)),typeof c=="string"&&e[c]()})},a.fn.tab.Constructor=b,a(function(){a("body").on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.typeahead.defaults,c),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.$menu=a(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};b.prototype={constructor:b,select:function(){var a=this.$menu.find(".active").attr("data-value");return this.$element.val(a),this.hide()},show:function(){var b=a.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:b.top+b.height,left:b.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(b){var c=this,d,e;return this.query=this.$element.val(),this.query?(d=a.grep(this.source,function(a){if(c.matcher(a))return a}),d=this.sorter(d),d.length?this.render(d.slice(0,this.options.items)).show():this.shown?this.hide():this):this.shown?this.hide():this},matcher:function(a){return~a.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(a){var b=[],c=[],d=[],e;while(e=a.shift())e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?c.push(e):d.push(e):b.push(e);return b.concat(c,d)},highlighter:function(a){return a.replace(new RegExp("("+this.query+")","ig"),function(a,b){return"<strong>"+b+"</strong>"})},render:function(b){var c=this;return b=a(b).map(function(b,d){return b=a(c.options.item).attr("data-value",d),b.find("a").html(c.highlighter(d)),b[0]}),b.first().addClass("active"),this.$menu.html(b),this},next:function(b){var c=this.$menu.find(".active").removeClass("active"),d=c.next();d.length||(d=a(this.$menu.find("li")[0])),d.addClass("active")},prev:function(a){var b=this.$menu.find(".active").removeClass("active"),c=b.prev();c.length||(c=this.$menu.find("li").last()),c.addClass("active")},listen:function(){this.$element.on("blur",a.proxy(this.blur,this)).on("keypress",a.proxy(this.keypress,this)).on("keyup",a.proxy(this.keyup,this)),(a.browser.webkit||a.browser.msie)&&this.$element.on("keydown",a.proxy(this.keypress,this)),this.$menu.on("click",a.proxy(this.click,this)).on("mouseenter","li",a.proxy(this.mouseenter,this))},keyup:function(a){a.stopPropagation(),a.preventDefault();switch(a.keyCode){case 40:case 38:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:this.hide();break;default:this.lookup()}},keypress:function(a){a.stopPropagation();if(!this.shown)return;switch(a.keyCode){case 9:case 13:case 27:a.preventDefault();break;case 38:a.preventDefault(),this.prev();break;case 40:a.preventDefault(),this.next()}},blur:function(a){var b=this;a.stopPropagation(),a.preventDefault(),setTimeout(function(){b.hide()},150)},click:function(a){a.stopPropagation(),a.preventDefault(),this.select()},mouseenter:function(b){this.$menu.find(".active").removeClass("active"),a(b.currentTarget).addClass("active")}},a.fn.typeahead=function(c){return this.each(function(){var d=a(this),e=d.data("typeahead"),f=typeof c=="object"&&c;e||d.data("typeahead",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>'},a.fn.typeahead.Constructor=b,a(function(){a("body").on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(b){var c=a(this);if(c.data("typeahead"))return;b.preventDefault(),c.typeahead(c.data())})})}(window.jQuery);
|
1
|
+
/**
|
2
|
+
* Bootstrap.js by @fat & @mdo
|
3
|
+
* Copyright 2012 Twitter, Inc.
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0.txt
|
5
|
+
*/
|
6
|
+
!function(a){a(function(){"use strict",a.support.transition=function(){var b=document.body||document.documentElement,c=b.style,d=c.transition!==undefined||c.WebkitTransition!==undefined||c.MozTransition!==undefined||c.MsTransition!==undefined||c.OTransition!==undefined;return d&&{end:function(){var b="TransitionEnd";return a.browser.webkit?b="webkitTransitionEnd":a.browser.mozilla?b="transitionend":a.browser.opera&&(b="oTransitionEnd"),b}()}}()})}(window.jQuery),!function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype={constructor:c,close:function(b){function f(){e.trigger("closed").remove()}var c=a(this),d=c.attr("data-target"),e;d||(d=c.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),e=a(d),e.trigger("close"),b&&b.preventDefault(),e.length||(e=c.hasClass("alert")?c:c.parent()),e.trigger("close").removeClass("in"),a.support.transition&&e.hasClass("fade")?e.on(a.support.transition.end,f):f()}},a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("alert");e||d.data("alert",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.alert.Constructor=c,a(function(){a("body").on("click.alert.data-api",b,c.prototype.close)})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.button.defaults,c)};b.prototype={constructor:b,setState:function(a){var b="disabled",c=this.$element,d=c.data(),e=c.is("input")?"val":"html";a+="Text",d.resetText||c.data("resetText",c[e]()),c[e](d[a]||this.options[a]),setTimeout(function(){a=="loadingText"?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},toggle:function(){var a=this.$element.parent('[data-toggle="buttons-radio"]');a&&a.find(".active").removeClass("active"),this.$element.toggleClass("active")}},a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("button"),f=typeof c=="object"&&c;e||d.data("button",e=new b(this,f)),c=="toggle"?e.toggle():c&&e.setState(c)})},a.fn.button.defaults={loadingText:"loading..."},a.fn.button.Constructor=b,a(function(){a("body").on("click.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle")})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.carousel.defaults,c),this.options.slide&&this.slide(this.options.slide),this.options.pause=="hover"&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.prototype={cycle:function(){return this.interval=setInterval(a.proxy(this.next,this),this.options.interval),this},to:function(b){var c=this.$element.find(".active"),d=c.parent().children(),e=d.index(c),f=this;if(b>d.length-1||b<0)return;return this.sliding?this.$element.one("slid",function(){f.to(b)}):e==b?this.pause().cycle():this.slide(b>e?"next":"prev",a(d[b]))},pause:function(){return clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(b,c){var d=this.$element.find(".active"),e=c||d[b](),f=this.interval,g=b=="next"?"left":"right",h=b=="next"?"first":"last",i=this;this.sliding=!0,f&&this.pause(),e=e.length?e:this.$element.find(".item")[h]();if(e.hasClass("active"))return;return!a.support.transition&&this.$element.hasClass("slide")?(this.$element.trigger("slide"),d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")):(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),this.$element.trigger("slide"),this.$element.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)})),f&&this.cycle(),this}},a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("carousel"),f=typeof c=="object"&&c;e||d.data("carousel",e=new b(this,f)),typeof c=="number"?e.to(c):typeof c=="string"||(c=f.slide)?e[c]():e.cycle()})},a.fn.carousel.defaults={interval:5e3,pause:"hover"},a.fn.carousel.Constructor=b,a(function(){a("body").on("click.carousel.data-api","[data-slide]",function(b){var c=a(this),d,e=a(c.attr("data-target")||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")),f=!e.data("modal")&&a.extend({},e.data(),c.data());e.carousel(f),b.preventDefault()})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.collapse.defaults,c),this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.prototype={constructor:b,dimension:function(){var a=this.$element.hasClass("width");return a?"width":"height"},show:function(){var b=this.dimension(),c=a.camelCase(["scroll",b].join("-")),d=this.$parent&&this.$parent.find(".in"),e;d&&d.length&&(e=d.data("collapse"),d.collapse("hide"),e||d.data("collapse",null)),this.$element[b](0),this.transition("addClass","show","shown"),this.$element[b](this.$element[0][c])},hide:function(){var a=this.dimension();this.reset(this.$element[a]()),this.transition("removeClass","hide","hidden"),this.$element[a](0)},reset:function(a){var b=this.dimension();return this.$element.removeClass("collapse")[b](a||"auto")[0].offsetWidth,this.$element[a?"addClass":"removeClass"]("collapse"),this},transition:function(b,c,d){var e=this,f=function(){c=="show"&&e.reset(),e.$element.trigger(d)};this.$element.trigger(c)[b]("in"),a.support.transition&&this.$element.hasClass("collapse")?this.$element.one(a.support.transition.end,f):f()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("collapse"),f=typeof c=="object"&&c;e||d.data("collapse",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.collapse.defaults={toggle:!0},a.fn.collapse.Constructor=b,a(function(){a("body").on("click.collapse.data-api","[data-toggle=collapse]",function(b){var c=a(this),d,e=c.attr("data-target")||b.preventDefault()||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""),f=a(e).data("collapse")?"toggle":c.data();a(e).collapse(f)})})}(window.jQuery),!function(a){function d(){a(b).parent().removeClass("open")}"use strict";var b='[data-toggle="dropdown"]',c=function(b){var c=a(b).on("click.dropdown.data-api",this.toggle);a("html").on("click.dropdown.data-api",function(){c.parent().removeClass("open")})};c.prototype={constructor:c,toggle:function(b){var c=a(this),e=c.attr("data-target"),f,g;return e||(e=c.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,"")),f=a(e),f.length||(f=c.parent()),g=f.hasClass("open"),d(),!g&&f.toggleClass("open"),!1}},a.fn.dropdown=function(b){return this.each(function(){var d=a(this),e=d.data("dropdown");e||d.data("dropdown",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.dropdown.Constructor=c,a(function(){a("html").on("click.dropdown.data-api",d),a("body").on("click.dropdown.data-api",b,c.prototype.toggle)})}(window.jQuery),!function(a){function c(){var b=this,c=setTimeout(function(){b.$element.off(a.support.transition.end),d.call(b)},500);this.$element.one(a.support.transition.end,function(){clearTimeout(c),d.call(b)})}function d(a){this.$element.hide().trigger("hidden"),e.call(this)}function e(b){var c=this,d=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var e=a.support.transition&&d;this.$backdrop=a('<div class="modal-backdrop '+d+'" />').appendTo(document.body),this.options.backdrop!="static"&&this.$backdrop.click(a.proxy(this.hide,this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),e?this.$backdrop.one(a.support.transition.end,b):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,a.proxy(f,this)):f.call(this)):b&&b()}function f(){this.$backdrop.remove(),this.$backdrop=null}function g(){var b=this;this.isShown&&this.options.keyboard?a(document).on("keyup.dismiss.modal",function(a){a.which==27&&b.hide()}):this.isShown||a(document).off("keyup.dismiss.modal")}"use strict";var b=function(b,c){this.options=c,this.$element=a(b).delegate('[data-dismiss="modal"]',"click.dismiss.modal",a.proxy(this.hide,this))};b.prototype={constructor:b,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var b=this;if(this.isShown)return;a("body").addClass("modal-open"),this.isShown=!0,this.$element.trigger("show"),g.call(this),e.call(this,function(){var c=a.support.transition&&b.$element.hasClass("fade");!b.$element.parent().length&&b.$element.appendTo(document.body),b.$element.show(),c&&b.$element[0].offsetWidth,b.$element.addClass("in"),c?b.$element.one(a.support.transition.end,function(){b.$element.trigger("shown")}):b.$element.trigger("shown")})},hide:function(b){b&&b.preventDefault();if(!this.isShown)return;var e=this;this.isShown=!1,a("body").removeClass("modal-open"),g.call(this),this.$element.trigger("hide").removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?c.call(this):d.call(this)}},a.fn.modal=function(c){return this.each(function(){var d=a(this),e=d.data("modal"),f=a.extend({},a.fn.modal.defaults,d.data(),typeof c=="object"&&c);e||d.data("modal",e=new b(this,f)),typeof c=="string"?e[c]():f.show&&e.show()})},a.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},a.fn.modal.Constructor=b,a(function(){a("body").on("click.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d,e=a(c.attr("data-target")||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({},e.data(),c.data());b.preventDefault(),e.modal(f)})})}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("tooltip",a,b)};b.prototype={constructor:b,init:function(b,c,d){var e,f;this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.enabled=!0,this.options.trigger!="manual"&&(e=this.options.trigger=="hover"?"mouseenter":"focus",f=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(e,this.options.selector,a.proxy(this.enter,this)),this.$element.on(f,this.options.selector,a.proxy(this.leave,this))),this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(b){return b=a.extend({},a.fn[this.type].defaults,b,this.$element.data()),b.delay&&typeof b.delay=="number"&&(b.delay={show:b.delay,hide:b.delay}),b},enter:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.show?c.show():(c.hoverState="in",setTimeout(function(){c.hoverState=="in"&&c.show()},c.options.delay.show))},leave:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.hide?c.hide():(c.hoverState="out",setTimeout(function(){c.hoverState=="out"&&c.hide()},c.options.delay.hide))},show:function(){var a,b,c,d,e,f,g;if(this.hasContent()&&this.enabled){a=this.tip(),this.setContent(),this.options.animation&&a.addClass("fade"),f=typeof this.options.placement=="function"?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,b=/in/.test(f),a.remove().css({top:0,left:0,display:"block"}).appendTo(b?this.$element:document.body),c=this.getPosition(b),d=a[0].offsetWidth,e=a[0].offsetHeight;switch(b?f.split(" ")[1]:f){case"bottom":g={top:c.top+c.height,left:c.left+c.width/2-d/2};break;case"top":g={top:c.top-e,left:c.left+c.width/2-d/2};break;case"left":g={top:c.top+c.height/2-e/2,left:c.left-d};break;case"right":g={top:c.top+c.height/2-e/2,left:c.left+c.width}}a.css(g).addClass(f).addClass("in")}},setContent:function(){var a=this.tip();a.find(".tooltip-inner").html(this.getTitle()),a.removeClass("fade in top bottom left right")},hide:function(){function d(){var b=setTimeout(function(){c.off(a.support.transition.end).remove()},500);c.one(a.support.transition.end,function(){clearTimeout(b),c.remove()})}var b=this,c=this.tip();c.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d():c.remove()},fixTitle:function(){var a=this.$element;(a.attr("title")||typeof a.attr("data-original-title")!="string")&&a.attr("data-original-title",a.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(b){return a.extend({},b?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||(typeof c.title=="function"?c.title.call(b[0]):c.title),a=(a||"").toString().replace(/(^\s*|\s*$)/,""),a},tip:function(){return this.$tip=this.$tip||a(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}},a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("tooltip"),f=typeof c=="object"&&c;e||d.data("tooltip",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.defaults={animation:!0,delay:0,selector:!1,placement:"top",trigger:"hover",title:"",template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'}}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype,{constructor:b,setContent:function(){var b=this.tip(),c=this.getTitle(),d=this.getContent();b.find(".popover-title")[a.type(c)=="object"?"append":"html"](c),b.find(".popover-content > *")[a.type(d)=="object"?"append":"html"](d),b.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-content")||(typeof c.content=="function"?c.content.call(b[0]):c.content),a=a.toString().replace(/(^\s*|\s*$)/,""),a},tip:function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip}}),a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("popover"),f=typeof c=="object"&&c;e||d.data("popover",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.defaults=a.extend({},a.fn.tooltip.defaults,{placement:"right",content:"",template:'<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'})}(window.jQuery),!function(a){function b(b,c){var d=a.proxy(this.process,this),e=a(b).is("body")?a(window):a(b),f;this.options=a.extend({},a.fn.scrollspy.defaults,c),this.$scrollElement=e.on("scroll.scroll.data-api",d),this.selector=(this.options.target||(f=a(b).attr("href"))&&f.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=a("body").on("click.scroll.data-api",this.selector,d),this.refresh(),this.process()}"use strict",b.prototype={constructor:b,refresh:function(){this.targets=this.$body.find(this.selector).map(function(){var b=a(this).attr("href");return/^#\w/.test(b)&&a(b).length?b:null}),this.offsets=a.map(this.targets,function(b){return a(b).position().top})},process:function(){var a=this.$scrollElement.scrollTop()+this.options.offset,b=this.offsets,c=this.targets,d=this.activeTarget,e;for(e=b.length;e--;)d!=c[e]&&a>=b[e]&&(!b[e+1]||a<=b[e+1])&&this.activate(c[e])},activate:function(a){var b;this.activeTarget=a,this.$body.find(this.selector).parent(".active").removeClass("active"),b=this.$body.find(this.selector+'[href="'+a+'"]').parent("li").addClass("active"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active")}},a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("scrollspy"),f=typeof c=="object"&&c;e||d.data("scrollspy",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.defaults={offset:10},a(function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),!function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype={constructor:b,show:function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target"),e,f;d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,""));if(b.parent("li").hasClass("active"))return;e=c.find(".active a").last()[0],b.trigger({type:"show",relatedTarget:e}),f=a(d),this.activate(b.parent("li"),c),this.activate(f,f.parent(),function(){b.trigger({type:"shown",relatedTarget:e})})},activate:function(b,c,d){function g(){e.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),f?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var e=c.find("> .active"),f=d&&a.support.transition&&e.hasClass("fade");f?e.one(a.support.transition.end,g):g(),e.removeClass("in")}},a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("tab");e||d.data("tab",e=new b(this)),typeof c=="string"&&e[c]()})},a.fn.tab.Constructor=b,a(function(){a("body").on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.typeahead.defaults,c),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.$menu=a(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};b.prototype={constructor:b,select:function(){var a=this.$menu.find(".active").attr("data-value");return this.$element.val(a),this.$element.change(),this.hide()},show:function(){var b=a.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:b.top+b.height,left:b.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(b){var c=this,d,e;return this.query=this.$element.val(),this.query?(d=a.grep(this.source,function(a){if(c.matcher(a))return a}),d=this.sorter(d),d.length?this.render(d.slice(0,this.options.items)).show():this.shown?this.hide():this):this.shown?this.hide():this},matcher:function(a){return~a.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(a){var b=[],c=[],d=[],e;while(e=a.shift())e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?c.push(e):d.push(e):b.push(e);return b.concat(c,d)},highlighter:function(a){return a.replace(new RegExp("("+this.query+")","ig"),function(a,b){return"<strong>"+b+"</strong>"})},render:function(b){var c=this;return b=a(b).map(function(b,d){return b=a(c.options.item).attr("data-value",d),b.find("a").html(c.highlighter(d)),b[0]}),b.first().addClass("active"),this.$menu.html(b),this},next:function(b){var c=this.$menu.find(".active").removeClass("active"),d=c.next();d.length||(d=a(this.$menu.find("li")[0])),d.addClass("active")},prev:function(a){var b=this.$menu.find(".active").removeClass("active"),c=b.prev();c.length||(c=this.$menu.find("li").last()),c.addClass("active")},listen:function(){this.$element.on("blur",a.proxy(this.blur,this)).on("keypress",a.proxy(this.keypress,this)).on("keyup",a.proxy(this.keyup,this)),(a.browser.webkit||a.browser.msie)&&this.$element.on("keydown",a.proxy(this.keypress,this)),this.$menu.on("click",a.proxy(this.click,this)).on("mouseenter","li",a.proxy(this.mouseenter,this))},keyup:function(a){switch(a.keyCode){case 40:case 38:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}a.stopPropagation(),a.preventDefault()},keypress:function(a){if(!this.shown)return;switch(a.keyCode){case 9:case 13:case 27:a.preventDefault();break;case 38:a.preventDefault(),this.prev();break;case 40:a.preventDefault(),this.next()}a.stopPropagation()},blur:function(a){var b=this;setTimeout(function(){b.hide()},150)},click:function(a){a.stopPropagation(),a.preventDefault(),this.select()},mouseenter:function(b){this.$menu.find(".active").removeClass("active"),a(b.currentTarget).addClass("active")}},a.fn.typeahead=function(c){return this.each(function(){var d=a(this),e=d.data("typeahead"),f=typeof c=="object"&&c;e||d.data("typeahead",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>'},a.fn.typeahead.Constructor=b,a(function(){a("body").on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(b){var c=a(this);if(c.data("typeahead"))return;b.preventDefault(),c.typeahead(c.data())})})}(window.jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap Responsive v2.0.
|
2
|
+
* Bootstrap Responsive v2.0.2
|
3
3
|
*
|
4
4
|
* Copyright 2012 Twitter, Inc
|
5
5
|
* Licensed under the Apache License v2.0
|
@@ -10,17 +10,82 @@
|
|
10
10
|
.clearfix {
|
11
11
|
*zoom: 1;
|
12
12
|
}
|
13
|
-
.clearfix:before,
|
13
|
+
.clearfix:before,
|
14
|
+
.clearfix:after {
|
14
15
|
display: table;
|
15
16
|
content: "";
|
16
17
|
}
|
17
18
|
.clearfix:after {
|
18
19
|
clear: both;
|
19
20
|
}
|
21
|
+
.hide-text {
|
22
|
+
overflow: hidden;
|
23
|
+
text-indent: 100%;
|
24
|
+
white-space: nowrap;
|
25
|
+
}
|
26
|
+
.input-block-level {
|
27
|
+
display: block;
|
28
|
+
width: 100%;
|
29
|
+
min-height: 28px;
|
30
|
+
/* Make inputs at least the height of their button counterpart */
|
31
|
+
|
32
|
+
/* Makes inputs behave like true block-level elements */
|
33
|
+
|
34
|
+
-webkit-box-sizing: border-box;
|
35
|
+
-moz-box-sizing: border-box;
|
36
|
+
-ms-box-sizing: border-box;
|
37
|
+
box-sizing: border-box;
|
38
|
+
}
|
20
39
|
.hidden {
|
21
40
|
display: none;
|
22
41
|
visibility: hidden;
|
23
42
|
}
|
43
|
+
.visible-phone {
|
44
|
+
display: none;
|
45
|
+
}
|
46
|
+
.visible-tablet {
|
47
|
+
display: none;
|
48
|
+
}
|
49
|
+
.visible-desktop {
|
50
|
+
display: block;
|
51
|
+
}
|
52
|
+
.hidden-phone {
|
53
|
+
display: block;
|
54
|
+
}
|
55
|
+
.hidden-tablet {
|
56
|
+
display: block;
|
57
|
+
}
|
58
|
+
.hidden-desktop {
|
59
|
+
display: none;
|
60
|
+
}
|
61
|
+
@media (max-width: 767px) {
|
62
|
+
.visible-phone {
|
63
|
+
display: block;
|
64
|
+
}
|
65
|
+
.hidden-phone {
|
66
|
+
display: none;
|
67
|
+
}
|
68
|
+
.hidden-desktop {
|
69
|
+
display: block;
|
70
|
+
}
|
71
|
+
.visible-desktop {
|
72
|
+
display: none;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
76
|
+
.visible-tablet {
|
77
|
+
display: block;
|
78
|
+
}
|
79
|
+
.hidden-tablet {
|
80
|
+
display: none;
|
81
|
+
}
|
82
|
+
.hidden-desktop {
|
83
|
+
display: block;
|
84
|
+
}
|
85
|
+
.visible-desktop {
|
86
|
+
display: none;
|
87
|
+
}
|
88
|
+
}
|
24
89
|
@media (max-width: 480px) {
|
25
90
|
.nav-collapse {
|
26
91
|
-webkit-transform: translate3d(0, 0, 0);
|
@@ -29,34 +94,8 @@
|
|
29
94
|
display: block;
|
30
95
|
line-height: 18px;
|
31
96
|
}
|
32
|
-
input[
|
33
|
-
|
34
|
-
textarea[class*="span"],
|
35
|
-
.uneditable-input {
|
36
|
-
display: block;
|
37
|
-
width: 100%;
|
38
|
-
min-height: 28px;
|
39
|
-
/* Make inputs at least the height of their button counterpart */
|
40
|
-
|
41
|
-
/* Makes inputs behave like true block-level elements */
|
42
|
-
|
43
|
-
-webkit-box-sizing: border-box;
|
44
|
-
/* Older Webkit */
|
45
|
-
|
46
|
-
-moz-box-sizing: border-box;
|
47
|
-
/* Older FF */
|
48
|
-
|
49
|
-
-ms-box-sizing: border-box;
|
50
|
-
/* IE8 */
|
51
|
-
|
52
|
-
box-sizing: border-box;
|
53
|
-
/* CSS3 spec*/
|
54
|
-
|
55
|
-
}
|
56
|
-
.input-prepend input[class*="span"], .input-append input[class*="span"] {
|
57
|
-
width: auto;
|
58
|
-
}
|
59
|
-
input[type="checkbox"], input[type="radio"] {
|
97
|
+
input[type="checkbox"],
|
98
|
+
input[type="radio"] {
|
60
99
|
border: 1px solid #ccc;
|
61
100
|
}
|
62
101
|
.form-horizontal .control-group > label {
|
@@ -95,9 +134,16 @@
|
|
95
134
|
}
|
96
135
|
}
|
97
136
|
@media (max-width: 767px) {
|
137
|
+
body {
|
138
|
+
padding-left: 20px;
|
139
|
+
padding-right: 20px;
|
140
|
+
}
|
141
|
+
.navbar-fixed-top {
|
142
|
+
margin-left: -20px;
|
143
|
+
margin-right: -20px;
|
144
|
+
}
|
98
145
|
.container {
|
99
146
|
width: auto;
|
100
|
-
padding: 0 20px;
|
101
147
|
}
|
102
148
|
.row-fluid {
|
103
149
|
width: 100%;
|
@@ -105,19 +151,44 @@
|
|
105
151
|
.row {
|
106
152
|
margin-left: 0;
|
107
153
|
}
|
108
|
-
.row > [class*="span"],
|
154
|
+
.row > [class*="span"],
|
155
|
+
.row-fluid > [class*="span"] {
|
109
156
|
float: none;
|
110
157
|
display: block;
|
111
158
|
width: auto;
|
112
159
|
margin: 0;
|
113
160
|
}
|
161
|
+
.thumbnails [class*="span"] {
|
162
|
+
width: auto;
|
163
|
+
}
|
164
|
+
input[class*="span"],
|
165
|
+
select[class*="span"],
|
166
|
+
textarea[class*="span"],
|
167
|
+
.uneditable-input {
|
168
|
+
display: block;
|
169
|
+
width: 100%;
|
170
|
+
min-height: 28px;
|
171
|
+
/* Make inputs at least the height of their button counterpart */
|
172
|
+
|
173
|
+
/* Makes inputs behave like true block-level elements */
|
174
|
+
|
175
|
+
-webkit-box-sizing: border-box;
|
176
|
+
-moz-box-sizing: border-box;
|
177
|
+
-ms-box-sizing: border-box;
|
178
|
+
box-sizing: border-box;
|
179
|
+
}
|
180
|
+
.input-prepend input[class*="span"],
|
181
|
+
.input-append input[class*="span"] {
|
182
|
+
width: auto;
|
183
|
+
}
|
114
184
|
}
|
115
185
|
@media (min-width: 768px) and (max-width: 979px) {
|
116
186
|
.row {
|
117
187
|
margin-left: -20px;
|
118
188
|
*zoom: 1;
|
119
189
|
}
|
120
|
-
.row:before,
|
190
|
+
.row:before,
|
191
|
+
.row:after {
|
121
192
|
display: table;
|
122
193
|
content: "";
|
123
194
|
}
|
@@ -128,80 +199,89 @@
|
|
128
199
|
float: left;
|
129
200
|
margin-left: 20px;
|
130
201
|
}
|
131
|
-
.
|
132
|
-
|
202
|
+
.container,
|
203
|
+
.navbar-fixed-top .container,
|
204
|
+
.navbar-fixed-bottom .container {
|
205
|
+
width: 724px;
|
133
206
|
}
|
134
|
-
.
|
135
|
-
width:
|
207
|
+
.span12 {
|
208
|
+
width: 724px;
|
136
209
|
}
|
137
|
-
.
|
138
|
-
width:
|
210
|
+
.span11 {
|
211
|
+
width: 662px;
|
139
212
|
}
|
140
|
-
.
|
141
|
-
width:
|
213
|
+
.span10 {
|
214
|
+
width: 600px;
|
142
215
|
}
|
143
|
-
.
|
144
|
-
width:
|
216
|
+
.span9 {
|
217
|
+
width: 538px;
|
145
218
|
}
|
146
|
-
.
|
147
|
-
width:
|
219
|
+
.span8 {
|
220
|
+
width: 476px;
|
148
221
|
}
|
149
222
|
.span7 {
|
150
223
|
width: 414px;
|
151
224
|
}
|
152
|
-
.
|
153
|
-
width:
|
225
|
+
.span6 {
|
226
|
+
width: 352px;
|
154
227
|
}
|
155
|
-
.
|
156
|
-
width:
|
228
|
+
.span5 {
|
229
|
+
width: 290px;
|
157
230
|
}
|
158
|
-
.
|
159
|
-
width:
|
231
|
+
.span4 {
|
232
|
+
width: 228px;
|
160
233
|
}
|
161
|
-
.
|
162
|
-
width:
|
234
|
+
.span3 {
|
235
|
+
width: 166px;
|
163
236
|
}
|
164
|
-
.
|
165
|
-
width:
|
237
|
+
.span2 {
|
238
|
+
width: 104px;
|
166
239
|
}
|
167
|
-
.
|
168
|
-
|
240
|
+
.span1 {
|
241
|
+
width: 42px;
|
169
242
|
}
|
170
|
-
.
|
171
|
-
margin-left:
|
243
|
+
.offset12 {
|
244
|
+
margin-left: 764px;
|
172
245
|
}
|
173
|
-
.
|
174
|
-
margin-left:
|
246
|
+
.offset11 {
|
247
|
+
margin-left: 702px;
|
175
248
|
}
|
176
|
-
.
|
177
|
-
margin-left:
|
249
|
+
.offset10 {
|
250
|
+
margin-left: 640px;
|
178
251
|
}
|
179
|
-
.
|
180
|
-
margin-left:
|
252
|
+
.offset9 {
|
253
|
+
margin-left: 578px;
|
181
254
|
}
|
182
|
-
.
|
183
|
-
margin-left:
|
255
|
+
.offset8 {
|
256
|
+
margin-left: 516px;
|
184
257
|
}
|
185
258
|
.offset7 {
|
186
259
|
margin-left: 454px;
|
187
260
|
}
|
188
|
-
.
|
189
|
-
margin-left:
|
261
|
+
.offset6 {
|
262
|
+
margin-left: 392px;
|
190
263
|
}
|
191
|
-
.
|
192
|
-
margin-left:
|
264
|
+
.offset5 {
|
265
|
+
margin-left: 330px;
|
193
266
|
}
|
194
|
-
.
|
195
|
-
margin-left:
|
267
|
+
.offset4 {
|
268
|
+
margin-left: 268px;
|
196
269
|
}
|
197
|
-
.
|
198
|
-
margin-left:
|
270
|
+
.offset3 {
|
271
|
+
margin-left: 206px;
|
272
|
+
}
|
273
|
+
.offset2 {
|
274
|
+
margin-left: 144px;
|
275
|
+
}
|
276
|
+
.offset1 {
|
277
|
+
margin-left: 82px;
|
199
278
|
}
|
200
279
|
.row-fluid {
|
201
280
|
width: 100%;
|
202
281
|
*zoom: 1;
|
203
282
|
}
|
204
|
-
.row-fluid:before,
|
283
|
+
.row-fluid:before,
|
284
|
+
.row-fluid:after {
|
205
285
|
display: table;
|
206
286
|
content: "";
|
207
287
|
}
|
@@ -215,77 +295,82 @@
|
|
215
295
|
.row-fluid > [class*="span"]:first-child {
|
216
296
|
margin-left: 0;
|
217
297
|
}
|
218
|
-
.row-fluid > .
|
219
|
-
width:
|
220
|
-
}
|
221
|
-
.row-fluid > .span2 {
|
222
|
-
width: 14.364640883%;
|
298
|
+
.row-fluid > .span12 {
|
299
|
+
width: 99.999999993%;
|
223
300
|
}
|
224
|
-
.row-fluid > .
|
225
|
-
width:
|
301
|
+
.row-fluid > .span11 {
|
302
|
+
width: 91.436464082%;
|
226
303
|
}
|
227
|
-
.row-fluid > .
|
228
|
-
width:
|
304
|
+
.row-fluid > .span10 {
|
305
|
+
width: 82.87292817100001%;
|
229
306
|
}
|
230
|
-
.row-fluid > .
|
231
|
-
width:
|
307
|
+
.row-fluid > .span9 {
|
308
|
+
width: 74.30939226%;
|
232
309
|
}
|
233
|
-
.row-fluid > .
|
234
|
-
width:
|
310
|
+
.row-fluid > .span8 {
|
311
|
+
width: 65.74585634900001%;
|
235
312
|
}
|
236
313
|
.row-fluid > .span7 {
|
237
314
|
width: 57.182320438000005%;
|
238
315
|
}
|
239
|
-
.row-fluid > .
|
240
|
-
width:
|
316
|
+
.row-fluid > .span6 {
|
317
|
+
width: 48.618784527%;
|
241
318
|
}
|
242
|
-
.row-fluid > .
|
243
|
-
width:
|
319
|
+
.row-fluid > .span5 {
|
320
|
+
width: 40.055248616%;
|
244
321
|
}
|
245
|
-
.row-fluid > .
|
246
|
-
width:
|
322
|
+
.row-fluid > .span4 {
|
323
|
+
width: 31.491712705%;
|
247
324
|
}
|
248
|
-
.row-fluid > .
|
249
|
-
width:
|
325
|
+
.row-fluid > .span3 {
|
326
|
+
width: 22.928176794%;
|
250
327
|
}
|
251
|
-
.row-fluid > .
|
252
|
-
width:
|
328
|
+
.row-fluid > .span2 {
|
329
|
+
width: 14.364640883%;
|
253
330
|
}
|
254
|
-
|
255
|
-
width:
|
331
|
+
.row-fluid > .span1 {
|
332
|
+
width: 5.801104972%;
|
256
333
|
}
|
257
|
-
input
|
258
|
-
|
334
|
+
input,
|
335
|
+
textarea,
|
336
|
+
.uneditable-input {
|
337
|
+
margin-left: 0;
|
259
338
|
}
|
260
|
-
input.
|
261
|
-
width:
|
339
|
+
input.span12, textarea.span12, .uneditable-input.span12 {
|
340
|
+
width: 714px;
|
262
341
|
}
|
263
|
-
input.
|
264
|
-
width:
|
342
|
+
input.span11, textarea.span11, .uneditable-input.span11 {
|
343
|
+
width: 652px;
|
265
344
|
}
|
266
|
-
input.
|
267
|
-
width:
|
345
|
+
input.span10, textarea.span10, .uneditable-input.span10 {
|
346
|
+
width: 590px;
|
268
347
|
}
|
269
|
-
input.
|
270
|
-
width:
|
348
|
+
input.span9, textarea.span9, .uneditable-input.span9 {
|
349
|
+
width: 528px;
|
350
|
+
}
|
351
|
+
input.span8, textarea.span8, .uneditable-input.span8 {
|
352
|
+
width: 466px;
|
271
353
|
}
|
272
354
|
input.span7, textarea.span7, .uneditable-input.span7 {
|
273
355
|
width: 404px;
|
274
356
|
}
|
275
|
-
input.
|
276
|
-
width:
|
357
|
+
input.span6, textarea.span6, .uneditable-input.span6 {
|
358
|
+
width: 342px;
|
277
359
|
}
|
278
|
-
input.
|
279
|
-
width:
|
360
|
+
input.span5, textarea.span5, .uneditable-input.span5 {
|
361
|
+
width: 280px;
|
280
362
|
}
|
281
|
-
input.
|
282
|
-
width:
|
363
|
+
input.span4, textarea.span4, .uneditable-input.span4 {
|
364
|
+
width: 218px;
|
283
365
|
}
|
284
|
-
input.
|
285
|
-
width:
|
366
|
+
input.span3, textarea.span3, .uneditable-input.span3 {
|
367
|
+
width: 156px;
|
286
368
|
}
|
287
|
-
input.
|
288
|
-
width:
|
369
|
+
input.span2, textarea.span2, .uneditable-input.span2 {
|
370
|
+
width: 94px;
|
371
|
+
}
|
372
|
+
input.span1, textarea.span1, .uneditable-input.span1 {
|
373
|
+
width: 32px;
|
289
374
|
}
|
290
375
|
}
|
291
376
|
@media (max-width: 979px) {
|
@@ -328,7 +413,8 @@
|
|
328
413
|
color: #999999;
|
329
414
|
text-shadow: none;
|
330
415
|
}
|
331
|
-
.navbar .nav > li > a,
|
416
|
+
.navbar .nav > li > a,
|
417
|
+
.navbar .dropdown-menu a {
|
332
418
|
padding: 6px 15px;
|
333
419
|
font-weight: bold;
|
334
420
|
color: #999999;
|
@@ -339,7 +425,8 @@
|
|
339
425
|
.navbar .dropdown-menu li + li a {
|
340
426
|
margin-bottom: 2px;
|
341
427
|
}
|
342
|
-
.navbar .nav > li > a:hover,
|
428
|
+
.navbar .nav > li > a:hover,
|
429
|
+
.navbar .dropdown-menu a:hover {
|
343
430
|
background-color: #222222;
|
344
431
|
}
|
345
432
|
.navbar .dropdown-menu {
|
@@ -360,13 +447,15 @@
|
|
360
447
|
-moz-box-shadow: none;
|
361
448
|
box-shadow: none;
|
362
449
|
}
|
363
|
-
.navbar .dropdown-menu:before,
|
450
|
+
.navbar .dropdown-menu:before,
|
451
|
+
.navbar .dropdown-menu:after {
|
364
452
|
display: none;
|
365
453
|
}
|
366
454
|
.navbar .dropdown-menu .divider {
|
367
455
|
display: none;
|
368
456
|
}
|
369
|
-
.navbar-form,
|
457
|
+
.navbar-form,
|
458
|
+
.navbar-search {
|
370
459
|
float: none;
|
371
460
|
padding: 9px 15px;
|
372
461
|
margin: 9px 0;
|
@@ -395,6 +484,7 @@
|
|
395
484
|
@media (min-width: 980px) {
|
396
485
|
.nav-collapse.collapse {
|
397
486
|
height: auto !important;
|
487
|
+
overflow: visible !important;
|
398
488
|
}
|
399
489
|
}
|
400
490
|
@media (min-width: 1200px) {
|
@@ -402,7 +492,8 @@
|
|
402
492
|
margin-left: -30px;
|
403
493
|
*zoom: 1;
|
404
494
|
}
|
405
|
-
.row:before,
|
495
|
+
.row:before,
|
496
|
+
.row:after {
|
406
497
|
display: table;
|
407
498
|
content: "";
|
408
499
|
}
|
@@ -413,80 +504,89 @@
|
|
413
504
|
float: left;
|
414
505
|
margin-left: 30px;
|
415
506
|
}
|
416
|
-
.
|
417
|
-
|
507
|
+
.container,
|
508
|
+
.navbar-fixed-top .container,
|
509
|
+
.navbar-fixed-bottom .container {
|
510
|
+
width: 1170px;
|
418
511
|
}
|
419
|
-
.
|
420
|
-
width:
|
512
|
+
.span12 {
|
513
|
+
width: 1170px;
|
421
514
|
}
|
422
|
-
.
|
423
|
-
width:
|
515
|
+
.span11 {
|
516
|
+
width: 1070px;
|
424
517
|
}
|
425
|
-
.
|
426
|
-
width:
|
518
|
+
.span10 {
|
519
|
+
width: 970px;
|
427
520
|
}
|
428
|
-
.
|
429
|
-
width:
|
521
|
+
.span9 {
|
522
|
+
width: 870px;
|
430
523
|
}
|
431
|
-
.
|
432
|
-
width:
|
524
|
+
.span8 {
|
525
|
+
width: 770px;
|
433
526
|
}
|
434
527
|
.span7 {
|
435
528
|
width: 670px;
|
436
529
|
}
|
437
|
-
.
|
438
|
-
width:
|
530
|
+
.span6 {
|
531
|
+
width: 570px;
|
439
532
|
}
|
440
|
-
.
|
441
|
-
width:
|
533
|
+
.span5 {
|
534
|
+
width: 470px;
|
442
535
|
}
|
443
|
-
.
|
444
|
-
width:
|
536
|
+
.span4 {
|
537
|
+
width: 370px;
|
445
538
|
}
|
446
|
-
.
|
447
|
-
width:
|
539
|
+
.span3 {
|
540
|
+
width: 270px;
|
448
541
|
}
|
449
|
-
.
|
450
|
-
width:
|
542
|
+
.span2 {
|
543
|
+
width: 170px;
|
451
544
|
}
|
452
|
-
.
|
453
|
-
|
545
|
+
.span1 {
|
546
|
+
width: 70px;
|
454
547
|
}
|
455
|
-
.
|
456
|
-
margin-left:
|
548
|
+
.offset12 {
|
549
|
+
margin-left: 1230px;
|
457
550
|
}
|
458
|
-
.
|
459
|
-
margin-left:
|
551
|
+
.offset11 {
|
552
|
+
margin-left: 1130px;
|
460
553
|
}
|
461
|
-
.
|
462
|
-
margin-left:
|
554
|
+
.offset10 {
|
555
|
+
margin-left: 1030px;
|
463
556
|
}
|
464
|
-
.
|
465
|
-
margin-left:
|
557
|
+
.offset9 {
|
558
|
+
margin-left: 930px;
|
466
559
|
}
|
467
|
-
.
|
468
|
-
margin-left:
|
560
|
+
.offset8 {
|
561
|
+
margin-left: 830px;
|
469
562
|
}
|
470
563
|
.offset7 {
|
471
564
|
margin-left: 730px;
|
472
565
|
}
|
473
|
-
.
|
474
|
-
margin-left:
|
566
|
+
.offset6 {
|
567
|
+
margin-left: 630px;
|
475
568
|
}
|
476
|
-
.
|
477
|
-
margin-left:
|
569
|
+
.offset5 {
|
570
|
+
margin-left: 530px;
|
478
571
|
}
|
479
|
-
.
|
480
|
-
margin-left:
|
572
|
+
.offset4 {
|
573
|
+
margin-left: 430px;
|
481
574
|
}
|
482
|
-
.
|
483
|
-
margin-left:
|
575
|
+
.offset3 {
|
576
|
+
margin-left: 330px;
|
577
|
+
}
|
578
|
+
.offset2 {
|
579
|
+
margin-left: 230px;
|
580
|
+
}
|
581
|
+
.offset1 {
|
582
|
+
margin-left: 130px;
|
484
583
|
}
|
485
584
|
.row-fluid {
|
486
585
|
width: 100%;
|
487
586
|
*zoom: 1;
|
488
587
|
}
|
489
|
-
.row-fluid:before,
|
588
|
+
.row-fluid:before,
|
589
|
+
.row-fluid:after {
|
490
590
|
display: table;
|
491
591
|
content: "";
|
492
592
|
}
|
@@ -500,77 +600,82 @@
|
|
500
600
|
.row-fluid > [class*="span"]:first-child {
|
501
601
|
margin-left: 0;
|
502
602
|
}
|
503
|
-
.row-fluid > .
|
504
|
-
width:
|
505
|
-
}
|
506
|
-
.row-fluid > .span2 {
|
507
|
-
width: 14.529914530000001%;
|
603
|
+
.row-fluid > .span12 {
|
604
|
+
width: 100%;
|
508
605
|
}
|
509
|
-
.row-fluid > .
|
510
|
-
width:
|
606
|
+
.row-fluid > .span11 {
|
607
|
+
width: 91.45299145300001%;
|
511
608
|
}
|
512
|
-
.row-fluid > .
|
513
|
-
width:
|
609
|
+
.row-fluid > .span10 {
|
610
|
+
width: 82.905982906%;
|
514
611
|
}
|
515
|
-
.row-fluid > .
|
516
|
-
width:
|
612
|
+
.row-fluid > .span9 {
|
613
|
+
width: 74.358974359%;
|
517
614
|
}
|
518
|
-
.row-fluid > .
|
519
|
-
width:
|
615
|
+
.row-fluid > .span8 {
|
616
|
+
width: 65.81196581200001%;
|
520
617
|
}
|
521
618
|
.row-fluid > .span7 {
|
522
619
|
width: 57.264957265%;
|
523
620
|
}
|
524
|
-
.row-fluid > .
|
525
|
-
width:
|
621
|
+
.row-fluid > .span6 {
|
622
|
+
width: 48.717948718%;
|
526
623
|
}
|
527
|
-
.row-fluid > .
|
528
|
-
width:
|
624
|
+
.row-fluid > .span5 {
|
625
|
+
width: 40.170940171000005%;
|
529
626
|
}
|
530
|
-
.row-fluid > .
|
531
|
-
width:
|
627
|
+
.row-fluid > .span4 {
|
628
|
+
width: 31.623931624%;
|
532
629
|
}
|
533
|
-
.row-fluid > .
|
534
|
-
width:
|
630
|
+
.row-fluid > .span3 {
|
631
|
+
width: 23.076923077%;
|
535
632
|
}
|
536
|
-
.row-fluid > .
|
537
|
-
width:
|
633
|
+
.row-fluid > .span2 {
|
634
|
+
width: 14.529914530000001%;
|
538
635
|
}
|
539
|
-
|
540
|
-
width:
|
636
|
+
.row-fluid > .span1 {
|
637
|
+
width: 5.982905983%;
|
541
638
|
}
|
542
|
-
input
|
543
|
-
|
639
|
+
input,
|
640
|
+
textarea,
|
641
|
+
.uneditable-input {
|
642
|
+
margin-left: 0;
|
544
643
|
}
|
545
|
-
input.
|
546
|
-
width:
|
644
|
+
input.span12, textarea.span12, .uneditable-input.span12 {
|
645
|
+
width: 1160px;
|
547
646
|
}
|
548
|
-
input.
|
549
|
-
width:
|
647
|
+
input.span11, textarea.span11, .uneditable-input.span11 {
|
648
|
+
width: 1060px;
|
550
649
|
}
|
551
|
-
input.
|
552
|
-
width:
|
650
|
+
input.span10, textarea.span10, .uneditable-input.span10 {
|
651
|
+
width: 960px;
|
553
652
|
}
|
554
|
-
input.
|
555
|
-
width:
|
653
|
+
input.span9, textarea.span9, .uneditable-input.span9 {
|
654
|
+
width: 860px;
|
655
|
+
}
|
656
|
+
input.span8, textarea.span8, .uneditable-input.span8 {
|
657
|
+
width: 760px;
|
556
658
|
}
|
557
659
|
input.span7, textarea.span7, .uneditable-input.span7 {
|
558
660
|
width: 660px;
|
559
661
|
}
|
560
|
-
input.
|
561
|
-
width:
|
662
|
+
input.span6, textarea.span6, .uneditable-input.span6 {
|
663
|
+
width: 560px;
|
562
664
|
}
|
563
|
-
input.
|
564
|
-
width:
|
665
|
+
input.span5, textarea.span5, .uneditable-input.span5 {
|
666
|
+
width: 460px;
|
565
667
|
}
|
566
|
-
input.
|
567
|
-
width:
|
668
|
+
input.span4, textarea.span4, .uneditable-input.span4 {
|
669
|
+
width: 360px;
|
568
670
|
}
|
569
|
-
input.
|
570
|
-
width:
|
671
|
+
input.span3, textarea.span3, .uneditable-input.span3 {
|
672
|
+
width: 260px;
|
571
673
|
}
|
572
|
-
input.
|
573
|
-
width:
|
674
|
+
input.span2, textarea.span2, .uneditable-input.span2 {
|
675
|
+
width: 160px;
|
676
|
+
}
|
677
|
+
input.span1, textarea.span1, .uneditable-input.span1 {
|
678
|
+
width: 60px;
|
574
679
|
}
|
575
680
|
.thumbnails {
|
576
681
|
margin-left: -30px;
|