Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2020-04-14 17:28:20 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-05-15 15:03:12 +0300
commitb531bda07cbea2e124194aefe3b8597b3ac2578e (patch)
tree0c39842174e325622e65cbafe5e31b512e464500 /scss/_badge.scss
parentbbeda10e372f33e80fbc2095a71d5a1fc86f8e30 (diff)
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
Diffstat (limited to 'scss/_badge.scss')
-rw-r--r--scss/_badge.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_badge.scss b/scss/_badge.scss
index baa80a75f3..08df1b84a7 100644
--- a/scss/_badge.scss
+++ b/scss/_badge.scss
@@ -14,6 +14,7 @@
white-space: nowrap;
vertical-align: baseline;
@include border-radius($badge-border-radius);
+ @include gradient-bg();
// Empty badges collapse automatically
&:empty {