]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Add .active class for topbar dropdown items 5622/head
authorEdgar Gonzalez <edggonzalezg@gmail.com>
Fri, 15 Aug 2014 18:57:16 +0000 (14:57 -0400)
committerEdgar Gonzalez <edggonzalezg@gmail.com>
Fri, 15 Aug 2014 18:57:16 +0000 (14:57 -0400)
commit4b98daa47f3511aa50d8dc46718b9ee9292dac2b
tree24724785f45421b523e8c394b9210c4aa28b2ac8
parenta18b88601c32496b670e9b3409af68405c50e4c4
Add .active class for topbar dropdown items

Previously, the `.active` class was being overriden by the `.dropdown`
selectors in the `.top-bar-section`, thus not allowing active dropdown
items to be highlighted.

This commit adds another pseudo-selector to ensure the `.active`
dropdown items get the correct highlight colors. It also works in
dropdowns within dropdowns within dropdowns.
doc/includes/topbar/examples_topbar_default.html
doc/pages/components/topbar.html
scss/foundation/components/_top-bar.scss