2015-04-16 23:57:49 +02:00
|
|
|
//
|
|
|
|
// Callouts
|
|
|
|
//
|
|
|
|
|
|
|
|
.bd-callout {
|
|
|
|
padding: 1.25rem;
|
|
|
|
margin-top: 1.25rem;
|
|
|
|
margin-bottom: 1.25rem;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
border-left-width: .25rem;
|
2019-07-24 08:41:18 +02:00
|
|
|
@include border-radius();
|
2016-02-06 21:28:18 +01:00
|
|
|
|
2018-10-15 10:27:00 +02:00
|
|
|
h4 {
|
|
|
|
margin-bottom: .25rem;
|
|
|
|
}
|
2016-02-06 21:28:18 +01:00
|
|
|
|
2018-10-15 10:27:00 +02:00
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2016-02-06 21:28:18 +01:00
|
|
|
|
2018-10-15 10:27:00 +02:00
|
|
|
code {
|
2019-07-24 08:41:18 +02:00
|
|
|
@include border-radius();
|
2018-10-15 10:27:00 +02:00
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
|
2018-10-15 10:27:00 +02:00
|
|
|
+ .bd-callout {
|
|
|
|
margin-top: -.25rem;
|
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Variations
|
|
|
|
@mixin bs-callout-variant($color) {
|
|
|
|
border-left-color: $color;
|
|
|
|
|
|
|
|
h4 { color: $color; }
|
|
|
|
}
|
2016-02-06 21:28:18 +01:00
|
|
|
|
|
|
|
.bd-callout-info { @include bs-callout-variant($bd-info); }
|
2015-04-17 01:56:40 +02:00
|
|
|
.bd-callout-warning { @include bs-callout-variant($bd-warning); }
|
2016-02-06 21:28:18 +01:00
|
|
|
.bd-callout-danger { @include bs-callout-variant($bd-danger); }
|