2012-01-05 13:01:42 -05:00
|
|
|
// ALERT STYLES
|
|
|
|
// ------------
|
|
|
|
|
|
|
|
// Base alert styles
|
2012-01-14 19:18:15 -05:00
|
|
|
.alert {
|
2012-01-05 13:01:42 -05:00
|
|
|
position: relative;
|
2012-01-14 19:18:15 -05:00
|
|
|
padding: 8px 35px 8px 14px;
|
2012-01-05 13:01:42 -05:00
|
|
|
margin-bottom: @baseLineHeight;
|
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
2012-01-14 19:18:15 -05:00
|
|
|
background-color: #fcf8e3;
|
|
|
|
border: 1px solid #f3edd2;
|
2012-01-05 13:01:42 -05:00
|
|
|
.border-radius(4px);
|
2012-01-14 19:18:15 -05:00
|
|
|
}
|
|
|
|
.alert,
|
|
|
|
.alert-heading {
|
|
|
|
color: #c09853;
|
|
|
|
}
|
2012-01-05 13:01:42 -05:00
|
|
|
|
2012-01-14 19:18:15 -05:00
|
|
|
// Adjust close link position
|
|
|
|
.alert > .close {
|
|
|
|
*margin-top: 3px; /* IE7 spacing */
|
|
|
|
margin-right: -21px;
|
|
|
|
}
|
2012-01-05 13:01:42 -05:00
|
|
|
|
2012-01-14 19:18:15 -05:00
|
|
|
// Alternate styles
|
|
|
|
// ----------------
|
2012-01-05 13:01:42 -05:00
|
|
|
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-success {
|
2012-01-14 19:18:15 -05:00
|
|
|
background-color: #dff0d8;
|
|
|
|
border-color: #cfe8c4;
|
|
|
|
}
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-success,
|
|
|
|
.alert-success .alert-heading {
|
2012-01-14 19:18:15 -05:00
|
|
|
color: #468847;
|
|
|
|
}
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-danger,
|
|
|
|
.alert-error {
|
2012-01-14 19:18:15 -05:00
|
|
|
background-color: #f2dede;
|
|
|
|
border-color: #e9c7c7;
|
|
|
|
}
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-danger,
|
|
|
|
.alert-error,
|
|
|
|
.alert-danger .alert-heading,
|
|
|
|
.alert-error .alert-heading {
|
2012-01-14 19:18:15 -05:00
|
|
|
color: #B94A48;
|
|
|
|
}
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-info {
|
2012-01-14 19:18:15 -05:00
|
|
|
background-color: #d9edf7;
|
|
|
|
border-color: #bfe1f2;
|
|
|
|
}
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-info,
|
|
|
|
.alert-info .alert-heading {
|
2012-01-14 19:18:15 -05:00
|
|
|
color: #3a87ad;
|
|
|
|
}
|
2012-01-05 13:01:42 -05:00
|
|
|
|
2012-01-14 19:18:15 -05:00
|
|
|
|
|
|
|
// Block alerts
|
|
|
|
// ------------------------
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-block {
|
2012-01-14 19:18:15 -05:00
|
|
|
padding-top: 14px;
|
|
|
|
padding-bottom: 14px;
|
|
|
|
}
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-block > p,
|
|
|
|
.alert-block > ul {
|
2012-01-14 19:18:15 -05:00
|
|
|
margin-bottom: 0;
|
2012-01-05 13:01:42 -05:00
|
|
|
}
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-block p + p {
|
2012-01-14 19:18:15 -05:00
|
|
|
margin-top: 5px;
|
|
|
|
}
|