vendor/assets/stylesheets/bootstrap/_alerts.scss in bootstrap-sass-2.0.1 vs vendor/assets/stylesheets/bootstrap/_alerts.scss in bootstrap-sass-2.0.2
- old
+ new
@@ -7,14 +7,15 @@
margin-bottom: $baseLineHeight;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
background-color: $warningBackground;
border: 1px solid $warningBorder;
@include border-radius(4px);
-}
-.alert, .alert-heading {
color: $warningText;
}
+.alert-heading {
+ color: inherit;
+}
// Adjust close link position
.alert .close {
position: relative;
top: -2px;
@@ -26,28 +27,21 @@
// ----------------
.alert-success {
background-color: $successBackground;
border-color: $successBorder;
-}
-.alert-success, .alert-success .alert-heading {
color: $successText;
}
.alert-danger, .alert-error {
background-color: $errorBackground;
border-color: $errorBorder;
-}
-.alert-danger, .alert-error, .alert-danger .alert-heading, .alert-error .alert-heading {
color: $errorText;
}
.alert-info {
background-color: $infoBackground;
border-color: $infoBorder;
-}
-.alert-info, .alert-info .alert-heading {
color: $infoText;
}
-
// Block alerts
// ------------------------
.alert-block {
padding-top: 14px;
\ No newline at end of file