]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add 3 more font-weight variables 18450/head
authorChris Rebert <code@chrisrebert.com>
Sun, 6 Dec 2015 20:28:15 +0000 (12:28 -0800)
committerChris Rebert <code@chrisrebert.com>
Sun, 6 Dec 2015 20:32:49 +0000 (12:32 -0800)
Refs #14368

[skip sauce]
[skip validator]

scss/_code.scss
scss/_labels.scss
scss/_reboot.scss
scss/_variables.scss

index 0de67d9ecc489e742b6eec89155e89b53abe0fc4..60bbcae81ee1d9b5d2f14f44f5104f3246fe912f 100644 (file)
@@ -27,7 +27,7 @@ kbd {
   kbd {
     padding: 0;
     font-size: 100%;
-    font-weight: bold;
+    font-weight: $nested-kbd-font-weight;
     @include box-shadow(none);
   }
 }
index 8b2f0f82abb4cf4a1ef022b1d61e3cae8059c5c1..c58ddde17e6590d9679885d023208ac2917d5712 100644 (file)
@@ -7,7 +7,7 @@
   display: inline-block;
   padding: .25em .4em;
   font-size: 75%;
-  font-weight: bold;
+  font-weight: $label-font-weight;
   line-height: 1;
   color: $label-color;
   text-align: center;
index 585adc3c6610118b56bdf3c9e6670a5c4a109ea0..ba389b36d8e098eb10e82174f7a2405566208649 100644 (file)
@@ -129,7 +129,7 @@ ul ol {
 }
 
 dt {
-  font-weight: bold;
+  font-weight: $dt-font-weight;
 }
 
 dd {
index 38f257684eb8ba1b87ff848a5ee1cde85ea54133..9400d1bd69612d0667596a5aec1e3a207093f025 100644 (file)
@@ -176,6 +176,10 @@ $blockquote-border-color:     $gray-lighter !default;
 $hr-border-color:             rgba(0,0,0,.1) !default;
 $hr-border-width:             $border-width !default;
 
+$dt-font-weight:              bold !default;
+
+$nested-kbd-font-weight:      bold !default;
+
 
 // Components
 //
@@ -501,6 +505,7 @@ $label-danger-bg:             $brand-danger !default;
 
 $label-color:                 #fff !default;
 $label-link-hover-color:      #fff !default;
+$label-font-weight:           bold !default;
 
 
 // Modals