1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Extract $thumbnail-box-shadow variable

This commit is contained in:
Chris Rebert 2016-01-09 15:35:19 -08:00
parent 9b2d9f6e04
commit bbd449994a
2 changed files with 2 additions and 1 deletions

View file

@ -22,7 +22,7 @@
border: $thumbnail-border-width solid $thumbnail-border-color; border: $thumbnail-border-width solid $thumbnail-border-color;
border-radius: $thumbnail-border-radius; border-radius: $thumbnail-border-radius;
transition: all .2s ease-in-out; transition: all .2s ease-in-out;
@include box-shadow(0 1px 2px rgba(0,0,0,.075)); @include box-shadow($thumbnail-box-shadow);
// Keep them at most 100% wide // Keep them at most 100% wide
@include img-fluid(inline-block); @include img-fluid(inline-block);

View file

@ -623,6 +623,7 @@ $thumbnail-bg: $body-bg !default;
$thumbnail-border-width: $border-width !default; $thumbnail-border-width: $border-width !default;
$thumbnail-border-color: #ddd !default; $thumbnail-border-color: #ddd !default;
$thumbnail-border-radius: $border-radius !default; $thumbnail-border-radius: $border-radius !default;
$thumbnail-box-shadow: 0 1px 2px rgba(0,0,0,.075) !default;
// Breadcrumbs // Breadcrumbs