mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
fixes #5212: text emphasis classes only get hover with links
This commit is contained in:
+11
-24
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user