From 931a680337506c115ee276c3830d322fdafac029 Mon Sep 17 00:00:00 2001 From: Tejas Bubane Date: Sun, 17 May 2020 22:30:46 +0530 Subject: rake 'update[v4.5.0]' --- assets/stylesheets/_bootstrap-grid.scss | 6 ++-- assets/stylesheets/_bootstrap-reboot.scss | 6 ++-- assets/stylesheets/_bootstrap.scss | 6 ++-- assets/stylesheets/bootstrap/_breadcrumb.scss | 2 ++ assets/stylesheets/bootstrap/_buttons.scss | 17 +++++---- assets/stylesheets/bootstrap/_card.scss | 18 ++++++---- assets/stylesheets/bootstrap/_close.scss | 1 - assets/stylesheets/bootstrap/_custom-forms.scss | 3 +- assets/stylesheets/bootstrap/_dropdown.scss | 3 +- assets/stylesheets/bootstrap/_forms.scss | 9 +++++ assets/stylesheets/bootstrap/_functions.scss | 17 ++++++--- assets/stylesheets/bootstrap/_grid.scss | 10 +++++- assets/stylesheets/bootstrap/_input-group.scss | 3 +- assets/stylesheets/bootstrap/_list-group.scss | 22 +++++------- assets/stylesheets/bootstrap/_modal.scss | 2 ++ assets/stylesheets/bootstrap/_nav.scss | 1 + assets/stylesheets/bootstrap/_pagination.scss | 1 + assets/stylesheets/bootstrap/_progress.scss | 1 + assets/stylesheets/bootstrap/_reboot.scss | 22 ++++++------ assets/stylesheets/bootstrap/_spinners.scss | 1 + assets/stylesheets/bootstrap/_utilities.scss | 3 +- assets/stylesheets/bootstrap/_variables.scss | 4 +++ .../bootstrap/mixins/_background-variant.scss | 3 +- .../bootstrap/mixins/_border-radius.scss | 39 ++++++++++++++------- assets/stylesheets/bootstrap/mixins/_buttons.scss | 12 +++---- assets/stylesheets/bootstrap/mixins/_forms.scss | 4 +-- .../bootstrap/mixins/_grid-framework.scss | 40 ++++++++++++++-------- .../stylesheets/bootstrap/mixins/_transition.scss | 24 +++++++++---- .../bootstrap/utilities/_background.scss | 2 +- .../bootstrap/utilities/_interactions.scss | 5 +++ assets/stylesheets/bootstrap/utilities/_text.scss | 3 +- 31 files changed, 184 insertions(+), 106 deletions(-) create mode 100644 assets/stylesheets/bootstrap/utilities/_interactions.scss (limited to 'assets/stylesheets') diff --git a/assets/stylesheets/_bootstrap-grid.scss b/assets/stylesheets/_bootstrap-grid.scss index c9d91bb..30f5f23 100644 --- a/assets/stylesheets/_bootstrap-grid.scss +++ b/assets/stylesheets/_bootstrap-grid.scss @@ -1,7 +1,7 @@ /*! - * Bootstrap Grid v4.4.1 (https://getbootstrap.com/) - * Copyright 2011-2019 The Bootstrap Authors - * Copyright 2011-2019 Twitter, Inc. + * Bootstrap Grid v4.5.0 (https://getbootstrap.com/) + * Copyright 2011-2020 The Bootstrap Authors + * Copyright 2011-2020 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ diff --git a/assets/stylesheets/_bootstrap-reboot.scss b/assets/stylesheets/_bootstrap-reboot.scss index 6b1b52c..4a192bd 100644 --- a/assets/stylesheets/_bootstrap-reboot.scss +++ b/assets/stylesheets/_bootstrap-reboot.scss @@ -1,7 +1,7 @@ /*! - * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/) - * Copyright 2011-2019 The Bootstrap Authors - * Copyright 2011-2019 Twitter, Inc. + * Bootstrap Reboot v4.5.0 (https://getbootstrap.com/) + * Copyright 2011-2020 The Bootstrap Authors + * Copyright 2011-2020 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) */ diff --git a/assets/stylesheets/_bootstrap.scss b/assets/stylesheets/_bootstrap.scss index ca440a1..baca8c3 100644 --- a/assets/stylesheets/_bootstrap.scss +++ b/assets/stylesheets/_bootstrap.scss @@ -1,7 +1,7 @@ /*! - * Bootstrap v4.4.1 (https://getbootstrap.com/) - * Copyright 2011-2019 The Bootstrap Authors - * Copyright 2011-2019 Twitter, Inc. + * Bootstrap v4.5.0 (https://getbootstrap.com/) + * Copyright 2011-2020 The Bootstrap Authors + * Copyright 2011-2020 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ diff --git a/assets/stylesheets/bootstrap/_breadcrumb.scss b/assets/stylesheets/bootstrap/_breadcrumb.scss index d748894..a0cf7e2 100644 --- a/assets/stylesheets/bootstrap/_breadcrumb.scss +++ b/assets/stylesheets/bootstrap/_breadcrumb.scss @@ -10,6 +10,8 @@ } .breadcrumb-item { + display: flex; + // The separator between breadcrumbs (by default, a forward-slash: "/") + .breadcrumb-item { padding-left: $breadcrumb-item-padding; diff --git a/assets/stylesheets/bootstrap/_buttons.scss b/assets/stylesheets/bootstrap/_buttons.scss index e87d339..6ee24ba 100644 --- a/assets/stylesheets/bootstrap/_buttons.scss +++ b/assets/stylesheets/bootstrap/_buttons.scss @@ -10,9 +10,9 @@ font-weight: $btn-font-weight; color: $body-color; text-align: center; + text-decoration: if($link-decoration == none, null, none); white-space: $btn-white-space; vertical-align: middle; - cursor: if($enable-pointer-cursor-for-buttons, pointer, null); user-select: none; background-color: transparent; border: $btn-border-width solid transparent; @@ -37,12 +37,16 @@ @include box-shadow(none); } - &:not(:disabled):not(.disabled):active, - &:not(:disabled):not(.disabled).active { - @include box-shadow($btn-active-box-shadow); + &:not(:disabled):not(.disabled) { + cursor: if($enable-pointer-cursor-for-buttons, pointer, null); - &:focus { - @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow); + &:active, + &.active { + @include box-shadow($btn-active-box-shadow); + + &:focus { + @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow); + } } } } @@ -89,7 +93,6 @@ fieldset:disabled a.btn { &:focus, &.focus { text-decoration: $link-hover-decoration; - box-shadow: none; } &:disabled, diff --git a/assets/stylesheets/bootstrap/_card.scss b/assets/stylesheets/bootstrap/_card.scss index d6759fd..fabe9f3 100644 --- a/assets/stylesheets/bootstrap/_card.scss +++ b/assets/stylesheets/bootstrap/_card.scss @@ -19,15 +19,18 @@ margin-left: 0; } - > .list-group:first-child { - .list-group-item:first-child { - @include border-top-radius($card-border-radius); + > .list-group { + border-top: inherit; + border-bottom: inherit; + + &:first-child { + border-top-width: 0; + @include border-top-radius($card-inner-border-radius); } - } - > .list-group:last-child { - .list-group-item:last-child { - @include border-bottom-radius($card-border-radius); + &:last-child { + border-bottom-width: 0; + @include border-bottom-radius($card-inner-border-radius); } } } @@ -90,6 +93,7 @@ .card-footer { padding: $card-spacer-y $card-spacer-x; + color: $card-cap-color; background-color: $card-cap-bg; border-top: $card-border-width solid $card-border-color; diff --git a/assets/stylesheets/bootstrap/_close.scss b/assets/stylesheets/bootstrap/_close.scss index 071aebe..82e9593 100644 --- a/assets/stylesheets/bootstrap/_close.scss +++ b/assets/stylesheets/bootstrap/_close.scss @@ -30,7 +30,6 @@ button.close { padding: 0; background-color: transparent; border: 0; - appearance: none; } // Future-proof disabling of clicks on `` elements diff --git a/assets/stylesheets/bootstrap/_custom-forms.scss b/assets/stylesheets/bootstrap/_custom-forms.scss index 21e72da..0804c63 100644 --- a/assets/stylesheets/bootstrap/_custom-forms.scss +++ b/assets/stylesheets/bootstrap/_custom-forms.scss @@ -237,8 +237,9 @@ border-color: $custom-select-focus-border-color; outline: 0; @if $enable-shadows { - box-shadow: $custom-select-box-shadow, $custom-select-focus-box-shadow; + @include box-shadow($custom-select-box-shadow, $custom-select-focus-box-shadow); } @else { + // Avoid using mixin so we can pass custom focus shadow properly box-shadow: $custom-select-focus-box-shadow; } diff --git a/assets/stylesheets/bootstrap/_dropdown.scss b/assets/stylesheets/bootstrap/_dropdown.scss index 76f33a4..2ab7536 100644 --- a/assets/stylesheets/bootstrap/_dropdown.scss +++ b/assets/stylesheets/bootstrap/_dropdown.scss @@ -128,6 +128,7 @@ font-weight: $font-weight-normal; color: $dropdown-link-color; text-align: inherit; // For `