<td><code>@dropdownLinkBackgroundHover</code></td>
<td><code>@linkColor</code></td>
</tr>
+ <tr>
+ <td><code>@@dropdownDividerTop</code></td>
+ <td><code>#e5e5e5</code></td>
+ </tr>
+ <tr>
+ <td><code>@@dropdownDividerBottom</code></td>
+ <td><code>@white</code></td>
+ </tr>
</tbody>
</table>
<h4>Hero unit</h4>
<td><code>@dropdownLinkBackgroundHover</code></td>
<td><code>@linkColor</code></td>
</tr>
+ <tr>
+ <td><code>@@dropdownDividerTop</code></td>
+ <td><code>#e5e5e5</code></td>
+ </tr>
+ <tr>
+ <td><code>@@dropdownDividerBottom</code></td>
+ <td><code>@white</code></td>
+ </tr>
</tbody>
</table>
<h4>{{_i}}Hero unit{{/i}}</h4>
// Dividers (basically an hr) within the dropdown
.divider {
- .nav-divider();
+ .nav-divider(@dropdownDividerTop, @dropdownDividerBottom);
}
// Links within the dropdown menu
// Horizontal dividers
// -------------------------
// Dividers (basically an hr) within dropdowns and nav lists
-.nav-divider() {
+.nav-divider(@top: #e5e5e5, @bottom: @white) {
// IE7 needs a set width since we gave a height. Restricting just
// to IE7 to keep the 1px left/right space in other browsers.
// It is unclear where IE is getting the extra space that we need
margin: ((@baseLineHeight / 2) - 1) 1px; // 8px 1px
*margin: -5px 0 5px;
overflow: hidden;
- background-color: #e5e5e5;
- border-bottom: 1px solid @white;
+ background-color: @top;
+ border-bottom: 1px solid @bottom;
}
// Button backgrounds
@dropdownLinkColor: @grayDark;
@dropdownLinkColorHover: @white;
@dropdownLinkBackgroundHover: @linkColor;
-
+@dropdownDividerTop: #e5e5e5;
+@dropdownDividerBottom: @white;