mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 04:41:36 +02:00
Docs: create new callout classes
This commit is contained in:
@@ -223,11 +223,10 @@ body {
|
|||||||
/* Side notes for calling out things
|
/* Side notes for calling out things
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
|
/* Base styles (regardless of theme) */
|
||||||
.bs-callout {
|
.bs-callout {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
padding: 15px 30px 15px 15px;
|
padding: 15px 30px 15px 15px;
|
||||||
background-color: #fcf2f2;
|
|
||||||
border-left: 5px solid #df7c7b;
|
|
||||||
}
|
}
|
||||||
.bs-callout h4 {
|
.bs-callout h4 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
@@ -240,6 +239,20 @@ body {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Themes for different contexts */
|
||||||
|
.bs-callout-danger {
|
||||||
|
background-color: #fcf2f2;
|
||||||
|
border-left: 5px solid #df7c7b;
|
||||||
|
}
|
||||||
|
.bs-callout-warning {
|
||||||
|
background-color: #fefbed;
|
||||||
|
border-left: 5px solid #f5d659;
|
||||||
|
}
|
||||||
|
.bs-callout-info {
|
||||||
|
background-color: #daecf9;
|
||||||
|
border-left: 5px solid #55a9e1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Special grid styles
|
/* Special grid styles
|
||||||
|
Reference in New Issue
Block a user