2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Fixing header color for success, error and info alerts

This commit is contained in:
Andreas Cederström
2012-12-03 14:20:14 +01:00
parent eca23e9b0f
commit 68cbba347b
3 changed files with 27 additions and 18 deletions
+13
View File
@@ -40,17 +40,30 @@
border-color: @successBorder;
color: @successText;
}
.alert-success h4 {
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: @successText;
}
.alert-danger,
.alert-error {
background-color: @errorBackground;
border-color: @errorBorder;
color: @errorText;
}
.alert-danger h4,
.alert-error h4 {
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: @errorText;
}
.alert-info {
background-color: @infoBackground;
border-color: @infoBorder;
color: @infoText;
}
.alert-info h4 {
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: @infoText;
}
// Block alerts