2012-01-05 13:01:42 -05:00
|
|
|
// ALERT STYLES
|
|
|
|
// ------------
|
|
|
|
|
|
|
|
// Base alert styles
|
2012-01-14 19:18:15 -05:00
|
|
|
.alert {
|
|
|
|
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-24 19:54:35 -05:00
|
|
|
background-color: @warningBackground;
|
|
|
|
border: 1px solid @warningBorder;
|
2012-01-05 13:01:42 -05:00
|
|
|
.border-radius(4px);
|
2012-02-19 15:29:32 -05:00
|
|
|
color: @warningText;
|
2012-01-14 19:18:15 -05:00
|
|
|
}
|
|
|
|
.alert-heading {
|
2012-02-19 15:29:32 -05:00
|
|
|
color: inherit;
|
2012-01-14 19:18:15 -05:00
|
|
|
}
|
2012-01-05 13:01:42 -05:00
|
|
|
|
2012-01-14 19:18:15 -05:00
|
|
|
// Adjust close link position
|
2012-01-15 19:27:36 -05:00
|
|
|
.alert .close {
|
|
|
|
position: relative;
|
2012-01-28 21:46:41 -05:00
|
|
|
top: -2px;
|
2012-01-15 19:27:36 -05:00
|
|
|
right: -21px;
|
2012-01-23 16:03:09 -05:00
|
|
|
line-height: 18px;
|
2012-01-14 19:18:15 -05:00
|
|
|
}
|
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-24 19:54:35 -05:00
|
|
|
background-color: @successBackground;
|
|
|
|
border-color: @successBorder;
|
|
|
|
color: @successText;
|
2012-01-14 19:18:15 -05:00
|
|
|
}
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-danger,
|
|
|
|
.alert-error {
|
2012-01-24 19:54:35 -05:00
|
|
|
background-color: @errorBackground;
|
|
|
|
border-color: @errorBorder;
|
|
|
|
color: @errorText;
|
2012-01-14 19:18:15 -05:00
|
|
|
}
|
2012-01-15 14:30:24 -05:00
|
|
|
.alert-info {
|
2012-01-24 19:54:35 -05:00
|
|
|
background-color: @infoBackground;
|
|
|
|
border-color: @infoBorder;
|
|
|
|
color: @infoText;
|
2012-01-14 19:18:15 -05:00
|
|
|
}
|
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;
|
2012-01-15 19:27:36 -05:00
|
|
|
}
|