Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !141

Topbar optimizations

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/nikku/topbar-optimizations into master Sep 02, 2011
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 1

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>
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/nikku/topbar-optimizations