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

add separate vars for dropdown link hover and active states

This commit is contained in:
Mark Otto
2012-06-19 19:17:42 -07:00
parent 40298ddbf1
commit 9df832b4bb
5 changed files with 39 additions and 6 deletions

View File

@@ -2457,7 +2457,12 @@ table .span24 {
}
.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-menu li > a:focus {
color: #333333;
text-decoration: none;
background-color: #eeeeee;
}
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
color: #ffffff;

View File

@@ -594,8 +594,16 @@
<td><code>@dropdownLinkColorHover</code></td>
<td><code>@white</code></td>
</tr>
<tr>
<td><code>@dropdownLinkColorActive</code></td>
<td><code>@linkColor</code></td>
</tr>
<tr>
<td><code>@dropdownLinkBackgroundHover</code></td>
<td><code>@grayLighter</code></td>
</tr>
<tr>
<td><code>@dropdownLinkBackgroundActive</code></td>
<td><code>@linkColor</code></td>
</tr>
<tr>

View File

@@ -517,8 +517,16 @@
<td><code>@dropdownLinkColorHover</code></td>
<td><code>@white</code></td>
</tr>
<tr>
<td><code>@dropdownLinkColorActive</code></td>
<td><code>@linkColor</code></td>
</tr>
<tr>
<td><code>@dropdownLinkBackgroundHover</code></td>
<td><code>@grayLighter</code></td>
</tr>
<tr>
<td><code>@dropdownLinkBackgroundActive</code></td>
<td><code>@linkColor</code></td>
</tr>
<tr>