1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 03:11:19 +02: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

View File

@@ -3838,6 +3838,10 @@ input[type="submit"].btn.btn-mini {
border-color: #d6e9c6; border-color: #d6e9c6;
} }
.alert-success h4 {
color: #468847;
}
.alert-danger, .alert-danger,
.alert-error { .alert-error {
color: #b94a48; color: #b94a48;
@@ -3845,12 +3849,21 @@ input[type="submit"].btn.btn-mini {
border-color: #eed3d7; border-color: #eed3d7;
} }
.alert-danger h4,
.alert-error h4 {
color: #b94a48;
}
.alert-info { .alert-info {
color: #3a87ad; color: #3a87ad;
background-color: #d9edf7; background-color: #d9edf7;
border-color: #bce8f1; border-color: #bce8f1;
} }
.alert-info h4 {
color: #3a87ad;
}
.alert-block { .alert-block {
padding-top: 14px; padding-top: 14px;
padding-bottom: 14px; padding-bottom: 14px;

File diff suppressed because one or more lines are too long

View File

@@ -40,17 +40,30 @@
border-color: @successBorder; border-color: @successBorder;
color: @successText; color: @successText;
} }
.alert-success h4 {
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: @successText;
}
.alert-danger, .alert-danger,
.alert-error { .alert-error {
background-color: @errorBackground; background-color: @errorBackground;
border-color: @errorBorder; border-color: @errorBorder;
color: @errorText; color: @errorText;
} }
.alert-danger h4,
.alert-error h4 {
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: @errorText;
}
.alert-info { .alert-info {
background-color: @infoBackground; background-color: @infoBackground;
border-color: @infoBorder; border-color: @infoBorder;
color: @infoText; color: @infoText;
} }
.alert-info h4 {
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: @infoText;
}
// Block alerts // Block alerts