aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/assets/css/bootstrap.css8
-rw-r--r--less/type.less35
2 files changed, 15 insertions, 28 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index d4d4e031f..fc9190fbe 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -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;
}
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