aboutsummaryrefslogtreecommitdiff
path: root/less/type.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-10-31 10:46:04 -0700
committerMark Otto <[email protected]>2012-10-31 10:46:04 -0700
commit64326322b48a29fb7911fcb21addef981e3bd4d7 (patch)
treed6463dd63a9bb0ce8dec3de6798ddd82c9baeceb /less/type.less
parentd5697fcf6b17721a243dc7e99060aa39c976cde7 (diff)
downloadbootstrap-64326322b48a29fb7911fcb21addef981e3bd4d7.tar.xz
bootstrap-64326322b48a29fb7911fcb21addef981e3bd4d7.zip
fixes #5725: hover state for a.muted; also reformatted CSS
Diffstat (limited to 'less/type.less')
-rw-r--r--less/type.less36
1 files changed, 15 insertions, 21 deletions
diff --git a/less/type.less b/less/type.less
index 3b428e79d..d0538fef2 100644
--- a/less/type.less
+++ b/less/type.less
@@ -20,33 +20,27 @@ p {
// Emphasis & misc
// -------------------------
-small {
- font-size: 85%; // Ex: 14px base font * 85% = about 12px
-}
-strong {
- font-weight: bold;
-}
-em {
- font-style: italic;
-}
-cite {
- font-style: normal;
-}
+// Ex: 14px base font * 85% = about 12px
+small { font-size: 85%; }
+
+strong { font-weight: bold; }
+em { font-style: italic; }
+cite { font-style: normal; }
// Utility classes
-.muted {
- color: @grayLight;
-}
-.text-warning { color: @warningText; }
+.muted { color: @grayLight; }
+a.muted:hover { color: darken(@grayLight, 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-error { color: @errorText; }
+a.text-error:hover { color: darken(@errorText, 10%); }
-.text-info { color: @infoText; }
-a.text-info:hover { color: darken(@infoText, 10%); }
+.text-info { color: @infoText; }
+a.text-info:hover { color: darken(@infoText, 10%); }
-.text-success { color: @successText; }
+.text-success { color: @successText; }
a.text-success:hover { color: darken(@successText, 10%); }