0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #19208 from twbs/modal-content-border-width

Extract $modal-content-border-width variable
This commit is contained in:
Chris Rebert 2016-02-15 23:51:02 -08:00
commit 2a2462d253
2 changed files with 3 additions and 2 deletions

View File

@ -48,7 +48,7 @@
position: relative; position: relative;
background-color: $modal-content-bg; background-color: $modal-content-bg;
background-clip: padding-box; background-clip: padding-box;
border: 1px solid $modal-content-border-color; border: $modal-content-border-width solid $modal-content-border-color;
@include border-radius($border-radius-lg); @include border-radius($border-radius-lg);
@include box-shadow($modal-content-xs-box-shadow); @include box-shadow($modal-content-xs-box-shadow);
// Remove focus outline from opened modal // Remove focus outline from opened modal

View File

@ -634,6 +634,7 @@ $modal-title-line-height: $line-height-base !default;
$modal-content-bg: #fff !default; $modal-content-bg: #fff !default;
$modal-content-border-color: rgba(0,0,0,.2) !default; $modal-content-border-color: rgba(0,0,0,.2) !default;
$modal-content-border-width: $border-width !default;
$modal-content-xs-box-shadow: 0 3px 9px rgba(0,0,0,.5) !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-content-sm-up-box-shadow: 0 5px 15px rgba(0,0,0,.5) !default;
@ -641,7 +642,7 @@ $modal-backdrop-bg: #000 !default;
$modal-backdrop-opacity: .5 !default; $modal-backdrop-opacity: .5 !default;
$modal-header-border-color: #e5e5e5 !default; $modal-header-border-color: #e5e5e5 !default;
$modal-footer-border-color: $modal-header-border-color !default; $modal-footer-border-color: $modal-header-border-color !default;
$modal-header-border-width: $border-width !default; $modal-header-border-width: $modal-content-border-width !default;
$modal-footer-border-width: $modal-header-border-width !default; $modal-footer-border-width: $modal-header-border-width !default;
$modal-lg: 900px !default; $modal-lg: 900px !default;