fixes #5087: add hover states to text emphasis classes for links
This commit is contained in:
parent
239e6a7d21
commit
3b3def4898
|
@ -618,18 +618,34 @@ cite {
|
||||||
color: #c09853;
|
color: #c09853;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-warning:hover {
|
||||||
|
color: #a47e3c;
|
||||||
|
}
|
||||||
|
|
||||||
.text-error {
|
.text-error {
|
||||||
color: #b94a48;
|
color: #b94a48;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-error:hover {
|
||||||
|
color: #953b39;
|
||||||
|
}
|
||||||
|
|
||||||
.text-info {
|
.text-info {
|
||||||
color: #3a87ad;
|
color: #3a87ad;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-info:hover {
|
||||||
|
color: #2d6987;
|
||||||
|
}
|
||||||
|
|
||||||
.text-success {
|
.text-success {
|
||||||
color: #468847;
|
color: #468847;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-success:hover {
|
||||||
|
color: #356635;
|
||||||
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
|
|
|
@ -39,15 +39,27 @@ cite {
|
||||||
}
|
}
|
||||||
.text-warning {
|
.text-warning {
|
||||||
color: @warningText;
|
color: @warningText;
|
||||||
|
&:hover {
|
||||||
|
color: darken(@warningText, 10%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.text-error {
|
.text-error {
|
||||||
color: @errorText;
|
color: @errorText;
|
||||||
|
&:hover {
|
||||||
|
color: darken(@errorText, 10%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.text-info {
|
.text-info {
|
||||||
color: @infoText;
|
color: @infoText;
|
||||||
|
&:hover {
|
||||||
|
color: darken(@infoText, 10%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.text-success {
|
.text-success {
|
||||||
color: @successText;
|
color: @successText;
|
||||||
|
&:hover {
|
||||||
|
color: darken(@successText, 10%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue