mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Docs: create new callout classes
This commit is contained in:
parent
211d6831fc
commit
f00c885d4c
@ -223,11 +223,10 @@ body {
|
||||
/* Side notes for calling out things
|
||||
-------------------------------------------------- */
|
||||
|
||||
/* Base styles (regardless of theme) */
|
||||
.bs-callout {
|
||||
margin: 20px 0;
|
||||
padding: 15px 30px 15px 15px;
|
||||
background-color: #fcf2f2;
|
||||
border-left: 5px solid #df7c7b;
|
||||
}
|
||||
.bs-callout h4 {
|
||||
margin-top: 0;
|
||||
@ -240,6 +239,20 @@ body {
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user