From: Mark Otto Date: Tue, 18 Sep 2012 06:19:52 +0000 (-0700) Subject: fixes #5087: add hover states to text emphasis classes for links X-Git-Tag: v2.2.0^2~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b3def4898b7d60e9a8b9b95707ee56323b23f36;p=thirdparty%2Fbootstrap.git fixes #5087: add hover states to text emphasis classes for links --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 92ea234b3d..7a73f6c680 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -618,18 +618,34 @@ cite { color: #c09853; } +.text-warning:hover { + color: #a47e3c; +} + .text-error { color: #b94a48; } +.text-error:hover { + color: #953b39; +} + .text-info { color: #3a87ad; } +.text-info:hover { + color: #2d6987; +} + .text-success { color: #468847; } +.text-success:hover { + color: #356635; +} + h1, h2, h3, diff --git a/less/type.less b/less/type.less index 2e0f386eef..78ccb81192 100644 --- a/less/type.less +++ b/less/type.less @@ -39,15 +39,27 @@ cite { } .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%); + } }