I have a dropdown in my TopBar built with CSS Bootstrap CSS.
I have 3 problems with which I can not find a solution:
- The text and password input fields are too large, how can I configure them? Creating a popup window would be OK too.
- The field labels are too dark, how can I lighten them up a bit?
- A window will open when I click on one of the fields. I need to open it again, and then I can print until it clicks in the next field. Values are retained even if the drop-down list is closed. How can I make him stay open?
Here is a screenshot of problems 1 and 2:

Also here is the HTML for TopBar, as it is now.
<div class='topbar-wrapper'> <div class='topbar'> <div class='topbar-inner'> <div class='container'> <h3> <a href="/">Webworld</a> </h3> <ul class='nav'> <li>FILLER...</li> </ul> <ul class='nav secondary-nav'> <li class='dropdown' data-dropdown='dropdown'> <a href="#" class="dropdown-toggle">Login</a> <div class='dropdown-menu' id='signin-dropdown'> <form accept-charset="UTF-8" action="/sessions" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /><input name="authenticity_token" type="hidden" value="4L/A2ZMYkhTD3IiNDMTuB/fhPRvyCNGEsaZocUUpw40=" /></div> <fieldset class='textbox'> <label id='js-username'> <span>Username</span> <input autocomplete="on" id="username" name="username" type="text" /> </label> <label id='password'> <span>Passwort</span> <input id="userpassword" name="userpassword" type="password" /> </label> </fieldset> <fieldset class='subchk'> <input name="commit" type="submit" value="Log In" /> </fieldset> </form> </div> </li> </ul> </div> </div> </div> </div>
There, covert entry is required by the rails and autogenerated.
I already tried to copy the implementation of the login form that Twitter uses, but when I tried it, TopBar is 250 pixels tall and the contents of the drop-down list are open, not closed.
I don't have custom CSS or JavaScript so far, except for the top 40px padding in the body, as suggested by the docs for download.
Can someone help me?
html5 drop-down-menu css3 twitter-bootstrap
NobbZ Nov 13 '11 at 7:53 2011-11-13 07:53
source share