bootstrap-sass 3.3.5 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.travis.yml +8 -12
  4. data/CHANGELOG.md +20 -0
  5. data/Gemfile +1 -4
  6. data/LICENSE +2 -1
  7. data/README.md +79 -74
  8. data/Rakefile +46 -11
  9. data/assets/javascripts/bootstrap/affix.js +7 -5
  10. data/assets/javascripts/bootstrap/alert.js +6 -5
  11. data/assets/javascripts/bootstrap/button.js +14 -9
  12. data/assets/javascripts/bootstrap/carousel.js +16 -7
  13. data/assets/javascripts/bootstrap/collapse.js +7 -6
  14. data/assets/javascripts/bootstrap/dropdown.js +7 -7
  15. data/assets/javascripts/bootstrap/modal.js +44 -23
  16. data/assets/javascripts/bootstrap/popover.js +25 -10
  17. data/assets/javascripts/bootstrap/scrollspy.js +4 -4
  18. data/assets/javascripts/bootstrap/tab.js +10 -10
  19. data/assets/javascripts/bootstrap/tooltip.js +177 -14
  20. data/assets/javascripts/bootstrap/transition.js +5 -5
  21. data/assets/javascripts/bootstrap-sprockets.js +2 -2
  22. data/assets/javascripts/bootstrap.js +326 -109
  23. data/assets/javascripts/bootstrap.min.js +3 -4
  24. data/assets/stylesheets/_bootstrap-mincer.scss +2 -2
  25. data/assets/stylesheets/_bootstrap.scss +2 -2
  26. data/assets/stylesheets/bootstrap/_alerts.scss +3 -3
  27. data/assets/stylesheets/bootstrap/_badges.scss +3 -3
  28. data/assets/stylesheets/bootstrap/_breadcrumbs.scss +3 -1
  29. data/assets/stylesheets/bootstrap/_button-groups.scss +8 -8
  30. data/assets/stylesheets/bootstrap/_buttons.scss +4 -4
  31. data/assets/stylesheets/bootstrap/_carousel.scss +33 -31
  32. data/assets/stylesheets/bootstrap/_close.scss +1 -0
  33. data/assets/stylesheets/bootstrap/_code.scss +3 -3
  34. data/assets/stylesheets/bootstrap/_component-animations.scss +1 -0
  35. data/assets/stylesheets/bootstrap/_dropdowns.scss +20 -23
  36. data/assets/stylesheets/bootstrap/_forms.scss +56 -60
  37. data/assets/stylesheets/bootstrap/_glyphicons.scss +11 -11
  38. data/assets/stylesheets/bootstrap/_grid.scss +10 -0
  39. data/assets/stylesheets/bootstrap/_input-groups.scss +9 -5
  40. data/assets/stylesheets/bootstrap/_jumbotron.scss +5 -3
  41. data/assets/stylesheets/bootstrap/_labels.scss +1 -1
  42. data/assets/stylesheets/bootstrap/_list-group.scss +30 -32
  43. data/assets/stylesheets/bootstrap/_media.scss +1 -1
  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 +5 -2
  48. data/assets/stylesheets/bootstrap/_pager.scss +2 -2
  49. data/assets/stylesheets/bootstrap/_pagination.scss +13 -16
  50. data/assets/stylesheets/bootstrap/_panels.scss +5 -5
  51. data/assets/stylesheets/bootstrap/_popovers.scss +47 -52
  52. data/assets/stylesheets/bootstrap/_print.scss +90 -92
  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 +3 -3
  56. data/assets/stylesheets/bootstrap/_scaffolding.scss +7 -7
  57. data/assets/stylesheets/bootstrap/_tables.scss +23 -23
  58. data/assets/stylesheets/bootstrap/_theme.scss +21 -17
  59. data/assets/stylesheets/bootstrap/_thumbnails.scss +1 -1
  60. data/assets/stylesheets/bootstrap/_tooltip.scss +38 -27
  61. data/assets/stylesheets/bootstrap/_type.scss +11 -11
  62. data/assets/stylesheets/bootstrap/_variables.scss +9 -7
  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/_border-radius.scss +4 -4
  66. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +7 -14
  67. data/assets/stylesheets/bootstrap/mixins/_center-block.scss +1 -1
  68. data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +1 -1
  69. data/assets/stylesheets/bootstrap/mixins/_forms.scss +4 -4
  70. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +6 -8
  71. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +1 -1
  72. data/assets/stylesheets/bootstrap/mixins/_grid.scss +7 -7
  73. data/assets/stylesheets/bootstrap/mixins/_hide-text.scss +1 -1
  74. data/assets/stylesheets/bootstrap/mixins/_image.scss +5 -10
  75. data/assets/stylesheets/bootstrap/mixins/_opacity.scss +2 -3
  76. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +4 -4
  77. data/assets/stylesheets/bootstrap/mixins/_resize.scss +1 -1
  78. data/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -4
  79. data/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +3 -3
  80. data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +3 -3
  81. data/bootstrap-sass.gemspec +10 -9
  82. data/bower.json +4 -3
  83. data/composer.json +2 -2
  84. data/eyeglass-exports.js +7 -0
  85. data/lib/bootstrap-sass/engine.rb +6 -1
  86. data/lib/bootstrap-sass/version.rb +2 -2
  87. data/lib/bootstrap-sass.rb +17 -10
  88. data/package-lock.json +1611 -0
  89. data/package.json +20 -6
  90. data/sache.json +1 -1
  91. data/tasks/converter/less_conversion.rb +12 -8
  92. data/tasks/converter/network.rb +2 -2
  93. data/templates/project/_bootstrap-variables.sass +10 -8
  94. data/test/compilation_test.rb +24 -12
  95. data/test/dummy_rails/config/application.rb +2 -1
  96. data/test/dummy_rails/config/boot.rb +1 -1
  97. data/test/dummy_sass_only/Gemfile +1 -1
  98. data/test/dummy_sass_only/compile.rb +14 -7
  99. data/test/dummy_sass_only/import_all.scss +2 -0
  100. data/test/gemfiles/default.gemfile +3 -0
  101. data/test/node_mincer_test.rb +2 -3
  102. data/test/node_sass_compile_test.sh +4 -3
  103. data/test/sass_test.rb +10 -7
  104. data/test/sprockets_rails_test.rb +12 -8
  105. data/test/support/dummy_rails_integration.rb +1 -1
  106. data/test/support/reporting.rb +10 -0
  107. data/test/test_helper.rb +3 -2
  108. metadata +37 -28
  109. data/test/compass_test.rb +0 -9
  110. data/test/dummy_sass_only/import_all.sass +0 -2
  111. data/test/gemfiles/sass_3_2.gemfile +0 -6
  112. data/test/gemfiles/sass_3_3.gemfile +0 -6
  113. data/test/gemfiles/sass_3_4.gemfile +0 -7
  114. data/test/gemfiles/sass_head.gemfile +0 -6
@@ -6,96 +6,94 @@
6
6
  // ==========================================================================
7
7
 
8
8
  @media print {
9
- *,
10
- *:before,
11
- *:after {
12
- background: transparent !important;
13
- color: #000 !important; // Black prints faster: h5bp.com/s
14
- box-shadow: none !important;
15
- text-shadow: none !important;
16
- }
17
-
18
- a,
19
- a:visited {
20
- text-decoration: underline;
21
- }
22
-
23
- a[href]:after {
24
- content: " (" attr(href) ")";
25
- }
26
-
27
- abbr[title]:after {
28
- content: " (" attr(title) ")";
29
- }
30
-
31
- // Don't show links that are fragment identifiers,
32
- // or use the `javascript:` pseudo protocol
33
- a[href^="#"]:after,
34
- a[href^="javascript:"]:after {
35
- content: "";
36
- }
37
-
38
- pre,
39
- blockquote {
40
- border: 1px solid #999;
41
- page-break-inside: avoid;
42
- }
43
-
44
- thead {
45
- display: table-header-group; // h5bp.com/t
46
- }
47
-
48
- tr,
49
- img {
50
- page-break-inside: avoid;
51
- }
52
-
53
- img {
54
- max-width: 100% !important;
55
- }
56
-
57
- p,
58
- h2,
59
- h3 {
60
- orphans: 3;
61
- widows: 3;
62
- }
63
-
64
- h2,
65
- h3 {
66
- page-break-after: avoid;
67
- }
68
-
69
- // Bootstrap specific changes start
70
-
71
- // Bootstrap components
72
- .navbar {
73
- display: none;
74
- }
75
- .btn,
76
- .dropup > .btn {
77
- > .caret {
78
- border-top-color: #000 !important;
79
- }
80
- }
81
- .label {
82
- border: 1px solid #000;
83
- }
84
-
85
- .table {
86
- border-collapse: collapse !important;
87
-
88
- td,
89
- th {
90
- background-color: #fff !important;
91
- }
92
- }
93
- .table-bordered {
94
- th,
95
- td {
96
- border: 1px solid #ddd !important;
97
- }
98
- }
99
-
100
- // Bootstrap specific changes end
9
+ *,
10
+ *:before,
11
+ *:after {
12
+ color: #000 !important; // Black prints faster: h5bp.com/s
13
+ text-shadow: none !important;
14
+ background: transparent !important;
15
+ box-shadow: none !important;
16
+ }
17
+
18
+ a,
19
+ a:visited {
20
+ text-decoration: underline;
21
+ }
22
+
23
+ a[href]:after {
24
+ content: " (" attr(href) ")";
25
+ }
26
+
27
+ abbr[title]:after {
28
+ content: " (" attr(title) ")";
29
+ }
30
+
31
+ // Don't show links that are fragment identifiers,
32
+ // or use the `javascript:` pseudo protocol
33
+ a[href^="#"]:after,
34
+ a[href^="javascript:"]:after {
35
+ content: "";
36
+ }
37
+
38
+ pre,
39
+ blockquote {
40
+ border: 1px solid #999;
41
+ page-break-inside: avoid;
42
+ }
43
+
44
+ thead {
45
+ display: table-header-group; // h5bp.com/t
46
+ }
47
+
48
+ tr,
49
+ img {
50
+ page-break-inside: avoid;
51
+ }
52
+
53
+ img {
54
+ max-width: 100% !important;
55
+ }
56
+
57
+ p,
58
+ h2,
59
+ h3 {
60
+ orphans: 3;
61
+ widows: 3;
62
+ }
63
+
64
+ h2,
65
+ h3 {
66
+ page-break-after: avoid;
67
+ }
68
+
69
+ // Bootstrap specific changes start
70
+
71
+ // Bootstrap components
72
+ .navbar {
73
+ display: none;
74
+ }
75
+ .btn,
76
+ .dropup > .btn {
77
+ > .caret {
78
+ border-top-color: #000 !important;
79
+ }
80
+ }
81
+ .label {
82
+ border: 1px solid #000;
83
+ }
84
+
85
+ .table {
86
+ border-collapse: collapse !important;
87
+
88
+ td,
89
+ th {
90
+ background-color: #fff !important;
91
+ }
92
+ }
93
+ .table-bordered {
94
+ th,
95
+ td {
96
+ border: 1px solid #ddd !important;
97
+ }
98
+ }
101
99
  }
@@ -24,12 +24,12 @@
24
24
 
25
25
  // Outer container
26
26
  .progress {
27
- overflow: hidden;
28
27
  height: $line-height-computed;
29
28
  margin-bottom: $line-height-computed;
29
+ overflow: hidden;
30
30
  background-color: $progress-bg;
31
31
  border-radius: $progress-border-radius;
32
- @include box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
32
+ @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, .1));
33
33
  }
34
34
 
35
35
  // Bar of progress
@@ -42,7 +42,7 @@
42
42
  color: $progress-bar-color;
43
43
  text-align: center;
44
44
  background-color: $progress-bar-bg;
45
- @include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
45
+ @include box-shadow(inset 0 -1px 0 rgba(0, 0, 0, .15));
46
46
  @include transition(width .6s ease);
47
47
  }
48
48
 
@@ -16,10 +16,10 @@
16
16
  video {
17
17
  position: absolute;
18
18
  top: 0;
19
- left: 0;
20
19
  bottom: 0;
21
- height: 100%;
20
+ left: 0;
22
21
  width: 100%;
22
+ height: 100%;
23
23
  border: 0;
24
24
  }
25
25
  }
@@ -14,9 +14,9 @@
14
14
  // For more information, see the following:
15
15
  //
16
16
  // Issue: https://github.com/twbs/bootstrap/issues/10497
17
- // Docs: http://getbootstrap.com/getting-started/#support-ie10-width
18
- // Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
19
- // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
17
+ // Docs: https://getbootstrap.com/docs/3.4/getting-started/#support-ie10-width
18
+ // Source: https://timkadlec.com/2013/01/windows-phone-8-and-device-width/
19
+ // Source: https://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
20
20
 
21
21
  @at-root {
22
22
  @-ms-viewport {
@@ -7,7 +7,7 @@
7
7
  //
8
8
  // Heads up! This reset may cause conflicts with some third-party widgets.
9
9
  // For recommendations on resolving such conflicts, see
10
- // http://getbootstrap.com/getting-started/#third-box-sizing
10
+ // https://getbootstrap.com/docs/3.4/getting-started/#third-box-sizing
11
11
  * {
12
12
  @include box-sizing(border-box);
13
13
  }
@@ -21,7 +21,7 @@
21
21
 
22
22
  html {
23
23
  font-size: 10px;
24
- -webkit-tap-highlight-color: rgba(0,0,0,0);
24
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
25
25
  }
26
26
 
27
27
  body {
@@ -111,7 +111,7 @@ img {
111
111
  // Horizontal rules
112
112
 
113
113
  hr {
114
- margin-top: $line-height-computed;
114
+ margin-top: $line-height-computed;
115
115
  margin-bottom: $line-height-computed;
116
116
  border: 0;
117
117
  border-top: 1px solid $hr-border;
@@ -120,21 +120,21 @@ hr {
120
120
 
121
121
  // Only display content to screen readers
122
122
  //
123
- // See: http://a11yproject.com/posts/how-to-hide-content/
123
+ // See: https://a11yproject.com/posts/how-to-hide-content
124
124
 
125
125
  .sr-only {
126
126
  position: absolute;
127
127
  width: 1px;
128
128
  height: 1px;
129
- margin: -1px;
130
129
  padding: 0;
130
+ margin: -1px;
131
131
  overflow: hidden;
132
- clip: rect(0,0,0,0);
132
+ clip: rect(0, 0, 0, 0);
133
133
  border: 0;
134
134
  }
135
135
 
136
136
  // Use in conjunction with .sr-only to only display content when it's focused.
137
- // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
137
+ // Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
138
138
  // Credit: HTML5 Boilerplate
139
139
 
140
140
  .sr-only-focusable {
@@ -5,13 +5,34 @@
5
5
 
6
6
  table {
7
7
  background-color: $table-bg;
8
+
9
+ // Table cell sizing
10
+ //
11
+ // Reset default table behavior
12
+
13
+ col[class*="col-"] {
14
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
15
+ display: table-column;
16
+ float: none;
17
+ }
18
+
19
+ td,
20
+ th {
21
+ &[class*="col-"] {
22
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
23
+ display: table-cell;
24
+ float: none;
25
+ }
26
+ }
8
27
  }
28
+
9
29
  caption {
10
30
  padding-top: $table-cell-padding;
11
31
  padding-bottom: $table-cell-padding;
12
32
  color: $text-muted;
13
33
  text-align: left;
14
34
  }
35
+
15
36
  th {
16
37
  text-align: left;
17
38
  }
@@ -128,27 +149,6 @@ th {
128
149
  }
129
150
 
130
151
 
131
- // Table cell sizing
132
- //
133
- // Reset default table behavior
134
-
135
- table col[class*="col-"] {
136
- position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
137
- float: none;
138
- display: table-column;
139
- }
140
- table {
141
- td,
142
- th {
143
- &[class*="col-"] {
144
- position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
145
- float: none;
146
- display: table-cell;
147
- }
148
- }
149
- }
150
-
151
-
152
152
  // Table backgrounds
153
153
  //
154
154
  // Exact selectors below required to override `.table-striped` and prevent
@@ -169,12 +169,12 @@ table {
169
169
  // will display normally.
170
170
 
171
171
  .table-responsive {
172
+ min-height: .01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
172
173
  overflow-x: auto;
173
- min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
174
174
 
175
175
  @media screen and (max-width: $screen-xs-max) {
176
176
  width: 100%;
177
- margin-bottom: ($line-height-computed * 0.75);
177
+ margin-bottom: ($line-height-computed * .75);
178
178
  overflow-y: hidden;
179
179
  -ms-overflow-style: -ms-autohiding-scrollbar;
180
180
  border: 1px solid $table-border-color;
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap v3.3.5 (http://getbootstrap.com)
3
- * Copyright 2011-2015 Twitter, Inc.
2
+ * Bootstrap v3.4.1 (https://getbootstrap.com/)
3
+ * Copyright 2011-2019 Twitter, Inc.
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
5
  */
6
6
 
@@ -23,14 +23,14 @@
23
23
  .btn-info,
24
24
  .btn-warning,
25
25
  .btn-danger {
26
- text-shadow: 0 -1px 0 rgba(0,0,0,.2);
27
- $shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
26
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
27
+ $shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
28
28
  @include box-shadow($shadow);
29
29
 
30
30
  // Reset the shadow
31
31
  &:active,
32
32
  &.active {
33
- @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
33
+ @include box-shadow(inset 0 3px 5px rgba(0, 0, 0, .125));
34
34
  }
35
35
 
36
36
  &.disabled,
@@ -88,7 +88,11 @@
88
88
  }
89
89
 
90
90
  // Apply the mixin to the buttons
91
- .btn-default { @include btn-styles($btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }
91
+ .btn-default {
92
+ @include btn-styles($btn-default-bg);
93
+ text-shadow: 0 1px 0 #fff;
94
+ border-color: #ccc;
95
+ }
92
96
  .btn-primary { @include btn-styles($btn-primary-bg); }
93
97
  .btn-success { @include btn-styles($btn-success-bg); }
94
98
  .btn-info { @include btn-styles($btn-info-bg); }
@@ -102,7 +106,7 @@
102
106
 
103
107
  .thumbnail,
104
108
  .img-thumbnail {
105
- @include box-shadow(0 1px 2px rgba(0,0,0,.075));
109
+ @include box-shadow(0 1px 2px rgba(0, 0, 0, .075));
106
110
  }
107
111
 
108
112
 
@@ -132,18 +136,18 @@
132
136
  @include gradient-vertical($start-color: lighten($navbar-default-bg, 10%), $end-color: $navbar-default-bg);
133
137
  @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
134
138
  border-radius: $navbar-border-radius;
135
- $shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
139
+ $shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
136
140
  @include box-shadow($shadow);
137
141
 
138
142
  .navbar-nav > .open > a,
139
143
  .navbar-nav > .active > a {
140
144
  @include gradient-vertical($start-color: darken($navbar-default-link-active-bg, 5%), $end-color: darken($navbar-default-link-active-bg, 2%));
141
- @include box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
145
+ @include box-shadow(inset 0 3px 9px rgba(0, 0, 0, .075));
142
146
  }
143
147
  }
144
148
  .navbar-brand,
145
149
  .navbar-nav > li > a {
146
- text-shadow: 0 1px 0 rgba(255,255,255,.25);
150
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
147
151
  }
148
152
 
149
153
  // Inverted navbar
@@ -154,12 +158,12 @@
154
158
  .navbar-nav > .open > a,
155
159
  .navbar-nav > .active > a {
156
160
  @include gradient-vertical($start-color: $navbar-inverse-link-active-bg, $end-color: lighten($navbar-inverse-link-active-bg, 2.5%));
157
- @include box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
161
+ @include box-shadow(inset 0 3px 9px rgba(0, 0, 0, .25));
158
162
  }
159
163
 
160
164
  .navbar-brand,
161
165
  .navbar-nav > li > a {
162
- text-shadow: 0 -1px 0 rgba(0,0,0,.25);
166
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
163
167
  }
164
168
  }
165
169
 
@@ -189,8 +193,8 @@
189
193
 
190
194
  // Common styles
191
195
  .alert {
192
- text-shadow: 0 1px 0 rgba(255,255,255,.2);
193
- $shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);
196
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
197
+ $shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
194
198
  @include box-shadow($shadow);
195
199
  }
196
200
 
@@ -241,7 +245,7 @@
241
245
 
242
246
  .list-group {
243
247
  border-radius: $border-radius-base;
244
- @include box-shadow(0 1px 2px rgba(0,0,0,.075));
248
+ @include box-shadow(0 1px 2px rgba(0, 0, 0, .075));
245
249
  }
246
250
  .list-group-item.active,
247
251
  .list-group-item.active:hover,
@@ -262,7 +266,7 @@
262
266
 
263
267
  // Common styles
264
268
  .panel {
265
- @include box-shadow(0 1px 2px rgba(0,0,0,.05));
269
+ @include box-shadow(0 1px 2px rgba(0, 0, 0, .05));
266
270
  }
267
271
 
268
272
  // Mixin for generating new styles
@@ -286,6 +290,6 @@
286
290
  .well {
287
291
  @include gradient-vertical($start-color: darken($well-bg, 5%), $end-color: $well-bg);
288
292
  border-color: darken($well-bg, 10%);
289
- $shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
293
+ $shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
290
294
  @include box-shadow($shadow);
291
295
  }
@@ -17,8 +17,8 @@
17
17
  > img,
18
18
  a > img {
19
19
  @include img-responsive;
20
- margin-left: auto;
21
20
  margin-right: auto;
21
+ margin-left: auto;
22
22
  }
23
23
 
24
24
  // [converter] extracted a&:hover, a&:focus, a&.active to a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active
@@ -15,33 +15,25 @@
15
15
 
16
16
  @include opacity(0);
17
17
 
18
- &.in { @include opacity($tooltip-opacity); }
19
- &.top { margin-top: -3px; padding: $tooltip-arrow-width 0; }
20
- &.right { margin-left: 3px; padding: 0 $tooltip-arrow-width; }
21
- &.bottom { margin-top: 3px; padding: $tooltip-arrow-width 0; }
22
- &.left { margin-left: -3px; padding: 0 $tooltip-arrow-width; }
23
- }
24
-
25
- // Wrapper for the tooltip content
26
- .tooltip-inner {
27
- max-width: $tooltip-max-width;
28
- padding: 3px 8px;
29
- color: $tooltip-color;
30
- text-align: center;
31
- background-color: $tooltip-bg;
32
- border-radius: $border-radius-base;
33
- }
18
+ &.in { @include opacity($tooltip-opacity); }
19
+ &.top {
20
+ padding: $tooltip-arrow-width 0;
21
+ margin-top: -3px;
22
+ }
23
+ &.right {
24
+ padding: 0 $tooltip-arrow-width;
25
+ margin-left: 3px;
26
+ }
27
+ &.bottom {
28
+ padding: $tooltip-arrow-width 0;
29
+ margin-top: 3px;
30
+ }
31
+ &.left {
32
+ padding: 0 $tooltip-arrow-width;
33
+ margin-left: -3px;
34
+ }
34
35
 
35
- // Arrows
36
- .tooltip-arrow {
37
- position: absolute;
38
- width: 0;
39
- height: 0;
40
- border-color: transparent;
41
- border-style: solid;
42
- }
43
- // Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
44
- .tooltip {
36
+ // Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
45
37
  &.top .tooltip-arrow {
46
38
  bottom: 0;
47
39
  left: 50%;
@@ -50,8 +42,8 @@
50
42
  border-top-color: $tooltip-arrow-color;
51
43
  }
52
44
  &.top-left .tooltip-arrow {
53
- bottom: 0;
54
45
  right: $tooltip-arrow-width;
46
+ bottom: 0;
55
47
  margin-bottom: -$tooltip-arrow-width;
56
48
  border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
57
49
  border-top-color: $tooltip-arrow-color;
@@ -99,3 +91,22 @@
99
91
  border-bottom-color: $tooltip-arrow-color;
100
92
  }
101
93
  }
94
+
95
+ // Wrapper for the tooltip content
96
+ .tooltip-inner {
97
+ max-width: $tooltip-max-width;
98
+ padding: 3px 8px;
99
+ color: $tooltip-color;
100
+ text-align: center;
101
+ background-color: $tooltip-bg;
102
+ border-radius: $border-radius-base;
103
+ }
104
+
105
+ // Arrows
106
+ .tooltip-arrow {
107
+ position: absolute;
108
+ width: 0;
109
+ height: 0;
110
+ border-color: transparent;
111
+ border-style: solid;
112
+ }
@@ -15,7 +15,7 @@ h1, h2, h3, h4, h5, h6,
15
15
 
16
16
  small,
17
17
  .small {
18
- font-weight: normal;
18
+ font-weight: 400;
19
19
  line-height: 1;
20
20
  color: $headings-small-color;
21
21
  }
@@ -82,8 +82,8 @@ small,
82
82
 
83
83
  mark,
84
84
  .mark {
85
- background-color: $state-warning-bg;
86
85
  padding: .2em;
86
+ background-color: $state-warning-bg;
87
87
  }
88
88
 
89
89
  // Alignment
@@ -176,8 +176,8 @@ ol {
176
176
 
177
177
  > li {
178
178
  display: inline-block;
179
- padding-left: 5px;
180
179
  padding-right: 5px;
180
+ padding-left: 5px;
181
181
  }
182
182
  }
183
183
 
@@ -191,7 +191,7 @@ dd {
191
191
  line-height: $line-height-base;
192
192
  }
193
193
  dt {
194
- font-weight: bold;
194
+ font-weight: 700;
195
195
  }
196
196
  dd {
197
197
  margin-left: 0; // Undo browser default
@@ -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: $grid-float-breakpoint) {
210
+ @media (min-width: $dl-horizontal-breakpoint) {
211
211
  dt {
212
212
  float: left;
213
213
  width: ($dl-horizontal-offset - 20);
@@ -226,12 +226,12 @@ dd {
226
226
  // -------------------------
227
227
 
228
228
  // Abbreviations and acronyms
229
- abbr[title],
230
229
  // Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
230
+ abbr[title],
231
231
  abbr[data-original-title] {
232
232
  cursor: help;
233
- border-bottom: 1px dotted $abbr-border-color;
234
233
  }
234
+
235
235
  .initialism {
236
236
  font-size: 90%;
237
237
  @extend .text-uppercase;
@@ -263,7 +263,7 @@ blockquote {
263
263
  color: $blockquote-small-color;
264
264
 
265
265
  &:before {
266
- content: '\2014 \00A0'; // em dash, nbsp
266
+ content: "\2014 \00A0"; // em dash, nbsp
267
267
  }
268
268
  }
269
269
  }
@@ -275,17 +275,17 @@ blockquote {
275
275
  blockquote.pull-right {
276
276
  padding-right: 15px;
277
277
  padding-left: 0;
278
+ text-align: right;
278
279
  border-right: 5px solid $blockquote-border-color;
279
280
  border-left: 0;
280
- text-align: right;
281
281
 
282
282
  // Account for citation
283
283
  footer,
284
284
  small,
285
285
  .small {
286
- &:before { content: ''; }
286
+ &:before { content: ""; }
287
287
  &:after {
288
- content: '\00A0 \2014'; // nbsp, em dash
288
+ content: "\00A0 \2014"; // nbsp, em dash
289
289
  }
290
290
  }
291
291
  }