From 7c6a22ac2f1e8109c89fa10ffc4fc9bc8fa30ec4 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 29 Aug 2019 22:53:16 -0700 Subject: [PATCH] fix it up for hugo, add new compact chevron bootstrap icons --- scss/_carousel.scss | 3 ++- scss/_variables.scss | 2 +- site/content/docs/4.3/components/carousel.md | 21 +++++++++++--------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/scss/_carousel.scss b/scss/_carousel.scss index 9b80fb575496..a333e109e2c5 100644 --- a/scss/_carousel.scss +++ b/scss/_carousel.scss @@ -124,12 +124,13 @@ } // Icons for within +.carousel-control-icon, .carousel-control-prev-icon, .carousel-control-next-icon { display: inline-block; width: $carousel-control-icon-width; height: $carousel-control-icon-width; - fill: $carousel-control-icon-color; + // fill: $carousel-control-icon-color; // background: no-repeat 50% / 100% 100%; } .carousel-control-prev-icon { diff --git a/scss/_variables.scss b/scss/_variables.scss index 52eedac6659d..b460413756d6 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1084,7 +1084,7 @@ $carousel-indicator-transition: opacity .6s ease !default; $carousel-caption-width: 70% !default; $carousel-caption-color: inherit !default; -$carousel-control-icon-width: 1.5rem !default; +$carousel-control-icon-width: 3rem !default; $carousel-control-icon-color: currentColor !default; $carousel-control-prev-icon-bg: url("data:image/svg+xml,") !default; diff --git a/site/content/docs/4.3/components/carousel.md b/site/content/docs/4.3/components/carousel.md index 113a1102ce98..f2d6c93a29f0 100644 --- a/site/content/docs/4.3/components/carousel.md +++ b/site/content/docs/4.3/components/carousel.md @@ -212,8 +212,8 @@ Add `data-interval=""` to a `.carousel-item` to change the amount of time to del Change the color of a carousel's next and previous controls, indicators, and captions with a single `.text-*` utility on the `.carousel`. Need more control? Apply text utilities and custom styles more selectively. -{% capture example %} -