0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00
Bootstrap/docs/assets/less/callouts.less

54 lines
697 B
Plaintext
Raw Normal View History

2017-07-03 00:16:00 +02:00
// Callouts
//
// Not quite alerts, but custom and helpful notes for folks reading the docs.
// Requires a base and modifier class.
2017-07-03 00:09:46 +02:00
.bs-callout {
padding: 20px;
margin: 20px 0;
border: 1px solid #eee;
border-left-width: 5px;
border-radius: 3px;
2017-07-03 00:16:00 +02:00
h4 {
margin-top: 0;
margin-bottom: 5px;
}
p:last-child {
margin-bottom: 0;
}
code {
border-radius: 3px;
}
+ .bs-callout {
margin-top: -5px;
}
2017-07-03 00:09:46 +02:00
}
.bs-callout-danger {
border-left-color: #ce4844;
2017-07-03 00:16:00 +02:00
h4 {
color: #ce4844;
}
2017-07-03 00:09:46 +02:00
}
2017-07-03 00:16:00 +02:00
2017-07-03 00:09:46 +02:00
.bs-callout-warning {
border-left-color: #aa6708;
2017-07-03 00:16:00 +02:00
h4 {
color: #aa6708;
}
2017-07-03 00:09:46 +02:00
}
2017-07-03 00:16:00 +02:00
2017-07-03 00:09:46 +02:00
.bs-callout-info {
border-left-color: #1b809e;
2017-07-03 00:16:00 +02:00
h4 {
color: #1b809e;
}
2017-07-03 00:09:46 +02:00
}