From b531bda07cbea2e124194aefe3b8597b3ac2578e Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Tue, 14 Apr 2020 17:28:20 +0300 Subject: Improve gradients - Use a semitransparent gradient from light to dark which works on any background-color - Store the gradient as a custom property (--bs-gradient) - Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled - Add gradients to navbar, active page links and badges when gradients are enabled --- scss/_navbar.scss | 1 + 1 file changed, 1 insertion(+) (limited to 'scss/_navbar.scss') diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 129351d19..35d7c7b72 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -24,6 +24,7 @@ padding-right: $navbar-padding-x; // default: null padding-bottom: $navbar-padding-y; padding-left: $navbar-padding-x; // default: null + @include gradient-bg(); // Because flex properties aren't inherited, we need to redeclare these first // few properties so that content nested within behave properly. -- cgit v1.2.3