mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
69 lines
1.1 KiB
Plaintext
69 lines
1.1 KiB
Plaintext
// ALERT STYLES
|
|
// ------------
|
|
|
|
// Base alert styles
|
|
.alert {
|
|
position: relative;
|
|
padding: 8px 35px 8px 14px;
|
|
margin-bottom: @baseLineHeight;
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
|
background-color: #fcf8e3;
|
|
border: 1px solid #f3edd2;
|
|
.border-radius(4px);
|
|
}
|
|
.alert,
|
|
.alert-heading {
|
|
color: #c09853;
|
|
}
|
|
|
|
// Adjust close link position
|
|
.alert > .close {
|
|
*margin-top: 3px; /* IE7 spacing */
|
|
margin-right: -21px;
|
|
}
|
|
|
|
// Alternate styles
|
|
// ----------------
|
|
|
|
.success-alert {
|
|
background-color: #dff0d8;
|
|
border-color: #cfe8c4;
|
|
}
|
|
.success-alert,
|
|
.success-alert .alert-heading {
|
|
color: #468847;
|
|
}
|
|
.danger-alert,
|
|
.error-alert {
|
|
background-color: #f2dede;
|
|
border-color: #e9c7c7;
|
|
}
|
|
.danger-alert,
|
|
.error-alert,
|
|
.danger-alert .alert-heading,
|
|
.error-alert .alert-heading {
|
|
color: #B94A48;
|
|
}
|
|
.info-alert {
|
|
background-color: #d9edf7;
|
|
border-color: #bfe1f2;
|
|
}
|
|
.info-alert,
|
|
.info-alert .alert-heading {
|
|
color: #3a87ad;
|
|
}
|
|
|
|
|
|
// Block alerts
|
|
// ------------------------
|
|
.block-alert {
|
|
padding-top: 14px;
|
|
padding-bottom: 14px;
|
|
}
|
|
.block-alert > p,
|
|
.block-alert > ul {
|
|
margin-bottom: 0;
|
|
}
|
|
.block-alert p + p {
|
|
margin-top: 5px;
|
|
} |