1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02:00

Add $label-font-size variable in the name of not hardcoding values

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert
2016-02-16 00:27:53 -08:00
parent 8358471aa5
commit 2c034cf542
2 changed files with 2 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
.label { .label {
display: inline-block; display: inline-block;
padding: $label-padding-y $label-padding-x; padding: $label-padding-y $label-padding-x;
font-size: 75%; font-size: $label-font-size;
font-weight: $label-font-weight; font-weight: $label-font-weight;
line-height: 1; line-height: 1;
color: $label-color; color: $label-color;

View File

@@ -618,6 +618,7 @@ $label-danger-bg: $brand-danger !default;
$label-color: #fff !default; $label-color: #fff !default;
$label-link-hover-color: #fff !default; $label-link-hover-color: #fff !default;
$label-font-size: 75% !default;
$label-font-weight: bold !default; $label-font-weight: bold !default;
$label-padding-x: .4em !default; $label-padding-x: .4em !default;
$label-padding-y: .25em !default; $label-padding-y: .25em !default;