mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-30 12:24:19 +01:00
b6b96c174b
- Simplify display headings example markup - Simplify footer styles - Remove z-indices hacks in the docs - Remove redundant modal styling in docs - Use `escape-svg()` to escape docs sidebar chevron - Simplify sidebar chevron code - Cleanup masthead css & fix column width between `md` & `lg` - Easier to download logo's with the `download` attribute. - Changed some color codes into variables - Cleanup brands css
40 lines
665 B
SCSS
40 lines
665 B
SCSS
//
|
|
// Callouts
|
|
//
|
|
|
|
.bd-callout {
|
|
padding: 1.25rem;
|
|
margin-top: 1.25rem;
|
|
margin-bottom: 1.25rem;
|
|
border: 1px solid $gray-200;
|
|
border-left-width: .25rem;
|
|
@include border-radius();
|
|
|
|
h4 {
|
|
margin-bottom: .25rem;
|
|
}
|
|
|
|
p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
code {
|
|
@include border-radius();
|
|
}
|
|
|
|
+ .bd-callout {
|
|
margin-top: -.25rem;
|
|
}
|
|
}
|
|
|
|
// Variations
|
|
@mixin bs-callout-variant($color) {
|
|
border-left-color: $color;
|
|
|
|
h4 { color: $color; }
|
|
}
|
|
|
|
.bd-callout-info { @include bs-callout-variant($bd-info); }
|
|
.bd-callout-warning { @include bs-callout-variant($bd-warning); }
|
|
.bd-callout-danger { @include bs-callout-variant($bd-danger); }
|