]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Extract $kbd-box-shadow variable
authorChris Rebert <code@chrisrebert.com>
Sat, 9 Jan 2016 23:26:02 +0000 (15:26 -0800)
committerChris Rebert <code@chrisrebert.com>
Sun, 17 Jan 2016 04:23:37 +0000 (20:23 -0800)
scss/_code.scss
scss/_variables.scss

index 60bbcae81ee1d9b5d2f14f44f5104f3246fe912f..a9ddb4c0f517dcb8028e82d3f6e21db553951e51 100644 (file)
@@ -22,7 +22,7 @@ kbd {
   color: $kbd-color;
   background-color: $kbd-bg;
   @include border-radius($border-radius-sm);
-  @include box-shadow(inset 0 -.1rem 0 rgba(0,0,0,.25));
+  @include box-shadow($kbd-box-shadow);
 
   kbd {
     padding: 0;
index 4deb70019d72670a2d4113633839e9efefb0f87d..55104049db845d0830877ec2c18531495eb8a62d 100644 (file)
@@ -191,6 +191,7 @@ $hr-border-width: $border-width !default;
 
 $dt-font-weight: bold !default;
 
+$kbd-box-shadow:         inset 0 -.1rem 0 rgba(0,0,0,.25) !default;
 $nested-kbd-font-weight: bold !default;
 
 $list-inline-padding: 5px !default;