bootstrap-sass 3.3.4.1 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.travis.yml +8 -12
  4. data/CHANGELOG.md +26 -0
  5. data/Gemfile +1 -4
  6. data/LICENSE +2 -1
  7. data/README.md +80 -74
  8. data/Rakefile +46 -11
  9. data/assets/javascripts/bootstrap.js +441 -178
  10. data/assets/javascripts/bootstrap.min.js +4 -5
  11. data/assets/javascripts/bootstrap/affix.js +8 -6
  12. data/assets/javascripts/bootstrap/alert.js +6 -5
  13. data/assets/javascripts/bootstrap/button.js +24 -15
  14. data/assets/javascripts/bootstrap/carousel.js +16 -7
  15. data/assets/javascripts/bootstrap/collapse.js +7 -6
  16. data/assets/javascripts/bootstrap/dropdown.js +49 -45
  17. data/assets/javascripts/bootstrap/modal.js +47 -28
  18. data/assets/javascripts/bootstrap/popover.js +25 -10
  19. data/assets/javascripts/bootstrap/scrollspy.js +4 -4
  20. data/assets/javascripts/bootstrap/tab.js +13 -11
  21. data/assets/javascripts/bootstrap/tooltip.js +232 -31
  22. data/assets/javascripts/bootstrap/transition.js +5 -5
  23. data/assets/stylesheets/_bootstrap-mincer.scss +2 -2
  24. data/assets/stylesheets/_bootstrap.scss +6 -0
  25. data/assets/stylesheets/bootstrap/_alerts.scss +3 -3
  26. data/assets/stylesheets/bootstrap/_badges.scss +3 -3
  27. data/assets/stylesheets/bootstrap/_breadcrumbs.scss +3 -1
  28. data/assets/stylesheets/bootstrap/_button-groups.scss +9 -8
  29. data/assets/stylesheets/bootstrap/_buttons.scss +17 -9
  30. data/assets/stylesheets/bootstrap/_carousel.scss +34 -32
  31. data/assets/stylesheets/bootstrap/_close.scss +1 -0
  32. data/assets/stylesheets/bootstrap/_code.scss +3 -3
  33. data/assets/stylesheets/bootstrap/_component-animations.scss +1 -0
  34. data/assets/stylesheets/bootstrap/_dropdowns.scss +22 -23
  35. data/assets/stylesheets/bootstrap/_forms.scss +101 -72
  36. data/assets/stylesheets/bootstrap/_glyphicons.scss +15 -13
  37. data/assets/stylesheets/bootstrap/_grid.scss +10 -0
  38. data/assets/stylesheets/bootstrap/_input-groups.scss +10 -5
  39. data/assets/stylesheets/bootstrap/_jumbotron.scss +8 -4
  40. data/assets/stylesheets/bootstrap/_labels.scss +1 -1
  41. data/assets/stylesheets/bootstrap/_list-group.scss +30 -26
  42. data/assets/stylesheets/bootstrap/_media.scss +6 -1
  43. data/assets/stylesheets/bootstrap/_mixins.scss +1 -0
  44. data/assets/stylesheets/bootstrap/_modals.scss +8 -8
  45. data/assets/stylesheets/bootstrap/_navbar.scss +75 -81
  46. data/assets/stylesheets/bootstrap/_navs.scss +4 -4
  47. data/assets/stylesheets/bootstrap/_normalize.scss +13 -13
  48. data/assets/stylesheets/bootstrap/_pager.scss +2 -2
  49. data/assets/stylesheets/bootstrap/_pagination.scss +15 -17
  50. data/assets/stylesheets/bootstrap/_panels.scss +11 -5
  51. data/assets/stylesheets/bootstrap/_popovers.scss +50 -59
  52. data/assets/stylesheets/bootstrap/_print.scss +90 -98
  53. data/assets/stylesheets/bootstrap/_progress-bars.scss +3 -3
  54. data/assets/stylesheets/bootstrap/_responsive-embed.scss +2 -2
  55. data/assets/stylesheets/bootstrap/_responsive-utilities.scss +7 -5
  56. data/assets/stylesheets/bootstrap/_scaffolding.scss +8 -9
  57. data/assets/stylesheets/bootstrap/_tables.scss +23 -23
  58. data/assets/stylesheets/bootstrap/_theme.scss +42 -20
  59. data/assets/stylesheets/bootstrap/_thumbnails.scss +1 -1
  60. data/assets/stylesheets/bootstrap/_tooltip.scss +42 -32
  61. data/assets/stylesheets/bootstrap/_type.scss +11 -11
  62. data/assets/stylesheets/bootstrap/_variables.scss +16 -8
  63. data/assets/stylesheets/bootstrap/_wells.scss +2 -2
  64. data/assets/stylesheets/bootstrap/mixins/_alerts.scss +2 -1
  65. data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +2 -1
  66. data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +4 -4
  67. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +20 -11
  68. data/assets/stylesheets/bootstrap/mixins/_center-block.scss +1 -1
  69. data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +1 -1
  70. data/assets/stylesheets/bootstrap/mixins/_forms.scss +4 -4
  71. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +6 -8
  72. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +2 -2
  73. data/assets/stylesheets/bootstrap/mixins/_grid.scss +8 -8
  74. data/assets/stylesheets/bootstrap/mixins/_hide-text.scss +2 -2
  75. data/assets/stylesheets/bootstrap/mixins/_image.scss +5 -10
  76. data/assets/stylesheets/bootstrap/mixins/_list-group.scss +3 -2
  77. data/assets/stylesheets/bootstrap/mixins/_opacity.scss +2 -3
  78. data/assets/stylesheets/bootstrap/mixins/_pagination.scss +2 -1
  79. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
  80. data/assets/stylesheets/bootstrap/mixins/_resize.scss +1 -1
  81. data/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +1 -5
  82. data/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +3 -3
  83. data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +2 -1
  84. data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +3 -3
  85. data/bootstrap-sass.gemspec +10 -9
  86. data/bower.json +5 -9
  87. data/composer.json +2 -2
  88. data/eyeglass-exports.js +7 -0
  89. data/lib/bootstrap-sass.rb +18 -11
  90. data/lib/bootstrap-sass/engine.rb +6 -1
  91. data/lib/bootstrap-sass/version.rb +2 -2
  92. data/package-lock.json +1611 -0
  93. data/package.json +20 -6
  94. data/sache.json +1 -1
  95. data/tasks/converter/less_conversion.rb +20 -9
  96. data/tasks/converter/network.rb +2 -2
  97. data/templates/project/_bootstrap-variables.sass +17 -9
  98. data/test/compilation_test.rb +24 -12
  99. data/test/dummy_rails/config/application.rb +2 -1
  100. data/test/dummy_rails/config/boot.rb +1 -1
  101. data/test/dummy_sass_only/Gemfile +1 -1
  102. data/test/dummy_sass_only/compile.rb +14 -7
  103. data/test/dummy_sass_only/import_all.scss +2 -0
  104. data/test/gemfiles/default.gemfile +3 -0
  105. data/test/node_mincer_test.rb +2 -3
  106. data/test/node_sass_compile_test.sh +4 -3
  107. data/test/sass_test.rb +10 -7
  108. data/test/sprockets_rails_test.rb +12 -8
  109. data/test/support/dummy_rails_integration.rb +1 -1
  110. data/test/support/reporting.rb +10 -0
  111. data/test/test_helper.rb +3 -2
  112. metadata +38 -29
  113. data/test/compass_test.rb +0 -9
  114. data/test/dummy_sass_only/import_all.sass +0 -2
  115. data/test/gemfiles/sass_3_2.gemfile +0 -6
  116. data/test/gemfiles/sass_3_3.gemfile +0 -6
  117. data/test/gemfiles/sass_3_4.gemfile +0 -7
  118. data/test/gemfiles/sass_head.gemfile +0 -6
@@ -1,8 +1,8 @@
1
1
  /* ========================================================================
2
- * Bootstrap: transition.js v3.3.4
3
- * http://getbootstrap.com/javascript/#transitions
2
+ * Bootstrap: transition.js v3.4.1
3
+ * https://getbootstrap.com/docs/3.4/javascript/#transitions
4
4
  * ========================================================================
5
- * Copyright 2011-2015 Twitter, Inc.
5
+ * Copyright 2011-2019 Twitter, Inc.
6
6
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
7
  * ======================================================================== */
8
8
 
@@ -10,7 +10,7 @@
10
10
  +function ($) {
11
11
  'use strict';
12
12
 
13
- // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
13
+ // CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/)
14
14
  // ============================================================
15
15
 
16
16
  function transitionEnd() {
@@ -32,7 +32,7 @@
32
32
  return false // explicit for ie8 ( ._.)
33
33
  }
34
34
 
35
- // http://blog.alexmaccaw.com/css-transitions
35
+ // https://blog.alexmaccaw.com/css-transitions
36
36
  $.fn.emulateTransitionEnd = function (duration) {
37
37
  var called = false
38
38
  var $el = this
@@ -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('#{$path}'.replace(/[#?].*$/, '')) + '#{$path}'.replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
12
+ @return "<%- asset_path("#{$path}".replace(/[#?].*$/, '')) + "#{$path}".replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
13
13
  }
14
14
 
15
15
  @function twbs-image-path($file) {
16
- @return "<%- asset_path('#{$file}') %>";
16
+ @return "<%- asset_path("#{$file}") %>";
17
17
  }
18
18
 
19
19
  $bootstrap-sass-asset-helper: true;
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * Bootstrap v3.4.1 (https://getbootstrap.com/)
3
+ * Copyright 2011-2019 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
1
7
  // Core variables and mixins
2
8
  @import "bootstrap/variables";
3
9
  @import "bootstrap/mixins";
@@ -15,8 +15,7 @@
15
15
  // Headings for larger alerts
16
16
  h4 {
17
17
  margin-top: 0;
18
- // Specified for the h4 to prevent conflicts of changing $headings-color
19
- color: inherit;
18
+ color: inherit; // Specified for the h4 to prevent conflicts of changing $headings-color
20
19
  }
21
20
 
22
21
  // Provide class for links that match alerts
@@ -39,7 +38,8 @@
39
38
  //
40
39
  // Expand the right padding and account for the close button's positioning.
41
40
 
42
- .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
41
+ // The misspelled .alert-dismissable was deprecated in 3.2.0.
42
+ .alert-dismissable,
43
43
  .alert-dismissible {
44
44
  padding-right: ($alert-padding + 20);
45
45
 
@@ -10,11 +10,11 @@
10
10
  padding: 3px 7px;
11
11
  font-size: $font-size-small;
12
12
  font-weight: $badge-font-weight;
13
- color: $badge-color;
14
13
  line-height: $badge-line-height;
15
- vertical-align: baseline;
16
- white-space: nowrap;
14
+ color: $badge-color;
17
15
  text-align: center;
16
+ white-space: nowrap;
17
+ vertical-align: middle;
18
18
  background-color: $badge-bg;
19
19
  border-radius: $badge-border-radius;
20
20
 
@@ -14,9 +14,11 @@
14
14
  display: inline-block;
15
15
 
16
16
  + li:before {
17
- content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
18
17
  padding: 0 5px;
19
18
  color: $breadcrumb-color;
19
+ // [converter] Workaround for https://github.com/sass/libsass/issues/1115
20
+ $nbsp: "\00a0";
21
+ content: "#{$breadcrumb-separator}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space
20
22
  }
21
23
  }
22
24
 
@@ -36,6 +36,7 @@
36
36
  margin-left: -5px; // Offset the first child's margin
37
37
  @include clearfix;
38
38
 
39
+ .btn,
39
40
  .btn-group,
40
41
  .input-group {
41
42
  float: left;
@@ -58,7 +59,7 @@
58
59
  @include border-right-radius(0);
59
60
  }
60
61
  }
61
- // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
62
+ // Need .dropdown-toggle since :last-child doesn't apply, given that a .dropdown-menu is used immediately after it
62
63
  .btn-group > .btn:last-child:not(:first-child),
63
64
  .btn-group > .dropdown-toggle:not(:first-child) {
64
65
  @include border-left-radius(0);
@@ -102,18 +103,18 @@
102
103
 
103
104
  // Give the line between buttons some depth
104
105
  .btn-group > .btn + .dropdown-toggle {
105
- padding-left: 8px;
106
106
  padding-right: 8px;
107
+ padding-left: 8px;
107
108
  }
108
109
  .btn-group > .btn-lg + .dropdown-toggle {
109
- padding-left: 12px;
110
110
  padding-right: 12px;
111
+ padding-left: 12px;
111
112
  }
112
113
 
113
114
  // The clickable button for toggling the menu
114
115
  // Remove the gradient and set the same inset shadow as the :active state
115
116
  .btn-group.open .dropdown-toggle {
116
- @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
117
+ @include box-shadow(inset 0 3px 5px rgba(0, 0, 0, .125));
117
118
 
118
119
  // Show no shadow for `.btn-link` since it has no other button styles.
119
120
  &.btn-link {
@@ -172,12 +173,12 @@
172
173
  border-radius: 0;
173
174
  }
174
175
  &:first-child:not(:last-child) {
175
- border-top-right-radius: $border-radius-base;
176
+ @include border-top-radius($btn-border-radius-base);
176
177
  @include border-bottom-radius(0);
177
178
  }
178
179
  &:last-child:not(:first-child) {
179
- border-bottom-left-radius: $border-radius-base;
180
180
  @include border-top-radius(0);
181
+ @include border-bottom-radius($btn-border-radius-base);
181
182
  }
182
183
  }
183
184
  .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
@@ -204,8 +205,8 @@
204
205
  border-collapse: separate;
205
206
  > .btn,
206
207
  > .btn-group {
207
- float: none;
208
208
  display: table-cell;
209
+ float: none;
209
210
  width: 1%;
210
211
  }
211
212
  > .btn-group .btn {
@@ -236,7 +237,7 @@
236
237
  input[type="radio"],
237
238
  input[type="checkbox"] {
238
239
  position: absolute;
239
- clip: rect(0,0,0,0);
240
+ clip: rect(0, 0, 0, 0);
240
241
  pointer-events: none;
241
242
  }
242
243
  }
@@ -11,13 +11,13 @@
11
11
  margin-bottom: 0; // For input.btn
12
12
  font-weight: $btn-font-weight;
13
13
  text-align: center;
14
+ white-space: nowrap;
14
15
  vertical-align: middle;
15
16
  touch-action: manipulation;
16
17
  cursor: pointer;
17
18
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
18
19
  border: 1px solid transparent;
19
- white-space: nowrap;
20
- @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $border-radius-base);
20
+ @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $btn-border-radius-base);
21
21
  @include user-select(none);
22
22
 
23
23
  &,
@@ -38,19 +38,27 @@
38
38
 
39
39
  &:active,
40
40
  &.active {
41
- outline: 0;
42
41
  background-image: none;
43
- @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
42
+ outline: 0;
43
+ @include box-shadow(inset 0 3px 5px rgba(0, 0, 0, .125));
44
44
  }
45
45
 
46
46
  &.disabled,
47
47
  &[disabled],
48
48
  fieldset[disabled] & {
49
49
  cursor: $cursor-disabled;
50
- pointer-events: none; // Future-proof disabling of clicks
51
50
  @include opacity(.65);
52
51
  @include box-shadow(none);
53
52
  }
53
+
54
+ // [converter] extracted a& to a.btn
55
+ }
56
+
57
+ a.btn {
58
+ &.disabled,
59
+ fieldset[disabled] & {
60
+ pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
61
+ }
54
62
  }
55
63
 
56
64
 
@@ -86,8 +94,8 @@
86
94
 
87
95
  // Make a button look and behave like a link
88
96
  .btn-link {
97
+ font-weight: 400;
89
98
  color: $link-color;
90
- font-weight: normal;
91
99
  border-radius: 0;
92
100
 
93
101
  &,
@@ -126,14 +134,14 @@
126
134
 
127
135
  .btn-lg {
128
136
  // line-height: ensure even-numbered height of button next to large input
129
- @include button-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large);
137
+ @include button-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $btn-border-radius-large);
130
138
  }
131
139
  .btn-sm {
132
140
  // line-height: ensure proper height of button next to small input
133
- @include button-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small);
141
+ @include button-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $btn-border-radius-small);
134
142
  }
135
143
  .btn-xs {
136
- @include button-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $border-radius-small);
144
+ @include button-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $btn-border-radius-small);
137
145
  }
138
146
 
139
147
 
@@ -10,12 +10,12 @@
10
10
 
11
11
  .carousel-inner {
12
12
  position: relative;
13
- overflow: hidden;
14
13
  width: 100%;
14
+ overflow: hidden;
15
15
 
16
16
  > .item {
17
- display: none;
18
17
  position: relative;
18
+ display: none;
19
19
  @include transition(.6s ease-in-out left);
20
20
 
21
21
  // Account for jankitude on images
@@ -29,7 +29,7 @@
29
29
  @media all and (transform-3d), (-webkit-transform-3d) {
30
30
  @include transition-transform(0.6s ease-in-out);
31
31
  @include backface-visibility(hidden);
32
- @include perspective(1000);
32
+ @include perspective(1000px);
33
33
 
34
34
  &.next,
35
35
  &.active.right {
@@ -93,33 +93,34 @@
93
93
  .carousel-control {
94
94
  position: absolute;
95
95
  top: 0;
96
- left: 0;
97
96
  bottom: 0;
97
+ left: 0;
98
98
  width: $carousel-control-width;
99
- @include opacity($carousel-control-opacity);
100
99
  font-size: $carousel-control-font-size;
101
100
  color: $carousel-control-color;
102
101
  text-align: center;
103
102
  text-shadow: $carousel-text-shadow;
103
+ background-color: rgba(0, 0, 0, 0); // Fix IE9 click-thru bug
104
+ @include opacity($carousel-control-opacity);
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
 
107
108
  // Set gradients for backgrounds
108
109
  &.left {
109
- @include gradient-horizontal($start-color: rgba(0,0,0,.5), $end-color: rgba(0,0,0,.0001));
110
+ @include gradient-horizontal($start-color: rgba(0, 0, 0, .5), $end-color: rgba(0, 0, 0, .0001));
110
111
  }
111
112
  &.right {
112
- left: auto;
113
113
  right: 0;
114
- @include gradient-horizontal($start-color: rgba(0,0,0,.0001), $end-color: rgba(0,0,0,.5));
114
+ left: auto;
115
+ @include gradient-horizontal($start-color: rgba(0, 0, 0, .0001), $end-color: rgba(0, 0, 0, .5));
115
116
  }
116
117
 
117
118
  // Hover/focus state
118
119
  &:hover,
119
120
  &:focus {
120
- outline: 0;
121
121
  color: $carousel-control-color;
122
122
  text-decoration: none;
123
+ outline: 0;
123
124
  @include opacity(.9);
124
125
  }
125
126
 
@@ -132,6 +133,7 @@
132
133
  top: 50%;
133
134
  z-index: 5;
134
135
  display: inline-block;
136
+ margin-top: -10px;
135
137
  }
136
138
  .icon-prev,
137
139
  .glyphicon-chevron-left {
@@ -145,22 +147,20 @@
145
147
  }
146
148
  .icon-prev,
147
149
  .icon-next {
148
- width: 20px;
150
+ width: 20px;
149
151
  height: 20px;
150
- margin-top: -10px;
151
- line-height: 1;
152
152
  font-family: serif;
153
+ line-height: 1;
153
154
  }
154
155
 
155
-
156
156
  .icon-prev {
157
157
  &:before {
158
- content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
158
+ content: "\2039";// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
159
159
  }
160
160
  }
161
161
  .icon-next {
162
162
  &:before {
163
- content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
163
+ content: "\203a";// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
164
164
  }
165
165
  }
166
166
  }
@@ -176,21 +176,18 @@
176
176
  left: 50%;
177
177
  z-index: 15;
178
178
  width: 60%;
179
- margin-left: -30%;
180
179
  padding-left: 0;
181
- list-style: none;
180
+ margin-left: -30%;
182
181
  text-align: center;
182
+ list-style: none;
183
183
 
184
184
  li {
185
185
  display: inline-block;
186
- width: 10px;
186
+ width: 10px;
187
187
  height: 10px;
188
188
  margin: 1px;
189
189
  text-indent: -999px;
190
- border: 1px solid $carousel-indicator-border-color;
191
- border-radius: 10px;
192
190
  cursor: pointer;
193
-
194
191
  // IE8-9 hack for event handling
195
192
  //
196
193
  // Internet Explorer 8-9 does not support clicks on elements without a set
@@ -201,12 +198,16 @@
201
198
  // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
202
199
  // set alpha transparency for the best results possible.
203
200
  background-color: #000 \9; // IE8
204
- background-color: rgba(0,0,0,0); // IE9
201
+ background-color: rgba(0, 0, 0, 0); // IE9
202
+
203
+ border: 1px solid $carousel-indicator-border-color;
204
+ border-radius: 10px;
205
205
  }
206
+
206
207
  .active {
207
- margin: 0;
208
- width: 12px;
208
+ width: 12px;
209
209
  height: 12px;
210
+ margin: 0;
210
211
  background-color: $carousel-indicator-active-bg;
211
212
  }
212
213
  }
@@ -216,15 +217,16 @@
216
217
  // Hidden by default for smaller viewports
217
218
  .carousel-caption {
218
219
  position: absolute;
219
- left: 15%;
220
220
  right: 15%;
221
221
  bottom: 20px;
222
+ left: 15%;
222
223
  z-index: 10;
223
224
  padding-top: 20px;
224
225
  padding-bottom: 20px;
225
226
  color: $carousel-caption-color;
226
227
  text-align: center;
227
228
  text-shadow: $carousel-text-shadow;
229
+
228
230
  & .btn {
229
231
  text-shadow: none; // No shadow for button elements in carousel-caption
230
232
  }
@@ -240,25 +242,25 @@
240
242
  .glyphicon-chevron-right,
241
243
  .icon-prev,
242
244
  .icon-next {
243
- width: 30px;
244
- height: 30px;
245
- margin-top: -15px;
246
- font-size: 30px;
245
+ width: ($carousel-control-font-size * 1.5);
246
+ height: ($carousel-control-font-size * 1.5);
247
+ margin-top: ($carousel-control-font-size / -2);
248
+ font-size: ($carousel-control-font-size * 1.5);
247
249
  }
248
250
  .glyphicon-chevron-left,
249
251
  .icon-prev {
250
- margin-left: -15px;
252
+ margin-left: ($carousel-control-font-size / -2);
251
253
  }
252
254
  .glyphicon-chevron-right,
253
255
  .icon-next {
254
- margin-right: -15px;
256
+ margin-right: ($carousel-control-font-size / -2);
255
257
  }
256
258
  }
257
259
 
258
260
  // Show and left align the captions
259
261
  .carousel-caption {
260
- left: 20%;
261
262
  right: 20%;
263
+ left: 20%;
262
264
  padding-bottom: 30px;
263
265
  }
264
266
 
@@ -33,4 +33,5 @@ button.close {
33
33
  background: transparent;
34
34
  border: 0;
35
35
  -webkit-appearance: none;
36
+ appearance: none;
36
37
  }
@@ -27,12 +27,12 @@ kbd {
27
27
  color: $kbd-color;
28
28
  background-color: $kbd-bg;
29
29
  border-radius: $border-radius-small;
30
- box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
30
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
31
31
 
32
32
  kbd {
33
33
  padding: 0;
34
34
  font-size: 100%;
35
- font-weight: bold;
35
+ font-weight: 700;
36
36
  box-shadow: none;
37
37
  }
38
38
  }
@@ -44,9 +44,9 @@ pre {
44
44
  margin: 0 0 ($line-height-computed / 2);
45
45
  font-size: ($font-size-base - 1); // 14px to 13px
46
46
  line-height: $line-height-base;
47
+ color: $pre-color;
47
48
  word-break: break-all;
48
49
  word-wrap: break-word;
49
- color: $pre-color;
50
50
  background-color: $pre-bg;
51
51
  border: 1px solid $pre-border-color;
52
52
  border-radius: $border-radius-base;