diff options
| author | Mark Otto <[email protected]> | 2012-09-17 23:19:52 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-09-17 23:19:52 -0700 |
| commit | 3b3def4898b7d60e9a8b9b95707ee56323b23f36 (patch) | |
| tree | 8ee1c848a59eaf47fd6250dfb81192f263d98e5b | |
| parent | 239e6a7d210a69413d0f4b4b000f2f38f53e1c44 (diff) | |
| download | bootstrap-3b3def4898b7d60e9a8b9b95707ee56323b23f36.tar.xz bootstrap-3b3def4898b7d60e9a8b9b95707ee56323b23f36.zip | |
fixes #5087: add hover states to text emphasis classes for links
| -rw-r--r-- | docs/assets/css/bootstrap.css | 16 | ||||
| -rw-r--r-- | less/type.less | 12 |
2 files changed, 28 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 92ea234b3..7a73f6c68 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 2e0f386ee..78ccb8119 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%); + } } |
