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