aboutsummaryrefslogtreecommitdiff
path: root/less/type.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-09-20 09:06:43 -0700
committerMark Otto <[email protected]>2012-09-20 09:06:43 -0700
commit6c3cd6fd9d0c35d1d033dd97d22ec44cf74d0021 (patch)
treecc13c49ed793b7d7f083b675ac57b0a148668f9b /less/type.less
parenta6206c98d5dbf21b790638741c88f09a8fc25596 (diff)
downloadbootstrap-6c3cd6fd9d0c35d1d033dd97d22ec44cf74d0021.tar.xz
bootstrap-6c3cd6fd9d0c35d1d033dd97d22ec44cf74d0021.zip
fixes #5212: text emphasis classes only get hover with links
Diffstat (limited to 'less/type.less')
-rw-r--r--less/type.less35
1 files changed, 11 insertions, 24 deletions
diff --git a/less/type.less b/less/type.less
index 78ccb8119..512ead99e 100644
--- a/less/type.less
+++ b/less/type.less
@@ -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