0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-04 04:29:23 +01:00

update to less syntax

This commit is contained in:
Mark Otto 2017-07-02 15:16:00 -07:00
parent 7ef172df57
commit 9c227e6b74

View File

@ -1,50 +1,53 @@
/*
* Callouts
*
* Not quite alerts, but custom and helpful notes for folks reading the docs.
* Requires a base and modifier class.
*/
// Callouts
//
// Not quite alerts, but custom and helpful notes for folks reading the docs.
// Requires a base and modifier class.
/* Common styles for all types */
.bs-callout {
padding: 20px;
margin: 20px 0;
border: 1px solid #eee;
border-left-width: 5px;
border-radius: 3px;
}
.bs-callout h4 {
h4 {
margin-top: 0;
margin-bottom: 5px;
}
.bs-callout p:last-child {
p:last-child {
margin-bottom: 0;
}
.bs-callout code {
code {
border-radius: 3px;
}
/* Tighten up space between multiple callouts */
.bs-callout + .bs-callout {
+ .bs-callout {
margin-top: -5px;
}
}
/* Variations */
.bs-callout-danger {
border-left-color: #ce4844;
}
.bs-callout-danger h4 {
h4 {
color: #ce4844;
}
}
.bs-callout-warning {
border-left-color: #aa6708;
}
.bs-callout-warning h4 {
h4 {
color: #aa6708;
}
}
.bs-callout-info {
border-left-color: #1b809e;
}
.bs-callout-info h4 {
h4 {
color: #1b809e;
}
}