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

allow navbar dropdowns to have different styles for active and hover states

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/jonschlinkert/2.0.3-wip into 2.0.3-wip Apr 08, 2012
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 5

Created by: jonschlinkert

This pull request allows for different styling for active and hover states for navbar dropdown menu items.

Currently, when a navbar dropdown menu item is given an active state, the active dropdown item shares the same active styling as an active item on the navbar itself.

I separated the active and hover styles for dropdown menu items in dropdowns.less, to allow for different styling on each state.

Added right angle brackets to active nav items in navbar.less to provide the extra specificity required to allow active dropdown items to have different styling than active navbar items.

Added variable @dropdownLinkBackgroundActive to variables.less.

Updated example navbar in components.html to include a dropdown item with active state.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jonschlinkert/2.0.3-wip