diff options
| author | Priyansh <[email protected]> | 2021-10-06 14:40:59 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-06 14:40:59 -0400 |
| commit | 52cd86f8710f8049a744b5bcb9f4a7ce19114b6e (patch) | |
| tree | 8956dbd6f94ae25d273d496e64840ed30b6d88a5 /scss | |
| parent | d065706ce4b439b5c77d9a68e708212e91cc4f0b (diff) | |
| parent | c331a150cdc2834f08bcf458cdb1b104cc510b67 (diff) | |
| download | bootstrap-52cd86f8710f8049a744b5bcb9f4a7ce19114b6e.tar.xz bootstrap-52cd86f8710f8049a744b5bcb9f4a7ce19114b6e.zip | |
Merge branch 'twbs:main' into main
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_containers.scss | 2 | ||||
| -rw-r--r-- | scss/_reboot.scss | 4 | ||||
| -rw-r--r-- | scss/_variables.scss | 3 | ||||
| -rw-r--r-- | scss/bootstrap-grid.scss | 2 | ||||
| -rw-r--r-- | scss/bootstrap-reboot.scss | 2 | ||||
| -rw-r--r-- | scss/bootstrap-utilities.scss | 2 | ||||
| -rw-r--r-- | scss/bootstrap.scss | 2 | ||||
| -rw-r--r-- | scss/mixins/_grid.scss | 7 |
8 files changed, 14 insertions, 10 deletions
diff --git a/scss/_containers.scss b/scss/_containers.scss index f88f1e5f5..83b31381b 100644 --- a/scss/_containers.scss +++ b/scss/_containers.scss @@ -2,7 +2,7 @@ // // Set the container width, and override it for fixed navbars in media queries. -@if $enable-grid-classes { +@if $enable-container-classes { // Single container class with breakpoint max-widths .container, // 100% wide container at all breakpoints diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 79fedc6ca..65b98f44b 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -69,8 +69,8 @@ body { hr { margin: $hr-margin-y 0; color: $hr-color; // 1 - background-color: currentColor; - border: 0; + background-color: $hr-bg-color; + border: $hr-border-width; opacity: $hr-opacity; } diff --git a/scss/_variables.scss b/scss/_variables.scss index f33b804a1..244a15c21 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -345,6 +345,7 @@ $enable-transitions: true !default; $enable-reduced-motion: true !default; $enable-smooth-scroll: true !default; $enable-grid-classes: true !default; +$enable-container-classes: true !default; $enable-cssgrid: false !default; $enable-button-pointers: true !default; $enable-rfs: true !default; @@ -660,6 +661,8 @@ $blockquote-footer-font-size: $small-font-size !default; $hr-margin-y: $spacer !default; $hr-color: inherit !default; +$hr-bg-color: currentColor !default; +$hr-border-width: 0 !default; $hr-height: $border-width !default; $hr-opacity: .25 !default; diff --git a/scss/bootstrap-grid.scss b/scss/bootstrap-grid.scss index bef4ecaec..b5f43309d 100644 --- a/scss/bootstrap-grid.scss +++ b/scss/bootstrap-grid.scss @@ -1,5 +1,5 @@ /*! - * Bootstrap Grid v5.1.1 (https://getbootstrap.com/) + * Bootstrap Grid v5.1.2 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors * Copyright 2011-2021 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) diff --git a/scss/bootstrap-reboot.scss b/scss/bootstrap-reboot.scss index f31cbafaf..ae6fb7ba1 100644 --- a/scss/bootstrap-reboot.scss +++ b/scss/bootstrap-reboot.scss @@ -1,5 +1,5 @@ /*! - * Bootstrap Reboot v5.1.1 (https://getbootstrap.com/) + * Bootstrap Reboot v5.1.2 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors * Copyright 2011-2021 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) diff --git a/scss/bootstrap-utilities.scss b/scss/bootstrap-utilities.scss index 6d80d3f3f..95a42199b 100644 --- a/scss/bootstrap-utilities.scss +++ b/scss/bootstrap-utilities.scss @@ -1,5 +1,5 @@ /*! - * Bootstrap Utilities v5.1.1 (https://getbootstrap.com/) + * Bootstrap Utilities v5.1.2 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors * Copyright 2011-2021 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) diff --git a/scss/bootstrap.scss b/scss/bootstrap.scss index c9c9af234..e17b27475 100644 --- a/scss/bootstrap.scss +++ b/scss/bootstrap.scss @@ -1,5 +1,5 @@ /*! - * Bootstrap v5.1.1 (https://getbootstrap.com/) + * Bootstrap v5.1.2 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors * Copyright 2011-2021 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) diff --git a/scss/mixins/_grid.scss b/scss/mixins/_grid.scss index 59cc56376..aea51abaf 100644 --- a/scss/mixins/_grid.scss +++ b/scss/mixins/_grid.scss @@ -7,9 +7,10 @@ --#{$variable-prefix}gutter-y: 0; display: flex; flex-wrap: wrap; - margin-top: calc(var(--#{$variable-prefix}gutter-y) * -1); // stylelint-disable-line function-disallowed-list - margin-right: calc(var(--#{$variable-prefix}gutter-x) * -.5); // stylelint-disable-line function-disallowed-list - margin-left: calc(var(--#{$variable-prefix}gutter-x) * -.5); // stylelint-disable-line function-disallowed-list + // TODO: Revisit calc order after https://github.com/react-bootstrap/react-bootstrap/issues/6039 is fixed + margin-top: calc(-1 * var(--#{$variable-prefix}gutter-y)); // stylelint-disable-line function-disallowed-list + margin-right: calc(-.5 * var(--#{$variable-prefix}gutter-x)); // stylelint-disable-line function-disallowed-list + margin-left: calc(-.5 * var(--#{$variable-prefix}gutter-x)); // stylelint-disable-line function-disallowed-list } @mixin make-col-ready($gutter: $grid-gutter-width) { |
