From 62477653e70270ec386207f5d2d9fcfa0c66fc75 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 1 Sep 2013 11:00:40 +0200 Subject: fixes #10111: different colors for dropdown link hover and active states --- dist/css/bootstrap-theme.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'dist/css/bootstrap-theme.css') diff --git a/dist/css/bootstrap-theme.css b/dist/css/bootstrap-theme.css index 9e5badcd5..88b2580b1 100644 --- a/dist/css/bootstrap-theme.css +++ b/dist/css/bootstrap-theme.css @@ -171,7 +171,16 @@ } .dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, +.dropdown-menu > li > a:focus { + background-color: #e8e8e8; + background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8)); + background-image: -webkit-linear-gradient(top, #f5f5f5, 0%, #e8e8e8, 100%); + background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); + background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); +} + .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { -- cgit v1.2.3