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

index d9776d59c6600d0de38aa3f7638737c862e4c199..6c50c94fb7bb0e32443c2ee2e9194f8739d6d417 100644 (file)
@@ -53,7 +53,7 @@
   background-clip: padding-box;
   border: $dropdown-border-width solid $dropdown-border-color;
   @include border-radius($border-radius);
-  @include box-shadow(0 6px 12px rgba(0,0,0,.175));
+  @include box-shadow($dropdown-box-shadow);
 }
 
 // Dividers (basically an `<hr>`) within the dropdown
index a55d197ec4f59b078c6e4fee109265ac47e60304..e906596fc87d4fefb9cdc1746ea9c0e3a586ee10 100644 (file)
@@ -343,6 +343,7 @@ $dropdown-bg:                    #fff !default;
 $dropdown-border-color:          rgba(0,0,0,.15) !default;
 $dropdown-border-width:          $border-width !default;
 $dropdown-divider-bg:            #e5e5e5 !default;
+$dropdown-box-shadow:            0 6px 12px rgba(0,0,0,.175) !default;
 
 $dropdown-link-color:            $gray-dark !default;
 $dropdown-link-hover-color:      darken($gray-dark, 5%) !default;