From: Chris Rebert Date: Tue, 16 Feb 2016 08:27:53 +0000 (-0800) Subject: Add $label-font-size variable in the name of not hardcoding values X-Git-Tag: v4.0.0-alpha.3~237^2~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c034cf5423e942ca47b632f60305522b4612898;p=thirdparty%2Fbootstrap.git Add $label-font-size variable in the name of not hardcoding values [skip sauce] [skip validator] --- diff --git a/scss/_labels.scss b/scss/_labels.scss index fb4ef5aef7..cb8943978a 100644 --- a/scss/_labels.scss +++ b/scss/_labels.scss @@ -6,7 +6,7 @@ .label { display: inline-block; padding: $label-padding-y $label-padding-x; - font-size: 75%; + font-size: $label-font-size; font-weight: $label-font-weight; line-height: 1; color: $label-color; diff --git a/scss/_variables.scss b/scss/_variables.scss index 77e60ff714..4d2a0b1961 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -618,6 +618,7 @@ $label-danger-bg: $brand-danger !default; $label-color: #fff !default; $label-link-hover-color: #fff !default; +$label-font-size: 75% !default; $label-font-weight: bold !default; $label-padding-x: .4em !default; $label-padding-y: .25em !default;