0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01: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;
}
.alert-success h4 {
color: #468847;
}
.alert-danger,
.alert-error {
color: #b94a48;
@ -3845,12 +3849,21 @@ input[type="submit"].btn.btn-mini {
border-color: #eed3d7;
}
.alert-danger h4,
.alert-error h4 {
color: #b94a48;
}
.alert-info {
color: #3a87ad;
background-color: #d9edf7;
border-color: #bce8f1;
}
.alert-info h4 {
color: #3a87ad;
}
.alert-block {
padding-top: 14px;
padding-bottom: 14px;

File diff suppressed because one or more lines are too long

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