fixes #5212: text emphasis classes only get hover with links

This commit is contained in:
Mark Otto 2012-09-20 09:06:43 -07:00
parent a6206c98d5
commit 6c3cd6fd9d
2 changed files with 15 additions and 28 deletions

View File

@ -618,7 +618,7 @@ cite {
color: #c09853; color: #c09853;
} }
.text-warning:hover { a.text-warning:hover {
color: #a47e3c; color: #a47e3c;
} }
@ -626,7 +626,7 @@ cite {
color: #b94a48; color: #b94a48;
} }
.text-error:hover { a.text-error:hover {
color: #953b39; color: #953b39;
} }
@ -634,7 +634,7 @@ cite {
color: #3a87ad; color: #3a87ad;
} }
.text-info:hover { a.text-info:hover {
color: #2d6987; color: #2d6987;
} }
@ -642,7 +642,7 @@ cite {
color: #468847; color: #468847;
} }
.text-success:hover { a.text-success:hover {
color: #356635; color: #356635;
} }

View File

@ -37,30 +37,17 @@ cite {
.muted { .muted {
color: @grayLight; color: @grayLight;
} }
.text-warning { .text-warning { color: @warningText; }
color: @warningText; a.text-warning:hover { color: darken(@warningText, 10%); }
&:hover {
color: darken(@warningText, 10%); .text-error { color: @errorText; }
} a.text-error:hover { color: darken(@errorText, 10%); }
}
.text-error { .text-info { color: @infoText; }
color: @errorText; a.text-info:hover { color: darken(@infoText, 10%); }
&:hover {
color: darken(@errorText, 10%); .text-success { color: @successText; }
} a.text-success:hover { color: darken(@successText, 10%); }
}
.text-info {
color: @infoText;
&:hover {
color: darken(@infoText, 10%);
}
}
.text-success {
color: @successText;
&:hover {
color: darken(@successText, 10%);
}
}
// Headings // Headings