bootstrap-sass 3.3.5.1 → 3.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bootstrap-sass might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.travis.yml +8 -5
- data/CHANGELOG.md +9 -0
- data/LICENSE +1 -1
- data/README.md +11 -8
- data/Rakefile +34 -3
- data/assets/javascripts/bootstrap-sprockets.js +2 -2
- data/assets/javascripts/bootstrap.js +28 -28
- data/assets/javascripts/bootstrap.min.js +3 -3
- data/assets/javascripts/bootstrap/affix.js +2 -2
- data/assets/javascripts/bootstrap/alert.js +2 -2
- data/assets/javascripts/bootstrap/button.js +2 -2
- data/assets/javascripts/bootstrap/carousel.js +2 -2
- data/assets/javascripts/bootstrap/collapse.js +2 -2
- data/assets/javascripts/bootstrap/dropdown.js +4 -4
- data/assets/javascripts/bootstrap/modal.js +2 -2
- data/assets/javascripts/bootstrap/popover.js +2 -2
- data/assets/javascripts/bootstrap/scrollspy.js +2 -2
- data/assets/javascripts/bootstrap/tab.js +2 -2
- data/assets/javascripts/bootstrap/tooltip.js +2 -2
- data/assets/javascripts/bootstrap/transition.js +1 -1
- data/assets/stylesheets/_bootstrap-mincer.scss +2 -2
- data/assets/stylesheets/_bootstrap.scss +1 -1
- data/assets/stylesheets/bootstrap/_breadcrumbs.scss +3 -1
- data/assets/stylesheets/bootstrap/_button-groups.scss +2 -2
- data/assets/stylesheets/bootstrap/_carousel.scss +7 -6
- data/assets/stylesheets/bootstrap/_forms.scss +9 -3
- data/assets/stylesheets/bootstrap/_glyphicons.scss +2 -2
- data/assets/stylesheets/bootstrap/_input-groups.scss +7 -3
- data/assets/stylesheets/bootstrap/_jumbotron.scss +2 -0
- data/assets/stylesheets/bootstrap/_modals.scss +1 -1
- data/assets/stylesheets/bootstrap/_pagination.scss +2 -2
- data/assets/stylesheets/bootstrap/_theme.scss +1 -1
- data/assets/stylesheets/bootstrap/_type.scss +1 -1
- data/assets/stylesheets/bootstrap/_variables.scss +2 -0
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +1 -4
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +2 -2
- data/assets/stylesheets/bootstrap/mixins/_hide-text.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +2 -2
- data/bootstrap-sass.gemspec +9 -9
- data/bower.json +3 -2
- data/composer.json +1 -1
- data/lib/bootstrap-sass.rb +10 -0
- data/lib/bootstrap-sass/engine.rb +6 -1
- data/lib/bootstrap-sass/version.rb +2 -2
- data/package.json +5 -5
- data/sache.json +1 -1
- data/tasks/converter/less_conversion.rb +5 -0
- data/templates/project/_bootstrap-variables.sass +3 -1
- data/test/dummy_rails/config/application.rb +1 -1
- data/test/gemfiles/rails_head.gemfile +17 -0
- data/test/node_mincer_test.rb +2 -3
- data/test/node_sass_compile_test.sh +2 -2
- data/test/support/reporting.rb +10 -0
- data/test/test_helper.rb +1 -1
- metadata +17 -15
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: button.js v3.3.
|
2
|
+
* Bootstrap: button.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#buttons
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2015 Twitter, Inc.
|
@@ -19,7 +19,7 @@
|
|
19
19
|
this.isLoading = false
|
20
20
|
}
|
21
21
|
|
22
|
-
Button.VERSION = '3.3.
|
22
|
+
Button.VERSION = '3.3.6'
|
23
23
|
|
24
24
|
Button.DEFAULTS = {
|
25
25
|
loadingText: 'loading...'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: carousel.js v3.3.
|
2
|
+
* Bootstrap: carousel.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#carousel
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2015 Twitter, Inc.
|
@@ -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.6'
|
34
34
|
|
35
35
|
Carousel.TRANSITION_DURATION = 600
|
36
36
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: collapse.js v3.3.
|
2
|
+
* Bootstrap: collapse.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#collapse
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2015 Twitter, Inc.
|
@@ -29,7 +29,7 @@
|
|
29
29
|
if (this.options.toggle) this.toggle()
|
30
30
|
}
|
31
31
|
|
32
|
-
Collapse.VERSION = '3.3.
|
32
|
+
Collapse.VERSION = '3.3.6'
|
33
33
|
|
34
34
|
Collapse.TRANSITION_DURATION = 350
|
35
35
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: dropdown.js v3.3.
|
2
|
+
* Bootstrap: dropdown.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#dropdowns
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2015 Twitter, Inc.
|
@@ -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.6'
|
23
23
|
|
24
24
|
function getParent($this) {
|
25
25
|
var selector = $this.attr('data-target')
|
@@ -51,7 +51,7 @@
|
|
51
51
|
if (e.isDefaultPrevented()) return
|
52
52
|
|
53
53
|
$this.attr('aria-expanded', 'false')
|
54
|
-
$parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
|
54
|
+
$parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))
|
55
55
|
})
|
56
56
|
}
|
57
57
|
|
@@ -85,7 +85,7 @@
|
|
85
85
|
|
86
86
|
$parent
|
87
87
|
.toggleClass('open')
|
88
|
-
.trigger('shown.bs.dropdown', relatedTarget)
|
88
|
+
.trigger($.Event('shown.bs.dropdown', relatedTarget))
|
89
89
|
}
|
90
90
|
|
91
91
|
return false
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: modal.js v3.3.
|
2
|
+
* Bootstrap: modal.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#modals
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2015 Twitter, Inc.
|
@@ -33,7 +33,7 @@
|
|
33
33
|
}
|
34
34
|
}
|
35
35
|
|
36
|
-
Modal.VERSION = '3.3.
|
36
|
+
Modal.VERSION = '3.3.6'
|
37
37
|
|
38
38
|
Modal.TRANSITION_DURATION = 300
|
39
39
|
Modal.BACKDROP_TRANSITION_DURATION = 150
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: popover.js v3.3.
|
2
|
+
* Bootstrap: popover.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#popovers
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2015 Twitter, Inc.
|
@@ -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.6'
|
23
23
|
|
24
24
|
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
|
25
25
|
placement: 'right',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: scrollspy.js v3.3.
|
2
|
+
* Bootstrap: scrollspy.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#scrollspy
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2015 Twitter, Inc.
|
@@ -28,7 +28,7 @@
|
|
28
28
|
this.process()
|
29
29
|
}
|
30
30
|
|
31
|
-
ScrollSpy.VERSION = '3.3.
|
31
|
+
ScrollSpy.VERSION = '3.3.6'
|
32
32
|
|
33
33
|
ScrollSpy.DEFAULTS = {
|
34
34
|
offset: 10
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tab.js v3.3.
|
2
|
+
* Bootstrap: tab.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#tabs
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2015 Twitter, Inc.
|
@@ -19,7 +19,7 @@
|
|
19
19
|
// jscs:enable requireDollarBeforejQueryAssignment
|
20
20
|
}
|
21
21
|
|
22
|
-
Tab.VERSION = '3.3.
|
22
|
+
Tab.VERSION = '3.3.6'
|
23
23
|
|
24
24
|
Tab.TRANSITION_DURATION = 150
|
25
25
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tooltip.js v3.3.
|
2
|
+
* Bootstrap: tooltip.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#tooltip
|
4
4
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
5
5
|
* ========================================================================
|
@@ -26,7 +26,7 @@
|
|
26
26
|
this.init('tooltip', element, options)
|
27
27
|
}
|
28
28
|
|
29
|
-
Tooltip.VERSION = '3.3.
|
29
|
+
Tooltip.VERSION = '3.3.6'
|
30
30
|
|
31
31
|
Tooltip.TRANSITION_DURATION = 150
|
32
32
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: transition.js v3.3.
|
2
|
+
* Bootstrap: transition.js v3.3.6
|
3
3
|
* http://getbootstrap.com/javascript/#transitions
|
4
4
|
* ========================================================================
|
5
5
|
* Copyright 2011-2015 Twitter, Inc.
|
@@ -9,11 +9,11 @@
|
|
9
9
|
// from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>"
|
10
10
|
// from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>"
|
11
11
|
// or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>"
|
12
|
-
@return "<%- asset_path(
|
12
|
+
@return "<%- asset_path("#{$path}".replace(/[#?].*$/, '')) + "#{$path}".replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
|
13
13
|
}
|
14
14
|
|
15
15
|
@function twbs-image-path($file) {
|
16
|
-
@return "<%- asset_path(
|
16
|
+
@return "<%- asset_path("#{$file}") %>";
|
17
17
|
}
|
18
18
|
|
19
19
|
$bootstrap-sass-asset-helper: true;
|
@@ -14,7 +14,9 @@
|
|
14
14
|
display: inline-block;
|
15
15
|
|
16
16
|
+ li:before {
|
17
|
-
|
17
|
+
// [converter] Workaround for https://github.com/sass/libsass/issues/1115
|
18
|
+
$nbsp: "\00a0";
|
19
|
+
content: "#{$breadcrumb-separator}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space
|
18
20
|
padding: 0 5px;
|
19
21
|
color: $breadcrumb-color;
|
20
22
|
}
|
@@ -173,12 +173,12 @@
|
|
173
173
|
border-radius: 0;
|
174
174
|
}
|
175
175
|
&:first-child:not(:last-child) {
|
176
|
-
border-top-
|
176
|
+
@include border-top-radius($btn-border-radius-base);
|
177
177
|
@include border-bottom-radius(0);
|
178
178
|
}
|
179
179
|
&:last-child:not(:first-child) {
|
180
|
-
border-bottom-left-radius: $btn-border-radius-base;
|
181
180
|
@include border-top-radius(0);
|
181
|
+
@include border-bottom-radius($btn-border-radius-base);
|
182
182
|
}
|
183
183
|
}
|
184
184
|
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
@@ -101,6 +101,7 @@
|
|
101
101
|
color: $carousel-control-color;
|
102
102
|
text-align: center;
|
103
103
|
text-shadow: $carousel-text-shadow;
|
104
|
+
background-color: rgba(0, 0, 0, 0); // Fix IE9 click-thru bug
|
104
105
|
// We can't have this transition here because WebKit cancels the carousel
|
105
106
|
// animation if you trip this while in the middle of another animation.
|
106
107
|
|
@@ -240,18 +241,18 @@
|
|
240
241
|
.glyphicon-chevron-right,
|
241
242
|
.icon-prev,
|
242
243
|
.icon-next {
|
243
|
-
width:
|
244
|
-
height:
|
245
|
-
margin-top: -
|
246
|
-
font-size:
|
244
|
+
width: ($carousel-control-font-size * 1.5);
|
245
|
+
height: ($carousel-control-font-size * 1.5);
|
246
|
+
margin-top: ($carousel-control-font-size / -2);
|
247
|
+
font-size: ($carousel-control-font-size * 1.5);
|
247
248
|
}
|
248
249
|
.glyphicon-chevron-left,
|
249
250
|
.icon-prev {
|
250
|
-
margin-left: -
|
251
|
+
margin-left: ($carousel-control-font-size / -2);
|
251
252
|
}
|
252
253
|
.glyphicon-chevron-right,
|
253
254
|
.icon-next {
|
254
|
-
margin-right: -
|
255
|
+
margin-right: ($carousel-control-font-size / -2);
|
255
256
|
}
|
256
257
|
}
|
257
258
|
|
@@ -132,6 +132,12 @@ output {
|
|
132
132
|
// Placeholder
|
133
133
|
@include placeholder;
|
134
134
|
|
135
|
+
// Unstyle the caret on `<select>`s in IE10+.
|
136
|
+
&::-ms-expand {
|
137
|
+
border: 0;
|
138
|
+
background-color: transparent;
|
139
|
+
}
|
140
|
+
|
135
141
|
// Disabled and read-only inputs
|
136
142
|
//
|
137
143
|
// HTML5 says that controls under a fieldset > legend:first-child won't be
|
@@ -431,10 +437,10 @@ input[type="checkbox"] {
|
|
431
437
|
.has-feedback label {
|
432
438
|
|
433
439
|
& ~ .form-control-feedback {
|
434
|
-
|
440
|
+
top: ($line-height-computed + 5); // Height of the `label` and its margin
|
435
441
|
}
|
436
442
|
&.sr-only ~ .form-control-feedback {
|
437
|
-
|
443
|
+
top: 0;
|
438
444
|
}
|
439
445
|
}
|
440
446
|
|
@@ -595,7 +601,7 @@ input[type="checkbox"] {
|
|
595
601
|
.form-group-lg {
|
596
602
|
@media (min-width: $screen-sm-min) {
|
597
603
|
.control-label {
|
598
|
-
padding-top: (
|
604
|
+
padding-top: ($padding-large-vertical + 1);
|
599
605
|
font-size: $font-size-large;
|
600
606
|
}
|
601
607
|
}
|
@@ -34,8 +34,8 @@
|
|
34
34
|
}
|
35
35
|
|
36
36
|
// Individual icons
|
37
|
-
.glyphicon-asterisk { &:before { content: "\
|
38
|
-
.glyphicon-plus { &:before { content: "\
|
37
|
+
.glyphicon-asterisk { &:before { content: "\002a"; } }
|
38
|
+
.glyphicon-plus { &:before { content: "\002b"; } }
|
39
39
|
.glyphicon-euro,
|
40
40
|
.glyphicon-eur { &:before { content: "\20ac"; } }
|
41
41
|
.glyphicon-minus { &:before { content: "\2212"; } }
|
@@ -29,6 +29,10 @@
|
|
29
29
|
|
30
30
|
width: 100%;
|
31
31
|
margin-bottom: 0;
|
32
|
+
|
33
|
+
&:focus {
|
34
|
+
z-index: 3;
|
35
|
+
}
|
32
36
|
}
|
33
37
|
}
|
34
38
|
|
@@ -79,18 +83,18 @@
|
|
79
83
|
text-align: center;
|
80
84
|
background-color: $input-group-addon-bg;
|
81
85
|
border: 1px solid $input-group-addon-border-color;
|
82
|
-
border-radius: $border-radius
|
86
|
+
border-radius: $input-border-radius;
|
83
87
|
|
84
88
|
// Sizing
|
85
89
|
&.input-sm {
|
86
90
|
padding: $padding-small-vertical $padding-small-horizontal;
|
87
91
|
font-size: $font-size-small;
|
88
|
-
border-radius: $border-radius-small;
|
92
|
+
border-radius: $input-border-radius-small;
|
89
93
|
}
|
90
94
|
&.input-lg {
|
91
95
|
padding: $padding-large-vertical $padding-large-horizontal;
|
92
96
|
font-size: $font-size-large;
|
93
|
-
border-radius: $border-radius-large;
|
97
|
+
border-radius: $input-border-radius-large;
|
94
98
|
}
|
95
99
|
|
96
100
|
// Nuke default margins from checkboxes and radios to vertically center within.
|
@@ -28,6 +28,8 @@
|
|
28
28
|
.container &,
|
29
29
|
.container-fluid & {
|
30
30
|
border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
|
31
|
+
padding-left: ($grid-gutter-width / 2);
|
32
|
+
padding-right: ($grid-gutter-width / 2);
|
31
33
|
}
|
32
34
|
|
33
35
|
.container {
|
@@ -40,7 +40,7 @@
|
|
40
40
|
> li > span {
|
41
41
|
&:hover,
|
42
42
|
&:focus {
|
43
|
-
z-index:
|
43
|
+
z-index: 2;
|
44
44
|
color: $pagination-hover-color;
|
45
45
|
background-color: $pagination-hover-bg;
|
46
46
|
border-color: $pagination-hover-border;
|
@@ -52,7 +52,7 @@
|
|
52
52
|
&,
|
53
53
|
&:hover,
|
54
54
|
&:focus {
|
55
|
-
z-index:
|
55
|
+
z-index: 3;
|
56
56
|
color: $pagination-active-color;
|
57
57
|
background-color: $pagination-active-bg;
|
58
58
|
border-color: $pagination-active-border;
|
@@ -207,7 +207,7 @@ dd {
|
|
207
207
|
@include clearfix; // Clear the floated `dt` if an empty `dd` is present
|
208
208
|
}
|
209
209
|
|
210
|
-
@media (min-width: $
|
210
|
+
@media (min-width: $dl-horizontal-breakpoint) {
|
211
211
|
dt {
|
212
212
|
float: left;
|
213
213
|
width: ($dl-horizontal-offset - 20);
|
@@ -868,5 +868,7 @@ $blockquote-border-color: $gray-lighter !default;
|
|
868
868
|
$page-header-border-color: $gray-lighter !default;
|
869
869
|
//** Width of horizontal description list titles
|
870
870
|
$dl-horizontal-offset: $component-offset-horizontal !default;
|
871
|
+
//** Point at which .dl-horizontal becomes horizontal
|
872
|
+
$dl-horizontal-breakpoint: $grid-float-breakpoint !default;
|
871
873
|
//** Horizontal line color.
|
872
874
|
$hr-border: $gray-lighter !default;
|
@@ -6,8 +6,8 @@
|
|
6
6
|
@mixin container-fixed($gutter: $grid-gutter-width) {
|
7
7
|
margin-right: auto;
|
8
8
|
margin-left: auto;
|
9
|
-
padding-left: ($gutter / 2);
|
10
|
-
padding-right: ($gutter / 2);
|
9
|
+
padding-left: floor(($gutter / 2));
|
10
|
+
padding-right: ceil(($gutter / 2));
|
11
11
|
@include clearfix;
|
12
12
|
}
|
13
13
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// Vendor Prefixes
|
2
2
|
//
|
3
3
|
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
|
4
|
-
// Autoprefixer in our Gruntfile. They
|
4
|
+
// Autoprefixer in our Gruntfile. They have been removed in v4.
|
5
5
|
|
6
6
|
// - Animations
|
7
7
|
// - Backface visibility
|
@@ -54,7 +54,7 @@
|
|
54
54
|
// Prevent browsers from flickering when using CSS 3D transforms.
|
55
55
|
// Default value is `visible`, but can be changed to `hidden`
|
56
56
|
|
57
|
-
@mixin backface-visibility($visibility){
|
57
|
+
@mixin backface-visibility($visibility) {
|
58
58
|
-webkit-backface-visibility: $visibility;
|
59
59
|
-moz-backface-visibility: $visibility;
|
60
60
|
backface-visibility: $visibility;
|