bootstrap-scss 4.5.2 → 4.5.3
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.
- package/README.md +3 -3
- package/_alert.scss +1 -0
- package/_card.scss +4 -4
- package/_custom-forms.scss +5 -4
- package/_dropdown.scss +1 -1
- package/_functions.scss +3 -0
- package/_list-group.scss +1 -1
- package/_reboot.scss +8 -4
- package/_spinners.scss +2 -2
- package/_variables.scss +2 -0
- package/bootstrap-grid.scss +1 -1
- package/bootstrap-reboot.scss +1 -1
- package/bootstrap.scss +1 -1
- package/mixins/_border-radius.scss +1 -1
- package/mixins/_grid.scss +1 -1
- package/mixins/_screen-reader.scss +1 -1
- package/mixins/_transition.scss +1 -1
- package/package.json +1 -1
- package/utilities/_borders.scss +1 -1
- package/utilities/_text.scss +2 -2
package/README.md
CHANGED
@@ -40,8 +40,8 @@
|
|
40
40
|
|
41
41
|
Several quick start options are available:
|
42
42
|
|
43
|
-
- Install with [npm](https://www.npmjs.com/): `npm install bootstrap-scss@4.5.
|
44
|
-
- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap-scss@4.5.
|
43
|
+
- Install with [npm](https://www.npmjs.com/): `npm install bootstrap-scss@4.5.3`
|
44
|
+
- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap-scss@4.5.3`
|
45
45
|
|
46
46
|
Read the [Getting started page](https://getbootstrap.com/docs/4.5/getting-started/introduction/) for information on the framework contents, templates and examples, and more.
|
47
47
|
|
@@ -76,7 +76,7 @@ For simplicity, this project will use the same version numbers as Bootstrap.
|
|
76
76
|
|
77
77
|
## Changelog
|
78
78
|
|
79
|
-
https://blog.getbootstrap.com/2020/
|
79
|
+
https://blog.getbootstrap.com/2020/10/13/bootstrap-4-5-3/
|
80
80
|
|
81
81
|
## Copyright and license
|
82
82
|
|
package/_alert.scss
CHANGED
package/_card.scss
CHANGED
@@ -206,12 +206,12 @@
|
|
206
206
|
|
207
207
|
.card-img-top,
|
208
208
|
.card-header {
|
209
|
-
// stylelint-disable-next-line property-
|
209
|
+
// stylelint-disable-next-line property-disallowed-list
|
210
210
|
border-top-right-radius: 0;
|
211
211
|
}
|
212
212
|
.card-img-bottom,
|
213
213
|
.card-footer {
|
214
|
-
// stylelint-disable-next-line property-
|
214
|
+
// stylelint-disable-next-line property-disallowed-list
|
215
215
|
border-bottom-right-radius: 0;
|
216
216
|
}
|
217
217
|
}
|
@@ -221,12 +221,12 @@
|
|
221
221
|
|
222
222
|
.card-img-top,
|
223
223
|
.card-header {
|
224
|
-
// stylelint-disable-next-line property-
|
224
|
+
// stylelint-disable-next-line property-disallowed-list
|
225
225
|
border-top-left-radius: 0;
|
226
226
|
}
|
227
227
|
.card-img-bottom,
|
228
228
|
.card-footer {
|
229
|
-
// stylelint-disable-next-line property-
|
229
|
+
// stylelint-disable-next-line property-disallowed-list
|
230
230
|
border-bottom-left-radius: 0;
|
231
231
|
}
|
232
232
|
}
|
package/_custom-forms.scss
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
display: block;
|
14
14
|
min-height: $font-size-base * $line-height-base;
|
15
15
|
padding-left: $custom-control-gutter + $custom-control-indicator-size;
|
16
|
+
color-adjust: exact; // Keep themed appearance for print
|
16
17
|
}
|
17
18
|
|
18
19
|
.custom-control-inline {
|
@@ -38,7 +39,7 @@
|
|
38
39
|
&:focus ~ .custom-control-label::before {
|
39
40
|
// the mixin is not used here to make sure there is feedback
|
40
41
|
@if $enable-shadows {
|
41
|
-
box-shadow: $input-box-shadow, $
|
42
|
+
box-shadow: $input-box-shadow, $custom-control-indicator-focus-box-shadow;
|
42
43
|
} @else {
|
43
44
|
box-shadow: $custom-control-indicator-focus-box-shadow;
|
44
45
|
}
|
@@ -150,7 +151,7 @@
|
|
150
151
|
|
151
152
|
.custom-radio {
|
152
153
|
.custom-control-label::before {
|
153
|
-
// stylelint-disable-next-line property-
|
154
|
+
// stylelint-disable-next-line property-disallowed-list
|
154
155
|
border-radius: $custom-radio-indicator-border-radius;
|
155
156
|
}
|
156
157
|
|
@@ -180,7 +181,7 @@
|
|
180
181
|
left: -($custom-switch-width + $custom-control-gutter);
|
181
182
|
width: $custom-switch-width;
|
182
183
|
pointer-events: all;
|
183
|
-
// stylelint-disable-next-line property-
|
184
|
+
// stylelint-disable-next-line property-disallowed-list
|
184
185
|
border-radius: $custom-switch-indicator-border-radius;
|
185
186
|
}
|
186
187
|
|
@@ -190,7 +191,7 @@
|
|
190
191
|
width: $custom-switch-indicator-size;
|
191
192
|
height: $custom-switch-indicator-size;
|
192
193
|
background-color: $custom-control-indicator-border-color;
|
193
|
-
// stylelint-disable-next-line property-
|
194
|
+
// stylelint-disable-next-line property-disallowed-list
|
194
195
|
border-radius: $custom-switch-indicator-border-radius;
|
195
196
|
@include transition(transform .15s ease-in-out, $custom-forms-transition);
|
196
197
|
}
|
package/_dropdown.scss
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
display: none; // none by default, but block on "open" of the menu
|
23
23
|
float: left;
|
24
24
|
min-width: $dropdown-min-width;
|
25
|
-
padding: $dropdown-padding-y
|
25
|
+
padding: $dropdown-padding-y $dropdown-padding-x;
|
26
26
|
margin: $dropdown-spacer 0 0; // override default ul
|
27
27
|
@include font-size($dropdown-font-size);
|
28
28
|
color: $dropdown-color;
|
package/_functions.scss
CHANGED
package/_list-group.scss
CHANGED
package/_reboot.scss
CHANGED
@@ -278,10 +278,14 @@ caption {
|
|
278
278
|
caption-side: bottom;
|
279
279
|
}
|
280
280
|
|
281
|
+
// 1. Removes font-weight bold by inheriting
|
282
|
+
// 2. Matches default `<td>` alignment by inheriting `text-align`.
|
283
|
+
// 3. Fix alignment for Safari
|
284
|
+
|
281
285
|
th {
|
282
|
-
|
283
|
-
|
284
|
-
text-align:
|
286
|
+
font-weight: $table-th-font-weight; // 1
|
287
|
+
text-align: inherit; // 2
|
288
|
+
text-align: -webkit-match-parent; // 3
|
285
289
|
}
|
286
290
|
|
287
291
|
|
@@ -299,7 +303,7 @@ label {
|
|
299
303
|
//
|
300
304
|
// Details at https://github.com/twbs/bootstrap/issues/24093
|
301
305
|
button {
|
302
|
-
// stylelint-disable-next-line property-
|
306
|
+
// stylelint-disable-next-line property-disallowed-list
|
303
307
|
border-radius: 0;
|
304
308
|
}
|
305
309
|
|
package/_spinners.scss
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
vertical-align: text-bottom;
|
14
14
|
border: $spinner-border-width solid currentColor;
|
15
15
|
border-right-color: transparent;
|
16
|
-
// stylelint-disable-next-line property-
|
16
|
+
// stylelint-disable-next-line property-disallowed-list
|
17
17
|
border-radius: 50%;
|
18
18
|
animation: spinner-border .75s linear infinite;
|
19
19
|
}
|
@@ -44,7 +44,7 @@
|
|
44
44
|
height: $spinner-height;
|
45
45
|
vertical-align: text-bottom;
|
46
46
|
background-color: currentColor;
|
47
|
-
// stylelint-disable-next-line property-
|
47
|
+
// stylelint-disable-next-line property-disallowed-list
|
48
48
|
border-radius: 50%;
|
49
49
|
opacity: 0;
|
50
50
|
animation: spinner-grow .75s linear infinite;
|
package/_variables.scss
CHANGED
@@ -363,6 +363,7 @@ $table-border-color: $border-color !default;
|
|
363
363
|
|
364
364
|
$table-head-bg: $gray-200 !default;
|
365
365
|
$table-head-color: $gray-700 !default;
|
366
|
+
$table-th-font-weight: null !default;
|
366
367
|
|
367
368
|
$table-dark-color: $white !default;
|
368
369
|
$table-dark-bg: $gray-800 !default;
|
@@ -755,6 +756,7 @@ $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
|
755
756
|
// Dropdown menu container and contents.
|
756
757
|
|
757
758
|
$dropdown-min-width: 10rem !default;
|
759
|
+
$dropdown-padding-x: 0 !default;
|
758
760
|
$dropdown-padding-y: .5rem !default;
|
759
761
|
$dropdown-spacer: .125rem !default;
|
760
762
|
$dropdown-font-size: $font-size-base !default;
|
package/bootstrap-grid.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap Grid v4.5.
|
2
|
+
* Bootstrap Grid v4.5.3 (https://getbootstrap.com/)
|
3
3
|
* Copyright 2011-2020 The Bootstrap Authors
|
4
4
|
* Copyright 2011-2020 Twitter, Inc.
|
5
5
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
package/bootstrap-reboot.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap Reboot v4.5.
|
2
|
+
* Bootstrap Reboot v4.5.3 (https://getbootstrap.com/)
|
3
3
|
* Copyright 2011-2020 The Bootstrap Authors
|
4
4
|
* Copyright 2011-2020 Twitter, Inc.
|
5
5
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
package/bootstrap.scss
CHANGED
package/mixins/_grid.scss
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// Only display content to screen readers
|
2
2
|
//
|
3
|
-
// See: https://a11yproject.com/posts/how-to-hide-content/
|
3
|
+
// See: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
|
4
4
|
// See: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
|
5
5
|
|
6
6
|
@mixin sr-only() {
|
package/mixins/_transition.scss
CHANGED
package/package.json
CHANGED
package/utilities/_borders.scss
CHANGED
package/utilities/_text.scss
CHANGED
@@ -63,8 +63,8 @@
|
|
63
63
|
.text-decoration-none { text-decoration: none !important; }
|
64
64
|
|
65
65
|
.text-break {
|
66
|
-
word-break: break-word !important; //
|
67
|
-
|
66
|
+
word-break: break-word !important; // Deprecated, but avoids issues with flex containers
|
67
|
+
word-wrap: break-word !important; // Used instead of `overflow-wrap` for IE & Edge Legacy
|
68
68
|
}
|
69
69
|
|
70
70
|
// Reset
|