mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Merge pull request #19207 from twbs/modal-header-footer-width-vars
Extract $modal-{header,footer}-border-width variables
This commit is contained in:
commit
8baa8ca781
@ -74,7 +74,7 @@
|
|||||||
// Top section of the modal w/ title and dismiss
|
// Top section of the modal w/ title and dismiss
|
||||||
.modal-header {
|
.modal-header {
|
||||||
padding: $modal-title-padding;
|
padding: $modal-title-padding;
|
||||||
border-bottom: 1px solid $modal-header-border-color;
|
border-bottom: $modal-header-border-width solid $modal-header-border-color;
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
}
|
}
|
||||||
// Close icon
|
// Close icon
|
||||||
@ -99,7 +99,7 @@
|
|||||||
.modal-footer {
|
.modal-footer {
|
||||||
padding: $modal-inner-padding;
|
padding: $modal-inner-padding;
|
||||||
text-align: right; // right align buttons
|
text-align: right; // right align buttons
|
||||||
border-top: 1px solid $modal-footer-border-color;
|
border-top: $modal-footer-border-width solid $modal-footer-border-color;
|
||||||
@include clearfix(); // clear it in case folks use .pull-* classes on buttons
|
@include clearfix(); // clear it in case folks use .pull-* classes on buttons
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -641,6 +641,8 @@ $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-footer-border-width: $modal-header-border-width !default;
|
||||||
|
|
||||||
$modal-lg: 900px !default;
|
$modal-lg: 900px !default;
|
||||||
$modal-md: 600px !default;
|
$modal-md: 600px !default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user