From: Chris Rebert Date: Tue, 16 Feb 2016 08:30:40 +0000 (-0800) Subject: Add $label-pill-border-radius variable X-Git-Tag: v4.0.0-alpha.3~237^2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08d23959ac6dc21576442b5e1f89714cb482d6b2;p=thirdparty%2Fbootstrap.git Add $label-pill-border-radius variable [skip sauce] [skip validator] --- diff --git a/scss/_labels.scss b/scss/_labels.scss index 66af7c9c9f..8d758ac89b 100644 --- a/scss/_labels.scss +++ b/scss/_labels.scss @@ -45,9 +45,7 @@ a.label { .label-pill { padding-right: $label-pill-padding-x; padding-left: $label-pill-padding-x; - // Use a higher than normal value to ensure completely rounded edges when - // customizing padding or font-size on labels. - @include border-radius(10rem); + @include border-radius($label-pill-border-radius); } // Colors diff --git a/scss/_variables.scss b/scss/_variables.scss index 5c92cb21dd..36eb9cd70c 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -623,6 +623,9 @@ $label-padding-x: .4em !default; $label-padding-y: .25em !default; $label-pill-padding-x: .6em !default; +// Use a higher than normal value to ensure completely rounded edges when +// customizing padding or font-size on labels. +$label-pill-border-radius: 10rem !default; // Modals