bootswatch-sass 3.3.1.4 → 3.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +8 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +273 -214
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/assets/javascripts/bootstrap/affix.js +4 -4
- data/assets/javascripts/bootstrap/alert.js +3 -3
- data/assets/javascripts/bootstrap/button.js +3 -3
- data/assets/javascripts/bootstrap/carousel.js +7 -10
- data/assets/javascripts/bootstrap/collapse.js +4 -4
- data/assets/javascripts/bootstrap/dropdown.js +3 -3
- data/assets/javascripts/bootstrap/modal.js +3 -3
- data/assets/javascripts/bootstrap/popover.js +7 -13
- data/assets/javascripts/bootstrap/scrollspy.js +3 -3
- data/assets/javascripts/bootstrap/tab.js +3 -3
- data/assets/javascripts/bootstrap/tooltip.js +10 -16
- data/assets/javascripts/bootstrap/transition.js +2 -2
- data/assets/stylesheets/bootstrap/_alerts.scss +5 -0
- data/assets/stylesheets/bootstrap/_badges.scss +4 -0
- data/assets/stylesheets/bootstrap/_button-groups.scss +2 -2
- data/assets/stylesheets/bootstrap/_buttons.scss +1 -1
- data/assets/stylesheets/bootstrap/_carousel.scss +8 -6
- data/assets/stylesheets/bootstrap/_close.scss +1 -0
- data/assets/stylesheets/bootstrap/_dropdowns.scss +2 -1
- data/assets/stylesheets/bootstrap/_forms.scss +41 -19
- data/assets/stylesheets/bootstrap/_glyphicons.scss +73 -5
- data/assets/stylesheets/bootstrap/_jumbotron.scss +1 -0
- data/assets/stylesheets/bootstrap/_media.scss +14 -0
- data/assets/stylesheets/bootstrap/_navbar.scss +1 -0
- data/assets/stylesheets/bootstrap/_panels.scss +5 -1
- data/assets/stylesheets/bootstrap/_popovers.scss +1 -1
- data/assets/stylesheets/bootstrap/_responsive-utilities.scss +4 -1
- data/assets/stylesheets/bootstrap/_tables.scss +3 -3
- data/assets/stylesheets/bootstrap/_theme.scss +3 -2
- data/assets/stylesheets/bootstrap/_tooltip.scss +1 -1
- data/assets/stylesheets/bootstrap/_variables.scss +7 -9
- data/assets/stylesheets/bootstrap/mixins/_hide-text.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_opacity.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +1 -1
- data/assets/stylesheets/cerulean/_bootswatch.scss +1 -1
- data/assets/stylesheets/cerulean/_variables.scss +3 -2
- data/assets/stylesheets/cosmo/_bootswatch.scss +1 -1
- data/assets/stylesheets/cosmo/_variables.scss +3 -2
- data/assets/stylesheets/cyborg/_bootswatch.scss +1 -1
- data/assets/stylesheets/cyborg/_variables.scss +3 -2
- data/assets/stylesheets/darkly/_bootswatch.scss +2 -2
- data/assets/stylesheets/darkly/_variables.scss +5 -4
- data/assets/stylesheets/flatly/_bootswatch.scss +2 -2
- data/assets/stylesheets/flatly/_variables.scss +4 -3
- data/assets/stylesheets/journal/_bootswatch.scss +2 -2
- data/assets/stylesheets/journal/_variables.scss +3 -2
- data/assets/stylesheets/lumen/_bootswatch.scss +5 -5
- data/assets/stylesheets/lumen/_variables.scss +3 -2
- data/assets/stylesheets/paper/_bootswatch.scss +42 -3
- data/assets/stylesheets/paper/_variables.scss +3 -2
- data/assets/stylesheets/readable/_bootswatch.scss +7 -4
- data/assets/stylesheets/readable/_variables.scss +3 -2
- data/assets/stylesheets/sandstone/_bootswatch.scss +1 -5
- data/assets/stylesheets/sandstone/_variables.scss +3 -2
- data/assets/stylesheets/simplex/_bootswatch.scss +1 -1
- data/assets/stylesheets/simplex/_variables.scss +3 -2
- data/assets/stylesheets/slate/_bootswatch.scss +1 -1
- data/assets/stylesheets/slate/_variables.scss +3 -2
- data/assets/stylesheets/spacelab/_bootswatch.scss +1 -1
- data/assets/stylesheets/spacelab/_variables.scss +3 -2
- data/assets/stylesheets/superhero/_bootswatch.scss +1 -1
- data/assets/stylesheets/superhero/_variables.scss +3 -2
- data/assets/stylesheets/united/_bootswatch.scss +1 -1
- data/assets/stylesheets/united/_variables.scss +3 -2
- data/assets/stylesheets/yeti/_bootswatch.scss +1 -1
- data/assets/stylesheets/yeti/_variables.scss +5 -4
- data/bootswatch-sass.gemspec +1 -1
- data/lib/bootswatch-sass/engine.rb +1 -1
- data/lib/bootswatch-sass/version.rb +1 -1
- data/test/dummy/Gemfile +42 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +5 -0
- data/test/dummy/app/assets/javascripts/application/main.js +40 -0
- data/test/dummy/app/assets/stylesheets/application.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/application/main.css.scss +146 -0
- data/test/dummy/app/assets/stylesheets/cerulean.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/cosmo.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/cyborg.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/darkly.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/flatly.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/journal.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/lumen.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/paper.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/readable.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/sandstone.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/simplex.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/slate.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/spacelab.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/superhero.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/united.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/yeti.css.scss +6 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/controllers/home_controller.rb +10 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.keep +0 -0
- data/test/dummy/app/models/.keep +0 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/home/index.html.erb +1196 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +8 -0
- data/test/dummy/bin/rake +8 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +31 -0
- data/test/dummy/config/boot.rb +3 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +38 -0
- data/test/dummy/config/environments/production.rb +76 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +14 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- metadata +130 -13
Binary file
|
Binary file
|
Binary file
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: affix.js v3.3.
|
2
|
+
* Bootstrap: affix.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#affix
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
this.checkPosition()
|
29
29
|
}
|
30
30
|
|
31
|
-
Affix.VERSION = '3.3.
|
31
|
+
Affix.VERSION = '3.3.2'
|
32
32
|
|
33
33
|
Affix.RESET = 'affix affix-top affix-bottom'
|
34
34
|
|
@@ -53,7 +53,7 @@
|
|
53
53
|
var colliderTop = initializing ? scrollTop : position.top
|
54
54
|
var colliderHeight = initializing ? targetHeight : height
|
55
55
|
|
56
|
-
if (offsetTop != null &&
|
56
|
+
if (offsetTop != null && scrollTop <= offsetTop) return 'top'
|
57
57
|
if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'
|
58
58
|
|
59
59
|
return false
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: alert.js v3.3.
|
2
|
+
* Bootstrap: alert.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#alerts
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
$(el).on('click', dismiss, this.close)
|
19
19
|
}
|
20
20
|
|
21
|
-
Alert.VERSION = '3.3.
|
21
|
+
Alert.VERSION = '3.3.2'
|
22
22
|
|
23
23
|
Alert.TRANSITION_DURATION = 150
|
24
24
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: button.js v3.3.
|
2
|
+
* Bootstrap: button.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#buttons
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
this.isLoading = false
|
20
20
|
}
|
21
21
|
|
22
|
-
Button.VERSION = '3.3.
|
22
|
+
Button.VERSION = '3.3.2'
|
23
23
|
|
24
24
|
Button.DEFAULTS = {
|
25
25
|
loadingText: 'loading...'
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: carousel.js v3.3.
|
2
|
+
* Bootstrap: carousel.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#carousel
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
|
31
31
|
}
|
32
32
|
|
33
|
-
Carousel.VERSION = '3.3.
|
33
|
+
Carousel.VERSION = '3.3.2'
|
34
34
|
|
35
35
|
Carousel.TRANSITION_DURATION = 600
|
36
36
|
|
@@ -70,8 +70,11 @@
|
|
70
70
|
}
|
71
71
|
|
72
72
|
Carousel.prototype.getItemForDirection = function (direction, active) {
|
73
|
-
var delta = direction == 'prev' ? -1 : 1
|
74
73
|
var activeIndex = this.getItemIndex(active)
|
74
|
+
var willWrap = (direction == 'prev' && activeIndex === 0)
|
75
|
+
|| (direction == 'next' && activeIndex == (this.$items.length - 1))
|
76
|
+
if (willWrap && !this.options.wrap) return active
|
77
|
+
var delta = direction == 'prev' ? -1 : 1
|
75
78
|
var itemIndex = (activeIndex + delta) % this.$items.length
|
76
79
|
return this.$items.eq(itemIndex)
|
77
80
|
}
|
@@ -116,14 +119,8 @@
|
|
116
119
|
var $next = next || this.getItemForDirection(type, $active)
|
117
120
|
var isCycling = this.interval
|
118
121
|
var direction = type == 'next' ? 'left' : 'right'
|
119
|
-
var fallback = type == 'next' ? 'first' : 'last'
|
120
122
|
var that = this
|
121
123
|
|
122
|
-
if (!$next.length) {
|
123
|
-
if (!this.options.wrap) return
|
124
|
-
$next = this.$element.find('.item')[fallback]()
|
125
|
-
}
|
126
|
-
|
127
124
|
if ($next.hasClass('active')) return (this.sliding = false)
|
128
125
|
|
129
126
|
var relatedTarget = $next[0]
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: collapse.js v3.3.
|
2
|
+
* Bootstrap: collapse.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#collapse
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
if (this.options.toggle) this.toggle()
|
29
29
|
}
|
30
30
|
|
31
|
-
Collapse.VERSION = '3.3.
|
31
|
+
Collapse.VERSION = '3.3.2'
|
32
32
|
|
33
33
|
Collapse.TRANSITION_DURATION = 350
|
34
34
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
if (this.transitioning || this.$element.hasClass('in')) return
|
47
47
|
|
48
48
|
var activesData
|
49
|
-
var actives = this.$parent && this.$parent.
|
49
|
+
var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')
|
50
50
|
|
51
51
|
if (actives && actives.length) {
|
52
52
|
activesData = actives.data('bs.collapse')
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: dropdown.js v3.3.
|
2
|
+
* Bootstrap: dropdown.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#dropdowns
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
$(element).on('click.bs.dropdown', this.toggle)
|
20
20
|
}
|
21
21
|
|
22
|
-
Dropdown.VERSION = '3.3.
|
22
|
+
Dropdown.VERSION = '3.3.2'
|
23
23
|
|
24
24
|
Dropdown.prototype.toggle = function (e) {
|
25
25
|
var $this = $(this)
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: modal.js v3.3.
|
2
|
+
* Bootstrap: modal.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#modals
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|
33
|
-
Modal.VERSION = '3.3.
|
33
|
+
Modal.VERSION = '3.3.2'
|
34
34
|
|
35
35
|
Modal.TRANSITION_DURATION = 300
|
36
36
|
Modal.BACKDROP_TRANSITION_DURATION = 150
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: popover.js v3.3.
|
2
|
+
* Bootstrap: popover.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#popovers
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
|
20
20
|
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
|
21
21
|
|
22
|
-
Popover.VERSION = '3.3.
|
22
|
+
Popover.VERSION = '3.3.2'
|
23
23
|
|
24
24
|
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
|
25
25
|
placement: 'right',
|
@@ -86,18 +86,12 @@
|
|
86
86
|
|
87
87
|
function Plugin(option) {
|
88
88
|
return this.each(function () {
|
89
|
-
var $this
|
90
|
-
var data
|
91
|
-
var options
|
92
|
-
var selector = options && options.selector
|
89
|
+
var $this = $(this)
|
90
|
+
var data = $this.data('bs.popover')
|
91
|
+
var options = typeof option == 'object' && option
|
93
92
|
|
94
93
|
if (!data && option == 'destroy') return
|
95
|
-
if (
|
96
|
-
if (!data) $this.data('bs.popover', (data = {}))
|
97
|
-
if (!data[selector]) data[selector] = new Popover(this, options)
|
98
|
-
} else {
|
99
|
-
if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
|
100
|
-
}
|
94
|
+
if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
|
101
95
|
if (typeof option == 'string') data[option]()
|
102
96
|
})
|
103
97
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: scrollspy.js v3.3.
|
2
|
+
* Bootstrap: scrollspy.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#scrollspy
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
this.process()
|
31
31
|
}
|
32
32
|
|
33
|
-
ScrollSpy.VERSION = '3.3.
|
33
|
+
ScrollSpy.VERSION = '3.3.2'
|
34
34
|
|
35
35
|
ScrollSpy.DEFAULTS = {
|
36
36
|
offset: 10
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tab.js v3.3.
|
2
|
+
* Bootstrap: tab.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#tabs
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
this.element = $(element)
|
18
18
|
}
|
19
19
|
|
20
|
-
Tab.VERSION = '3.3.
|
20
|
+
Tab.VERSION = '3.3.2'
|
21
21
|
|
22
22
|
Tab.TRANSITION_DURATION = 150
|
23
23
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tooltip.js v3.3.
|
2
|
+
* Bootstrap: tooltip.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#tooltip
|
4
4
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
5
5
|
* ========================================================================
|
6
|
-
* Copyright 2011-
|
6
|
+
* Copyright 2011-2015 Twitter, Inc.
|
7
7
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
8
8
|
* ======================================================================== */
|
9
9
|
|
@@ -25,7 +25,7 @@
|
|
25
25
|
this.init('tooltip', element, options)
|
26
26
|
}
|
27
27
|
|
28
|
-
Tooltip.VERSION = '3.3.
|
28
|
+
Tooltip.VERSION = '3.3.2'
|
29
29
|
|
30
30
|
Tooltip.TRANSITION_DURATION = 150
|
31
31
|
|
@@ -346,10 +346,10 @@
|
|
346
346
|
}
|
347
347
|
|
348
348
|
Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
|
349
|
-
return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2
|
350
|
-
placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2
|
349
|
+
return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
|
350
|
+
placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
|
351
351
|
placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
|
352
|
-
/* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width
|
352
|
+
/* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
|
353
353
|
|
354
354
|
}
|
355
355
|
|
@@ -445,18 +445,12 @@
|
|
445
445
|
|
446
446
|
function Plugin(option) {
|
447
447
|
return this.each(function () {
|
448
|
-
var $this
|
449
|
-
var data
|
450
|
-
var options
|
451
|
-
var selector = options && options.selector
|
448
|
+
var $this = $(this)
|
449
|
+
var data = $this.data('bs.tooltip')
|
450
|
+
var options = typeof option == 'object' && option
|
452
451
|
|
453
452
|
if (!data && option == 'destroy') return
|
454
|
-
if (
|
455
|
-
if (!data) $this.data('bs.tooltip', (data = {}))
|
456
|
-
if (!data[selector]) data[selector] = new Tooltip(this, options)
|
457
|
-
} else {
|
458
|
-
if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
|
459
|
-
}
|
453
|
+
if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
|
460
454
|
if (typeof option == 'string') data[option]()
|
461
455
|
})
|
462
456
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: transition.js v3.3.
|
2
|
+
* Bootstrap: transition.js v3.3.2
|
3
3
|
* http://getbootstrap.com/javascript/#transitions
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2015 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -18,6 +18,7 @@
|
|
18
18
|
// Specified for the h4 to prevent conflicts of changing $headings-color
|
19
19
|
color: inherit;
|
20
20
|
}
|
21
|
+
|
21
22
|
// Provide class for links that match alerts
|
22
23
|
.alert-link {
|
23
24
|
font-weight: $alert-link-font-weight;
|
@@ -28,6 +29,7 @@
|
|
28
29
|
> ul {
|
29
30
|
margin-bottom: 0;
|
30
31
|
}
|
32
|
+
|
31
33
|
> p + p {
|
32
34
|
margin-top: 5px;
|
33
35
|
}
|
@@ -57,12 +59,15 @@
|
|
57
59
|
.alert-success {
|
58
60
|
@include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
|
59
61
|
}
|
62
|
+
|
60
63
|
.alert-info {
|
61
64
|
@include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
|
62
65
|
}
|
66
|
+
|
63
67
|
.alert-warning {
|
64
68
|
@include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
|
65
69
|
}
|
70
|
+
|
66
71
|
.alert-danger {
|
67
72
|
@include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
|
68
73
|
}
|
@@ -28,6 +28,7 @@
|
|
28
28
|
position: relative;
|
29
29
|
top: -1px;
|
30
30
|
}
|
31
|
+
|
31
32
|
.btn-xs & {
|
32
33
|
top: 0;
|
33
34
|
padding: 1px 5px;
|
@@ -41,12 +42,15 @@
|
|
41
42
|
color: $badge-active-color;
|
42
43
|
background-color: $badge-active-bg;
|
43
44
|
}
|
45
|
+
|
44
46
|
.list-group-item > & {
|
45
47
|
float: right;
|
46
48
|
}
|
49
|
+
|
47
50
|
.list-group-item > & + & {
|
48
51
|
margin-right: 5px;
|
49
52
|
}
|
53
|
+
|
50
54
|
.nav-pills > li > a > & {
|
51
55
|
margin-left: 3px;
|
52
56
|
}
|
@@ -71,13 +71,13 @@
|
|
71
71
|
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
72
72
|
border-radius: 0;
|
73
73
|
}
|
74
|
-
.btn-group > .btn-group:first-child {
|
74
|
+
.btn-group > .btn-group:first-child:not(:last-child) {
|
75
75
|
> .btn:last-child,
|
76
76
|
> .dropdown-toggle {
|
77
77
|
@include border-right-radius(0);
|
78
78
|
}
|
79
79
|
}
|
80
|
-
.btn-group > .btn-group:last-child > .btn:first-child {
|
80
|
+
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
81
81
|
@include border-left-radius(0);
|
82
82
|
}
|
83
83
|
|
@@ -27,24 +27,24 @@
|
|
27
27
|
|
28
28
|
// WebKit CSS3 transforms for supported devices
|
29
29
|
@media all and (transform-3d), (-webkit-transform-3d) {
|
30
|
-
transition
|
31
|
-
backface-visibility
|
32
|
-
perspective
|
30
|
+
@include transition-transform(0.6s ease-in-out);
|
31
|
+
@include backface-visibility(hidden);
|
32
|
+
@include perspective(1000);
|
33
33
|
|
34
34
|
&.next,
|
35
35
|
&.active.right {
|
36
|
-
|
36
|
+
@include translate3d(100%, 0, 0);
|
37
37
|
left: 0;
|
38
38
|
}
|
39
39
|
&.prev,
|
40
40
|
&.active.left {
|
41
|
-
|
41
|
+
@include translate3d(-100%, 0, 0);
|
42
42
|
left: 0;
|
43
43
|
}
|
44
44
|
&.next.left,
|
45
45
|
&.prev.right,
|
46
46
|
&.active {
|
47
|
-
|
47
|
+
@include translate3d(0, 0, 0);
|
48
48
|
left: 0;
|
49
49
|
}
|
50
50
|
}
|
@@ -148,6 +148,7 @@
|
|
148
148
|
width: 20px;
|
149
149
|
height: 20px;
|
150
150
|
margin-top: -10px;
|
151
|
+
line-height: 1;
|
151
152
|
font-family: serif;
|
152
153
|
}
|
153
154
|
|
@@ -195,6 +196,7 @@
|
|
195
196
|
// Internet Explorer 8-9 does not support clicks on elements without a set
|
196
197
|
// `background-color`. We cannot use `filter` since that's not viewed as a
|
197
198
|
// background color by the browser. Thus, a hack is needed.
|
199
|
+
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer
|
198
200
|
//
|
199
201
|
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
|
200
202
|
// set alpha transparency for the best results possible.
|