fixes #5087: add hover states to text emphasis classes for links

This commit is contained in:
Mark Otto 2012-09-17 23:19:52 -07:00
parent 239e6a7d21
commit 3b3def4898
2 changed files with 28 additions and 0 deletions

View File

@ -618,18 +618,34 @@ cite {
color: #c09853;
}
.text-warning:hover {
color: #a47e3c;
}
.text-error {
color: #b94a48;
}
.text-error:hover {
color: #953b39;
}
.text-info {
color: #3a87ad;
}
.text-info:hover {
color: #2d6987;
}
.text-success {
color: #468847;
}
.text-success:hover {
color: #356635;
}
h1,
h2,
h3,

View File

@ -39,15 +39,27 @@ cite {
}
.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%);
}
}