0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00

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

View File

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