Skip to content

Commit

Permalink
v5.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
crissdev committed Oct 9, 2022
1 parent e690863 commit 7d52a66
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ For simplicity, this project will use the same version numbers as Bootstrap.

## Changelog

https://github.com/twbs/bootstrap/releases/tag/v5.2.1
https://github.com/twbs/bootstrap/releases/tag/v5.2.2

## Copyright and license

Expand Down
10 changes: 8 additions & 2 deletions _buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,20 @@
@include box-shadow(var(--#{$prefix}btn-box-shadow));
@include transition($btn-transition);

:not(.btn-check) + &:hover,
&:first-child:hover {
&:hover {
color: var(--#{$prefix}btn-hover-color);
text-decoration: if($link-hover-decoration == underline, none, null);
background-color: var(--#{$prefix}btn-hover-bg);
border-color: var(--#{$prefix}btn-hover-border-color);
}

.btn-check + &:hover {
// override for the checkbox/radio buttons
color: var(--#{$prefix}btn-color);
background-color: var(--#{$prefix}btn-bg);
border-color: var(--#{$prefix}btn-border-color);
}

&:focus-visible {
color: var(--#{$prefix}btn-hover-color);
@include gradient-bg(var(--#{$prefix}btn-hover-bg));
Expand Down
2 changes: 2 additions & 0 deletions _toasts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
}

.toast-container {
--#{$prefix}toast-zindex: #{$zindex-toast};

position: absolute;
z-index: var(--#{$prefix}toast-zindex);
width: max-content;
Expand Down
2 changes: 1 addition & 1 deletion _variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ $card-group-margin: $grid-gutter-width * .5 !default;
// scss-docs-start accordion-variables
$accordion-padding-y: 1rem !default;
$accordion-padding-x: 1.25rem !default;
$accordion-color: var(--#{$prefix}body-color) !default;
$accordion-color: $body-color !default; // Sass variable because of $accordion-button-icon
$accordion-bg: $body-bg !default;
$accordion-border-width: $border-width !default;
$accordion-border-color: var(--#{$prefix}border-color) !default;
Expand Down
2 changes: 1 addition & 1 deletion mixins/_banner.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@mixin bsBanner($file) {
/*!
* Bootstrap #{$file} v5.2.1 (https://getbootstrap.com/)
* Bootstrap #{$file} v5.2.2 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
Expand Down
4 changes: 2 additions & 2 deletions mixins/_table-variants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
$hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
$striped-bg: mix($color, $background, percentage($table-striped-bg-factor));
$active-bg: mix($color, $background, percentage($table-active-bg-factor));
$border-color: mix($color, $background, percentage($table-border-factor));
$table-border-color: mix($color, $background, percentage($table-border-factor));

--#{$prefix}table-color: #{$color};
--#{$prefix}table-bg: #{$background};
--#{$prefix}table-border-color: #{$border-color};
--#{$prefix}table-border-color: #{$table-border-color};
--#{$prefix}table-striped-bg: #{$striped-bg};
--#{$prefix}table-striped-color: #{color-contrast($striped-bg)};
--#{$prefix}table-active-bg: #{$active-bg};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-scss",
"version": "5.2.1",
"version": "5.2.2",
"description": "Bootstrap's SCSS files (only)",
"main": "bootstrap.scss",
"repository": {
Expand Down

0 comments on commit 7d52a66

Please sign in to comment.