mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Add variables for media object margins and padding
[skip sauce] [skip validator]
This commit is contained in:
parent
f646ed7920
commit
4a667f5bb7
2 changed files with 11 additions and 4 deletions
|
@ -14,7 +14,7 @@
|
|||
}
|
||||
} @else {
|
||||
.media {
|
||||
margin-top: 15px;
|
||||
margin-top: $media-margin-top;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
|
@ -61,11 +61,11 @@
|
|||
//
|
||||
|
||||
.media-right {
|
||||
padding-left: 10px;
|
||||
padding-left: $media-alignment-padding-x;
|
||||
}
|
||||
|
||||
.media-left {
|
||||
padding-right: 10px;
|
||||
padding-right: $media-alignment-padding-x;
|
||||
}
|
||||
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
|||
|
||||
.media-heading {
|
||||
margin-top: 0;
|
||||
margin-bottom: 5px;
|
||||
margin-bottom: $media-heading-margin-bottom;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -626,6 +626,13 @@ $breadcrumb-active-color: $gray-light !default;
|
|||
$breadcrumb-divider: "/" !default;
|
||||
|
||||
|
||||
// Media objects
|
||||
|
||||
$media-margin-top: 15px !default;
|
||||
$media-heading-margin-bottom: 5px !default;
|
||||
$media-alignment-padding-x: 10px !default;
|
||||
|
||||
|
||||
// Carousel
|
||||
|
||||
$carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
|
||||
|
|
Loading…
Reference in a new issue