diff --git a/scss/_modal.scss b/scss/_modal.scss index c88d085c9e..c43d55b5ac 100644 --- a/scss/_modal.scss +++ b/scss/_modal.scss @@ -50,7 +50,7 @@ background-clip: padding-box; border: 1px solid $modal-content-border-color; @include border-radius($border-radius-lg); - @include box-shadow(0 3px 9px rgba(0,0,0,.5)); + @include box-shadow($modal-content-xs-box-shadow); // Remove focus outline from opened modal outline: 0; } @@ -134,7 +134,7 @@ margin: 30px auto; } .modal-content { - @include box-shadow(0 5px 15px rgba(0,0,0,.5)); + @include box-shadow($modal-content-sm-up-box-shadow); } // Modal sizes diff --git a/scss/_variables.scss b/scss/_variables.scss index a09a79a7cc..62515deaac 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -541,8 +541,10 @@ $modal-inner-padding: 15px !default; $modal-title-padding: 15px !default; $modal-title-line-height: $line-height !default; -$modal-content-bg: #fff !default; -$modal-content-border-color: rgba(0,0,0,.2) !default; +$modal-content-bg: #fff !default; +$modal-content-border-color: rgba(0,0,0,.2) !default; +$modal-content-xs-box-shadow: 0 3px 9px rgba(0,0,0,.5) !default; +$modal-content-sm-up-box-shadow: 0 5px 15px rgba(0,0,0,.5) !default; $modal-backdrop-bg: #000 !default; $modal-backdrop-opacity: .5 !default;