1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 09:52:43 +02:00

fixes #10111: different colors for dropdown link hover and active states

This commit is contained in:
Mark Otto
2013-09-01 11:00:40 +02:00
parent e8f7d4fcef
commit 62477653e7
8 changed files with 27 additions and 15 deletions

View File

@@ -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 {

File diff suppressed because one or more lines are too long

View File

@@ -3276,9 +3276,9 @@ input[type="button"].btn-block {
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
color: #ffffff;
color: #262626;
text-decoration: none;
background-color: #428bca;
background-color: #f5f5f5;
}
.dropdown-menu > .active > a,

File diff suppressed because one or more lines are too long