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
  • Issues
  • #16271
Closed
Open
Issue created Apr 10, 2015 by Administrator@rootContributor

Separate btn-border-radius variables

Created by: martinbean

I found myself in a position recently where I needed to alter the border-radius of buttons for them to be more “pill”-like, but when I inspected the buttons.less, it appears as though buttons’ border-radius values are based on the @border-radius- variables.

It would be good if there were separate variables for specifying the border-radius of buttons. They could inherit from the @border-radius variables by default, but there’s a level of abstraction if folks like me do need to deviate away from the global @border-radius values. Something like this:

@btn-border-radius-base: @border-radius-base;
@btn-border-radius-large: @border-radius-large;
@btn-border-radius-small: @border-radius-small;

I’m happy to create a Pull Request for this feature if it’s deemed something that’s worthy of inclusion.

Assignee
Assign to
Time tracking