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
  • !1408

[2.0-wip] Dropup menu support to split buttons, navbar, tabs and pills

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/buraktuyan/2.0/fork/components/dropup into 2.0-wip Jan 29, 2012
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 7

Created by: buraktuyan

This commit extends the dropdown-menu classes to create a new dropup component (using a previously undocumented dropdown-menu.bottom-up class and brand new dropdown-menu.pull-right class.)

  • Documents the hidden .dropdown-menu.bottom-up option (to be used for dropups)
  • Extends the .bottom-up class to carets and all relevant caret styles
  • Adds .dropdown-menu.pull-right class for right-aligned dropdowns and dropups
  • Adds examples and some information to the "split dropdown", "navbar", "tabs" and "pills" sections of the Docs

I paid special attention to the carets, especially in the navbar, tabs and pills.

I also documented the new dropup feature and added some examples.

TESTED with Google Chrome 17, Internet Explorer 8 and Firefox 9.01 on a Windows 7 machine.

QUICK LOOK:

  • Right aligned split button: http://i.imgur.com/PkfKG.png
  • Dropup split buttons: http://i.imgur.com/ylPYo.png
  • Navbar with dropups: http://i.imgur.com/PxETP.png
  • Tabs and pills with dropups: http://i.imgur.com/glzmA.png

NOTE: Please double check the .LESS and .MUSTACHE files for integrity.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/buraktuyan/2.0/fork/components/dropup