Created by: nikku
Fixes form related stuff in .topbar
- Requires
.search-form
to be attached to the search form and thus allows other forms to be present in drop-down without applying the search form style to them - Allows other elements than
<ul>
to represent the drop-down menu, if they have a.menu-dropdown
class.The following html snipped would be a valid sub-menu:
<ul class="nav secondary-nav">
<li class="menu">
<a href="#" class="menu">Login</a>
<div class="menu-dropdown">
<form class="form-stacked" action="#" method="post">
<fieldset>
<div class="clearfix">
<label for="name">User name</label>
<div class="input">
<input type="text" class="medium" id="name" name="name">
</div>
</div>
<!-- other form elements -->
</fieldset>
<p>Some notes on login</p>
<!-- other related stuff -->
</form>
</div>
</li>
</ul>