aboutsummaryrefslogtreecommitdiff
path: root/less/theme.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-09-01 11:00:40 +0200
committerMark Otto <[email protected]>2013-09-01 11:00:40 +0200
commit62477653e70270ec386207f5d2d9fcfa0c66fc75 (patch)
tree8e59c69e1f46212c6d73851ea7c1f14f98ff5dc4 /less/theme.less
parente8f7d4fcef07a09c2ef767149d7e93a727b3732e (diff)
downloadbootstrap-62477653e70270ec386207f5d2d9fcfa0c66fc75.tar.xz
bootstrap-62477653e70270ec386207f5d2d9fcfa0c66fc75.zip
fixes #10111: different colors for dropdown link hover and active states
Diffstat (limited to 'less/theme.less')
-rw-r--r--less/theme.less9
1 files changed, 6 insertions, 3 deletions
diff --git a/less/theme.less b/less/theme.less
index 32c806696..71d1d1e6b 100644
--- a/less/theme.less
+++ b/less/theme.less
@@ -84,12 +84,15 @@
// --------------------------------------------------
.dropdown-menu > li > a:hover,
-.dropdown-menu > li > a:focus,
+.dropdown-menu > li > a:focus {
+ #gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));
+ background-color: darken(@dropdown-link-hover-bg, 5%);
+}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
- #gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));
- background-color: darken(@dropdown-link-hover-bg, 5%);
+ #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));
+ background-color: darken(@dropdown-link-active-bg, 5%);
}