2013-11-16 06:21:12 +08:00
|
|
|
//
|
|
|
|
// Alerts
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
// Base styles
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
padding: 8px 35px 8px 14px;
|
|
|
|
margin-bottom: @baseLineHeight;
|
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
|
|
|
background-color: @warningBackground;
|
|
|
|
border: 1px solid @warningBorder;
|
2020-09-03 03:30:23 +08:00
|
|
|
border-radius: 4px;
|
2013-11-16 06:21:12 +08:00
|
|
|
color: @warningText;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Adjust close link position
|
|
|
|
.alert .close {
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
right: -21px;
|
|
|
|
line-height: @baseLineHeight;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Alternate styles
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
.alert-error {
|
|
|
|
background-color: @errorBackground;
|
|
|
|
border-color: @errorBorder;
|
|
|
|
color: @errorText;
|
|
|
|
}
|
|
|
|
.alert-info {
|
|
|
|
background-color: @infoBackground;
|
|
|
|
border-color: @infoBorder;
|
|
|
|
color: @infoText;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Block alerts
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
.alert-block {
|
|
|
|
padding-top: 14px;
|
|
|
|
padding-bottom: 14px;
|
|
|
|
}
|