0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Bootstrap/site/assets/scss/_callouts.scss

42 lines
550 B
SCSS
Raw Normal View History

//
// 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();
2016-02-06 21:28:18 +01:00
h4 {
margin-bottom: .25rem;
}
2016-02-06 21:28:18 +01:00
p:last-child {
margin-bottom: 0;
}
2016-02-06 21:28:18 +01:00
code {
@include border-radius();
}
+ .bd-callout {
margin-top: -.25rem;
}
}
// Variations
.bd-callout-info {
border-left-color: $bd-info;
}
.bd-callout-warning {
border-left-color: $bd-warning;
}
2016-02-06 21:28:18 +01:00
.bd-callout-danger {
border-left-color: $bd-danger;
}